1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
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}}
67 # In case we need to do with sans...
68 #InsetLayout CharStyle:Code
73 #\renewcommand{\code}[1]{{\sffamily #1}}
78 \language_package default
81 \font_roman "default" "default"
82 \font_sans "default" "default"
83 \font_typewriter "default" "default"
84 \font_math "auto" "auto"
85 \font_default_family default
86 \use_non_tex_fonts false
89 \font_sf_scale 100 100
90 \font_tt_scale 100 100
92 \default_output_format default
94 \bibtex_command default
95 \index_command default
99 \pdf_title "Manual Personalización de LyX"
100 \pdf_author "Equipo LyX"
101 \pdf_subject "LyX-documentation Customization"
102 \pdf_keywords "LyX, documentation, customization"
104 \pdf_bookmarksnumbered true
105 \pdf_bookmarksopen true
106 \pdf_bookmarksopenlevel 1
107 \pdf_breaklinks false
111 \pdf_pdfusetitle false
112 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
115 \use_package amsmath 0
116 \use_package amssymb 0
117 \use_package cancel 0
119 \use_package mathdots 1
120 \use_package mathtools 0
121 \use_package mhchem 0
122 \use_package stackrel 0
123 \use_package stmaryrd 0
124 \use_package undertilde 0
126 \cite_engine_type default
130 \paperorientation portrait
145 \paragraph_separation indent
146 \paragraph_indentation default
147 \quotes_language french
150 \paperpagestyle headings
151 \tracking_changes false
152 \output_changes false
161 Personalizar \SpecialChar LyX
162 : Características para el usuario avanzado
166 por el equipo \SpecialChar LyX
171 \begin_layout Plain Layout
173 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
174 correo de Documentación de \SpecialChar LyX
176 \begin_inset CommandInset href
178 target "lyx-docs@lists.lyx.org"
185 \begin_inset Quotes fld
189 \begin_inset Quotes frd
192 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
193 , Richard Heck <rgheck@comcast.net>.
199 \begin_inset Newline newline
203 \begin_inset Newline newline
209 \begin_layout Standard
210 \begin_inset CommandInset toc
211 LatexCommand tableofcontents
218 \begin_layout Chapter
222 \begin_layout Standard
223 Este manual trata de las características de \SpecialChar LyX
224 que pueden ser modificadas
226 En él abordamos temas como atajos de teclado, opciones de vista previa
227 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
229 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
233 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
234 desarrolladores añaden características nuevas más deprisa de lo que las
235 podemos documentar— pero explicaremos las modificaciones más comunes y
236 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
239 \begin_layout Standard
240 \begin_inset Branch OutDated
243 \begin_layout Standard
244 La rama OutDated contiene información de versiones anteriores de este documento
245 que ahora parece estar obsoleta.
246 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
255 \begin_layout Chapter
256 Archivos de configuración de \SpecialChar LyX
260 \begin_layout Standard
261 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
262 de los archivos de configuración de \SpecialChar LyX
264 Antes de seguir leyendo deberías encontrar donde están los directorios
265 de bibliotecas y de usuario, consultando
266 \begin_inset Flex MenuItem
269 \begin_layout Plain Layout
270 Ayuda\SpecialChar menuseparator
271 Acerca de \SpecialChar LyX
278 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
280 de configuración de sistema; el directorio de usuario es donde puedes colocar
281 tus versiones modificadas.
282 En este documento, al primero lo denominaremos
283 \begin_inset Flex Code
286 \begin_layout Plain Layout
294 \begin_inset Flex MenuItem
297 \begin_layout Plain Layout
306 \begin_layout Section
308 \begin_inset Flex Code
311 \begin_layout Plain Layout
321 \begin_layout Standard
322 \begin_inset Flex Code
325 \begin_layout Plain Layout
332 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
333 el comportamiento de \SpecialChar LyX
335 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
338 \begin_inset Flex MenuItem
341 \begin_layout Plain Layout
342 Herramientas\SpecialChar menuseparator
349 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
351 puede hacer en este diálogo.
352 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
353 pueden cambiarse modificando
355 \begin_inset Flex Code
358 \begin_layout Plain Layout
366 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
370 \begin_layout Subsection
371 Archivos generados automáticamente
374 \begin_layout Standard
375 Los archivos que se encuentran en
376 \begin_inset Flex MenuItem
379 \begin_layout Plain Layout
385 se generan al configurar \SpecialChar LyX
387 Contienen varios valores predeterminados que se obtienen por inspección.
388 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
389 en cualquier momento.
392 \begin_layout Labeling
393 \labelwidthstring 00.00.0000
394 \begin_inset Flex Code
397 \begin_layout Plain Layout
403 contiene valores predeterminados para varioscomandos.
406 \begin_layout Labeling
407 \labelwidthstring 00.00.0000
408 \begin_inset Flex Code
411 \begin_layout Plain Layout
417 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
419 No es utilizada por el propio \SpecialChar LyX
420 , pero la información extraida, y otras cosas
422 \begin_inset Flex MenuItem
425 \begin_layout Plain Layout
426 Ayuda\SpecialChar menuseparator
427 Configuración de \SpecialChar LaTeX
436 \begin_layout Labeling
437 \labelwidthstring 00.00.0000
438 \begin_inset Flex Code
441 \begin_layout Plain Layout
447 la lista de clases de textos encontradas en los directorios
448 \begin_inset Flex Code
451 \begin_layout Plain Layout
457 , junto con las clases de documentos \SpecialChar LaTeX
461 \begin_layout Labeling
462 \labelwidthstring 00.00.0000
463 \begin_inset Flex Code
466 \begin_layout Plain Layout
472 la lista de módulos de formato encontradas en los directorios
473 \begin_inset Flex Code
476 \begin_layout Plain Layout
485 \begin_layout Labeling
486 \labelwidthstring 00.00.0000
487 \begin_inset Flex Code
490 \begin_layout Plain Layout
496 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
497 encontrados en el sistema.
500 \begin_layout Labeling
501 \labelwidthstring 00.00.0000
502 \begin_inset Flex Code
505 \begin_layout Plain Layout
506 doc/\SpecialChar LaTeX
512 es generado automáticamente durante la configuración a partir del archivo
514 \begin_inset Flex Code
517 \begin_layout Plain Layout
525 Contiene información sobre la configuración de \SpecialChar LaTeX
529 \begin_layout Subsection
533 \begin_layout Standard
534 Estos directorios están duplicados en
535 \begin_inset Flex Code
538 \begin_layout Plain Layout
546 \begin_inset Flex Code
549 \begin_layout Plain Layout
556 Si determinado archivo existe en ambos sitios, se usará el de
557 \begin_inset Flex Code
560 \begin_layout Plain Layout
569 \begin_layout Labeling
570 \labelwidthstring 00.00.0000
571 \begin_inset Flex Code
574 \begin_layout Plain Layout
580 este directorio contiene archivos con la extensión
581 \begin_inset Flex Code
584 \begin_layout Plain Layout
590 que definen las combinaciones de teclas usadas en \SpecialChar LyX
592 Si ahí existe una versión nacional de un archivo bind llamado
593 \begin_inset Flex Code
596 \begin_layout Plain Layout
602 , ésta se usará en primer lugar.
605 \begin_layout Labeling
606 \labelwidthstring 00.00.0000
607 \begin_inset Flex Code
610 \begin_layout Plain Layout
616 contiene archivos gráficos que pueden ser incluidos en documentos.
620 \begin_layout Labeling
621 \labelwidthstring 00.00.0000
622 \begin_inset Flex Code
625 \begin_layout Plain Layout
631 contiene archivos de documentación de \SpecialChar LyX
632 (incluido éste que estás leyendo).
634 \begin_inset Flex Code
637 \begin_layout Plain Layout
644 merece atención especial, como se mencionó antes.
645 Si existe una versión nacional del documento de ayuda en el subdirectorio
647 \begin_inset Flex Code
650 \begin_layout Plain Layout
656 , éste se usará en primer lugar.
658 \begin_inset CommandInset ref
660 reference "cap:Internacionalización-de-LyX"
667 \begin_layout Labeling
668 \labelwidthstring 00.00.0000
669 \begin_inset Flex Code
672 \begin_layout Plain Layout
678 contiene archivos de ejemplo que describen el uso de algunas características.
679 Se puede acceder a ellos con el botón
680 \begin_inset Flex MenuItem
683 \begin_layout Plain Layout
689 en el buscador de archivos.
692 \begin_layout Labeling
693 \labelwidthstring 00.00.0000
694 \begin_inset Flex Code
697 \begin_layout Plain Layout
703 contiene archivos de imagen que se usan en el diálogo
704 \begin_inset Flex MenuItem
707 \begin_layout Plain Layout
708 Documento\SpecialChar menuseparator
715 Contiene además los iconos de las barras de herramientas y las enseñas
717 mostradas en su inicio.
720 \begin_layout Labeling
721 \labelwidthstring 00.00.0000
722 \begin_inset Flex Code
725 \begin_layout Plain Layout
731 contiene archivos de mapas de teclado.
733 \begin_inset CommandInset ref
735 reference "sec:keymap"
742 \begin_layout Labeling
743 \labelwidthstring 00.00.0000
744 \begin_inset Flex Code
747 \begin_layout Plain Layout
753 contiene las clases de textos y los archivos de los módulos descritos en
755 \begin_inset CommandInset ref
757 reference "cap:Instalación-de-nuevas"
764 \begin_layout Labeling
765 \labelwidthstring 00.00.0000
766 \begin_inset Flex Code
769 \begin_layout Plain Layout
775 contiene los guiones de Python
776 \begin_inset Flex Code
779 \begin_layout Plain Layout
785 para convertir entre versiones de \SpecialChar LyX
787 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
791 \begin_layout Labeling
792 \labelwidthstring 00.00.0000
793 \begin_inset Flex Code
796 \begin_layout Plain Layout
802 contiene algunos archivos que demuestran las capacidades de la característica
804 \begin_inset Flex MenuItem
807 \begin_layout Plain Layout
814 También contiene algunos guiones usados por el propio \SpecialChar LyX
818 \begin_layout Labeling
819 \labelwidthstring 00.00.0000
820 \begin_inset Flex Code
823 \begin_layout Plain Layout
829 contiene los archivos de plantillas estándar de \SpecialChar LyX
831 \begin_inset CommandInset ref
833 reference "subsec:Creación-de-plantillas"
840 \begin_layout Labeling
841 \labelwidthstring 00.00.0000
842 \begin_inset Flex Code
845 \begin_layout Plain Layout
851 contiene archivos con la extensión
852 \begin_inset Flex Code
855 \begin_layout Plain Layout
861 que definen la interfaz de usuario de \SpecialChar LyX
863 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
867 \begin_layout Subsection
868 Archivos que no necesitan modificaciones
871 \begin_layout Standard
872 Estos archivos son utilizados internamente por \SpecialChar LyX
873 y generalmente no deben
874 ser modificados sino por los desarrolladores.
877 \begin_layout Labeling
878 \labelwidthstring 00.00.0000
879 \begin_inset Flex Code
882 \begin_layout Plain Layout
888 contiene la lista de desarrolladores de \SpecialChar LyX
890 Se muestra con el menú
891 \begin_inset Flex MenuItem
894 \begin_layout Plain Layout
895 Ayuda\SpecialChar menuseparator
896 Acerca de \SpecialChar LyX
905 \begin_layout Labeling
906 \labelwidthstring 00.00.0000
907 \begin_inset Flex Code
910 \begin_layout Plain Layout
916 es un guión de \SpecialChar LaTeX
917 usado durante el proceso de configuración.
918 No lo ejecutes directamente.
921 \begin_layout Labeling
922 \labelwidthstring 00.00.0000
923 \begin_inset Flex Code
926 \begin_layout Plain Layout
932 es el guión utilizado para la reconfiguración de \SpecialChar LyX
934 Genera los archivos de configuración en el directorio desde el que se ha
938 \begin_layout Subsection
939 Otros archivos en un par de líneas
942 \begin_layout Labeling
943 \labelwidthstring 00.00.0000
944 \begin_inset Flex Code
947 \begin_layout Plain Layout
953 contiene tablas que describen cómo los distintos códigos de caracteres
954 se transcriben a Unicode.
957 \begin_layout Labeling
958 \labelwidthstring 00.00.0000
959 \begin_inset Flex Code
962 \begin_layout Plain Layout
968 contiene las plantillas disponibles para la característica
969 \begin_inset Flex MenuItem
972 \begin_layout Plain Layout
979 \begin_inset CommandInset ref
981 reference "chap:Inserción-de-material"
988 \begin_layout Labeling
989 \labelwidthstring 00.00.0000
990 \begin_inset Flex Code
993 \begin_layout Plain Layout
999 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1003 \begin_layout Labeling
1004 \labelwidthstring 00.00.0000
1005 \begin_inset Flex Code
1008 \begin_layout Plain Layout
1016 contains information about the supported fonts.
1019 \begin_layout Labeling
1020 \labelwidthstring 00.00.0000
1021 \begin_inset Flex Code
1024 \begin_layout Plain Layout
1032 this file contains translations for internationalized paragraph styles
1035 \begin_inset CommandInset ref
1037 reference "subsec:I18n"
1044 \begin_layout Labeling
1045 \labelwidthstring 00.00.0000
1046 \begin_inset Flex Code
1049 \begin_layout Plain Layout
1057 this file contains information about unicode-encoded glyphs and the way
1058 they are supported by \SpecialChar LyX
1059 via \SpecialChar LaTeX
1063 \begin_layout Section
1064 Directorio de configuración personal
1067 \begin_layout Standard
1068 Aunque uses \SpecialChar LyX
1069 como usuario sin privilegios, puedes adaptar su configuración
1072 \begin_inset Flex Code
1075 \begin_layout Plain Layout
1081 contiene todos los archivos de configuración personal.
1082 Es el directorio especificado como
1083 \begin_inset Quotes fld
1086 Directorio del usuario
1087 \begin_inset Quotes frd
1091 \begin_inset Flex MenuItem
1094 \begin_layout Plain Layout
1095 Ayuda\SpecialChar menuseparator
1096 Acerca de \SpecialChar LyX
1103 Este directorio se usa como espejo de
1104 \begin_inset Flex Code
1107 \begin_layout Plain Layout
1114 , que quiere decir que cada archivo en
1115 \begin_inset Flex Code
1118 \begin_layout Plain Layout
1124 es un equivalente del correspondiente archivo en
1125 \begin_inset Flex Code
1128 \begin_layout Plain Layout
1136 Cualquiera de los archivos de configuración descritos en las secciones
1137 anteriores puede estar en el directorio global del sistema, en cuyo caso
1138 afectará a todos los usuarios, y en tu directorio local para tu propio
1142 \begin_layout Standard
1143 Para clarificar las cosas vamos a poner unos ejemplos:
1146 \begin_layout Itemize
1147 Las preferencias establecidas en el diálogo
1148 \begin_inset Flex MenuItem
1151 \begin_layout Plain Layout
1152 Herramientas\SpecialChar menuseparator
1158 se guardan en un archivo
1159 \begin_inset Flex Code
1162 \begin_layout Plain Layout
1169 \begin_inset Flex Code
1172 \begin_layout Plain Layout
1181 \begin_layout Itemize
1182 Si reconfiguras mediante
1183 \begin_inset Flex MenuItem
1186 \begin_layout Plain Layout
1187 Herramientas\SpecialChar menuseparator
1195 \begin_inset Newline linebreak
1199 \begin_inset Flex Code
1202 \begin_layout Plain Layout
1208 , y los archivos resultantes se escriben en tu directorio de usuario.
1209 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1211 \begin_inset Flex Code
1214 \begin_layout Plain Layout
1220 se sumará a la lista de clases en el diálogo
1221 \begin_inset Flex MenuItem
1224 \begin_layout Plain Layout
1225 Documento\SpecialChar menuseparator
1234 \begin_layout Itemize
1235 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1237 instalarla porque no tienes permisos para administrar tu sistema, solo
1238 has de copiar los archivos en
1239 \begin_inset Flex Code
1242 \begin_layout Plain Layout
1248 ¡y las entradas del menú
1249 \begin_inset Flex MenuItem
1252 \begin_layout Plain Layout
1261 \begin_layout Section
1262 Ejecutar \SpecialChar LyX
1263 con múltiples configuraciones
1266 \begin_layout Standard
1267 La libertad de configuración del directorio local puede no ser suficiente
1268 si quieres tener a tu disposición más de una configuración.
1269 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1270 ones de impresora en distintos momentos.
1271 Esto lo puedes conseguir teniendo varios de estos directorios.
1272 Después especificas qué directorio usar al arrancar.
1275 \begin_layout Standard
1276 Ejecutando \SpecialChar LyX
1277 con la opción de línea de comandos
1278 \begin_inset Flex Code
1281 \begin_layout Plain Layout
1291 hace que el programa lea la configuración de ese directorio y no del predetermi
1293 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1296 \begin_inset Flex Code
1299 \begin_layout Plain Layout
1306 Si el directorio especificado no existe, \SpecialChar LyX
1307 propone su creación, tal como
1308 hace con el directorio predeterminado la primera vez que se ejecuta el
1310 Puedes modificar las opciones de configuración en ese directorio personal
1311 adicional exactamente igual que para el directorio predeterminado.
1312 Estos directorios son completamente independientes (pero sigue leyendo).
1313 Ten presente que establecer algún valor para la variable de entorno
1314 \begin_inset Flex Code
1317 \begin_layout Plain Layout
1323 tiene exactamente el mismo efecto.
1326 \begin_layout Standard
1327 Tener varias configuraciones también requiere más mantenimiento: si quieres
1328 añadir un nuevo formato a
1329 \begin_inset Flex Code
1332 \begin_layout Plain Layout
1338 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1339 directorio por separado.
1340 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1342 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1343 Si quieres que la nueva configuración sea una réplica de una existente,
1344 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1345 subdirectorio deseado.
1346 Ten precaución, no obstante, con el subdirectorio
1347 \begin_inset Flex Code
1350 \begin_layout Plain Layout
1356 , puesto que contiene un archivo escrito por el guión de configuración (también
1358 \begin_inset Flex MenuItem
1361 \begin_layout Plain Layout
1362 Herramientas\SpecialChar menuseparator
1368 ) que es específico de la configuración.
1371 \begin_layout Chapter
1372 El diálogo Preferencias
1375 \begin_layout Standard
1376 Todas las opciones del diálogo de preferencias se describen en el apéndice
1390 Ahí encontrarás más detalles sobre algunas opciones.
1393 \begin_layout Section
1395 \begin_inset CommandInset label
1404 \begin_layout Standard
1405 El primer paso es definir tus propios formatos de archivo si no lo están
1407 Para hacerlo abre el diálogo
1408 \begin_inset Flex MenuItem
1411 \begin_layout Plain Layout
1412 Herramientas\SpecialChar menuseparator
1420 \begin_inset Flex MenuItem
1423 \begin_layout Plain Layout
1424 Gestión de archivos\SpecialChar menuseparator
1431 \begin_inset Flex MenuItem
1434 \begin_layout Plain Layout
1435 Nuevo\SpecialChar ldots
1441 para definir el nuevo formato.
1443 \begin_inset Flex MenuItem
1446 \begin_layout Plain Layout
1452 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1455 \begin_inset Flex MenuItem
1458 \begin_layout Plain Layout
1464 se usa para identificar el formato internamente.
1465 Además deberás introducir una extensión de archivo.
1466 Todos estos son imprescindibles.
1468 \begin_inset Flex MenuItem
1471 \begin_layout Plain Layout
1477 sirve para asociar una combinación de teclas en los menús.
1478 (Por ejemplo, teclear
1479 \begin_inset Flex MenuItem
1482 \begin_layout Plain Layout
1489 \begin_inset Flex MenuItem
1492 \begin_layout Plain Layout
1495 Documento\SpecialChar menuseparator
1498 \SpecialChar menuseparator
1506 \begin_inset Flex MenuItem
1509 \begin_layout Plain Layout
1518 \begin_layout Standard
1519 Un Formato puede tener un
1520 \begin_inset Flex MenuItem
1523 \begin_layout Plain Layout
1530 \begin_inset Flex MenuItem
1533 \begin_layout Plain Layout
1540 Por ejemplo, podrías usar
1541 \begin_inset Flex MenuItem
1544 \begin_layout Plain Layout
1550 para ver archivos PostScript.
1551 Puedes introducir el comando para iniciar el programa en el campo correspondien
1553 Al definir este comando puedes usar las cuatro variables listadas en la
1555 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1557 \begin_inset Flex MenuItem
1560 \begin_layout Plain Layout
1563 Documento\SpecialChar menuseparator
1570 El editor se lanza cuando pulsas el botón
1571 \begin_inset Flex MenuItem
1574 \begin_layout Plain Layout
1580 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1584 \begin_layout Standard
1590 \begin_inset Flex MenuItem
1593 \begin_layout Plain Layout
1601 type of a format is optional, but if it is specified, it must be unique
1603 It is used to detect files of this format from the file contents.
1604 For some important file formats there is no MIME type officially registered
1608 \begin_inset CommandInset href
1611 target "http://www.iana.org/assignments/media-types/"
1618 Therefore \SpecialChar LyX
1619 uses the extended list of MIME types as specified by
1622 \begin_inset CommandInset href
1624 name "freedesktop.org"
1625 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1632 \begin_layout Standard
1634 \begin_inset Flex MenuItem
1637 \begin_layout Plain Layout
1638 Formato de documento
1643 indica a \SpecialChar LyX
1644 que ese formato es adecuado para exportar.
1645 Si esto está marcado y existe una ruta de conversión adecuada (véase
1646 \begin_inset CommandInset ref
1648 reference "sec:Convertidores"
1652 ), el formato aparecerá en el menú
1653 \begin_inset Flex MenuItem
1656 \begin_layout Plain Layout
1657 Archivo\SpecialChar menuseparator
1664 También aparecerá en el menú
1665 \begin_inset Flex MenuItem
1668 \begin_layout Plain Layout
1671 Documento\SpecialChar menuseparator
1677 si se ha especificado un visor para ese formato.
1678 Los formatos puros de imagen, como
1679 \begin_inset Flex Code
1682 \begin_layout Plain Layout
1688 , no deberían usar esta opción.
1689 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1691 \begin_inset Flex Code
1694 \begin_layout Plain Layout
1700 , sí deberían usarla.
1703 \begin_layout Standard
1705 \begin_inset Flex MenuItem
1708 \begin_layout Plain Layout
1709 Formato de gráfico vectorial
1714 indica a \SpecialChar LyX
1715 que el formato puede contener gráficos vectoriales.
1716 Esta información se emplea para determinar el formato objetivo de los gráficos
1717 incluidos para la exportación
1718 \begin_inset Flex MenuItem
1721 \begin_layout Plain Layout
1728 Los gráficos incluidos pueden requerir conversión a
1729 \begin_inset Flex MenuItem
1732 \begin_layout Plain Layout
1739 \begin_inset Flex MenuItem
1742 \begin_layout Plain Layout
1749 \begin_inset Flex MenuItem
1752 \begin_layout Plain Layout
1759 \begin_inset Flex MenuItem
1762 \begin_layout Plain Layout
1768 no puede manejar otros formatos de imagen.
1769 Si un archivo incluido no está ya en formato
1770 \begin_inset Flex MenuItem
1773 \begin_layout Plain Layout
1780 \begin_inset Flex MenuItem
1783 \begin_layout Plain Layout
1790 \begin_inset Flex MenuItem
1793 \begin_layout Plain Layout
1800 \begin_inset Flex MenuItem
1803 \begin_layout Plain Layout
1809 si la opción de formato vectorial está marcada, y si no a
1810 \begin_inset Flex MenuItem
1813 \begin_layout Plain Layout
1823 \begin_layout Section
1827 \begin_layout Standard
1828 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1829 archivo temporal de \SpecialChar LyX
1830 , a veces es necesario modificar un archivo antes de
1831 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1835 \begin_layout Plain Layout
1836 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1837 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1838 inválidos cuando el archivo se copia en el directorio temporal.
1843 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1844 y puede modificarlo en el proceso.
1847 \begin_layout Standard
1848 Las definiciones de los copiadores pueden usar cuatro variables:
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Flex Code
1856 \begin_layout Plain Layout
1862 El directorio de sistema de \SpecialChar LyX
1864 \begin_inset space \thinspace{}
1868 \begin_inset space \space{}
1872 \begin_inset Flex MenuItem
1875 \begin_layout Plain Layout
1884 \begin_layout Labeling
1885 \labelwidthstring 00.00.0000
1886 \begin_inset Flex Code
1889 \begin_layout Plain Layout
1895 El archivo de entrada
1898 \begin_layout Labeling
1899 \labelwidthstring 00.00.0000
1900 \begin_inset Flex Code
1903 \begin_layout Plain Layout
1909 El archivo de salida
1912 \begin_layout Labeling
1913 \labelwidthstring 00.00.0000
1914 \begin_inset Flex Code
1917 \begin_layout Plain Layout
1925 The base name (without filename extension) in the \SpecialChar LyX
1929 \begin_layout Labeling
1930 \labelwidthstring 00.00.0000
1931 \begin_inset Flex Code
1934 \begin_layout Plain Layout
1942 The full directory path of the \SpecialChar LyX
1946 \begin_layout Labeling
1947 \labelwidthstring 00.00.0000
1948 \begin_inset Flex Code
1951 \begin_layout Plain Layout
1959 The full pathname to the original \SpecialChar LyX
1960 file being processed
1963 \begin_layout Labeling
1964 \labelwidthstring 00.00.0000
1965 \begin_inset Flex Code
1968 \begin_layout Plain Layout
1976 The filename (without any directory path) of the \SpecialChar LyX
1980 \begin_layout Labeling
1981 \labelwidthstring 00.00.0000
1982 \begin_inset Flex Code
1985 \begin_layout Plain Layout
1991 El `nombre \SpecialChar LaTeX
1995 \begin_layout Standard
1996 El último debería ser el nombre de archivo tal como debería ponerse en un
1997 comando \SpecialChar LaTeX
2005 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2008 \begin_layout Standard
2009 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2011 Por ejemplo, supongamos que quieres copiar archivos
2012 \begin_inset Flex MenuItem
2015 \begin_layout Plain Layout
2021 generados a un directorio especial,
2022 \begin_inset Flex Code
2025 \begin_layout Plain Layout
2032 En ese caso deberías escribir un guión para intérprete de comandos tal
2036 \begin_layout Standard
2037 \begin_inset listings
2041 \begin_layout Plain Layout
2046 \begin_layout Plain Layout
2051 \begin_layout Plain Layout
2053 TOFILE=`basename $2`
2056 \begin_layout Plain Layout
2058 cp $FROMFILE /home/you/pdf/$TOFILE
2063 Guárdalo en tu directorio local, —
2064 \begin_inset Flex Code
2067 \begin_layout Plain Layout
2068 /home/you/.lyx/scripts/pdfcopier.sh
2073 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2074 Después, en el diálogo
2075 \begin_inset Flex MenuItem
2078 \begin_layout Plain Layout
2079 Herramientas\SpecialChar menuseparator
2086 \begin_inset Flex MenuItem
2089 \begin_layout Plain Layout
2090 Gestión de archivos\SpecialChar menuseparator
2096 , selecciona el formato
2097 \begin_inset Flex MenuItem
2100 \begin_layout Plain Layout
2106 —u otro de los formatos pdf— e introduce
2107 \begin_inset Flex Code
2110 \begin_layout Plain Layout
2111 pdfcopier.sh $$i $$o
2117 \begin_inset Flex MenuItem
2120 \begin_layout Plain Layout
2129 \begin_layout Standard
2131 usa los copiadores en varias de sus propias conversiones.
2132 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2133 instalará copiadores
2135 \begin_inset Flex MenuItem
2138 \begin_layout Plain Layout
2145 \begin_inset Flex MenuItem
2148 \begin_layout Plain Layout
2150 \begin_inset space ~
2159 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2160 no solo el archivo HTML principal, sino también los diversos archivos asociados
2161 (estilos, imágenes, etc).
2162 Todos estos archivos se escriben en un subdirectorio del directorio en
2163 el que se encuentre el archivo original de \SpecialChar LyX
2168 \begin_layout Plain Layout
2169 Este copiador puede adaptarse.
2170 El argumento opcional
2171 \begin_inset Quotes fld
2175 \begin_inset Quotes frd
2178 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2179 si se omite se copiarán todos los archivos.
2181 \begin_inset Quotes fld
2185 \begin_inset Quotes frd
2188 determina la extensión añadida al directorio generado.
2190 \begin_inset Quotes fld
2194 \begin_inset Flex MenuItem
2197 \begin_layout Plain Layout
2205 \begin_inset Quotes frd
2208 , así, el HTML generado a partir de
2209 \begin_inset Flex MenuItem
2212 \begin_layout Plain Layout
2219 \begin_inset Flex MenuItem
2222 \begin_layout Plain Layout
2223 /ruta/a/archivo.html.\SpecialChar LyX
2237 \begin_layout Section
2239 \begin_inset CommandInset label
2241 name "sec:Convertidores"
2248 \begin_layout Standard
2249 Puedes definir tus propios convertidores para convertir archivos entre distintos
2251 Se hace en el diálogo
2252 \begin_inset Flex MenuItem
2255 \begin_layout Plain Layout
2256 Herramientas\SpecialChar menuseparator
2257 Preferencias\SpecialChar menuseparator
2258 Gestión de archivos\SpecialChar menuseparator
2267 \begin_layout Standard
2268 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2269 las listas desplegables
2270 \begin_inset Flex MenuItem
2273 \begin_layout Plain Layout
2275 \begin_inset space ~
2284 \begin_inset Flex MenuItem
2287 \begin_layout Plain Layout
2289 \begin_inset space ~
2297 , introduce el comando necesario para la conversión y después pulsa el botón
2299 \begin_inset Flex MenuItem
2302 \begin_layout Plain Layout
2309 En la definición de convertidores se pueden usar distintas variables:
2312 \begin_layout Labeling
2313 \labelwidthstring 00.00.0000
2314 \begin_inset Flex Code
2317 \begin_layout Plain Layout
2323 El directorio de sistema de \SpecialChar LyX
2327 \begin_layout Labeling
2328 \labelwidthstring 00.00.0000
2329 \begin_inset Flex Code
2332 \begin_layout Plain Layout
2338 El archivo de entrada
2341 \begin_layout Labeling
2342 \labelwidthstring 00.00.0000
2343 \begin_inset Flex Code
2346 \begin_layout Plain Layout
2352 El archivo de salida
2355 \begin_layout Labeling
2356 \labelwidthstring 00.00.0000
2357 \begin_inset Flex Code
2360 \begin_layout Plain Layout
2366 El nombre del archivo base del archivo de entrada (sin la extensión)
2369 \begin_layout Labeling
2370 \labelwidthstring 00.00.0000
2371 \begin_inset Flex Code
2374 \begin_layout Plain Layout
2380 La ruta al archivo de entrada
2383 \begin_layout Labeling
2384 \labelwidthstring 00.00.0000
2385 \begin_inset Flex Code
2388 \begin_layout Plain Layout
2394 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2395 se invoca una cadena de convertidores).
2398 \begin_layout Labeling
2399 \labelwidthstring 00.00.0000
2400 \begin_inset Flex Code
2403 \begin_layout Plain Layout
2409 El nombre iconv para la codificación del documento.
2412 \begin_layout Standard
2414 \begin_inset Flex MenuItem
2417 \begin_layout Plain Layout
2423 puedes introducir los siguientes, separados por comas:
2426 \begin_layout Labeling
2427 \labelwidthstring 00.00.0000
2428 \begin_inset Flex Code
2431 \begin_layout Plain Layout
2437 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2439 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2444 \begin_layout Labeling
2445 \labelwidthstring 00.00.0000
2446 \begin_inset Flex Code
2449 \begin_layout Plain Layout
2455 Necesita el archivo \SpecialChar LaTeX
2457 \begin_inset Flex MenuItem
2460 \begin_layout Plain Layout
2469 \begin_layout Labeling
2470 \labelwidthstring 00.00.0000
2471 \begin_inset Flex Code
2474 \begin_layout Plain Layout
2483 \begin_inset Quotes fld
2487 \begin_inset Quotes frd
2490 file from the backend, which in practice means a \SpecialChar LaTeX
2491 file like the one we
2492 would export, without
2493 \begin_inset Flex Code
2496 \begin_layout Plain Layout
2507 \begin_layout Labeling
2508 \labelwidthstring 00.00.0000
2509 \begin_inset Flex Code
2512 \begin_layout Plain Layout
2521 \begin_layout Standard
2522 Las tres siguientes no son realmente opciones porque aceptan un argumento
2524 \begin_inset Flex MenuItem
2527 \begin_layout Plain Layout
2529 \begin_inset space ~
2533 \begin_inset space ~
2544 \begin_layout Labeling
2545 \labelwidthstring 00.00.0000
2546 \begin_inset Flex Code
2549 \begin_layout Plain Layout
2555 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2557 \begin_inset Flex Code
2560 \begin_layout Plain Layout
2566 , y el guión dado como argumento se ejecutará como:
2567 \begin_inset Flex Code
2570 \begin_layout Plain Layout
2571 script <infile.out >infile.log
2577 El argumento puede contener
2578 \begin_inset Flex Code
2581 \begin_layout Plain Layout
2590 \begin_layout Labeling
2591 \labelwidthstring 00.00.0000
2592 \begin_inset Flex Code
2595 \begin_layout Plain Layout
2601 El nombre del directorio en el que el convertidor descargará los archivos
2604 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2606 El argumento puede contener
2607 \begin_inset Flex Code
2610 \begin_layout Plain Layout
2616 , que será reemplazado por el nombre base de los archivos de entrada y de
2617 salida, respectivamente, cuando se copia el directorio.
2618 \begin_inset Newline newline
2621 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2622 El último será ignorado si se da el primero.
2625 \begin_layout Labeling
2626 \labelwidthstring 00.00.0000
2627 \begin_inset Flex Code
2630 \begin_layout Plain Layout
2636 Determina el nombre del archivo de salida y puede contener
2637 \begin_inset Flex Code
2640 \begin_layout Plain Layout
2647 Solo es sensible con
2648 \begin_inset Flex Code
2651 \begin_layout Plain Layout
2657 y además es opcional; si no se da, por omisión es `index'.
2660 \begin_layout Standard
2661 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2662 s que son instalados por \SpecialChar LyX
2666 \begin_layout Standard
2667 No tienes que definir convertidores entre todos los formatos que quieras
2669 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2670 a PostScript', sin embargo
2672 exporta a PostScript.
2673 Lo hace creando primero un archivo \SpecialChar LaTeX
2674 (no es necesario un convertidor para
2675 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2677 y por último convierte el archivo DVI resultante a PostScript.
2679 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2680 la cadena más corta posible.
2681 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2682 Por ejemplo, la configuración estándar de \SpecialChar LyX
2683 provee cinco caminos para convertir
2688 \begin_layout Enumerate
2689 directamente, usando
2690 \begin_inset Flex MenuItem
2693 \begin_layout Plain Layout
2702 \begin_layout Enumerate
2703 mediante (DVI y) PostScript, usando
2704 \begin_inset Flex MenuItem
2707 \begin_layout Plain Layout
2716 \begin_layout Enumerate
2717 mediante DVI, usando
2718 \begin_inset Flex MenuItem
2721 \begin_layout Plain Layout
2730 \begin_layout Enumerate
2731 directamente, usando
2736 \begin_inset Flex MenuItem
2739 \begin_layout Plain Layout
2749 \begin_layout Enumerate
2750 directamente, usando
2751 \begin_inset Flex MenuItem
2754 \begin_layout Plain Layout
2764 \begin_layout Standard
2765 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2766 de archivo' objetivo, como se describe en la sección
2767 \begin_inset space ~
2771 \begin_inset CommandInset ref
2773 reference "sec:Formatos"
2778 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2780 \begin_inset Flex MenuItem
2783 \begin_layout Plain Layout
2794 \begin_inset Flex MenuItem
2797 \begin_layout Plain Layout
2804 \begin_inset Flex MenuItem
2807 \begin_layout Plain Layout
2818 \begin_inset Flex MenuItem
2821 \begin_layout Plain Layout
2828 \begin_inset Flex MenuItem
2831 \begin_layout Plain Layout
2842 \begin_inset Flex MenuItem
2845 \begin_layout Plain Layout
2852 \begin_inset Flex MenuItem
2855 \begin_layout Plain Layout
2866 \begin_inset Flex MenuItem
2869 \begin_layout Plain Layout
2877 \begin_inset Flex MenuItem
2880 \begin_layout Plain Layout
2891 \begin_inset Flex MenuItem
2894 \begin_layout Plain Layout
2901 ), todos ellos compartiendo la extensión
2902 \begin_inset Flex MenuItem
2905 \begin_layout Plain Layout
2911 , y que corresponden a los métodos de conversión antes mencionados.
2914 \begin_layout Chapter
2915 Internacionalización de \SpecialChar LyX
2917 \begin_inset CommandInset label
2919 name "cap:Internacionalización-de-LyX"
2926 \begin_layout Standard
2928 soporta el uso de una interfaz traducida.
2929 La última vez que lo comprobamos, \SpecialChar LyX
2930 suministraba textos en treinta idiomas.
2931 El idioma elegido se denomina
2936 (Para lecciones adicionales sobre configuración de idiomas, véase también
2938 \begin_inset Quotes fld
2942 \begin_inset Quotes frd
2945 del sistema operativo.
2946 En Linux, la página de manual de
2947 \begin_inset Flex Code
2950 \begin_layout Plain Layout
2956 es un buen punto de partida).
2960 \begin_layout Standard
2961 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2963 En particular, todos los diálogos se han diseñado con el inglés en mente,
2964 lo que significa que algún texto traducido podría ser demasiado largo para
2965 ajustarse al espacio asignado.
2966 Esto solo es un problema de presentación en pantalla y no causará ningún
2968 Además, encontrarás que algunas traducciones no definen atajos de teclado
2970 A veces, simplemente no hay letras libres suficientes para ello.
2971 Otras veces, el traductor todavía no lo ha completado.
2972 Nuestro equipo de traducción, al que podrías unirte si quieres,
2976 \begin_layout Plain Layout
2977 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2978 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2984 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2989 \begin_layout Section
2990 Traducción de \SpecialChar LyX
2994 \begin_layout Subsection
2995 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2998 \begin_layout Standard
3000 utiliza la biblioteca GNU
3001 \begin_inset Flex Code
3004 \begin_layout Plain Layout
3010 para manejar la internacionalización de la interfaz.
3011 Para que \SpecialChar LyX
3012 hable tu idioma preferido en todos los menús y diálogos es necesario
3014 \begin_inset Flex Code
3017 \begin_layout Plain Layout
3024 Si está disponible, tendrás que generar a partir de él un archivo
3025 \begin_inset Flex Code
3028 \begin_layout Plain Layout
3035 El procedimiento para hacer todo esto se explica en la documentación de
3037 \begin_inset Flex Code
3040 \begin_layout Plain Layout
3047 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3048 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3050 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3051 para más información
3052 sobre cómo proceder.
3055 \begin_layout Standard
3056 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3059 \begin_layout Itemize
3060 Inspecciona el código fuente de \SpecialChar LyX
3063 \begin_inset CommandInset href
3065 name "información en la web"
3066 target "http://www.lyx.org/devel/cvs.php"
3073 \begin_layout Itemize
3075 \begin_inset Flex Code
3078 \begin_layout Plain Layout
3084 a la carpeta de los archivos
3085 \begin_inset Flex Code
3088 \begin_layout Plain Layout
3095 Después lo renombras como
3096 \begin_inset Flex Code
3099 \begin_layout Plain Layout
3107 \begin_inset Flex Code
3110 \begin_layout Plain Layout
3116 no está por ningún sitio, puede rehacerse con el comando de consola
3117 \begin_inset Flex Code
3120 \begin_layout Plain Layout
3126 en ese directorio, o puedes usar como muestra un archivo
3127 \begin_inset Flex Code
3130 \begin_layout Plain Layout
3136 de algún otro idioma).
3139 \begin_layout Itemize
3141 \begin_inset Flex Code
3144 \begin_layout Plain Layout
3154 \begin_layout Plain Layout
3155 Es un archivo de texto, se puede editar en cualquier editor de texto.
3156 Pero hay programas especializados para editar estos archivos, como
3160 (para todas las plataformas) o
3169 tiene un `modo' para editar archivos
3170 \begin_inset Flex Code
3173 \begin_layout Plain Layout
3184 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3185 que deberían traducirse.
3186 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3187 con las palabras y frases del idioma.
3188 Además tendrías que rellenar la información al principio del nuevo archivo
3190 \begin_inset Flex Code
3193 \begin_layout Plain Layout
3199 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3200 o divertidas diatribas.
3203 \begin_layout Standard
3204 Si estás haciendo esto solo para ti, entonces:
3207 \begin_layout Itemize
3209 \begin_inset Flex Code
3212 \begin_layout Plain Layout
3220 \begin_inset Flex Code
3223 \begin_layout Plain Layout
3224 msgfmt -o xx.mo < xx.po
3232 \begin_layout Itemize
3234 \begin_inset Flex Code
3237 \begin_layout Plain Layout
3243 a tu directorio local, en la carpeta apropiada para los mensajes de las
3244 aplicaciones en el idioma xx, con el nombre
3245 \begin_inset Flex Code
3248 \begin_layout Plain Layout
3255 \begin_inset space \thinspace{}
3259 \begin_inset space \space{}
3263 \begin_inset Flex Code
3266 \begin_layout Plain Layout
3267 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3277 \begin_layout Standard
3278 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3280 \begin_inset Flex Code
3283 \begin_layout Plain Layout
3289 a la distribución de \SpecialChar LyX
3290 , para que otros puedan usarlo.
3291 Esto requiere hacer cambios en \SpecialChar LyX
3292 , así que envía un correo a la lista de
3293 desarrolladores si estás interesado en hacerlo.
3296 \begin_layout Subsubsection
3300 \begin_layout Standard
3301 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3303 Un ejemplo es la palabra
3304 \begin_inset Flex Code
3307 \begin_layout Plain Layout
3313 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3315 \begin_inset Quotes fld
3319 \begin_inset Quotes frd
3324 \begin_inset Flex Code
3327 \begin_layout Plain Layout
3333 no maneja tales traducciones ambiguas.
3334 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3336 \begin_inset Flex Code
3339 \begin_layout Plain Layout
3346 \begin_inset Flex Code
3349 \begin_layout Plain Layout
3350 To[[as in 'From format x to format y']]
3356 \begin_inset Flex Code
3359 \begin_layout Plain Layout
3360 To[[as in 'From page x to page y']]
3366 Ahora las dos apariciones de
3367 \begin_inset Flex Code
3370 \begin_layout Plain Layout
3377 \begin_inset Flex Code
3380 \begin_layout Plain Layout
3386 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3389 \begin_layout Standard
3390 Por supuesto que la información contextual debe eliminarse del mensaje original
3391 si no se usa en la traducción.
3392 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3394 El mecanismo de traducción de \SpecialChar LyX
3395 asegura que todo lo que va entre corchetes
3396 al final de los mensajes se quita antes de mostrarlos.
3399 \begin_layout Subsection
3400 Traducción de la documentación
3403 \begin_layout Standard
3404 La documentación en línea (menú
3407 \begin_inset Flex MenuItem
3410 \begin_layout Plain Layout
3424 ) puede (¡debería!) traducirse.
3425 Si hay versiones traducidas de la documentación disponible
3429 \begin_layout Plain Layout
3430 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3431 a catorce idiomas, y el Tutorial está disponible en algunos más.
3437 \begin_inset Flex Code
3440 \begin_layout Plain Layout
3446 está adecuadamente configurado, \SpecialChar LyX
3448 \begin_inset Quotes fld
3452 \begin_inset Quotes frd
3457 busca las traducciones en
3460 \begin_inset Flex Code
3463 \begin_layout Plain Layout
3482 es el código para el idioma en uso actualmente.
3483 Si no hay versión traducida se presentará por omisión la versión inglesa
3485 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3490 de antes) que el original.
3491 Si te animas a traducir documentación (¡de paso, una excelente manera de
3492 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3495 \begin_layout Itemize
3496 Consulta la web de traducción de la documentación en
3497 \begin_inset CommandInset href
3499 name "http://www.lyx.org/Translation"
3500 target "http://www.lyx.org/Translation"
3505 Así podrás comprobar el estado actual de traducción de documentos a tu
3507 También si hay alguien que esté coordinando la traducción a tu idioma.
3508 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3511 \begin_layout Standard
3512 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3513 ahorrar inconvenientes:
3516 \begin_layout Itemize
3517 ¡Únete al equipo de documentación! En
3520 \begin_inset Flex MenuItem
3523 \begin_layout Plain Layout
3524 Ayuda\SpecialChar menuseparator
3534 , que por cierto, es el primer documento que se debería traducir, hay informació
3535 n sobre cómo hacerlo.
3538 \begin_layout Itemize
3539 Infórmate sobre las normas tipográficas de tu idioma.
3540 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3541 gran variedad de convenciones en diversas partes del mundo.
3542 Estudia también la terminología profesional de los tipógrafos en tu país.
3543 Inventar tu propia terminología sólo provocará confusión.
3546 (¡Cuidado! La tipografía es adictiva!)
3549 \begin_layout Itemize
3550 Haz una copia del documento para trabajar sobre ella.
3551 Puedes guardarla como archivo personal de traducción en tu directorio
3558 \begin_layout Itemize
3559 De vez en cuando el documento original (del equipo \SpecialChar LyX
3561 Usa el visor de fuentes en
3562 \begin_inset CommandInset href
3564 name "http://www.lyx.org/trac/timeline"
3565 target "http://www.lyx.org/trac/timeline"
3569 para ver los cambios realizados.
3570 De esta manera puedes ver fácilmente qué partes del documento traducido
3571 necesitan actualizarse.
3574 \begin_layout Standard
3575 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3576 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3577 el equipo de documentación, verdad?)
3580 \begin_layout Standard
3581 \begin_inset Branch OutDated
3584 \begin_layout Section
3585 International Keyboard Support
3588 \begin_layout Standard
3591 [Editor's Note: The following section is by
3599 It needs to be fixed to conform to the new Documentation Style sheet and
3600 to make use of the new v1.0 features.
3601 The whole thing also needs to be merged with the section following it.-jw
3602 It may also be badly out of date.-rh (2008)]
3605 \begin_layout Subsection
3606 Defining Own Keymaps: Keymap File Format
3609 \begin_layout Standard
3610 Let's look at a keyboard definition file a little closer.
3611 It is a plain text file defining
3614 \begin_layout Itemize
3615 key-to-key or key-to-string translations
3618 \begin_layout Itemize
3622 \begin_layout Itemize
3623 dead keys exceptions
3626 \begin_layout Standard
3627 To define key-to-key or key-to-string translation, use this command:
3630 \begin_layout Quotation
3631 \begin_inset Flex Code
3634 \begin_layout Plain Layout
3643 \begin_inset Flex Code
3646 \begin_layout Plain Layout
3655 \begin_layout Standard
3657 \begin_inset Flex Code
3660 \begin_layout Plain Layout
3666 is the key to be translated and
3667 \begin_inset Flex Code
3670 \begin_layout Plain Layout
3676 is the string to be inserted into the document.
3677 To define dead keys, use:
3680 \begin_layout Quotation
3681 \begin_inset Flex Code
3684 \begin_layout Plain Layout
3693 \begin_inset Flex Code
3696 \begin_layout Plain Layout
3705 \begin_layout Standard
3707 \begin_inset Flex Code
3710 \begin_layout Plain Layout
3716 is a keyboard key and
3717 \begin_inset Flex Code
3720 \begin_layout Plain Layout
3727 The following dead keys are supported (shortcut name is in parentheses):
3730 \begin_layout Quotation
3734 \begin_inset space \hfill{}
3740 \begin_layout Quotation
3742 \begin_inset space \hfill{}
3748 \begin_layout Quotation
3750 \begin_inset space \hfill{}
3756 \begin_layout Quotation
3758 \begin_inset space \hfill{}
3764 \begin_layout Quotation
3766 \begin_inset space \hfill{}
3772 \begin_layout Quotation
3774 \begin_inset space \hfill{}
3781 \begin_layout Plain Layout
3793 \begin_layout Quotation
3795 \begin_inset space \hfill{}
3801 \begin_layout Quotation
3803 \begin_inset space \hfill{}
3810 \begin_layout Plain Layout
3822 \begin_layout Quotation
3824 \begin_inset space \hfill{}
3830 \begin_layout Quotation
3832 \begin_inset space \hfill{}
3838 \begin_layout Quotation
3840 \begin_inset space \hfill{}
3847 \begin_layout Plain Layout
3859 \begin_layout Quotation
3861 \begin_inset space \hfill{}
3868 \begin_layout Plain Layout
3880 \begin_layout Quotation
3882 \begin_inset space \hfill{}
3888 \begin_layout Quotation
3889 hungarian umlaut (hug)
3890 \begin_inset space \hfill{}
3896 \begin_layout Quotation
3898 \begin_inset space \hfill{}
3904 \begin_layout Quotation
3906 \begin_inset space \hfill{}
3913 \begin_layout Plain Layout
3925 \begin_layout Standard
3926 Since in many international keyboards there are exceptions to what some
3927 dead keys should do, you can define them using
3930 \begin_layout Quotation
3931 \begin_inset Flex Code
3934 \begin_layout Plain Layout
3942 deadkey key outstring
3945 \begin_layout Standard
3946 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3950 \begin_layout Quotation
3951 \begin_inset Flex Code
3954 \begin_layout Plain Layout
3967 \begin_layout Standard
3968 to make it work correctly.
3969 Also, you have to define as exceptions dead keys over i and j, to remove
3970 the dot from them before inserting an accent mark.
3971 I will change this when the time comes, but so far I haven't had time.
3974 \begin_layout Standard
3975 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3978 \begin_inset Flex Code
3981 \begin_layout Plain Layout
3987 have different meaning.
3989 \begin_inset Flex Code
3992 \begin_layout Plain Layout
3998 marks comments, quotes start and end \SpecialChar LaTeX
4000 To enter quote, you'll need to use
4001 \begin_inset Flex Code
4004 \begin_layout Plain Layout
4013 \begin_inset Flex Code
4016 \begin_layout Plain Layout
4023 \begin_inset Flex Code
4026 \begin_layout Plain Layout
4037 \begin_layout Standard
4038 If you make a keyboard description file that works for your language, please
4039 mail it to me, so I can include it in the next keymap distribution.
4042 \begin_layout Standard
4043 More keywords will be supported in keymap configuration file in future,
4047 \begin_layout Itemize
4048 \begin_inset Flex Code
4051 \begin_layout Plain Layout
4062 \begin_inset space \hfill{}
4066 \begin_inset Flex Code
4069 \begin_layout Plain Layout
4078 \begin_layout Itemize
4079 \begin_inset Flex Code
4082 \begin_layout Plain Layout
4093 \begin_inset space \hfill{}
4097 \begin_inset Flex Code
4100 \begin_layout Plain Layout
4106 an external keymap translation program
4109 \begin_layout Standard
4110 Also, it should look into
4111 \begin_inset Flex Code
4114 \begin_layout Plain Layout
4120 file for defaults, too (for example, a
4121 \begin_inset Flex Code
4124 \begin_layout Plain Layout
4132 option to include default keyboard).
4140 \begin_layout Section
4141 \begin_inset CommandInset label
4147 Cosas sobre teclados internacionales
4150 \begin_layout Standard
4151 \begin_inset Note Note
4154 \begin_layout Plain Layout
4155 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4157 Sería bueno que alguien pudiera hacerlo.
4165 \begin_layout Standard
4166 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4168 \begin_inset Flex Code
4171 \begin_layout Plain Layout
4180 \begin_inset Flex Code
4183 \begin_layout Plain Layout
4192 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4193 suministrados no satisfacen tus necesidades.
4196 \begin_layout Subsection
4200 \begin_layout Standard
4202 \begin_inset Flex Code
4205 \begin_layout Plain Layout
4211 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4212 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4213 En esta sección se describen las palabras clave
4214 \begin_inset Flex Code
4217 \begin_layout Plain Layout
4226 \begin_inset Flex Code
4229 \begin_layout Plain Layout
4238 \begin_inset Flex Code
4241 \begin_layout Plain Layout
4250 \begin_inset Flex Code
4253 \begin_layout Plain Layout
4262 \begin_inset Flex Code
4265 \begin_layout Plain Layout
4274 \begin_layout Labeling
4275 \labelwidthstring 00.00.0000
4276 \begin_inset Flex Code
4279 \begin_layout Plain Layout
4287 Asocia un carácter a una cadena
4290 \begin_layout LyX-Code
4305 \begin_layout Standard
4319 , la doble comilla (") y la barra invertida (
4321 ) deben escaparse con una barra (
4326 \begin_layout Standard
4327 Un ejemplo de una declaración de
4328 \begin_inset Flex MenuItem
4331 \begin_layout Plain Layout
4339 para hacer que el símbolo
4340 \begin_inset Flex MenuItem
4343 \begin_layout Plain Layout
4351 sea generado por la tecla
4352 \begin_inset Flex MenuItem
4355 \begin_layout Plain Layout
4366 \begin_layout LyX-Code
4372 \begin_layout Labeling
4373 \labelwidthstring 00.00.0000
4374 \begin_inset Flex Code
4377 \begin_layout Plain Layout
4385 Especifica un carácter acentuado
4388 \begin_layout LyX-Code
4397 \begin_layout Standard
4398 Esto hará que el carácter
4406 sobre el(los) carácter(es) permitido(s)
4411 Este es el mecanismo de tecla muerta
4415 \begin_layout Plain Layout
4425 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4426 seguida de otra tecla genera el carácter acentuado deseado.
4427 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4436 \begin_layout Standard
4441 y después una tecla que no está entre las permitidas (
4445 ), en la salida obtendrás el carácter
4449 seguido por el otro carácter, el no permitido.
4450 Hay que tener en cuenta que
4451 \begin_inset Flex MenuItem
4454 \begin_layout Plain Layout
4462 cancela una tecla muerta, de modo que si pulsas
4467 \begin_inset Flex MenuItem
4470 \begin_layout Plain Layout
4478 , el cursor no retrocede una posición sino que anula el efecto que
4482 hubiera tenido sobre la siguiente pulsación.
4485 \begin_layout Standard
4486 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4487 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4490 \begin_layout LyX-Code
4493 kmod ' acute aeiouAEIOU
4496 \begin_layout Labeling
4497 \labelwidthstring 00.00.0000
4498 \begin_inset Flex Code
4501 \begin_layout Plain Layout
4507 Especifica una excepción para el carácter acentuado
4510 \begin_layout LyX-Code
4519 \begin_layout Standard
4520 Define una excepción para el
4533 debe haber sido asignado a una pulsación con una declaración previa de
4535 \begin_inset Flex Code
4538 \begin_layout Plain Layout
4554 no debe estar en el conjunto
4563 Si tecleas la secuencia
4572 Si dicha declaración no existe en el archivo
4573 \begin_inset Flex Code
4576 \begin_layout Plain Layout
4596 es el primer argumento de la declaración
4597 \begin_inset Flex Code
4600 \begin_layout Plain Layout
4613 \begin_layout Standard
4614 El comando siguiente generará äi cuando teclees agudo-i ('i):
4617 \begin_layout LyX-Code
4631 \begin_layout Labeling
4632 \labelwidthstring 00.00.0000
4633 \begin_inset Flex Code
4636 \begin_layout Plain Layout
4642 Combina dos caracteres acentos
4645 \begin_layout LyX-Code
4651 accent1 accent2 allowed
4654 \begin_layout Standard
4655 Esto es bastante esotérico.
4656 Permite combinar el efecto de
4664 (¡en ese orden!) sobre los caracteres permitidos
4677 deben haber sido declaradas con un comando
4678 \begin_inset Flex Code
4681 \begin_layout Plain Layout
4699 \begin_layout Standard
4700 Considera este ejemplo del archivo
4701 \begin_inset Flex Code
4704 \begin_layout Plain Layout
4715 \begin_layout LyX-Code
4718 kmod ; acute aeioyvhAEIOYVH
4722 kcomb acute umlaut iyIY
4725 \begin_layout Standard
4727 \begin_inset Flex MenuItem
4730 \begin_layout Plain Layout
4738 y obtener el efecto de
4739 \begin_inset Flex Code
4742 \begin_layout Plain Layout
4755 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4757 \begin_inset Flex MenuItem
4760 \begin_layout Plain Layout
4769 \begin_inset Flex Code
4772 \begin_layout Plain Layout
4785 \begin_layout Subsection
4789 \begin_layout Standard
4790 Después de realizados el mapa
4791 \begin_inset Flex Code
4794 \begin_layout Plain Layout
4803 \begin_inset Flex Code
4806 \begin_layout Plain Layout
4816 traza el mapa de las cadenas que los símbolos generan para los caracteres
4817 en la tipografía actual.
4818 La distribución de \SpecialChar LyX
4819 actualmente incluye al menos los archivos
4820 \begin_inset Flex Code
4823 \begin_layout Plain Layout
4832 \begin_inset Flex Code
4835 \begin_layout Plain Layout
4846 \begin_layout Standard
4847 En general el archivo
4848 \begin_inset Flex Code
4851 \begin_layout Plain Layout
4859 es una secuencia de declaraciones de la forma:
4862 \begin_layout LyX-Code
4875 \begin_layout Standard
4876 Por ejemplo, para asociar
4877 \begin_inset Flex MenuItem
4880 \begin_layout Plain Layout
4890 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4893 \begin_layout LyX-Code
4901 \begin_layout Standard
4903 \begin_inset Flex Code
4906 \begin_layout Plain Layout
4915 \begin_inset Flex Code
4918 \begin_layout Plain Layout
4929 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4931 \begin_inset Flex Code
4934 \begin_layout Plain Layout
4945 \begin_layout LyX-Code
4957 \begin_inset Newline newline
4973 \begin_layout Standard
4975 no puede encontrar una declaración para la cadena por una tecla o una
4976 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4977 y probará a dibujar un acento sobre el carácter en la pantalla.
4980 \begin_layout Subsection
4984 \begin_layout Standard
4985 Hay una segunda manera de añadir soporte para caracteres internacionales
4986 mediante las denominadas teclas muertas.
4987 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4989 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4993 \begin_layout Standard
4994 Supongamos que necesitas el carácter circunflejo
4995 \begin_inset Quotes fld
4999 \begin_inset Quotes frd
5003 Podrías asociar la tecla
5004 \begin_inset Flex MenuItem
5007 \begin_layout Plain Layout
5014 \begin_inset Flex MenuItem
5017 \begin_layout Plain Layout
5023 ) al comando \SpecialChar LyX
5025 \begin_inset Flex Code
5028 \begin_layout Plain Layout
5035 \begin_inset Flex Code
5038 \begin_layout Plain Layout
5045 Ahora, cuando pulses la tecla
5046 \begin_inset Flex MenuItem
5049 \begin_layout Plain Layout
5055 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5056 Por ejemplo, la secuencia
5057 \begin_inset Quotes fld
5061 \begin_inset Flex MenuItem
5064 \begin_layout Plain Layout
5071 \begin_inset Quotes frd
5075 \begin_inset Quotes fld
5079 \begin_inset Quotes frd
5084 \begin_inset Quotes fld
5088 \begin_inset Flex Code
5091 \begin_layout Plain Layout
5098 \begin_inset Quotes frd
5101 , sin embargo, \SpecialChar LyX
5102 no imprime nada puesto que
5103 \begin_inset Flex MenuItem
5106 \begin_layout Plain Layout
5112 nunca lleva un circunflejo.
5114 \begin_inset Flex MenuItem
5117 \begin_layout Plain Layout
5123 tras una tecla muerta imprime el acento solo.
5124 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5125 s reasociar el carácter de esa tecla a otra tecla.
5127 \begin_inset Flex MenuItem
5130 \begin_layout Plain Layout
5136 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5140 \begin_layout Standard
5141 Una forma habitual de asociar teclas muertas es usar
5142 \begin_inset Flex MenuItem
5145 \begin_layout Plain Layout
5152 \begin_inset Flex MenuItem
5155 \begin_layout Plain Layout
5162 \begin_inset Flex MenuItem
5165 \begin_layout Plain Layout
5171 en combinación con un acento, como
5172 \begin_inset Quotes fld
5176 \begin_inset Flex MenuItem
5179 \begin_layout Plain Layout
5186 \begin_inset Quotes frd
5190 \begin_inset Quotes fld
5194 \begin_inset Flex MenuItem
5197 \begin_layout Plain Layout
5204 \begin_inset Quotes frd
5208 \begin_inset Quotes fld
5212 \begin_inset Flex MenuItem
5215 \begin_layout Plain Layout
5222 \begin_inset Quotes frd
5226 Otra forma incluye el uso de
5227 \begin_inset Flex Code
5230 \begin_layout Plain Layout
5237 \begin_inset Flex Code
5240 \begin_layout Plain Layout
5246 para configurar la tecla especial
5247 \begin_inset Flex Code
5250 \begin_layout Plain Layout
5257 Esta tecla actúa de alguna forma como
5258 \begin_inset Flex MenuItem
5261 \begin_layout Plain Layout
5267 y permite teclas a caracteres acentuados.
5268 También puedes transformar teclas en muertas asociándolas a algo como
5269 \begin_inset Flex Code
5272 \begin_layout Plain Layout
5278 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5283 \begin_layout Plain Layout
5288 : Esto es exactamente lo que hago en mis archivos
5289 \begin_inset Flex Code
5292 \begin_layout Plain Layout
5299 \begin_inset Flex Code
5302 \begin_layout Plain Layout
5310 \begin_inset Flex MenuItem
5313 \begin_layout Plain Layout
5315 \begin_inset space ~
5324 \begin_inset Flex Code
5327 \begin_layout Plain Layout
5333 y unas cuantas de estas teclas simbólicas
5334 \begin_inset Quotes fld
5338 \begin_inset Flex Code
5341 \begin_layout Plain Layout
5348 \begin_inset Quotes frd
5351 asociadas a cosas como
5352 \begin_inset Flex MenuItem
5355 \begin_layout Plain Layout
5357 \begin_inset space ~
5366 \begin_inset Flex MenuItem
5369 \begin_layout Plain Layout
5371 \begin_inset space ~
5380 Así es como genero mis caracteres acentuados.
5385 Puedes hacer casi cualquier cosa con la tecla
5386 \begin_inset Flex Code
5389 \begin_layout Plain Layout
5396 \begin_inset Flex MenuItem
5399 \begin_layout Plain Layout
5405 , una tecla de función de reserva, etc.
5406 En cuanto a los comandos \SpecialChar LyX
5407 que generan acentos, consulta la entrada para
5409 \begin_inset Flex Code
5412 \begin_layout Plain Layout
5423 Ahí encontrarás la lista completa.
5426 \begin_layout Subsection
5427 Guardar la configuración de idioma
5430 \begin_layout Standard
5431 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5432 automáticamente configurado al iniciar \SpecialChar LyX
5434 \begin_inset Flex MenuItem
5437 \begin_layout Plain Layout
5438 Herramientas\SpecialChar menuseparator
5447 \begin_layout Chapter
5448 Instalación de nuevas clases de documento, formatos y plantillas
5449 \begin_inset CommandInset label
5451 name "cap:Instalación-de-nuevas"
5456 \begin_inset Argument 1
5459 \begin_layout Plain Layout
5460 Instalación de clases, formatos \SpecialChar ldots
5469 \begin_layout Standard
5470 En este capítulo describimos los procedimientos para crear e instalar nuevos
5471 archivos de plantillas y formatos de \SpecialChar LyX
5472 , así como repasar la instalación
5473 correcta de nuevas clases de documentos \SpecialChar LaTeX
5477 \begin_layout Standard
5478 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5479 y \SpecialChar LaTeX
5481 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5482 no sabe nada de \SpecialChar LaTeX
5484 Desde el punto de vista de \SpecialChar LyX
5485 , \SpecialChar LaTeX
5486 solo es uno más de los varios
5487 \begin_inset Quotes fld
5491 \begin_inset Quotes frd
5494 en los que es capaz de generar salida.
5495 Otros son DocBook, texto sencillo y XHTML.
5497 es, por supuesto, un formato particularmente importante, pero muy poca
5498 de la información que \SpecialChar LyX
5499 tiene sobre \SpecialChar LaTeX
5500 está realmente contenida en el propio
5505 \begin_layout Plain Layout
5506 Algunos comandos son lo bastante complejos como para ser incluidos en el
5507 código de \SpecialChar LyX
5509 Pero en general los desarrolladores consideran esto una mala cosa.
5515 Esa información, incluso para las clases estándar como
5519 , está almacenada en 'archivos de formato (
5524 De igual manera \SpecialChar LyX
5525 no sabe gran cosa sobre DocBook o XHTML.
5526 Esa información está en los archivos de formato.
5529 \begin_layout Standard
5530 El archivo de formato para una determinada clase de documento se puede considera
5531 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5533 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5534 tes de \SpecialChar LaTeX
5536 Por ejemplo, casi todo lo que \SpecialChar LyX
5538 \begin_inset Flex Code
5541 \begin_layout Plain Layout
5547 está contenido en el archivo
5548 \begin_inset Flex Code
5551 \begin_layout Plain Layout
5557 y en otros archivos incluidos en este.
5558 Por esta razón, quien intente escribir archivos de formato debería empezar
5559 por estudiar los archivos existentes.
5560 Un buen sitio para empezar es
5561 \begin_inset Flex Code
5564 \begin_layout Plain Layout
5570 , que está incluido en
5571 \begin_inset Flex Code
5574 \begin_layout Plain Layout
5581 \begin_inset Flex Code
5584 \begin_layout Plain Layout
5590 y muchos otros archivos de formato para clases de documento.
5591 En este archivo se definen las secciones y demás:
5592 \begin_inset Flex Code
5595 \begin_layout Plain Layout
5601 indica a \SpecialChar LyX
5602 como traducir los párrafos con estilos como Sección, Subsección,
5603 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5606 \begin_inset Flex Code
5609 \begin_layout Plain Layout
5615 solo incluye, básicamente, varios de estos archivos
5616 \begin_inset Flex Code
5619 \begin_layout Plain Layout
5628 \begin_layout Standard
5629 Pero definir la correspondencia \SpecialChar LyX
5631 no es lo único que hacen los archivos
5633 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5636 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5637 fuente de confusión, porque son totalmente independientes.
5638 Indicar a \SpecialChar LyX
5639 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5640 no le dice cómo mostrarlo
5641 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5642 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5643 (solo permite indicar
5644 a \SpecialChar LaTeX
5646 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5648 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5650 presentación en pantalla.
5653 \begin_layout Standard
5654 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5655 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5660 , en cierta medida, de usar la información de la presentación de un párrafo
5661 en pantalla para generar la presentación (en forma de CSS) del párrafo
5663 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5665 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5666 ambas se pueden controlar separadamente.
5668 \begin_inset CommandInset ref
5670 reference "sec:Etiquetas-para-XHTML"
5677 \begin_layout Section
5678 Instalación de nuevos archivos \SpecialChar LaTeX
5682 \begin_layout Standard
5683 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5684 que te gustaría usar
5687 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5688 , un paquete para preparar transparencias
5689 o diapositivas para proyectores.
5690 Las modernas distribuciones de \SpecialChar LaTeX
5691 como \SpecialChar TeX
5692 Live (2008 o posterior) o MiK\SpecialChar TeX
5694 una interfaz de usuario para eso.
5695 Por ejemplo, en MiK\SpecialChar TeX
5697 \begin_inset Quotes fld
5700 Administrador de paquetes
5701 \begin_inset Quotes frd
5704 para obtener una lista de los disponibles.
5705 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5709 \begin_layout Standard
5710 Si tu distribución \SpecialChar LaTeX
5712 \begin_inset Quotes fld
5715 administrador de paquetes
5716 \begin_inset Quotes frd
5719 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5720 para instalarlo manualmente:
5723 \begin_layout Enumerate
5724 Consigue el paquete de
5725 \begin_inset CommandInset href
5728 target "http://www.ctan.org/"
5735 \begin_layout Enumerate
5736 Si el paquete contiene un archivo con la extensión
5737 \begin_inset Quotes fld
5741 \begin_inset Flex Code
5744 \begin_layout Plain Layout
5751 \begin_inset Quotes frd
5754 (es el caso de Foil\SpecialChar TeX
5755 ) abre una consola, cambia a la carpeta del archivo
5756 y ejecuta el comando
5757 \begin_inset Flex Code
5760 \begin_layout Plain Layout
5767 Así desempaquetamos y disponemos de todos los archivos para instalar.
5768 La mayoría de paquetes \SpecialChar LaTeX
5769 no están empaquetados y podemos saltar este paso.
5772 \begin_layout Enumerate
5773 Tienes que decidir si el paquete estará disponible para todos los usuarios
5775 \begin_inset Separator parbreak
5782 \begin_layout Enumerate
5783 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5784 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5786 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5788 La ubicación de estos árboles, si no existen ya, depende del sistema.
5789 Para encontrarlos mira en el archivo
5790 \begin_inset Flex Code
5793 \begin_layout Plain Layout
5803 \begin_layout Plain Layout
5804 Usualmente es el directorio
5808 , aunque se puede ejecutar el comando
5809 \begin_inset Flex Code
5812 \begin_layout Plain Layout
5823 La ubicación del árbol `local' de \SpecialChar TeX
5824 está definida por la variable
5825 \begin_inset Flex Code
5828 \begin_layout Plain Layout
5834 ; generalmente algo como
5836 /usr/local/share/texmf/
5839 La ubicación del árbol `user' de \SpecialChar TeX
5841 \begin_inset Flex Code
5844 \begin_layout Plain Layout
5855 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5856 necesites permiso de administrador para crear o modificar el árbol `local',
5857 pero no para el árbol `user'.
5858 \begin_inset Newline newline
5861 En general, es recomendable instalar en el árbol `user' porque no será modificad
5862 o o sobrescrito al actualizar el sistema.
5863 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5864 o `home' (que debe ser lo habitual).
5867 \begin_layout Enumerate
5868 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5869 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5878 , (En MiK\SpecialChar TeX
5892 ) crea una nueva carpeta
5893 \begin_inset Flex Code
5896 \begin_layout Plain Layout
5902 y copia en ella todos los archivos del paquete.
5903 Para hacer el paquete disponible solo a un usuario o si no dispones de
5904 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5906 \begin_inset space \thinspace{}
5909 ej.,en MiK\SpecialChar TeX
5911 \begin_inset space ~
5915 \begin_inset Newline newline
5922 Documents and Settings
5929 \begin_inset Newline newline
5933 \begin_inset Phantom HPhantom
5936 \begin_layout Plain Layout
5957 \begin_inset Newline newline
5961 \begin_inset Newline newline
5989 \begin_layout Enumerate
5990 Ahora hay que decir a \SpecialChar LaTeX
5991 que hay archivos nuevos.
5992 Esto depende de la distribución de \SpecialChar LaTeX
5994 \begin_inset Separator parbreak
6001 \begin_layout Enumerate
6002 Para \SpecialChar TeX
6003 Live ejecuta el comando
6004 \begin_inset Flex Code
6007 \begin_layout Plain Layout
6014 Si el paquete se instaló para todos los usuarios harán falta permisos de
6018 \begin_layout Enumerate
6019 Para MiK\SpecialChar TeX
6020 , si el paquete se instaló para todos los usuarios, inicia el programa
6022 \begin_inset Quotes eld
6026 \begin_inset space ~
6030 \begin_inset Quotes erd
6034 \begin_inset Quotes eld
6038 \begin_inset Quotes erd
6042 Si no, inicia el programa
6043 \begin_inset Quotes eld
6047 \begin_inset Quotes erd
6054 \begin_layout Enumerate
6055 Finalmente, hay que decir a \SpecialChar LyX
6056 que hay nuevos paquetes disponibles.
6058 \begin_inset Flex MenuItem
6061 \begin_layout Plain Layout
6062 Herramientas\SpecialChar menuseparator
6068 y reinicia \SpecialChar LyX
6072 \begin_layout Standard
6073 Ya está instalado el paquete.
6074 En nuestro ejemplo, la clase de documento
6075 \begin_inset Flex Code
6078 \begin_layout Plain Layout
6080 \begin_inset space ~
6087 \begin_layout Plain Layout
6099 estará ahora disponible en
6100 \begin_inset Flex MenuItem
6103 \begin_layout Plain Layout
6104 Documento\SpecialChar menuseparator
6105 Configuración\SpecialChar menuseparator
6107 \begin_inset space ~
6111 \begin_inset space ~
6123 \begin_layout Standard
6124 Si quieres usar una clase de documento \SpecialChar LaTeX
6125 que no aparece listada en
6126 \begin_inset Flex MenuItem
6129 \begin_layout Plain Layout
6130 Documento\SpecialChar menuseparator
6131 Configuración\SpecialChar menuseparator
6133 \begin_inset space ~
6137 \begin_inset space ~
6145 , debes crear un archivo de formato (`layout') para ella.
6146 Este es el tema de la sección siguiente.
6149 \begin_layout Section
6150 Tipos de archivos de formato
6153 \begin_layout Standard
6154 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6155 que contienen informació
6158 \begin_inset Flex Code
6161 \begin_layout Plain Layout
6167 describen estilos de párrafo y de carácter, y determinan cómo los debería
6168 presentar \SpecialChar LyX
6169 y cómo deberían traducirse a \SpecialChar LaTeX
6170 , DocBook, XHTML o cualquier otro
6171 formato de salida que se vaya a usar.
6175 \begin_layout Standard
6176 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6177 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6179 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6180 que puedas encontrar.
6181 La lista de usuarios de \SpecialChar LyX
6182 es frecuentada por gente con mucha experiencia
6183 en el diseño de formatos deseosa de compartir sus conocimientos.
6186 \begin_layout Standard
6187 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6188 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6190 Si escribes un `layout' de \SpecialChar LyX
6191 para una clase de documento \SpecialChar LaTeX
6193 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6195 \begin_inset CommandInset href
6197 name "sección 'Layouts' en wiki LyX"
6198 target "http://wiki.lyx.org/Layouts/Layouts"
6202 o incluso a la lista de desarrolladores de \SpecialChar LyX
6203 para poderlo incluir en la
6208 \begin_layout Plain Layout
6209 Hay que advertir que \SpecialChar LyX
6210 se acoge a la licencia GPL, por tanto cualquier material
6211 aportado debe tener la misma licencia.
6219 \begin_layout Subsection
6221 \begin_inset CommandInset label
6223 name "subsec:Módulos-de-formato"
6230 \begin_layout Standard
6231 Hemos hablado hasta ahora de `archivos de formato'.
6232 Pero hay distintos tipos de archivos con información sobre formatos.
6233 Estrictamente, los archivos de formato tienen la extensión
6234 \begin_inset Flex Code
6237 \begin_layout Plain Layout
6243 y proporcionan a \SpecialChar LyX
6244 información sobre las clases de documento.
6245 Sin embargo, a partir de \SpecialChar LyX
6246 1.6, esta información puede proporcionarse también
6251 , que tienen la extensión
6252 \begin_inset Flex Code
6255 \begin_layout Plain Layout
6262 Los módulos son a los paquetes \SpecialChar LaTeX
6263 lo que los formatos a las clases \SpecialChar LaTeX
6265 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6266 determinado —en este caso
6267 \begin_inset Flex Code
6270 \begin_layout Plain Layout
6277 En cierto sentido, los módulos de formato son similares a los `archivos
6282 \begin_layout Plain Layout
6283 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6285 \begin_inset Flex Code
6288 \begin_layout Plain Layout
6300 \begin_inset Flex Code
6303 \begin_layout Plain Layout
6309 —, ya que, como estos, los módulos no son específicos para una clase de
6310 documento dada, sino que se pueden usar con muchos formatos diferentes.
6311 La diferencia es que el uso de un archivo incluido con
6312 \begin_inset Flex Code
6315 \begin_layout Plain Layout
6321 requiere editar dicho archivo, mientras que los módulos se seleccionan
6323 \begin_inset Flex MenuItem
6326 \begin_layout Plain Layout
6327 Documento\SpecialChar menuseparator
6337 \begin_layout Standard
6338 La construcción de módulos es la forma más fácil de iniciarse en la edición
6339 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6340 de párrafo o un recuadro flexible.
6341 No obstante, los módulos pueden, en principio, contener cualquier cosa
6342 que pueda contener un archivo `layout'.
6345 \begin_layout Standard
6346 Después de crear un módulo nuevo y copiarlo en la carpeta
6347 \begin_inset Flex Code
6350 \begin_layout Plain Layout
6356 , tendrás que reconfigurar \SpecialChar LyX
6357 y reiniciar después para que el módulo aparezca
6359 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6361 \begin_inset Flex MenuItem
6364 \begin_layout Plain Layout
6365 Documento\SpecialChar menuseparator
6371 , seleccionas lo que sea y después pulsas
6372 \begin_inset Quotes fld
6376 \begin_inset Quotes frd
6382 Es muy recomendable guardar el trabajo antes de hacer eso.
6387 es muy recomendable no intentar editar los módulos mientras se está trabajando
6388 simultáneamente en un documento
6391 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6392 ad de \SpecialChar LyX
6393 en estas situaciones, errores sintácticos y similares en el archivo
6394 del módulo podrían causar extraños comportamientos.
6397 \begin_layout Subsubsection
6401 \begin_layout Standard
6402 Los módulos son a \SpecialChar LyX
6403 lo que los paquetes a \SpecialChar LaTeX
6405 Sin embargo, a veces puede suceder que necesites un recuadro específico
6406 o un estilo de carácter solo para un documento, y escribir un módulo que
6407 estará disponible también para otros documentos tiene poco sentido.
6408 En estos casos, lo que necesitas es el
6409 \begin_inset Quotes fld
6413 \begin_inset Quotes frd
6420 \begin_layout Standard
6423 Documento\SpecialChar menuseparator
6424 Configuración\SpecialChar menuseparator
6428 El gran cuadro de texto permite introducir todo lo que podría incluirse
6429 en un archivo de formato o en un módulo.
6430 De hecho, el formato local de un documento se puede considerar como un
6431 módulo que le pertenece solo a él.
6432 Por tanto, en particular, hay que introducir una etiqueta
6433 \begin_inset Flex Code
6436 \begin_layout Plain Layout
6443 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6445 (En \SpecialChar LyX
6446 2.1 el formato actual es 48).
6447 Debes tener en cuenta que el formato local no es soportado por versiones
6449 anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar
6450 el documento a \SpecialChar LyX
6451 1.5 o anteriores sin perder la información del formato local.
6452 Si quieres poder exportar a 1.6 —el formato local es soportado pero no hay
6453 IU par él—, deberías usar formato 11 y, por supuesto, usar solo estructuras
6454 que estuvieran disponibles en \SpecialChar LyX
6458 \begin_layout Standard
6459 Una vez introducido algo en el panel
6460 \begin_inset Flex Code
6463 \begin_layout Plain Layout
6471 \begin_inset Quotes fld
6475 \begin_inset Quotes frd
6479 Pulsando ese botón \SpecialChar LyX
6480 determinará si lo introducido es información válida
6481 para el formato elegido.
6483 informará del resultado pero, desafortunadamente, no indicará qué errores
6484 pudiera haber habido.
6485 Sin embargo, si \SpecialChar LyX
6486 se ha arrancado en una terminal se verán ahí los errores.
6487 El formato local no se podrá guardar hasta que se haya introducido algo
6491 \begin_layout Standard
6492 Las advertencias al final de la sección anterior se aplican también aquí.
6493 Es mejor no enredar con formato local mientras se está trabajando, especialment
6494 e si no se ha guardado el documento.
6495 Dicho esto, usar formato local en un documento de prueba puede ser una
6496 forma muy conveniente de probar ideas de formato, o incluso de empezar
6497 a desarrollar un módulo.
6500 \begin_layout Subsection
6501 Formato para archivos
6502 \begin_inset Flex MenuItem
6505 \begin_layout Plain Layout
6514 \begin_layout Standard
6515 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6516 soportar una nueva clase de documento \SpecialChar LaTeX
6517 , según se trate de archivos de estilo
6519 \begin_inset Flex Code
6522 \begin_layout Plain Layout
6528 ) o de archivos de clases \SpecialChar LaTeX2e
6530 \begin_inset Flex Code
6533 \begin_layout Plain Layout
6540 Dar soporte a un nuevo estilo es bastante fácil.
6541 Dar soporte a una nueva clase es un poco más difícil.
6542 Trataremos el primer caso en esta sección y el otro en la siguiente.
6543 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6547 \begin_layout Standard
6548 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6549 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6550 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6551 \begin_inset Flex MenuItem
6554 \begin_layout Plain Layout
6560 y que se usará conjuntamente con
6561 \begin_inset Flex MenuItem
6564 \begin_layout Plain Layout
6570 , que es una clase estándar.
6573 \begin_layout Standard
6574 Empieza por copiar el archivo `layout' existente en tu directorio local:
6578 \begin_layout Plain Layout
6579 Evidentemente, cuál es tu directorio local variará según la plataforma,
6580 y además \SpecialChar LyX
6581 permite especificarlo al inicio usando la opción
6582 \begin_inset Flex Code
6585 \begin_layout Plain Layout
6599 \begin_layout LyX-Code
6600 cp report.layout ~/.lyx/layouts/myclass.layout
6603 \begin_layout Standard
6605 \begin_inset Flex Code
6608 \begin_layout Plain Layout
6617 \begin_layout LyX-Code
6620 Declare\SpecialChar LaTeX
6624 \begin_layout Standard
6628 \begin_layout LyX-Code
6631 Declare\SpecialChar LaTeX
6632 Class[report, myclass.sty]{report (myclass)}
6635 \begin_layout Standard
6639 \begin_layout LyX-Code
6641 \begin_inset Newline newline
6647 \begin_inset Newline newline
6653 \begin_layout Standard
6654 cerca del principio del archivo.
6657 \begin_layout Standard
6658 Inicia \SpecialChar LyX
6660 \begin_inset Flex MenuItem
6663 \begin_layout Plain Layout
6664 Herramientas\SpecialChar menuseparator
6671 Después reinicia \SpecialChar LyX
6672 y haz una prueba con un documento nuevo.
6674 \begin_inset Flex MenuItem
6677 \begin_layout Plain Layout
6678 Documento\SpecialChar menuseparator
6685 \begin_inset Quotes fld
6689 \begin_inset Flex MenuItem
6692 \begin_layout Plain Layout
6699 \begin_inset Quotes frd
6702 en la lista de clases de documento.
6703 Es probable que algunos de los comandos de secciones y demás en tu nueva
6704 clase funcionen de distinta manera a como lo hacen en la clase estándar
6706 \begin_inset Flex Code
6709 \begin_layout Plain Layout
6715 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6716 con los ajustes de las distintas secciones.
6717 La información del formato de las secciones se encuentra en
6718 \begin_inset Flex Code
6721 \begin_layout Plain Layout
6727 , pero no necesitas copiar ni cambiar este archivo.
6728 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6730 \begin_inset Flex Code
6733 \begin_layout Plain Layout
6740 \begin_inset Flex Code
6743 \begin_layout Plain Layout
6750 Por ejemplo, podrías añadir estas líneas:
6753 \begin_layout LyX-Code
6757 \begin_layout LyX-Code
6761 \begin_layout LyX-Code
6765 \begin_layout LyX-Code
6769 \begin_layout LyX-Code
6773 \begin_layout Standard
6774 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6775 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6780 \begin_layout Standard
6781 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6783 En este caso, los añadirás al archivo `layout'.
6785 \begin_inset space ~
6789 \begin_inset CommandInset ref
6791 reference "sec:Estructura-del-archivo-layout"
6795 para información sobre cómo hacerlo.
6798 \begin_layout Standard
6800 \begin_inset Flex MenuItem
6803 \begin_layout Plain Layout
6809 se puede usar con diferentes clases de documento, e incluso si no es así,
6810 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6812 El módulo más simple posible podría ser:
6815 \begin_layout LyX-Code
6818 Declare\SpecialChar LyX
6822 \begin_layout LyX-Code
6826 \begin_layout LyX-Code
6827 #Support for mypkg.sty.
6830 \begin_layout LyX-Code
6832 \begin_inset Newline newline
6838 \begin_layout LyX-Code
6840 \begin_inset Newline newline
6846 \begin_layout LyX-Code
6848 \begin_inset Newline newline
6854 \begin_inset Newline newline
6860 \begin_layout Standard
6861 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6862 ya existente o definir algunas nuevas.
6863 De nuevo te remitimos a sección
6864 \begin_inset space ~
6868 \begin_inset CommandInset ref
6870 reference "sec:Estructura-del-archivo-layout"
6877 \begin_layout Subsection
6878 Formato para archivos
6879 \begin_inset Flex MenuItem
6882 \begin_layout Plain Layout
6891 \begin_layout Standard
6892 En este caso hay dos opciones.
6893 Una, que el archivo de clase esté él mismo basado en una clase de documento
6895 Por ejemplo, muchas clases de tesis están basadas en
6896 \begin_inset Flex MenuItem
6899 \begin_layout Plain Layout
6906 Para ver si el tuyo lo está, busca una línea parecida a
6909 \begin_layout LyX-Code
6915 \begin_layout Standard
6917 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6918 aunque la línea Declare\SpecialChar LaTeX
6919 Class será diferente.
6920 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6924 \begin_layout Plain Layout
6925 Y será mucho más fácil si guardas el archivo como
6926 \begin_inset Flex Code
6929 \begin_layout Plain Layout
6936 supone que la clase de documento tiene el mismo nombre que el archivo
6946 \begin_layout LyX-Code
6949 Declare\SpecialChar LaTeX
6950 Class[thesis,book]{thesis}
6953 \begin_layout Standard
6954 Si, por el contrario, la nueva clase no está basada en una ya existente,
6955 probablemente tendrás que ir pensando en tu propio formato.
6956 Recomendamos firmemente copiar un archivo de formato existente que use
6957 una clase de \SpecialChar LaTeX
6958 parecida y modificarlo, si es posible.
6959 O al menos, usa un archivo existente como punto de partida para ver qué
6960 items son los que te deben preocupar.
6961 Los detalles se discuten a continuación.
6964 \begin_layout Subsection
6965 Creación de plantillas
6966 \begin_inset CommandInset label
6968 name "subsec:Creación-de-plantillas"
6975 \begin_layout Standard
6976 Una vez escrito un archivo de formato para una clase nueva de documento,
6977 podrías pensar en escribir además una
6982 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6983 cómo podría usarse, aunque sea con contenido irrelevante.
6984 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6989 \begin_layout Standard
6990 Las plantillas se crean exactamente igual que un documento normal: usando
6993 La única diferencia es que los documentos corrientes tienen todos los ajustes
6994 posibles, incluso el esquema de tipografías y el tamaño del papel.
6995 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6996 preferidos para dichos parámetros.
6997 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6999 \begin_inset Flex Code
7002 \begin_layout Plain Layout
7011 \begin_inset Flex Code
7014 \begin_layout Plain Layout
7022 de los archivos de plantillas de \SpecialChar LyX
7024 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
7026 \begin_inset Flex Code
7029 \begin_layout Plain Layout
7036 \begin_inset Flex Code
7039 \begin_layout Plain Layout
7049 \begin_layout Standard
7050 Los archivos editados de plantillas que has creado se ubican en
7051 \begin_inset Flex Code
7054 \begin_layout Plain Layout
7060 , copia los que uses del directorio global de plantillas en
7061 \begin_inset Flex Code
7064 \begin_layout Plain Layout
7071 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7072 \begin_inset Flex MenuItem
7075 \begin_layout Plain Layout
7076 Herramientas\SpecialChar menuseparator
7077 Preferencias\SpecialChar menuseparator
7086 \begin_layout Standard
7087 De paso advertiremos que hay una plantilla,
7088 \begin_inset Flex Code
7091 \begin_layout Plain Layout
7097 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7098 un documento nuevo con
7099 \begin_inset Flex MenuItem
7102 \begin_layout Plain Layout
7103 Archivo\SpecialChar menuseparator
7109 , con el fin de proporcionar ajustes predeterminados por omisión.
7110 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7111 , lo que debes hacer es abrir
7112 un documento, establecer los ajustes deseados y usar el botón
7113 \begin_inset Flex MenuItem
7116 \begin_layout Plain Layout
7117 Guardar como predeterminados
7125 \begin_layout Subsection
7126 Actualización de antiguos archivos de formato
7129 \begin_layout Standard
7130 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7132 de modo que los antiguos archivos de formato deben ser convertidos.
7134 lee un archivo de formato con formato antiguo lanzará la herramienta
7136 \begin_inset Flex Code
7139 \begin_layout Plain Layout
7145 , que lo convierte a un archivo temporal con el formato actual.
7146 El archivo original se deja sin tocar.
7147 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7148 que \SpecialChar LyX
7149 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7152 \begin_layout Enumerate
7156 \begin_inset Flex Code
7159 \begin_layout Plain Layout
7168 \begin_inset Flex Code
7171 \begin_layout Plain Layout
7182 \begin_layout Enumerate
7188 \begin_inset Newline newline
7192 \begin_inset Flex Code
7195 \begin_layout Plain Layout
7196 python \SpecialChar LyX
7197 Dir/scripts/layout2layout.py myclass.old myclass.layout
7203 \begin_inset Newline newline
7209 \begin_inset Flex Code
7212 \begin_layout Plain Layout
7223 el nombre de tu directorio \SpecialChar LyX
7227 \begin_layout Standard
7228 La conversión manual no puede manejar archivos incluidos, así que estos
7229 tendrán que convertirse separadamente.
7232 \begin_layout Section
7233 Estructura del archivo `layout'
7234 \begin_inset CommandInset label
7236 name "sec:Estructura-del-archivo-layout"
7243 \begin_layout Standard
7244 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7245 tu propio archivo de formato; las siguientes secciones describen aquello
7246 a lo que te vas a enfrentar.
7247 Nuestro consejo es ir despacito, probando y guardando a menudo.
7248 En realidad no es para tanto, pero la multitud de opciones puede llegar
7249 a abrumarte si intentas hacer muchas cosas a la vez.
7252 It becomes easier if you use existing layouts of \SpecialChar LyX
7253 as examples/reference
7254 or if you modify an existing layout to your needs.
7257 \begin_layout Standard
7258 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7259 a las mayúsculas; esto significa que
7260 \begin_inset Flex Code
7263 \begin_layout Plain Layout
7270 \begin_inset Flex Code
7273 \begin_layout Plain Layout
7280 \begin_inset Flex Code
7283 \begin_layout Plain Layout
7289 son el mismo comando.
7290 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7292 Si en una descripción de una clase de texto no se especifica una característica
7293 , el valor por omisión se escribe en estilo
7294 \begin_inset Flex Code
7297 \begin_layout Plain Layout
7306 Si el argumento tiene un tipo de dato como
7307 \begin_inset Quotes fld
7311 \begin_inset Quotes frd
7315 \begin_inset Quotes fld
7319 \begin_inset Quotes frd
7322 , el valor por omisión se muestra de esta manera:
7323 \begin_inset Flex Code
7326 \begin_layout Plain Layout
7337 \begin_layout Subsection
7338 Declaración de la clase de documento
7343 \begin_layout Standard
7344 Las líneas de un archivo de formato que empiezan con
7345 \begin_inset Flex Code
7348 \begin_layout Plain Layout
7355 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7359 \begin_layout LyX-Code
7362 #% Do not delete the line below; configure depends on this
7366 \begin_layout Plain Layout
7370 \begin_inset space \thinspace{}
7375 : No borrar la línea siguiente; la configuración depende de ella
7383 \begin_layout LyX-Code
7394 \begin_layout Plain Layout
7403 eXClass{Article (Standard Class)}
7406 \begin_layout LyX-Code
7411 DeclareCategory{Articles}
7414 \begin_layout Standard
7419 línea se usan en la (re)configuración de \SpecialChar LyX
7421 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7423 \begin_inset Flex Code
7426 \begin_layout Plain Layout
7432 de un modo especial tal que
7433 \begin_inset Flex Code
7436 \begin_layout Plain Layout
7443 La primera línea es solo un comentario y la segunda contiene la declaración
7448 de la clase de texto
7450 and the third line contains the optional classification of the class
7453 Si estas líneas aparecen en un archivo llamado
7454 \begin_inset Flex Code
7457 \begin_layout Plain Layout
7463 , entonces definen una clase de texto de nombre
7464 \begin_inset Flex Code
7467 \begin_layout Plain Layout
7473 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7475 \begin_inset Flex Code
7478 \begin_layout Plain Layout
7484 (por omisión se usa el mismo nombre para ambos).
7486 \begin_inset Quotes fld
7489 Article (Standard Class)
7490 \begin_inset Quotes frd
7493 se utiliza como descripción de la clase de texto y es la que aparece en
7495 \begin_inset Flex MenuItem
7498 \begin_layout Plain Layout
7499 Documento\SpecialChar menuseparator
7509 \begin_inset Quotes eld
7513 \begin_inset Quotes erd
7516 in the example) is also used in the
7517 \begin_inset Flex MenuItem
7520 \begin_layout Plain Layout
7523 Document\SpecialChar menuseparator
7529 dialog: the text classes are grouped by these categories (which are usually
7530 genres, so typical categories are
7531 \begin_inset Quotes eld
7535 \begin_inset Quotes erd
7539 \begin_inset Quotes eld
7543 \begin_inset Quotes erd
7547 \begin_inset Quotes eld
7551 \begin_inset Quotes erd
7555 \begin_inset Quotes eld
7559 \begin_inset Quotes erd
7563 \begin_inset Quotes eld
7567 \begin_inset Quotes erd
7571 \begin_inset Quotes eld
7575 \begin_inset Quotes erd
7579 If no category has been declared, the class will be put in the
7580 \begin_inset Quotes eld
7584 \begin_inset Quotes erd
7590 \begin_layout Standard
7591 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7593 \begin_inset Flex Code
7596 \begin_layout Plain Layout
7602 , pero en la que has cambiado el aspecto de los encabezados de sección.
7603 Si lo pones en un archivo
7604 \begin_inset Flex Code
7607 \begin_layout Plain Layout
7613 , la cabecera de este archivo debería ser:
7616 \begin_layout LyX-Code
7619 #% Do not delete the line below; configure depends on this
7622 \begin_layout LyX-Code
7633 \begin_layout Plain Layout
7642 eXClass[article]{Article (con Mis Encabezados)}
7645 \begin_layout LyX-Code
7650 DeclareCategory{Articles}
7653 \begin_layout Standard
7654 Esto declara la clase de texto
7655 \begin_inset Flex Code
7658 \begin_layout Plain Layout
7664 , asociada con la clase de documento \SpecialChar LaTeX
7666 \begin_inset Flex Code
7669 \begin_layout Plain Layout
7675 , y cuya descripción es
7676 \begin_inset Quotes fld
7679 Article (con Mis Encabezados)
7680 \begin_inset Quotes frd
7684 Si la clase de texto depende de varios paquetes, puedes declararla así:
7687 \begin_layout LyX-Code
7690 #% Do not delete the line below; configure depends on this
7693 \begin_layout LyX-Code
7704 \begin_layout Plain Layout
7713 eXClass[article,foo.sty]{Article (con Mis Encabezados)}
7716 \begin_layout LyX-Code
7721 DeclareCategory{Articles}
7724 \begin_layout Standard
7725 Esto indica que la clase de texto utiliza el paquete foo.sty.
7726 Finalmente, también es posible declarar clases para código DocBook.
7727 Una declaración típica podría ser:
7730 \begin_layout LyX-Code
7733 #% Do not delete the line below; configure depends on this
7736 \begin_layout LyX-Code
7741 DeclareDocBookClass[article]{SGML (DocBook Article)}
7744 \begin_layout LyX-Code
7749 DeclareCategory{Articles}
7752 \begin_layout Standard
7753 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7754 que declare el nombre de la clase de documento (pero no una lista).
7757 \begin_layout Standard
7758 Así, para ser lo más explícito posible, la forma de la declaración del formato
7762 \begin_layout LyX-Code
7773 \begin_layout Plain Layout
7782 eXClass[class,package.sty]{descripción del formato}
7785 \begin_layout LyX-Code
7797 \begin_layout Standard
7798 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7800 el nombre de archivo del formato son diferentes; si el nombre del archivo
7801 de clase no se especifica, \SpecialChar LyX
7802 simplemente supondrá que es el mismo que el
7803 del archivo de formato.
7806 \begin_layout Standard
7807 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7808 debes hacer es copiarla a
7809 \begin_inset Flex Code
7812 \begin_layout Plain Layout
7820 \begin_inset Flex Code
7823 \begin_layout Plain Layout
7830 \begin_inset Flex MenuItem
7833 \begin_layout Plain Layout
7834 Herramientas\SpecialChar menuseparator
7840 , y reiniciar \SpecialChar LyX
7842 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7845 \begin_layout Standard
7846 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7847 que reconfigurar ni reiniciar \SpecialChar LyX
7853 \begin_layout Plain Layout
7854 En versiones de \SpecialChar LyX
7855 anteriores a 1.6 no era así.
7856 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7857 pues constantemente había que reconfigurar y reiniciar.
7862 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7864 \begin_inset Flex MenuItem
7867 \begin_layout Plain Layout
7874 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7875 asociarle tú mismo una secuencia de teclas—.
7876 Normalmente usarás esta función introduciéndola simplemente en el
7884 \begin_layout Standard
7889 : Esto es mucho más que una
7890 \begin_inset Quotes fld
7893 característica avanzada
7894 \begin_inset Quotes frd
7902 recomendable que no intentes editar tu formato mientras estés trabajando
7903 en un documento importante.
7904 Usa un documento de prueba.
7905 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7906 comportamientos extraños.
7907 En particular, tales errores podrían provocar que \SpecialChar LyX
7908 vea el formato actual
7909 como inválido e intente cambiar a algún otro.
7913 \begin_layout Plain Layout
7914 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7916 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7922 información de formato.
7923 Por favor ten cuidado.
7928 El equipo \SpecialChar LyX
7929 procura que \SpecialChar LyX
7930 se mantenga estable en estos casos, pero es mejor
7935 \begin_layout Plain Layout
7936 De todos modos, haz copias de seguridad regularmente.
7937 Y sé bueno con mamá.
7946 \begin_layout Subsection
7947 Declaración de un módulo
7950 \begin_layout Standard
7951 Un módulo debe empezar con una línea como la siguiente:
7954 \begin_layout LyX-Code
7961 \begin_layout Plain Layout
7968 yXModule[endnotes.sty]{Endnotes}
7971 \begin_layout Standard
7972 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7974 \begin_inset Flex MenuItem
7977 \begin_layout Plain Layout
7978 Documento\SpecialChar menuseparator
7979 Configuración\SpecialChar menuseparator
7986 El argumento entre corchetes es opcional: declara cualesquiera paquetes
7988 de los que depende el módulo.
7989 También es posible usar la forma
7990 \begin_inset Flex MenuItem
7993 \begin_layout Plain Layout
7999 como argumento opcional, que declara que el módulo solo puede usarse cuando
8000 existe una cadena de conversión entre los formatos `
8001 \begin_inset Flex Code
8004 \begin_layout Plain Layout
8011 \begin_inset Flex Code
8014 \begin_layout Plain Layout
8023 \begin_layout Standard
8024 La declaración del módulo debe proseguir con líneas como las siguientes:
8028 \begin_layout Plain Layout
8029 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8031 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8032 en la siguiente actualización de la interfaz.
8040 \begin_layout LyX-Code
8044 \begin_layout LyX-Code
8045 #Adds an endnote command, in addition to footnotes.
8049 \begin_layout LyX-Code
8050 #You will need to add
8052 theendnotes in \SpecialChar TeX
8056 \begin_layout LyX-Code
8057 #want the endnotes to appear.
8061 \begin_layout LyX-Code
8065 \begin_layout LyX-Code
8066 #Requires: somemodule | othermodule
8069 \begin_layout LyX-Code
8070 #Excludes: badmodule
8073 \begin_layout Standard
8074 La descripción se usa en
8075 \begin_inset Flex MenuItem
8078 \begin_layout Plain Layout
8079 Documento\SpecialChar menuseparator
8080 Configuración\SpecialChar menuseparator
8086 para proporcionar al usuario información sobre las acciones del módulo.
8088 \begin_inset Flex Code
8091 \begin_layout Plain Layout
8097 sirve para identificar otros módulos con los que se debe usar este; la
8099 \begin_inset Flex Code
8102 \begin_layout Plain Layout
8108 identifica los módulos con los que este no se puede usar.
8109 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8110 el símbolo tubería: |.
8111 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8116 de los módulos requeridos.
8122 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8124 \begin_inset Flex Code
8127 \begin_layout Plain Layout
8135 \begin_inset Flex Code
8138 \begin_layout Plain Layout
8145 \begin_inset Flex Code
8148 \begin_layout Plain Layout
8157 \begin_layout Subsection
8158 Número de formatoLa primera línea no comentada de cualquier archivo `layout',
8163 contener el número de formato del archivo:
8166 \begin_layout Description
8167 \begin_inset Flex Code
8170 \begin_layout Plain Layout
8177 \begin_inset Flex Code
8180 \begin_layout Plain Layout
8186 ] El número de formato del archivo `layout'.
8189 \begin_layout Standard
8190 Esta etiqueta se introdujo en \SpecialChar LyX
8192 \begin_inset space ~
8196 Los archivos de formato de \SpecialChar LyX
8198 \begin_inset space ~
8201 1.3.x y anteriores no tienen un número explícito y se considera de
8202 \begin_inset Flex Code
8205 \begin_layout Plain Layout
8207 \begin_inset space ~
8216 El número para la versión actual de \SpecialChar LyX
8218 Cada versión de \SpecialChar LyX
8219 es capaz de leer los formatos de versiones anteriores,
8220 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8223 Sin embargo, no está previsto convertir a formatos anteriores.
8226 \begin_layout Subsection
8227 Parámetros generales de clases de texto
8228 \begin_inset CommandInset label
8230 name "subsec:Parámetros-generales-clases"
8237 \begin_layout Standard
8238 Estos son los parámetros generales que describen completamente una clase
8244 significa que deban aparecer en archivos
8245 \begin_inset Flex Code
8248 \begin_layout Plain Layout
8254 en vez de en módulos.
8255 Un módulo puede contener cualquier etiqueta de formato).
8258 \begin_layout Description
8259 \begin_inset Flex Code
8262 \begin_layout Plain Layout
8268 Añade información para el bloque
8269 \begin_inset Flex Code
8272 \begin_layout Plain Layout
8278 cuando el documento se exporte a XHTML.
8279 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8280 se puede usar para cualquier cosa que pueda aparecer en
8281 \begin_inset Flex Code
8284 \begin_layout Plain Layout
8292 \begin_inset Quotes eld
8296 \begin_inset Flex Code
8299 \begin_layout Plain Layout
8306 \begin_inset Quotes erd
8312 \begin_layout Description
8313 \begin_inset Flex Code
8316 \begin_layout Plain Layout
8322 Añade información al preámbulo del documento.
8324 \begin_inset Quotes fld
8328 \begin_inset Flex Code
8331 \begin_layout Plain Layout
8338 \begin_inset Quotes frd
8344 \begin_layout Description
8345 \begin_inset Flex Code
8348 \begin_layout Plain Layout
8354 Define formatos a usar en la presentación de información bibliográfica.
8356 \begin_inset space ~
8360 \begin_inset CommandInset ref
8362 reference "subsec:Descripción-formato-cita"
8368 \begin_inset Quotes eld
8372 \begin_inset Flex Code
8375 \begin_layout Plain Layout
8382 \begin_inset Quotes erd
8388 \begin_layout Description
8389 \begin_inset Flex Code
8392 \begin_layout Plain Layout
8398 Describe varias opciones globales soportadas por la clase de documento.
8400 \begin_inset space ~
8404 \begin_inset CommandInset ref
8406 reference "subsec:ClassOptions"
8410 para una descripción.
8412 \begin_inset Quotes fld
8416 \begin_inset Flex Code
8419 \begin_layout Plain Layout
8426 \begin_inset Quotes frd
8432 \begin_layout Description
8433 \begin_inset Flex Code
8436 \begin_layout Plain Layout
8443 \begin_inset Flex Code
8446 \begin_layout Plain Layout
8455 \begin_inset space \thinspace{}
8459 \begin_inset Flex Code
8462 \begin_layout Plain Layout
8468 ] Establece el número de columnas por omisión.
8469 Se puede cambiar en el diálogo
8470 \begin_inset Flex MenuItem
8473 \begin_layout Plain Layout
8474 Documento\SpecialChar menuseparator
8483 \begin_layout Description
8484 \begin_inset Flex Code
8487 \begin_layout Plain Layout
8493 Esta secuencia define un nuevo contador.
8495 \begin_inset space ~
8499 \begin_inset CommandInset ref
8501 reference "subsec:Contadores"
8507 \begin_inset Quotes fld
8511 \begin_inset Flex Code
8514 \begin_layout Plain Layout
8521 \begin_inset Quotes frd
8527 \begin_layout Description
8528 \begin_inset Flex Code
8531 \begin_layout Plain Layout
8537 Establece la tipografía por omisión para presentar el documento.
8539 \begin_inset space ~
8543 \begin_inset CommandInset ref
8545 reference "subsec:Tipografías"
8549 para cómo declarar tipografías.
8551 \begin_inset Quotes fld
8555 \begin_inset Flex Code
8558 \begin_layout Plain Layout
8565 \begin_inset Quotes frd
8571 \begin_layout Description
8572 \begin_inset Flex Code
8575 \begin_layout Plain Layout
8582 \begin_inset Flex Code
8585 \begin_layout Plain Layout
8591 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8592 deberá declararse por su nombre de archivo sin la extensión
8593 \begin_inset Flex Code
8596 \begin_layout Plain Layout
8603 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8604 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8605 elige para un documento existente.)
8608 \begin_layout Description
8609 \begin_inset Flex Code
8612 \begin_layout Plain Layout
8619 \begin_inset Flex Code
8622 \begin_layout Plain Layout
8628 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8629 \begin_inset Flex MenuItem
8632 \begin_layout Plain Layout
8639 Si no se especifica, se escogerá por omisión el primer estilo definido,
8640 pero es muy recomendable usar esta instrucción.
8643 \begin_layout Description
8644 \begin_inset Flex Code
8647 \begin_layout Plain Layout
8654 \begin_inset Flex Code
8657 \begin_layout Plain Layout
8663 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8664 de archivo sin la extensión
8665 \begin_inset Flex Code
8668 \begin_layout Plain Layout
8674 ) no puede utilizarse con esta clase de documento.
8675 Esto podría usarse en un archivo de formato específico de una publicación
8676 para, digamos, impedir el empleo del módulo
8677 \begin_inset Flex Code
8680 \begin_layout Plain Layout
8686 , que numera los teoremas y demás por secciones.
8691 puede utilizarse en un módulo.
8692 Los módulos tienen su propia forma de excluir otros módulos (véase
8693 \begin_inset space ~
8697 \begin_inset CommandInset ref
8699 reference "subsec:Módulos-de-formato"
8706 \begin_layout Description
8707 \begin_inset Flex Code
8710 \begin_layout Plain Layout
8716 Define un nuevo flotante.
8718 \begin_inset space ~
8722 \begin_inset CommandInset ref
8724 reference "subsec:Flotantes"
8730 \begin_inset Quotes fld
8734 \begin_inset Flex Code
8737 \begin_layout Plain Layout
8744 \begin_inset Quotes frd
8750 \begin_layout Description
8751 \begin_inset Flex Code
8754 \begin_layout Plain Layout
8760 Da información para el bloque
8761 \begin_inset Flex Code
8764 \begin_layout Plain Layout
8770 cuando esta clase de documento se exporte a XHTML.
8771 Advertir que esto sobrescribirá completamente cualquier declaración anterior
8773 \begin_inset Flex Code
8776 \begin_layout Plain Layout
8783 \begin_inset Flex Code
8786 \begin_layout Plain Layout
8794 \begin_inset Flex Code
8797 \begin_layout Plain Layout
8803 si solo quieres añadir material al preámbulo).
8805 \begin_inset Quotes eld
8809 \begin_inset Flex Code
8812 \begin_layout Plain Layout
8819 \begin_inset Quotes erd
8825 \begin_layout Description
8826 \begin_inset Flex Code
8829 \begin_layout Plain Layout
8836 \begin_inset Flex Code
8839 \begin_layout Plain Layout
8847 The style to use for the
8849 índice general, bibliografía, etc., cuando el documento se exporte a HTML.
8850 Para article, normalmente será
8851 \begin_inset Flex Code
8854 \begin_layout Plain Layout
8861 \begin_inset Flex Code
8864 \begin_layout Plain Layout
8871 Si no se especifica, \SpecialChar LyX
8872 intentará deducir qué formato usar.
8875 \begin_layout Description
8876 \begin_inset Flex Code
8879 \begin_layout Plain Layout
8886 \begin_inset Flex Code
8889 \begin_layout Plain Layout
8895 ] Modifica las propiedades del contador dado.
8896 Si el contador no existe, esta sección se ignora.
8898 \begin_inset Quotes eld
8902 \begin_inset Flex Code
8905 \begin_layout Plain Layout
8912 \begin_inset Quotes erd
8916 \begin_inset Newline newline
8920 \begin_inset space ~
8924 \begin_inset CommandInset ref
8926 reference "subsec:Contadores"
8933 \begin_layout Description
8934 \begin_inset Flex Code
8937 \begin_layout Plain Layout
8944 \begin_inset Flex Code
8947 \begin_layout Plain Layout
8953 ] Modifica las propiedades del estilo de párrafo dado.
8954 Si el estilo no existe, esta sección se ignora.
8956 \begin_inset Quotes eld
8960 \begin_inset Flex Code
8963 \begin_layout Plain Layout
8970 \begin_inset Quotes erd
8976 \begin_layout Description
8977 \begin_inset Flex Code
8980 \begin_layout Plain Layout
8987 \begin_inset Flex Code
8990 \begin_layout Plain Layout
8996 ] Permite incluir otro archivo de definición de formato en el tuyo con el
8997 fin de evitar la duplicación de comandos.
8998 Ejemplos habituales son los archivos de formatos estándar, como
8999 \begin_inset Flex Code
9002 \begin_layout Plain Layout
9008 , que contiene la mayoría de los diseños básicos.
9011 \begin_layout Description
9012 \begin_inset Flex Code
9015 \begin_layout Plain Layout
9022 \begin_inset Flex Code
9025 \begin_layout Plain Layout
9031 ] Esta sección (re)define el formato de un recuadro.
9032 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9034 \begin_inset space \thinspace{}
9037 e., un nuevo estilo de texto.
9039 \begin_inset space ~
9043 \begin_inset CommandInset ref
9045 reference "subsec:estilo-del-texto"
9049 para más información.
9051 \begin_inset Quotes fld
9055 \begin_inset Flex Code
9058 \begin_layout Plain Layout
9065 \begin_inset Quotes frd
9071 \begin_layout Description
9072 \begin_inset Flex Code
9075 \begin_layout Plain Layout
9082 \begin_inset Flex Code
9085 \begin_layout Plain Layout
9091 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9093 \begin_inset Quotes fld
9097 \begin_inset Flex Code
9100 \begin_layout Plain Layout
9107 \begin_inset Quotes frd
9111 (Esto no es una `longitud', como
9112 \begin_inset Quotes fld
9116 \begin_inset Quotes frd
9122 \begin_layout Description
9123 \begin_inset Flex Code
9126 \begin_layout Plain Layout
9133 \begin_inset Flex Code
9136 \begin_layout Plain Layout
9142 ] Este comando elimina un contador existente, generalmente uno definido
9143 en un archivo incluido.
9146 \begin_layout Description
9147 \begin_inset Flex Code
9150 \begin_layout Plain Layout
9157 \begin_inset Flex Code
9160 \begin_layout Plain Layout
9166 ] Este comando borra un flotante existente.
9167 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9168 en un archivo de entrada.
9171 \begin_layout Description
9172 \begin_inset Flex Code
9175 \begin_layout Plain Layout
9182 \begin_inset Flex Code
9185 \begin_layout Plain Layout
9191 ] Este comando borra un estilo existente.
9194 \begin_layout Description
9195 \begin_inset Flex Code
9198 \begin_layout Plain Layout
9205 \begin_inset Flex Code
9208 \begin_layout Plain Layout
9214 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9217 Principalmente, es útil cuando
9218 \begin_inset Flex Code
9221 \begin_layout Plain Layout
9228 \begin_inset Flex Code
9231 \begin_layout Plain Layout
9237 y se quiere definir un nuevo tipo de documento `literate'.
9238 Esta cadena se redefine a
9239 \begin_inset Quotes fld
9243 \begin_inset Flex Code
9246 \begin_layout Plain Layout
9253 \begin_inset Quotes frd
9257 \begin_inset Quotes fld
9261 \begin_inset Flex Code
9264 \begin_layout Plain Layout
9271 \begin_inset Quotes frd
9274 si se encuentra el correspondiente parámetro
9275 \begin_inset Flex Code
9278 \begin_layout Plain Layout
9287 \begin_layout Description
9288 \begin_inset Flex Code
9291 \begin_layout Plain Layout
9298 \begin_inset Flex Code
9301 \begin_layout Plain Layout
9312 \begin_inset Flex Code
9315 \begin_layout Plain Layout
9322 \begin_inset Flex Code
9325 \begin_layout Plain Layout
9331 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9334 \begin_layout Description
9335 \begin_inset Flex Code
9338 \begin_layout Plain Layout
9345 \begin_inset Flex Code
9348 \begin_layout Plain Layout
9355 \begin_inset Flex Code
9358 \begin_layout Plain Layout
9366 Specifies options, given in the second string, for the package named by
9371 \begin_inset Quotes fld
9375 \begin_inset Flex Code
9378 \begin_layout Plain Layout
9379 PackageOptions natbib square
9385 \begin_inset Quotes frd
9391 \begin_inset Flex Code
9394 \begin_layout Plain Layout
9402 to be loaded with the
9403 \begin_inset Flex Code
9406 \begin_layout Plain Layout
9415 (For \SpecialChar TeX
9416 perts, this causes \SpecialChar LyX
9420 \begin_inset Flex Code
9423 \begin_layout Plain Layout
9426 PassOptionsToPackage{natbib}{square}
9436 \begin_inset Flex Code
9439 \begin_layout Plain Layout
9448 \begin_layout Description
9449 \begin_inset Flex Code
9452 \begin_layout Plain Layout
9459 \begin_inset Flex Code
9462 \begin_layout Plain Layout
9471 \begin_inset Flex Code
9474 \begin_layout Plain Layout
9481 \begin_inset Flex Code
9484 \begin_layout Plain Layout
9494 El estilo de página predeterminado de la clase.
9495 Puede cambiarse en el diálogo
9496 \begin_inset Flex MenuItem
9499 \begin_layout Plain Layout
9500 Documento\SpecialChar menuseparator
9509 \begin_layout Description
9510 \begin_inset Flex Code
9513 \begin_layout Plain Layout
9519 Establece el preámbulo \SpecialChar LaTeX
9521 Anotar que esto anulará completamente cualesquiera declaraciones
9522 \begin_inset Flex Code
9525 \begin_layout Plain Layout
9532 \begin_inset Flex Code
9535 \begin_layout Plain Layout
9543 \begin_inset Flex Code
9546 \begin_layout Plain Layout
9552 si solo quieres añadir material al preámbulo).
9554 \begin_inset Quotes fld
9558 \begin_inset Flex Code
9561 \begin_layout Plain Layout
9568 \begin_inset Quotes frd
9574 \begin_layout Description
9575 \begin_inset Flex Code
9578 \begin_layout Plain Layout
9585 \begin_inset Flex Code
9588 \begin_layout Plain Layout
9595 \begin_inset Flex Code
9598 \begin_layout Plain Layout
9607 \begin_inset Flex Code
9610 \begin_layout Plain Layout
9616 ] Si la clase ya proporciona, o no, la característica
9617 \begin_inset Flex Code
9620 \begin_layout Plain Layout
9627 Una característica es en general el nombre de un paquete (
9628 \begin_inset Flex Code
9631 \begin_layout Plain Layout
9638 \begin_inset Flex Code
9641 \begin_layout Plain Layout
9647 , \SpecialChar ldots
9649 \begin_inset Flex Code
9652 \begin_layout Plain Layout
9659 \begin_inset Flex Code
9662 \begin_layout Plain Layout
9672 \begin_inset space ~
9676 \begin_inset CommandInset ref
9678 reference "chap:List-of-functions"
9682 for the list of features.
9685 \begin_layout Description
9686 \begin_inset Flex Code
9689 \begin_layout Plain Layout
9696 \begin_inset Flex Code
9699 \begin_layout Plain Layout
9705 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
9706 que deberá especificarse con su nombre de archivo sin la extensión
9707 \begin_inset Flex Code
9710 \begin_layout Plain Layout
9717 Esto se usará típicamente si el formato incluye el módulo directamente,
9718 preferiblemente a usar la etiqueta
9719 \begin_inset Flex Code
9722 \begin_layout Plain Layout
9728 para indicar que debería utilizarse.
9729 Podría ser empleado en un módulo que provea una implementación alternativa
9730 de la misma funcionalidad.
9733 \begin_layout Description
9734 \begin_inset Flex Code
9737 \begin_layout Plain Layout
9744 \begin_inset Flex Code
9747 \begin_layout Plain Layout
9753 ] Si la clase requiere la característica
9754 \begin_inset Flex Code
9757 \begin_layout Plain Layout
9764 Múltiples características deben separarse con comas.
9765 Multiple features must be separated by commas.
9766 Anotar que solo se pueden demandar características soportadas.
9770 \begin_inset space ~
9774 \begin_inset CommandInset ref
9776 reference "chap:List-of-functions"
9780 for the list of features
9785 \begin_layout Description
9786 \begin_inset Flex Code
9789 \begin_layout Plain Layout
9796 \begin_inset Flex Code
9799 \begin_layout Plain Layout
9805 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
9807 \begin_inset Quotes fld
9811 \begin_inset Flex Code
9814 \begin_layout Plain Layout
9821 \begin_inset Quotes frd
9827 \begin_layout Description
9828 \begin_inset Flex Code
9831 \begin_layout Plain Layout
9838 \begin_inset Flex Code
9841 \begin_layout Plain Layout
9847 ] Establece qué divisiones se numeran.
9848 Corresponde al contador \SpecialChar LaTeX
9850 \begin_inset Flex Code
9853 \begin_layout Plain Layout
9862 \begin_layout Description
9863 \begin_inset Flex Code
9866 \begin_layout Plain Layout
9875 \begin_inset Flex Code
9878 \begin_layout Plain Layout
9887 \begin_inset space \thinspace{}
9891 \begin_inset Flex Code
9894 \begin_layout Plain Layout
9900 ] Si debe imprimirse en una o en ambas caras del papel.
9901 Se puede cambiar en el diálogo
9902 \begin_inset Flex MenuItem
9905 \begin_layout Plain Layout
9906 Documento\SpecialChar menuseparator
9915 \begin_layout Description
9916 \begin_inset Flex Code
9919 \begin_layout Plain Layout
9926 \begin_inset Flex Code
9929 \begin_layout Plain Layout
9935 ] Esta secuencia define un nuevo estilo de párrafo.
9936 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
9938 \begin_inset space ~
9942 \begin_inset CommandInset ref
9944 reference "subsec:Estilos-de-párrafo"
9950 \begin_inset Quotes fld
9954 \begin_inset Flex Code
9957 \begin_layout Plain Layout
9964 \begin_inset Quotes frd
9970 \begin_layout Description
9971 \begin_inset Flex Code
9974 \begin_layout Plain Layout
9981 \begin_inset Flex Code
9984 \begin_layout Plain Layout
9990 ] El nombre del comando de entorno a usar con
9991 \begin_inset Flex Code
9994 \begin_layout Plain Layout
10003 \begin_layout Description
10004 \begin_inset Flex Code
10007 \begin_layout Plain Layout
10014 \begin_inset Flex Code
10017 \begin_layout Plain Layout
10026 \begin_inset Flex Code
10029 \begin_layout Plain Layout
10035 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10037 \begin_inset Flex Code
10040 \begin_layout Plain Layout
10046 significa que la macro con nombre
10047 \begin_inset Flex Code
10050 \begin_layout Plain Layout
10056 se insertará después del último formato que tiene
10057 \begin_inset Quotes fld
10061 \begin_inset Flex Code
10064 \begin_layout Plain Layout
10066 \begin_inset space ~
10075 \begin_inset Quotes frd
10080 \begin_inset Flex Code
10083 \begin_layout Plain Layout
10089 corresponde al caso en que todos los formatos que tienen
10090 \begin_inset Quotes fld
10094 \begin_inset Flex Code
10097 \begin_layout Plain Layout
10099 \begin_inset space ~
10108 \begin_inset Quotes frd
10111 debería ser incluido en el entorno
10112 \begin_inset Flex Code
10115 \begin_layout Plain Layout
10124 \begin_layout Description
10125 \begin_inset Flex Code
10128 \begin_layout Plain Layout
10135 \begin_inset Flex Code
10138 \begin_layout Plain Layout
10144 ] Establece qué divisiones se incluyen en el índice general.
10145 Corresponde al contador \SpecialChar LaTeX
10147 \begin_inset Flex Code
10150 \begin_layout Plain Layout
10159 \begin_layout Subsection
10161 \begin_inset Flex Code
10164 \begin_layout Plain Layout
10171 \begin_inset CommandInset label
10173 name "subsec:ClassOptions"
10180 \begin_layout Standard
10182 \begin_inset Flex Code
10185 \begin_layout Plain Layout
10191 puede contener las siguientes entradas:
10194 \begin_layout Description
10195 \begin_inset Flex Code
10198 \begin_layout Plain Layout
10205 \begin_inset Flex Code
10208 \begin_layout Plain Layout
10214 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10215 del documento, separados por
10216 \begin_inset Quotes fld
10220 \begin_inset Flex Code
10223 \begin_layout Plain Layout
10230 \begin_inset Quotes frd
10236 \begin_layout Description
10237 \begin_inset Flex Code
10240 \begin_layout Plain Layout
10246 Para establecer la línea DTD con las clases con salida basada en XML.
10248 \begin_inset space \thinspace{}
10252 \begin_inset Quotes fld
10255 -//OASIS//DTD DocBook V4.2//EN
10256 \begin_inset Quotes frd
10262 \begin_layout Description
10263 \begin_inset Flex Code
10266 \begin_layout Plain Layout
10273 \begin_inset Flex Code
10276 \begin_layout Plain Layout
10282 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10283 a la parte opcional del comando
10284 \begin_inset Flex Code
10287 \begin_layout Plain Layout
10298 \begin_layout Description
10299 \begin_inset Flex Code
10302 \begin_layout Plain Layout
10309 \begin_inset Flex Code
10312 \begin_layout Plain Layout
10313 string="empty|plain|headings|fancy"
10318 ] Lista de los estilos de página disponibles, separados por
10319 \begin_inset Quotes fld
10323 \begin_inset Flex Code
10326 \begin_layout Plain Layout
10333 \begin_inset Quotes frd
10339 \begin_layout Standard
10341 \begin_inset Flex Code
10344 \begin_layout Plain Layout
10351 \begin_inset Quotes fld
10355 \begin_inset Flex Code
10358 \begin_layout Plain Layout
10365 \begin_inset Quotes frd
10371 \begin_layout Subsection
10373 \begin_inset CommandInset label
10375 name "subsec:Estilos-de-párrafo"
10382 \begin_layout Standard
10383 Una descripción de estilo de párrafo tiene una aspecto como éste:
10387 \begin_layout Plain Layout
10388 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10396 \begin_layout LyX-Code
10403 \begin_layout LyX-Code
10407 \begin_layout LyX-Code
10411 \begin_layout Standard
10412 donde se permiten los comandos siguientes:
10415 \begin_layout Description
10416 \begin_inset Flex Code
10419 \begin_layout Plain Layout
10426 \begin_inset Flex Code
10429 \begin_layout Plain Layout
10434 , left, right, center
10439 ] Alineación del párrafo.
10442 \begin_layout Description
10443 \begin_inset Flex Code
10446 \begin_layout Plain Layout
10453 \begin_inset Flex Code
10456 \begin_layout Plain Layout
10461 , left, right, center
10466 ] Una lista separada con comas de alineaciones permitidas.
10467 (Algunos estilos de \SpecialChar LaTeX
10468 prohiben ciertos alineamientos, ya que no tendrían
10470 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10474 \begin_layout Description
10475 \begin_inset Flex Code
10478 \begin_layout Plain Layout
10485 \begin_inset Flex Code
10488 \begin_layout Plain Layout
10496 Defines argument number <int> of a command\SpecialChar breakableslash
10497 environment associated with the
10499 This is useful for things like section headings, and only makes sense with
10502 Every (optional or required) argument of a command or environment – except
10503 for the required argument that is associated with the content of the paragraph
10504 itself – has a separate definition, where the number specifies the order
10506 The definition must end with
10507 \begin_inset Flex Code
10510 \begin_layout Plain Layout
10519 So a command with two optional arguments has:
10520 \begin_inset Separator parbreak
10527 \begin_layout Quote
10533 \begin_layout Quote
10539 \begin_layout Quote
10545 \begin_layout Quote
10551 \begin_layout Quote
10557 \begin_layout Quote
10563 \begin_layout Standard
10567 \begin_inset Flex Code
10570 \begin_layout Plain Layout
10578 definition, the following specifications are possible:
10581 \begin_layout Itemize
10582 \begin_inset Flex Code
10585 \begin_layout Plain Layout
10592 \begin_inset Flex Code
10595 \begin_layout Plain Layout
10603 The string that will appear both in the menu (to insert this argument) and
10604 on the argument inset button (unless you also specify a separate
10605 \begin_inset Flex Code
10608 \begin_layout Plain Layout
10617 For the menu, you can define an accelerator by appending the respective
10618 character to the string, divided by
10619 \begin_inset Quotes fld
10623 \begin_inset Quotes frd
10627 \begin_inset space \thinspace{}
10631 \begin_inset space \space{}
10635 \begin_inset Quotes fld
10639 \begin_inset Flex Code
10642 \begin_layout Plain Layout
10651 \begin_inset Quotes frd
10657 \begin_layout Itemize
10658 \begin_inset Flex Code
10661 \begin_layout Plain Layout
10668 \begin_inset Flex Code
10671 \begin_layout Plain Layout
10679 A separate string for the menu.
10680 You can define an accelerator by appending the respective character to
10681 the string, divided by
10682 \begin_inset Quotes fld
10686 \begin_inset Quotes frd
10690 \begin_inset space \thinspace{}
10694 \begin_inset space \space{}
10698 \begin_inset Quotes fld
10702 \begin_inset Flex Code
10705 \begin_layout Plain Layout
10714 \begin_inset Quotes frd
10718 This specification is optional.
10719 If it is not given the
10720 \begin_inset Flex Code
10723 \begin_layout Plain Layout
10731 will be used instead for the menu.
10734 \begin_layout Itemize
10735 \begin_inset Flex Code
10738 \begin_layout Plain Layout
10745 \begin_inset Flex Code
10748 \begin_layout Plain Layout
10756 A longer explanatory text that appears in the tooltip when hovering over
10757 the argument inset.
10760 \begin_layout Itemize
10761 \begin_inset Flex Code
10764 \begin_layout Plain Layout
10771 \begin_inset Flex Code
10774 \begin_layout Plain Layout
10783 \begin_inset space \thinspace{}
10787 \begin_inset Flex Code
10790 \begin_layout Plain Layout
10798 Declare if this is a mandatory (1) or an optional (0) argument.
10799 Mandatory arguments will be output empty if not given, while optional arguments
10800 will not be output at all.
10801 By default, mandatory arguments are delimited by
10802 \begin_inset Flex Code
10805 \begin_layout Plain Layout
10813 , while optional arguments are delimited by
10814 \begin_inset Flex Code
10817 \begin_layout Plain Layout
10828 \begin_layout Itemize
10829 \begin_inset Flex Code
10832 \begin_layout Plain Layout
10839 \begin_inset Flex Code
10842 \begin_layout Plain Layout
10850 defines another argument (by its number) which this argument requires to
10851 be output if it is itself output.
10853 \begin_inset space \thinspace{}
10856 g., in \SpecialChar LaTeX
10857 commands, optional arguments often require previous optional arguments
10858 to be output (at least empty), as in
10859 \begin_inset Flex Code
10862 \begin_layout Plain Layout
10867 command[][argument]{text}
10873 This can be achieved by the statement
10874 \begin_inset Flex Code
10877 \begin_layout Plain Layout
10888 \begin_inset Flex Code
10891 \begin_layout Plain Layout
10900 \begin_layout Itemize
10901 \begin_inset Flex Code
10904 \begin_layout Plain Layout
10911 \begin_inset Flex Code
10914 \begin_layout Plain Layout
10922 defines a custom left delimiter (instead of
10923 \begin_inset Flex Code
10926 \begin_layout Plain Layout
10935 \begin_inset Flex Code
10938 \begin_layout Plain Layout
10947 A line break in the output can be indicated by
10950 \begin_inset Flex Code
10953 \begin_layout Plain Layout
10962 \begin_layout Itemize
10963 \begin_inset Flex Code
10966 \begin_layout Plain Layout
10973 \begin_inset Flex Code
10976 \begin_layout Plain Layout
10984 defines a custom right delimiter (instead of
10985 \begin_inset Flex Code
10988 \begin_layout Plain Layout
10997 \begin_inset Flex Code
11000 \begin_layout Plain Layout
11009 A line break in the output can be indicated by
11012 \begin_inset Flex Code
11015 \begin_layout Plain Layout
11024 \begin_layout Itemize
11025 \begin_inset Flex Code
11028 \begin_layout Plain Layout
11035 \begin_inset Flex Code
11038 \begin_layout Plain Layout
11046 defines an argument that is inserted if and only if no user-specified arguments
11048 \begin_inset space \thinspace{}
11052 \begin_inset space \space{}
11055 if no argument inset has been inserted (note that also an empty argument
11056 inset omits the DefaultArg).
11057 Multiple arguments need to be separated by comma.
11060 \begin_layout Itemize
11061 \begin_inset Flex Code
11064 \begin_layout Plain Layout
11071 \begin_inset Flex Code
11074 \begin_layout Plain Layout
11082 defines an argument that is inserted in any case (alone or in addition to
11083 user-specified arguments).
11084 Multiple arguments need to be separated by comma.
11087 \begin_layout Itemize
11088 \begin_inset Flex Code
11091 \begin_layout Plain Layout
11099 The font used for the argument content, see
11102 \begin_inset CommandInset ref
11104 reference "subsec:Tipografías"
11111 \begin_layout Itemize
11112 \begin_inset Flex Code
11115 \begin_layout Plain Layout
11123 The font used for the label; see
11126 \begin_inset CommandInset ref
11128 reference "subsec:Tipografías"
11135 \begin_layout Itemize
11136 \begin_inset Flex Code
11139 \begin_layout Plain Layout
11146 \begin_inset Flex Code
11149 \begin_layout Plain Layout
11154 , Minimalistic, Conglomerate
11161 describes the rendering style used for the inset's frame and buttons.
11164 \begin_layout Itemize
11165 \begin_inset Flex Code
11168 \begin_layout Plain Layout
11175 \begin_inset Flex Code
11178 \begin_layout Plain Layout
11187 \begin_inset Flex Code
11190 \begin_layout Plain Layout
11198 , this argument is automatically inserted when the respective style is selected.
11199 Currently, only one argument per style\SpecialChar breakableslash
11200 layout can be automatically inserted.
11203 \begin_layout Standard
11206 By default, the text entered in the \SpecialChar LyX
11207 workarea in the respective layout is
11208 the last (mandatory) argument of a command if the
11209 \begin_inset Flex Code
11212 \begin_layout Plain Layout
11221 \begin_inset Flex Code
11224 \begin_layout Plain Layout
11233 However, arguments with the prefix
11234 \begin_inset Flex Code
11237 \begin_layout Plain Layout
11245 are output after this workarea argument.
11246 Note that post-argument numbering restarts at 1, so the first argument
11247 following the workarea argument is
11248 \begin_inset Flex Code
11251 \begin_layout Plain Layout
11260 Post-arguments are ignored in any other
11261 \begin_inset Flex Code
11264 \begin_layout Plain Layout
11273 \begin_inset Flex Code
11276 \begin_layout Plain Layout
11287 \begin_layout Standard
11291 \begin_inset Flex Code
11294 \begin_layout Plain Layout
11305 \begin_inset Flex Code
11308 \begin_layout Plain Layout
11319 \begin_inset Flex Code
11322 \begin_layout Plain Layout
11330 followed by the number (e.
11331 \begin_inset space \thinspace{}
11335 \begin_inset space \space{}
11339 \begin_inset Flex Code
11342 \begin_layout Plain Layout
11354 \begin_layout Description
11355 \begin_inset Flex Code
11358 \begin_layout Plain Layout
11364 Esto sobrescribirá completamente cualquier anterior declaración
11365 \begin_inset Newline newline
11369 \begin_inset Flex Code
11372 \begin_layout Plain Layout
11380 \begin_inset Quotes eld
11384 \begin_inset Flex Code
11387 \begin_layout Plain Layout
11394 \begin_inset Quotes erd
11399 \begin_inset space ~
11403 \begin_inset CommandInset ref
11405 reference "subsec:I18n"
11409 para detalles sobre su uso.
11412 \begin_layout Description
11413 \begin_inset Flex Code
11416 \begin_layout Plain Layout
11423 \begin_inset Flex Code
11426 \begin_layout Plain Layout
11436 \begin_layout Plain Layout
11437 Anotar que aquí un 'float' es un número real, como: 1.5.
11442 El espacio vertical con el que el último de una cadena de párrafos con
11443 este estilo se separa del siguiente párrafo.
11444 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11445 añadidas sino que se pone la máxima.
11448 \begin_layout Description
11449 \begin_inset Flex Code
11452 \begin_layout Plain Layout
11459 \begin_inset Flex Code
11462 \begin_layout Plain Layout
11468 La categoría para este estilo.
11469 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11470 barra de herramientas.
11471 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11472 existentes con tus propios estilos.
11475 \begin_layout Description
11476 \begin_inset Flex Code
11479 \begin_layout Plain Layout
11485 Profundidad del comando XML.
11486 Usado solo con formatos tipo XML.
11489 \begin_layout Description
11490 \begin_inset Flex Code
11493 \begin_layout Plain Layout
11500 \begin_inset Flex Code
11503 \begin_layout Plain Layout
11509 Copia todas las características de un estilo existente en el actual.
11513 \begin_layout Description
11514 \begin_inset Flex Code
11517 \begin_layout Plain Layout
11524 \begin_inset Flex Code
11527 \begin_layout Plain Layout
11533 ] El nombre de un estilo cuyo preámbulo debería salir
11538 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11539 de macros dependen de otra.
11543 \begin_layout Plain Layout
11544 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11545 orden de los preámbulos.
11546 El orden que se ve en una versión dada de \SpecialChar LyX
11547 puede cambiar sin previo aviso
11548 en versiones posteriores.
11556 \begin_layout Description
11557 \begin_inset Flex Code
11560 \begin_layout Plain Layout
11567 \begin_inset Flex Code
11570 \begin_layout Plain Layout
11575 , Box, Filled_Box, Static
11580 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
11582 \begin_inset Flex Code
11585 \begin_layout Plain Layout
11592 \begin_inset Flex Code
11595 \begin_layout Plain Layout
11602 \begin_inset Flex Code
11605 \begin_layout Plain Layout
11612 \begin_inset Flex Code
11615 \begin_layout Plain Layout
11623 \begin_inset Flex Code
11626 \begin_layout Plain Layout
11633 \begin_inset Quotes fld
11637 \begin_inset Quotes frd
11641 \begin_inset Flex Code
11644 \begin_layout Plain Layout
11651 \begin_inset Flex Code
11654 \begin_layout Plain Layout
11655 \begin_inset space ~
11663 ) es un cuadrado blanco (resp.
11664 \begin_inset space ~
11667 negro) adecuado para marcas finales de demostraciones,
11668 \begin_inset Flex Code
11671 \begin_layout Plain Layout
11677 es una cadena de texto explícito.
11680 \begin_layout Description
11681 \begin_inset Flex Code
11684 \begin_layout Plain Layout
11691 \begin_inset Flex Code
11694 \begin_layout Plain Layout
11700 ] La cadena usada para una etiqueta con un
11701 \begin_inset Flex Code
11704 \begin_layout Plain Layout
11711 \begin_inset Flex Code
11714 \begin_layout Plain Layout
11724 \begin_layout Description
11728 \begin_layout Plain Layout
11733 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
11734 mucho uso, y probablemente se quitarán en próximas versiones.
11740 \begin_inset Note Note
11743 \begin_layout Plain Layout
11745 \begin_inset Quotes fld
11748 Espacio vertical encima
11749 \begin_inset Quotes frd
11753 \begin_inset Quotes fld
11756 Espacio vertical abajo
11757 \begin_inset Quotes erd
11760 en Editar\SpecialChar menuseparator
11761 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
11772 \begin_layout Description
11773 \begin_inset Flex Code
11776 \begin_layout Plain Layout
11782 La tipografía usada para el cuerpo del texto
11788 \begin_inset space ~
11792 \begin_inset CommandInset ref
11794 reference "subsec:Tipografías"
11799 Anotar que al definir esta tipografía se define automáticamente la de la
11801 \begin_inset Flex Code
11804 \begin_layout Plain Layout
11811 Así que debería definirse primero ésta si se quiere definir también
11812 \begin_inset Flex Code
11815 \begin_layout Plain Layout
11824 \begin_layout Description
11825 \begin_inset Flex Code
11828 \begin_layout Plain Layout
11835 \begin_inset Flex Code
11838 \begin_layout Plain Layout
11846 Used for backporting new styles to stable \SpecialChar LyX
11848 The first stable version that supports this tag is \SpecialChar LyX
11850 The argment is a number which may either be 0, -1 or any value greater
11853 \begin_inset Flex Code
11856 \begin_layout Plain Layout
11864 flag of a style is greater than zero, it will always be written to the
11866 If a .lyx file is read, the style definitions from the document header are
11867 added to the document class.
11868 Therefore even older \SpecialChar LyX
11869 versions can handle the style.
11871 \begin_inset Flex Code
11874 \begin_layout Plain Layout
11882 is a version number: If the style is read, and the version number is less
11883 than the version number of the already existing style in the document class,
11884 the new style is ignored.
11885 If the version number is greater, the new style replaces the existing style.
11886 A value of -1 means an infinite version number, i.
11887 \begin_inset space \thinspace{}
11891 \begin_inset space \space{}
11894 the style is always used.
11897 \begin_layout Description
11898 \begin_inset Flex Code
11901 \begin_layout Plain Layout
11910 \begin_inset Flex Code
11913 \begin_layout Plain Layout
11922 \begin_inset space \thinspace{}
11926 \begin_inset Flex Code
11929 \begin_layout Plain Layout
11935 ] Usualmente \SpecialChar LyX
11936 no permite insertar más de un espacio entre palabras, puesto
11937 que un espacio se considera como la separación entre dos palabras, no un
11938 carácter o símbolo por sí mismo.
11939 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
11940 escribir código de programas o de \SpecialChar LaTeX
11942 Por esta razón se puede habilitar
11943 \begin_inset Flex Code
11946 \begin_layout Plain Layout
11953 Anotar que \SpecialChar LyX
11954 creará espacios protegidos para los espacios adicionales en
11955 modos que no sean \SpecialChar LaTeX
11960 \begin_layout Description
11961 \begin_inset Flex Code
11964 \begin_layout Plain Layout
11970 Para la salida XHTML.
11972 \begin_inset CommandInset ref
11974 reference "subsec:Estilos-de-párrafo-XHTML"
11981 \begin_layout Description
11982 \begin_inset Flex Code
11985 \begin_layout Plain Layout
11991 [[FIXME]] (Usado solo con formatos tipo XML.)
11994 \begin_layout Description
11995 \begin_inset Flex Code
11998 \begin_layout Plain Layout
12007 \begin_inset Flex Code
12010 \begin_layout Plain Layout
12021 \begin_inset space \thinspace{}
12025 \begin_inset Flex Code
12028 \begin_layout Plain Layout
12035 \begin_inset Flex Code
12038 \begin_layout Plain Layout
12044 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12045 de en el cuerpo del documento.
12046 Útil para clases de documento que piden informaciones tales como título
12047 y autor en el preámbulo.
12048 Esto solo funciona para estilos para los que
12049 \begin_inset Flex Code
12052 \begin_layout Plain Layout
12059 \begin_inset Flex Code
12062 \begin_layout Plain Layout
12069 \begin_inset Flex Code
12072 \begin_layout Plain Layout
12081 \begin_layout Description
12082 \begin_inset Flex Code
12085 \begin_layout Plain Layout
12094 \begin_inset Flex Code
12097 \begin_layout Plain Layout
12108 \begin_inset space \thinspace{}
12112 \begin_inset Flex Code
12115 \begin_layout Plain Layout
12122 \begin_inset Flex Code
12125 \begin_layout Plain Layout
12131 , marca el estilo como parte de un bloque de título (véanse también las
12133 \begin_inset Flex Code
12136 \begin_layout Plain Layout
12143 \begin_inset Flex Code
12146 \begin_layout Plain Layout
12155 \begin_layout Description
12156 \begin_inset Flex Code
12159 \begin_layout Plain Layout
12166 \begin_inset Flex Code
12169 \begin_layout Plain Layout
12177 The \SpecialChar LaTeX
12178 command sequence declaring an item in a list.
12179 The command is to be defined without the preceding backslash (the default
12183 \begin_inset Quotes eld
12187 \begin_inset Quotes erd
12195 \begin_inset Flex Code
12198 \begin_layout Plain Layout
12208 in the \SpecialChar LaTeX
12212 \begin_layout Description
12213 \begin_inset Flex Code
12216 \begin_layout Plain Layout
12223 \begin_inset Flex Code
12226 \begin_layout Plain Layout
12232 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12233 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12235 \begin_inset Flex Code
12238 \begin_layout Plain Layout
12245 Pero el conjunto de los ítems del entorno son separados adicionalmente
12247 \begin_inset Flex Code
12250 \begin_layout Plain Layout
12257 Anotar que esto es un
12262 \begin_layout Description
12263 \begin_inset Flex Code
12266 \begin_layout Plain Layout
12272 [[FIXME]] (Usado solo con formatos tipo XML.)
12275 \begin_layout Description
12276 \begin_inset Flex Code
12279 \begin_layout Plain Layout
12288 \begin_inset Flex Code
12291 \begin_layout Plain Layout
12302 \begin_inset space \thinspace{}
12306 \begin_inset Flex Code
12309 \begin_layout Plain Layout
12315 ] Habitualmente, \SpecialChar LyX
12316 no permite dejar un párrafo vacío, porque llevaría a una
12317 salida de \SpecialChar LaTeX
12319 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12320 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12321 no los olvida; en algunos casos especiales, se puede usar un estilo que
12322 no contiene texto real como una especie de salto.
12325 \begin_layout Description
12326 \begin_inset Flex Code
12329 \begin_layout Plain Layout
12336 \begin_inset Flex Code
12339 \begin_layout Plain Layout
12345 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12346 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12347 \begin_inset Flex Code
12350 \begin_layout Plain Layout
12357 \begin_inset Flex Code
12360 \begin_layout Plain Layout
12361 Centered_Top_Environment
12369 \begin_layout Description
12370 \begin_inset Flex Code
12373 \begin_layout Plain Layout
12384 \begin_inset Flex Code
12387 \begin_layout Plain Layout
12393 ] El nombre del contador para numeración automática.
12396 In order to have the counter appear with your label, you will need to reference
12398 \begin_inset Flex Code
12401 \begin_layout Plain Layout
12411 This will work with
12412 \begin_inset Flex Code
12415 \begin_layout Plain Layout
12424 \begin_inset Flex Code
12427 \begin_layout Plain Layout
12436 \begin_inset Flex Code
12439 \begin_layout Plain Layout
12448 \begin_inset Flex Code
12451 \begin_layout Plain Layout
12462 \begin_inset Newline newline
12470 \begin_inset Flex Code
12473 \begin_layout Plain Layout
12480 \begin_inset Flex Code
12483 \begin_layout Plain Layout
12489 , aunque este caso es un poco complicado.
12490 Supongamos que declaras
12491 \begin_inset Quotes eld
12495 \begin_inset Flex Code
12498 \begin_layout Plain Layout
12499 LabelCounter myenum
12505 \begin_inset Quotes erd
12509 Entonces, los contadores reales usados son
12510 \begin_inset Flex Code
12513 \begin_layout Plain Layout
12520 \begin_inset Flex Code
12523 \begin_layout Plain Layout
12530 \begin_inset Flex Code
12533 \begin_layout Plain Layout
12540 \begin_inset Flex Code
12543 \begin_layout Plain Layout
12549 , como en \SpecialChar LaTeX
12551 Estos contadores deben declararse todos por separado.
12552 \begin_inset Newline newline
12556 \begin_inset CommandInset ref
12558 reference "subsec:Contadores"
12562 para detalles sobre contadores
12563 \begin_inset Flex Code
12566 \begin_layout Plain Layout
12572 La tipografía usada para la etiqueta.
12574 \begin_inset space ~
12578 \begin_inset CommandInset ref
12580 reference "subsec:Tipografías"
12587 \begin_layout Description
12588 \begin_inset Flex Code
12591 \begin_layout Plain Layout
12598 \begin_inset Flex Code
12601 \begin_layout Plain Layout
12607 ] Texto que indica cuánto se debe sangrar una etiqueta.
12610 \begin_layout Description
12611 \begin_inset Flex Code
12614 \begin_layout Plain Layout
12621 \begin_inset Flex Code
12624 \begin_layout Plain Layout
12630 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
12632 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
12635 \begin_layout Description
12636 \begin_inset Flex Code
12639 \begin_layout Plain Layout
12646 \begin_inset Flex Code
12649 \begin_layout Plain Layout
12655 ] La cadena usada para una etiqueta del
12656 \begin_inset Flex Code
12659 \begin_layout Plain Layout
12666 \begin_inset Flex Code
12669 \begin_layout Plain Layout
12677 \begin_inset Flex Code
12680 \begin_layout Plain Layout
12686 está establecido, esta cadena puede contener los comandos especiales de
12687 formato descritos en la sección
12688 \begin_inset space ~
12692 \begin_inset CommandInset ref
12694 reference "subsec:Contadores"
12701 \begin_layout Description
12702 \begin_inset Flex Code
12705 \begin_layout Plain Layout
12706 LabelStringAppendix
12712 \begin_inset Flex Code
12715 \begin_layout Plain Layout
12721 ] Esta se usa en el apéndice en vez de
12722 \begin_inset Flex Code
12725 \begin_layout Plain Layout
12732 Anotar que toda declaración de
12733 \begin_inset Flex Code
12736 \begin_layout Plain Layout
12742 reconfigura también
12743 \begin_inset Newline newline
12747 \begin_inset Flex Code
12750 \begin_layout Plain Layout
12751 LabelStringAppendix
12759 \begin_layout Description
12760 \begin_inset Flex Code
12763 \begin_layout Plain Layout
12769 [FIXME] (Usado solo con formatos tipo XML.)
12772 \begin_layout Description
12773 \begin_inset Flex Code
12776 \begin_layout Plain Layout
12787 \begin_inset Flex Code
12790 \begin_layout Plain Layout
12795 , Manual, Static, Above,
12796 \begin_inset Newline newline
12799 Centered, Sensitive, Enumerate,
12800 \begin_inset Newline newline
12803 Itemize, Bibliography
12809 \begin_inset Separator parbreak
12816 \begin_layout Description
12817 \begin_inset Flex Code
12820 \begin_layout Plain Layout
12826 significa que la etiqueta es la primera palabra (hasta elprimer espacio
12828 Usa espacios protegidos si quieres más de una palabra como etiqueta.
12832 \begin_layout Description
12833 \begin_inset Flex Code
12836 \begin_layout Plain Layout
12842 significa que la etiqueta es simplemente cualquier
12843 \begin_inset Flex Code
12846 \begin_layout Plain Layout
12852 declarado como tal.
12855 This will be displayed
12856 \begin_inset Quotes fld
12860 \begin_inset Quotes frd
12863 , at the beginning of the paragraph.
12865 \begin_inset Flex Code
12868 \begin_layout Plain Layout
12877 \begin_inset Flex Code
12880 \begin_layout Plain Layout
12888 , then it will be displayed only in the first paragraph of any sequence
12889 of paragraphs with the same
12892 \begin_inset Flex Code
12895 \begin_layout Plain Layout
12904 \begin_layout Description
12905 \begin_inset Flex Code
12908 \begin_layout Plain Layout
12915 \begin_inset space ~
12919 \begin_inset space ~
12923 \begin_inset Flex Code
12926 \begin_layout Plain Layout
12932 son casos especiales de
12933 \begin_inset Flex Code
12936 \begin_layout Plain Layout
12943 La etiqueta se imprimirá encima del párrafo,
12945 either at the beginning of the line or centered
12950 \begin_layout Description
12951 \begin_inset Flex Code
12954 \begin_layout Plain Layout
12960 es un caso especial para las etiquetas de las leyendas de
12961 \begin_inset Quotes fld
12965 \begin_inset Quotes frd
12969 \begin_inset Quotes fld
12973 \begin_inset Quotes frd
12978 \begin_inset Flex Code
12981 \begin_layout Plain Layout
12987 quiere decir que la cadena (en código) de la etiqueta depende de la clase
12988 de flotante: Está codificado para ser `FloatType N', donde N es el valor
12989 del contador asociado al flotante.
12992 For the case that a caption is inserted outside of a float the
12993 \begin_inset Flex Code
12996 \begin_layout Plain Layout
13005 \begin_inset Quotes fld
13011 \begin_inset Quotes frd
13017 \begin_layout Description
13018 \begin_inset Flex Code
13021 \begin_layout Plain Layout
13027 produce los tipos habituales de etiquetas de enumeración.
13028 Por ahora está codificado para usar números arábigos, minúsculas, números
13029 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
13030 de profundidad posibles.
13033 \begin_layout Description
13034 \begin_inset Flex Code
13037 \begin_layout Plain Layout
13043 produce varias marcas para los distintos niveles.
13044 También está codificado.
13047 \begin_layout Description
13048 \begin_inset Flex Code
13051 \begin_layout Plain Layout
13057 solo debería emplearse con
13058 \begin_inset Flex Code
13061 \begin_layout Plain Layout
13062 LatexType BibEnvironment
13071 \begin_layout Description
13072 \begin_inset Flex Code
13075 \begin_layout Plain Layout
13081 Esto sobrescribirá completamente cualquier declaración anterior de
13082 \begin_inset Flex Code
13085 \begin_layout Plain Layout
13093 \begin_inset Quotes eld
13097 \begin_inset Flex Code
13100 \begin_layout Plain Layout
13107 \begin_inset Quotes erd
13112 \begin_inset CommandInset ref
13114 reference "subsec:I18n"
13118 para detallessobre su uso.
13121 \begin_layout Description
13122 \begin_inset Flex Code
13125 \begin_layout Plain Layout
13132 \begin_inset Flex Code
13135 \begin_layout Plain Layout
13141 ] El nombre correspondiente en \SpecialChar LaTeX
13142 , ya sea de un comando o de un entorno.
13145 \begin_layout Description
13146 \begin_inset Flex Code
13149 \begin_layout Plain Layout
13156 \begin_inset Flex Code
13159 \begin_layout Plain Layout
13165 ] Un parámetro opcional para el correspondiente
13166 \begin_inset Flex Code
13169 \begin_layout Plain Layout
13176 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13180 \begin_inset Flex Code
13183 \begin_layout Plain Layout
13191 for customizable parameters).
13192 This will be output as is after all \SpecialChar LaTeX
13196 \begin_inset Flex Code
13199 \begin_layout Plain Layout
13208 \begin_layout Description
13209 \begin_inset Flex Code
13212 \begin_layout Plain Layout
13219 \begin_inset Flex Code
13222 \begin_layout Plain Layout
13227 , Command, Environment, Item_Environment,
13228 \begin_inset Newline newline
13231 List_Environment, Bib_Environment
13236 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13241 \begin_layout Plain Layout
13242 \begin_inset Flex Code
13245 \begin_layout Plain Layout
13251 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13252 Consulta los archivos de clases SGML
13255 \begin_inset Flex Code
13258 \begin_layout Plain Layout
13268 para ejemplos concretos.
13274 \begin_inset Separator parbreak
13281 \begin_layout Description
13282 \begin_inset Flex Code
13285 \begin_layout Plain Layout
13291 no significa nada especial.
13294 \begin_layout Description
13295 \begin_inset Flex Code
13298 \begin_layout Plain Layout
13305 \begin_inset Flex Code
13308 \begin_layout Plain Layout
13315 {\SpecialChar ldots
13324 \begin_layout Description
13325 \begin_inset Flex Code
13328 \begin_layout Plain Layout
13335 \begin_inset Flex Code
13338 \begin_layout Plain Layout
13345 }\SpecialChar ldots
13360 \begin_layout Description
13361 \begin_inset Flex Code
13364 \begin_layout Plain Layout
13371 \begin_inset Flex Code
13374 \begin_layout Plain Layout
13381 \begin_inset Flex Code
13384 \begin_layout Plain Layout
13392 se genera para cada párrafo de este entorno.
13395 \begin_layout Description
13396 \begin_inset Flex Code
13399 \begin_layout Plain Layout
13406 \begin_inset Flex Code
13409 \begin_layout Plain Layout
13416 \begin_inset Newline newline
13420 \begin_inset Flex Code
13423 \begin_layout Plain Layout
13429 se pasa como un argumento al entorno.
13430 \begin_inset Newline newline
13434 \begin_inset Flex Code
13437 \begin_layout Plain Layout
13443 puede definirse en el diálogo
13444 \begin_inset Flex MenuItem
13447 \begin_layout Plain Layout
13448 Editar\SpecialChar menuseparator
13450 \begin_inset space ~
13454 \begin_inset space ~
13465 \begin_layout Description
13468 \begin_inset Flex Code
13471 \begin_layout Plain Layout
13480 \begin_inset Flex Code
13483 \begin_layout Plain Layout
13491 but adds additionally the necessary mandatory argument (the longest label)
13492 to the begin statement of the bibliography environment:
13493 \begin_inset Newline newline
13497 \begin_inset Flex Code
13500 \begin_layout Plain Layout
13505 begin{thebibliography}{99}
13510 It is therefore only useful for bibliography environments.
13511 The default longest label
13512 \begin_inset Quotes eld
13516 \begin_inset Quotes erd
13519 can be changed by the user in the paragraph settings of a bibliography
13523 \begin_layout Standard
13524 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13528 \begin_layout LyX-Code
13531 LatexName[LatexParam]{\SpecialChar ldots
13535 \begin_layout Standard
13539 \begin_layout LyX-Code
13542 begin{LatexName}[LatexParam] \SpecialChar ldots
13548 \begin_layout Standard
13549 dependiendo del tipo de \SpecialChar LaTeX
13554 \begin_layout Description
13555 \begin_inset Flex Code
13558 \begin_layout Plain Layout
13565 \begin_inset Flex Code
13568 \begin_layout Plain Layout
13576 A string that is put at the beginning of the style content.
13577 A line break in the output can be indicated by
13580 \begin_inset Flex Code
13583 \begin_layout Plain Layout
13592 \begin_layout Description
13593 \begin_inset Flex Code
13596 \begin_layout Plain Layout
13603 \begin_inset Flex Code
13606 \begin_layout Plain Layout
13612 ] Si pones estilos en entornos, los
13613 \begin_inset Flex Code
13616 \begin_layout Plain Layout
13622 no son simplemente añadidos, sino aumentados en un factor
13623 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13627 Anotar que este parámetro se usa también cuando
13628 \begin_inset Flex Code
13631 \begin_layout Plain Layout
13638 \begin_inset Flex Code
13641 \begin_layout Plain Layout
13648 \begin_inset Flex Code
13651 \begin_layout Plain Layout
13658 En ese caso se añade al margen manual o dinámico.
13659 \begin_inset Newline newline
13663 \begin_inset Quotes fld
13667 \begin_inset Flex Code
13670 \begin_layout Plain Layout
13677 \begin_inset Quotes frd
13680 significa que el párrafo se sangra con la anchura de
13681 \begin_inset Quotes fld
13685 \begin_inset Flex Code
13688 \begin_layout Plain Layout
13695 \begin_inset Quotes frd
13698 en la tipografía normal.
13699 Se puede obtener una anchura negativa anteponiendo
13700 \begin_inset Quotes fld
13704 \begin_inset Flex Code
13707 \begin_layout Plain Layout
13714 \begin_inset Quotes frd
13718 Se eligió este método para que el aspecto sea el mismo con cada una de
13719 las tipografías de pantalla usadas.
13722 \begin_layout Description
13723 \begin_inset Flex Code
13726 \begin_layout Plain Layout
13733 \begin_inset Flex Code
13736 \begin_layout Plain Layout
13741 , Manual, Dynamic, First_Dynamic, Right_Address_Box
13747 \begin_inset Newline newline
13750 El tipo de margen que el estilo tiene en el lado izquierdo.
13751 \begin_inset Separator parbreak
13758 \begin_layout Description
13759 \begin_inset Flex Code
13762 \begin_layout Plain Layout
13768 significa un margen fijo.
13771 \begin_layout Description
13772 \begin_inset Flex Code
13775 \begin_layout Plain Layout
13781 significa que el margen izquierdo depende de la cadena introducida en el
13783 \begin_inset Flex MenuItem
13786 \begin_layout Plain Layout
13787 Editar\SpecialChar menuseparator
13788 Configuración del párrafo\SpecialChar ldots
13795 Esto se utiliza para componer bonitas listas sin tabuladores.
13798 \begin_layout Description
13799 \begin_inset Flex Code
13802 \begin_layout Plain Layout
13808 significa que el margen depende del tamaño de la etiqueta.
13809 Esto se usa para las cabeceras automáticas de las listas numeradas.
13810 Es obvio que la cabecera
13811 \begin_inset Quotes fld
13814 5.4.3.2.1 Cabecera muy larga
13815 \begin_inset Quotes frd
13818 debe tener un margen izquierdo más amplio (tan ancho como
13819 \begin_inset Quotes fld
13823 \begin_inset Quotes frd
13826 más el espacio) que
13827 \begin_inset Quotes fld
13830 3.2 Cabecera muy larga
13831 \begin_inset Quotes frd
13835 \begin_inset Quotes fld
13838 procesadores de texto
13839 \begin_inset Quotes frd
13842 corrientes no sean capaces de hacer esto.
13845 \begin_layout Description
13846 \begin_inset Flex Code
13849 \begin_layout Plain Layout
13855 es similar, pero solo la primera fila del párrafo es dinámica, mientras
13856 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
13859 \begin_layout Description
13860 \begin_inset Flex Code
13863 \begin_layout Plain Layout
13869 significa que el margen se elige de manera que la fila más larga de este
13870 párrafo se adapte al margen derecho.
13871 Esto se emplea para componer una dirección en el lado derecho de la página.
13876 \begin_layout Description
13877 \begin_inset Flex Code
13880 \begin_layout Plain Layout
13887 \begin_inset Flex Code
13890 \begin_layout Plain Layout
13899 \begin_inset space \thinspace{}
13903 \begin_inset Flex Code
13906 \begin_layout Plain Layout
13912 ] Si los comandos frágiles en este estilo deberían ser protegidos,
13913 \begin_inset Flex Code
13916 \begin_layout Plain Layout
13929 si este comando debería él mismo ser protegido.)
13932 \begin_layout Description
13933 \begin_inset Flex Code
13936 \begin_layout Plain Layout
13943 \begin_inset Flex Code
13946 \begin_layout Plain Layout
13953 \begin_inset space \thinspace{}
13957 \begin_inset Flex Code
13960 \begin_layout Plain Layout
13968 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
13970 \begin_inset Flex Code
13973 \begin_layout Plain Layout
13984 La transformación puede desactivarse para permitir una edición más confortable
13985 de \SpecialChar LaTeX
13986 en \SpecialChar LyX
13990 \begin_layout Description
13991 \begin_inset Flex Code
13994 \begin_layout Plain Layout
14001 \begin_inset Flex Code
14004 \begin_layout Plain Layout
14013 \begin_inset space \thinspace{}
14017 \begin_inset Flex Code
14020 \begin_layout Plain Layout
14026 ] Si se permite sangrar la primera fila del párrafo siguiente.
14028 \begin_inset Flex Code
14031 \begin_layout Plain Layout
14037 significa que no se permite hacerlo;
14038 \begin_inset Flex Code
14041 \begin_layout Plain Layout
14047 significa que puede hacerse si se desea.
14050 \begin_layout Description
14051 \begin_inset Flex Code
14054 \begin_layout Plain Layout
14061 \begin_inset Flex Code
14064 \begin_layout Plain Layout
14070 ] Nombre de un estilo que ha reemplazado este estilo.
14071 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14075 \begin_layout Description
14076 \begin_inset Flex Code
14079 \begin_layout Plain Layout
14086 \begin_inset Flex Code
14089 \begin_layout Plain Layout
14098 \begin_inset space \thinspace{}
14102 \begin_inset Flex Code
14105 \begin_layout Plain Layout
14111 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14113 , solo por un salto de línea; junto con
14114 \begin_inset Flex Code
14117 \begin_layout Plain Layout
14123 , esto permite emular un editor de texto simple (como un recuadro ERT).
14126 \begin_layout Description
14127 \begin_inset Flex Code
14130 \begin_layout Plain Layout
14137 \begin_inset Flex Code
14140 \begin_layout Plain Layout
14146 ] El sangrado de la primera línea de un párrafo.
14148 \begin_inset Flex Code
14151 \begin_layout Plain Layout
14157 estará fijado para un determinado estilo.
14158 La excepción es el estilo
14159 \begin_inset Flex Code
14162 \begin_layout Plain Layout
14168 , puesto que la sangría de un párrafo de estilo
14169 \begin_inset Flex Code
14172 \begin_layout Plain Layout
14178 puede prohibirse con
14179 \begin_inset Flex Code
14182 \begin_layout Plain Layout
14189 Además, los párrafos de estilo
14190 \begin_inset Flex Code
14193 \begin_layout Plain Layout
14199 dentro de entornos usan la sangría
14200 \begin_inset Flex Code
14203 \begin_layout Plain Layout
14209 del entorno, no su propio valor.
14210 Por ejemplo, los párrafos
14211 \begin_inset Flex Code
14214 \begin_layout Plain Layout
14220 en una enumeración no se sangran.
14223 \begin_layout Description
14224 \begin_inset Flex Code
14227 \begin_layout Plain Layout
14234 \begin_inset Flex Code
14237 \begin_layout Plain Layout
14243 ] El espacio vertical entre dos párrafos de este estilo.
14246 \begin_layout Description
14247 \begin_inset Flex Code
14250 \begin_layout Plain Layout
14257 \begin_inset Flex Code
14260 \begin_layout Plain Layout
14267 permite al usuario elegir entre
14268 \begin_inset Quotes fld
14272 \begin_inset Quotes frd
14276 \begin_inset Quotes fld
14280 \begin_inset Quotes frd
14285 separate paragraphs
14289 \begin_inset Quotes fld
14293 \begin_inset Quotes frd
14296 , este valor es completamente ignorado.
14298 \begin_inset Quotes fld
14302 \begin_inset Quotes frd
14305 , el sangrado de un estilo tipo
14306 \begin_inset Quotes fld
14310 \begin_inset Quotes frd
14313 de \SpecialChar LaTeX
14314 se ignora y todos los párrafos son separados con este argumento
14315 \begin_inset Quotes fld
14319 \begin_inset Quotes frd
14323 El espacio vertical se calcula con
14324 \begin_inset Flex Code
14327 \begin_layout Plain Layout
14329 \begin_inset space ~
14338 \begin_inset Flex Code
14341 \begin_layout Plain Layout
14347 es la altura de una fila con la tipografía normal.
14348 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14351 \begin_layout Description
14352 \begin_inset Flex Code
14355 \begin_layout Plain Layout
14364 \begin_inset Flex Code
14367 \begin_layout Plain Layout
14378 \begin_inset space \thinspace{}
14382 \begin_inset Flex Code
14385 \begin_layout Plain Layout
14391 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14392 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14396 \begin_layout Description
14397 \begin_inset Flex Code
14400 \begin_layout Plain Layout
14406 Información a incluir en el preámbulo \SpecialChar LaTeX
14407 cuando se usa este estilo.
14408 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14409 estilo en particular.
14411 \begin_inset Quotes fld
14415 \begin_inset Flex Code
14418 \begin_layout Plain Layout
14425 \begin_inset Quotes frd
14431 \begin_layout Description
14432 \begin_inset Flex Code
14435 \begin_layout Plain Layout
14442 \begin_inset Flex Code
14445 \begin_layout Plain Layout
14451 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14453 Esto permite el uso de referencias con formato.
14456 \begin_layout Description
14457 \begin_inset Flex Code
14460 \begin_layout Plain Layout
14469 \begin_inset Flex Code
14472 \begin_layout Plain Layout
14480 Si el estilo requiere la característica
14481 \begin_inset Flex Code
14484 \begin_layout Plain Layout
14496 \begin_inset space ~
14500 \begin_inset CommandInset ref
14502 reference "subsec:Parámetros-generales-clases"
14506 ) la descripción de
14507 \begin_inset Flex Code
14510 \begin_layout Plain Layout
14516 para información sobre 'características'.
14520 \begin_layout Description
14521 \begin_inset Flex Code
14524 \begin_layout Plain Layout
14531 \begin_inset Flex Code
14534 \begin_layout Plain Layout
14543 \begin_inset Flex Code
14546 \begin_layout Plain Layout
14554 Resets the \SpecialChar LaTeX
14555 arguments of this style (as defined via the
14556 \begin_inset Flex Code
14559 \begin_layout Plain Layout
14568 This is useful if you have copied a style via
14569 \begin_inset Flex Code
14572 \begin_layout Plain Layout
14580 , but you do not want to inherit its (required and optional) arguments.
14583 \begin_layout Description
14584 \begin_inset Flex Code
14587 \begin_layout Plain Layout
14594 \begin_inset Flex Code
14597 \begin_layout Plain Layout
14605 A string that is put at the end of the layout content.
14606 A line break in the output can be indicated by
14609 \begin_inset Flex Code
14612 \begin_layout Plain Layout
14621 \begin_layout Description
14622 \begin_inset Flex Code
14625 \begin_layout Plain Layout
14632 \begin_inset Flex Code
14635 \begin_layout Plain Layout
14642 \begin_inset Flex Code
14645 \begin_layout Plain Layout
14654 \begin_layout Description
14655 \begin_inset Flex Code
14658 \begin_layout Plain Layout
14665 \begin_inset Flex Code
14668 \begin_layout Plain Layout
14677 \begin_inset Flex Code
14680 \begin_layout Plain Layout
14687 \begin_inset Flex Code
14690 \begin_layout Plain Layout
14697 \begin_inset Flex Code
14700 \begin_layout Plain Layout
14702 \begin_inset space ~
14710 ] Esto define cuál debería ser el espacio predefinido en el estilo.
14712 \begin_inset Flex Code
14715 \begin_layout Plain Layout
14722 \begin_inset Flex Code
14725 \begin_layout Plain Layout
14732 \begin_inset Flex Code
14735 \begin_layout Plain Layout
14741 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
14742 Si se especifica el argumento
14743 \begin_inset Flex Code
14746 \begin_layout Plain Layout
14752 , entonces se debería proporcionar además un argumento numérico que será
14753 el valor real del multiplicador.
14754 Anotar que, al contrario que otros parámetros,
14755 \begin_inset Flex Code
14758 \begin_layout Plain Layout
14764 implica la generación de código \SpecialChar LaTeX
14765 específico, usando el paquete \SpecialChar LaTeX
14767 \begin_inset Flex Code
14770 \begin_layout Plain Layout
14779 \begin_layout Description
14780 \begin_inset Flex Code
14783 \begin_layout Plain Layout
14790 \begin_inset Flex Code
14793 \begin_layout Plain Layout
14802 \begin_inset space \thinspace{}
14808 \begin_inset Flex Code
14811 \begin_layout Plain Layout
14819 ] Corrección ortográfica de párrafos de este estilo.
14823 \begin_layout Description
14824 \begin_inset Flex Code
14827 \begin_layout Plain Layout
14833 La tipografía para el cuerpo del texto.
14835 \begin_inset CommandInset ref
14837 reference "subsec:Tipografías"
14844 \begin_layout Description
14845 \begin_inset Flex Code
14848 \begin_layout Plain Layout
14855 \begin_inset Flex Code
14858 \begin_layout Plain Layout
14864 ] El nivel del estilo en el índice general.
14865 Esto se usa para la numeración automática de los encabezados de sección.
14868 \begin_layout Description
14869 \begin_inset Flex Code
14872 \begin_layout Plain Layout
14879 \begin_inset Flex Code
14882 \begin_layout Plain Layout
14888 ] El espacio vertical con el que el primero de una cadena de párrafos con
14889 este estilo se separa del párrafo anterior.
14890 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
14891 añadida, sino que se pone la máxima.
14894 \begin_layout Subsection
14895 Internacionalización de estilos de párrafo
14896 \begin_inset CommandInset label
14905 \begin_layout Standard
14907 ha soportado desde hace tiempo la internacionalización de la información
14908 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
14909 de usuario y no a la salida, digamos, PDF.
14910 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
14911 `Théorème 1' en vez de `Theorem 1'.
14912 Gracias a Georg Baum, este ya no es el caso.
14915 \begin_layout Standard
14917 \begin_inset Flex Code
14920 \begin_layout Plain Layout
14926 define texto que se mostrará en el documento exportado, puede usar
14927 \begin_inset Flex Code
14930 \begin_layout Plain Layout
14937 \begin_inset Flex Code
14940 \begin_layout Plain Layout
14946 para soportar correctamente documentos con idioma distinto del inglés e
14947 incluso documentos plurilingües.
14948 El siguiente extracto (del archivo
14949 \begin_inset Flex Code
14952 \begin_layout Plain Layout
14958 ) muestra cómo funciona:
14961 \begin_layout LyX-Code
14963 \begin_inset Separator parbreak
14970 \begin_layout LyX-Code
14973 theoremstyle{remark}
14976 \begin_layout LyX-Code
14979 newtheorem{claim}[thm]{
14986 \begin_layout LyX-Code
14990 \begin_layout LyX-Code
14994 \begin_layout LyX-Code
14999 claimname}{_(Claim)}
15002 \begin_layout LyX-Code
15006 \begin_layout LyX-Code
15010 \begin_layout LyX-Code
15019 claimname}{_(Claim)}}
15022 \begin_layout LyX-Code
15027 \begin_layout Standard
15028 En principio, cualquier \SpecialChar LaTeX
15029 legal puede aparecer en las etiquetas
15030 \begin_inset Flex Code
15033 \begin_layout Plain Layout
15040 \begin_inset Flex Code
15043 \begin_layout Plain Layout
15049 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15050 La clave para una correcta traducción del texto impreso es la definición
15051 del comando \SpecialChar LaTeX
15053 \begin_inset Flex Code
15056 \begin_layout Plain Layout
15065 \begin_inset Flex Code
15068 \begin_layout Plain Layout
15080 \begin_layout Standard
15082 \begin_inset Flex Code
15085 \begin_layout Plain Layout
15091 proporciona internacionalización basada en el idioma global del documento.
15092 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15094 \begin_inset Flex Code
15097 \begin_layout Plain Layout
15104 Lo que la hace especial es el uso de la
15105 \begin_inset Quotes eld
15109 \begin_inset Quotes erd
15113 \begin_inset Flex Code
15116 \begin_layout Plain Layout
15122 , que será reemplazada, cuando \SpecialChar LyX
15123 genere la salida \SpecialChar LaTeX
15124 , por la traducción de
15125 su argumento al idioma del documento.
15128 \begin_layout Standard
15130 \begin_inset Flex Code
15133 \begin_layout Plain Layout
15139 es más compleja, puesto que está pensada para dar soporte a documentos
15140 plurilingües y ofrece una interfaz al paquete
15141 \begin_inset Flex Code
15144 \begin_layout Plain Layout
15151 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15153 En este caso, el argumento en
15154 \begin_inset Flex Code
15157 \begin_layout Plain Layout
15163 se reemplazará por su traducción al idioma en cuestión; la expresión
15164 \begin_inset Flex Code
15167 \begin_layout Plain Layout
15173 es reemplazada por el nombre del idioma (el usado por el paquete babel).
15176 \begin_layout Standard
15177 Un documento en alemán que también incluya una sección en francés tendría
15178 lo siguiente en el preámbulo:
15181 \begin_layout LyX-Code
15190 claimname}{Affirmation}}
15191 \begin_inset Newline newline
15202 claimname}{Behauptung}}
15203 \begin_inset Newline newline
15210 claimname}{Behauptung}
15213 \begin_layout Standard
15216 \begin_inset Flex Code
15219 \begin_layout Plain Layout
15225 conspirarán para producir el texto correcto en la salida.
15228 \begin_layout Standard
15229 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15230 nadas por el propio \SpecialChar LyX
15236 \begin_inset Flex Code
15239 \begin_layout Plain Layout
15246 Esto quiere decir, en definitiva, que
15247 \begin_inset Flex Code
15250 \begin_layout Plain Layout
15257 \begin_inset Flex Code
15260 \begin_layout Plain Layout
15266 realmente solo son útiles en archivos de formato que son proporcionados
15267 por \SpecialChar LyX
15268 , puesto que el texto introducido en archivos de formato creados por
15269 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
15270 de \SpecialChar LyX
15274 \begin_inset Flex Code
15277 \begin_layout Plain Layout
15285 file is modified accordingly
15288 Sin embargo, cualquier formato creado con la intención de ser incluido
15289 en \SpecialChar LyX
15290 debería usar estas etiquetas en los lugares apropiados.
15293 Please note that the paragraph style translations provided by \SpecialChar LyX
15295 change with a minor update (e.
15296 \begin_inset space \thinspace{}
15300 \begin_inset space \space{}
15303 from version 2.1.x to 2.1.y).
15304 It is however quite likely that a major update (e.
15305 \begin_inset space \thinspace{}
15309 \begin_inset space \space{}
15312 from 2.0.x to 2.1.y) will introduce new translations or corrections.
15315 \begin_layout Subsection
15317 \begin_inset CommandInset label
15319 name "subsec:Flotantes"
15326 \begin_layout Standard
15327 Es necesario definir los flotantes (
15328 \begin_inset Flex MenuItem
15331 \begin_layout Plain Layout
15338 \begin_inset Flex MenuItem
15341 \begin_layout Plain Layout
15347 , \SpecialChar ldots
15348 ) en la propia clase de texto.
15349 Los flotantes normales se incluyen en el archivo
15350 \begin_inset Flex Code
15353 \begin_layout Plain Layout
15359 , así que no tendrás más que añadir
15362 \begin_layout LyX-Code
15363 Input stdfloats.inc
15366 \begin_layout Standard
15367 en tu archivo de formato.
15368 Si quieres implementar una clase de texto que proponga algún otro tipo
15369 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
15370 ), la información siguiente
15371 te servirá de ayuda:
15374 \begin_layout Description
15375 \begin_inset Flex Code
15378 \begin_layout Plain Layout
15385 \begin_inset Flex Code
15388 \begin_layout Plain Layout
15395 \begin_inset Quotes erd
15399 \begin_inset Quotes erd
15402 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15405 escribe las leyendas en este archivo.
15408 \begin_layout Description
15409 \begin_inset Flex Code
15412 \begin_layout Plain Layout
15419 \begin_inset Flex Code
15422 \begin_layout Plain Layout
15429 \begin_inset Quotes erd
15433 \begin_inset Quotes erd
15436 ] La cadena que se usará en los menús y también para la leyenda.
15437 Esto se traduce al idioma actual si se usa.
15440 \begin_layout Description
15441 \begin_inset Flex Code
15444 \begin_layout Plain Layout
15450 Controlan la salida XHTML.
15452 \begin_inset space ~
15456 \begin_inset CommandInset ref
15458 reference "sec:Etiquetas-para-XHTML"
15465 \begin_layout Description
15466 \begin_inset Flex Code
15469 \begin_layout Plain Layout
15478 \begin_inset Flex Code
15481 \begin_layout Plain Layout
15490 \begin_inset space \thinspace{}
15494 \begin_inset Flex Code
15497 \begin_layout Plain Layout
15503 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
15504 os cargar el paquete \SpecialChar LaTeX
15506 \begin_inset Flex Code
15509 \begin_layout Plain Layout
15515 para definirlo sobre la marcha.
15517 \begin_inset Flex Code
15520 \begin_layout Plain Layout
15526 , que significa: usar
15527 \begin_inset Flex Code
15530 \begin_layout Plain Layout
15538 \begin_inset Flex Code
15541 \begin_layout Plain Layout
15547 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
15551 \begin_layout Description
15552 \begin_inset Flex Code
15555 \begin_layout Plain Layout
15562 \begin_inset Flex Code
15565 \begin_layout Plain Layout
15572 \begin_inset Quotes erd
15576 \begin_inset Quotes erd
15579 ] El comando usado para generar una lista de flotantes de este tipo; debe
15580 omitirse el precedente `
15588 \begin_inset Flex Code
15591 \begin_layout Plain Layout
15597 es `false', puesto que no hay una forma estándar de generar este comando.
15599 \begin_inset Flex Code
15602 \begin_layout Plain Layout
15608 es `true', porque en este caso sí hay una forma estándar de definir el
15612 \begin_layout Description
15613 \begin_inset Flex Code
15616 \begin_layout Plain Layout
15623 \begin_inset Flex Code
15626 \begin_layout Plain Layout
15633 \begin_inset Quotes erd
15637 \begin_inset Quotes erd
15640 ] Un título para una lista de flotantes de este tipo (índice de figuras,
15641 tablas o lo que sea).
15642 Se usa para el nombre del recuadro en \SpecialChar LyX
15643 ; se pasa a \SpecialChar LaTeX
15644 para usarlo como título
15645 allí; y se usa como título en la salida.
15646 Será traducido al idioma del documento.
15649 \begin_layout Description
15650 \begin_inset Flex Code
15653 \begin_layout Plain Layout
15660 \begin_inset Flex Code
15663 \begin_layout Plain Layout
15670 \begin_inset Quotes erd
15674 \begin_inset Quotes erd
15677 ] Este argumento (opcional) determina si los flotantes de esta clase serán
15678 numerados dentro de alguna unidad de sección del documento.
15680 \begin_inset Flex Code
15683 \begin_layout Plain Layout
15690 \begin_inset Quotes fld
15694 \begin_inset Flex Code
15697 \begin_layout Plain Layout
15704 \begin_inset Quotes frd
15707 , los flotantes serán numerados dentro de los capítulos.
15710 \begin_layout Description
15711 \begin_inset Flex Code
15714 \begin_layout Plain Layout
15721 \begin_inset Flex Code
15724 \begin_layout Plain Layout
15731 \begin_inset Quotes erd
15735 \begin_inset Quotes erd
15738 ] La colocación por omisión para la clase dada de flotantes.
15740 \begin_inset Flex Code
15743 \begin_layout Plain Layout
15749 deberá ser un estándar \SpecialChar LaTeX
15751 \begin_inset Flex Code
15754 \begin_layout Plain Layout
15761 \begin_inset Flex Code
15764 \begin_layout Plain Layout
15771 \begin_inset Flex Code
15774 \begin_layout Plain Layout
15781 \begin_inset Flex Code
15784 \begin_layout Plain Layout
15791 \begin_inset Quotes fld
15795 \begin_inset Quotes frd
15799 \begin_inset Quotes fld
15803 \begin_inset Quotes frd
15807 \begin_inset Quotes fld
15811 \begin_inset Quotes frd
15815 \begin_inset Quotes fld
15819 \begin_inset Quotes frd
15822 (aquí), respectivamente.
15826 \begin_layout Plain Layout
15827 Anotar que el orden de estas letras en la cadena es irrelevante, como en
15834 Por encima de éstos hay un nuevo tipo,
15835 \begin_inset Flex Code
15838 \begin_layout Plain Layout
15844 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
15846 \begin_inset Quotes fld
15850 \begin_inset Quotes frd
15853 , y en ninguna otra parte.
15854 Anotar que, sin embargo, el colocador
15855 \begin_inset Flex Code
15858 \begin_layout Plain Layout
15864 es especial y, debido a detalles de implementación, no puede usarse en
15865 tipos de flotantes no empotrados.
15866 Si no comprendes lo que esto significa, usa solo
15867 \begin_inset Quotes fld
15871 \begin_inset Flex Code
15874 \begin_layout Plain Layout
15881 \begin_inset Quotes frd
15887 \begin_layout Description
15888 \begin_inset Flex Code
15891 \begin_layout Plain Layout
15898 \begin_inset Flex Code
15901 \begin_layout Plain Layout
15907 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
15909 Esto permite el uso de referencias con formato.
15910 Puedes quitar cualquier
15911 \begin_inset Flex Code
15914 \begin_layout Plain Layout
15920 puesto por un estilo copiado usando el valor especial
15921 \begin_inset Quotes eld
15925 \begin_inset Quotes erd
15928 , todas mayúsculas.
15931 \begin_layout Description
15932 \begin_inset Flex Code
15935 \begin_layout Plain Layout
15942 \begin_inset Flex Code
15945 \begin_layout Plain Layout
15952 \begin_inset Quotes erd
15956 \begin_inset Quotes erd
15959 ] El estilo usado cuando se define el flotante con
15960 \begin_inset Flex Code
15963 \begin_layout Plain Layout
15974 \begin_layout Description
15975 \begin_inset Flex Code
15978 \begin_layout Plain Layout
15985 \begin_inset Flex Code
15988 \begin_layout Plain Layout
15995 \begin_inset Quotes erd
15999 \begin_inset Quotes erd
16003 \begin_inset Quotes fld
16007 \begin_inset Quotes frd
16010 de la nueva clase de flotante, como programa o algoritmo.
16011 Después del apropiado
16012 \begin_inset Flex Code
16015 \begin_layout Plain Layout
16023 , comandos tales como
16024 \begin_inset Flex Code
16027 \begin_layout Plain Layout
16036 \begin_inset Flex Code
16039 \begin_layout Plain Layout
16047 estarán disponibles.
16050 \begin_layout Description
16051 \begin_inset Flex Code
16054 \begin_layout Plain Layout
16061 \begin_inset Flex Code
16064 \begin_layout Plain Layout
16071 \begin_inset space \thinspace{}
16075 \begin_inset Flex Code
16078 \begin_layout Plain Layout
16086 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
16088 \begin_inset Flex Code
16091 \begin_layout Plain Layout
16097 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
16098 por el propio \SpecialChar LyX
16102 \begin_layout Standard
16103 Anotar que al definir un flotante con tipo
16104 \begin_inset Flex Code
16107 \begin_layout Plain Layout
16115 automáticamente se define el correspondiente contador con nombre
16116 \begin_inset Flex Code
16119 \begin_layout Plain Layout
16130 \begin_layout Subsection
16131 Recuadros flexibles y formato del recuadro
16132 \begin_inset CommandInset label
16134 name "subsec:estilo-del-texto"
16141 \begin_layout Standard
16142 Los recuadros flexibles son de tres tipos:
16145 \begin_layout Itemize
16147 \begin_inset Flex Code
16150 \begin_layout Plain Layout
16156 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
16158 \begin_inset Flex Code
16161 \begin_layout Plain Layout
16170 \begin_inset Flex Code
16173 \begin_layout Plain Layout
16184 \begin_layout Itemize
16185 definido por el usuario (
16186 \begin_inset Flex Code
16189 \begin_layout Plain Layout
16195 ): estos se pueden usar para definir recuadros plegables personalizados,
16196 del tipo de los de código \SpecialChar TeX
16197 , notas al pie y similares.
16198 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
16200 \begin_inset Flex Code
16203 \begin_layout Plain Layout
16212 \begin_layout Itemize
16214 \begin_inset Flex Code
16217 \begin_layout Plain Layout
16223 ): para usar con las clases DocBook.
16226 \begin_layout Standard
16227 Los recuadros flexibles se definen usando la etiqueta
16228 \begin_inset Flex Code
16231 \begin_layout Plain Layout
16237 , que se explicará en un momento.
16240 \begin_layout Standard
16242 \begin_inset Flex Code
16245 \begin_layout Plain Layout
16251 también sirve para otra función: puede utilizarse para personalizar el
16252 diseño general de muchos tipos diferentes de recuadros.
16254 \begin_inset Flex Code
16257 \begin_layout Plain Layout
16263 permite personalizar los parámetros de diseño de notas al pie, notas al
16264 margen, notas, recuadros de código \SpecialChar TeX
16265 (ERT), ramas, listados de programa,
16266 índices, cuadros, tablas, algoritmos, URL, y
16270 , así como para definir recuadros flexibles.
16273 \begin_layout Standard
16275 \begin_inset Flex Code
16278 \begin_layout Plain Layout
16284 debe comenzar con una línea de la forma:
16287 \begin_layout LyX-Code
16291 \begin_layout Standard
16293 \begin_inset Flex Code
16296 \begin_layout Plain Layout
16302 indica el recuadro cuyo formato se va a definir, y hay quatros casos.
16305 \begin_layout Enumerate
16306 Se va a modificar el formato para un tipo de recuadro preexistente.
16308 \begin_inset Flex Code
16311 \begin_layout Plain Layout
16317 puede ser uno cualquiera de los siguientes:
16318 \begin_inset Flex Code
16321 \begin_layout Plain Layout
16328 \begin_inset Flex Code
16331 \begin_layout Plain Layout
16338 \begin_inset Flex Code
16341 \begin_layout Plain Layout
16348 \begin_inset Flex Code
16351 \begin_layout Plain Layout
16358 \begin_inset Flex Code
16361 \begin_layout Plain Layout
16368 \begin_inset Flex Code
16371 \begin_layout Plain Layout
16378 \begin_inset Flex Code
16381 \begin_layout Plain Layout
16388 \begin_inset Flex Code
16391 \begin_layout Plain Layout
16398 \begin_inset Flex Code
16401 \begin_layout Plain Layout
16408 \begin_inset Flex Code
16411 \begin_layout Plain Layout
16418 \begin_inset Flex Code
16421 \begin_layout Plain Layout
16428 \begin_inset Flex Code
16431 \begin_layout Plain Layout
16438 \begin_inset Flex Code
16441 \begin_layout Plain Layout
16448 \begin_inset Flex Code
16451 \begin_layout Plain Layout
16458 \begin_inset Flex Code
16461 \begin_layout Plain Layout
16468 \begin_inset Flex Code
16471 \begin_layout Plain Layout
16478 \begin_inset Flex Code
16481 \begin_layout Plain Layout
16488 \begin_inset Flex Code
16491 \begin_layout Plain Layout
16498 \begin_inset Flex Code
16501 \begin_layout Plain Layout
16508 \begin_inset Flex Code
16511 \begin_layout Plain Layout
16521 \begin_layout Enumerate
16522 Se va a definir el formato para un recuadro flexible.
16524 \begin_inset Flex Code
16527 \begin_layout Plain Layout
16533 puede ser cualquier identificador válido no utilizado por un recuadro preexiste
16535 El identificador puede incluir espacios, pero en este caso debe ponerse
16536 todo entre comillas.
16537 Puede además incluir un identificador de nombre del espacio, precedido
16538 de dos puntos, como
16539 \begin_inset Quotes eld
16543 \begin_inset Flex Code
16546 \begin_layout Plain Layout
16553 \begin_inset Quotes erd
16557 Anotar que la definición de un flexible debe incluir
16562 \begin_inset Flex Code
16565 \begin_layout Plain Layout
16575 \begin_layout Enumerate
16578 The layout for user specific branch is being defined.
16582 \begin_inset Flex Code
16585 \begin_layout Plain Layout
16593 must be of the form
16596 \begin_inset Quotes fld
16600 \begin_inset Flex Code
16603 \begin_layout Plain Layout
16610 \begin_inset Quotes frd
16618 \begin_inset Flex Code
16621 \begin_layout Plain Layout
16629 may be be any valid identifier of branch defined in user's document.
16630 The identifier may include spaces, but in that case the whole thing must
16631 be wrapped in quotes.
16632 The main purpose of this feature is to allow \SpecialChar LaTeX
16633 wrapping around specific
16634 branches as user needs.
16637 \begin_layout Enumerate
16640 The layout of a user (or class) specific caption is being defined.
16644 \begin_inset Flex Code
16647 \begin_layout Plain Layout
16655 must be of the form
16658 \begin_inset Quotes fld
16662 \begin_inset Flex Code
16665 \begin_layout Plain Layout
16672 \begin_inset Quotes frd
16680 \begin_inset Flex Code
16683 \begin_layout Plain Layout
16691 specifies the name of the caption as it appears in the menu.
16692 Have a look at the standard caption
16695 \begin_inset Flex Code
16698 \begin_layout Plain Layout
16706 the specific captions of the KOMA-Script classes (
16707 \begin_inset Flex Code
16710 \begin_layout Plain Layout
16719 \begin_inset Flex Code
16722 \begin_layout Plain Layout
16733 \begin_inset space ~
16740 \begin_inset Flex Code
16743 \begin_layout Plain Layout
16754 \begin_layout Standard
16756 \begin_inset Flex Code
16759 \begin_layout Plain Layout
16765 puede contener las siguientes entradas:
16768 \begin_layout Description
16769 \begin_inset Flex Code
16772 \begin_layout Plain Layout
16779 \begin_inset Flex Code
16782 \begin_layout Plain Layout
16790 Defines argument number of a command\SpecialChar breakableslash
16791 environment associated with the current
16793 The definition must end with
16794 \begin_inset Flex Code
16797 \begin_layout Plain Layout
16809 \begin_inset CommandInset ref
16811 reference "subsec:Estilos-de-párrafo"
16820 \begin_layout Description
16821 \begin_inset Flex Code
16824 \begin_layout Plain Layout
16832 Preamble for changing language commands
16835 \begin_inset CommandInset ref
16837 reference "subsec:I18n"
16844 \begin_layout Description
16845 \begin_inset Flex Code
16848 \begin_layout Plain Layout
16855 \begin_inset Flex Code
16858 \begin_layout Plain Layout
16864 ] El color para el fondo del recuadro.
16866 \begin_inset CommandInset ref
16868 reference "chap:Names-of-colors"
16874 for a list of the available color names.
16877 \begin_layout Description
16878 \begin_inset Flex Code
16881 \begin_layout Plain Layout
16888 \begin_inset Flex Code
16891 \begin_layout Plain Layout
16902 \begin_inset space \thinspace{}
16908 \begin_inset Flex Code
16911 \begin_layout Plain Layout
16917 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
16918 recuadro se cierra.
16919 Por omisión, falso.
16922 \begin_layout Description
16923 \begin_inset Flex Code
16926 \begin_layout Plain Layout
16933 \begin_inset Flex Code
16936 \begin_layout Plain Layout
16944 As with paragraph styles
16947 \begin_inset CommandInset ref
16949 reference "subsec:Estilos-de-párrafo"
16956 Note that you need to specify the complete type, e.
16957 \begin_inset space \thinspace{}
16963 \begin_inset space ~
16967 \begin_inset Flex Code
16970 \begin_layout Plain Layout
16971 CopyStyle Flex:<nombre>
16979 \begin_layout Description
16980 \begin_inset Flex Code
16983 \begin_layout Plain Layout
16990 \begin_inset Flex Code
16993 \begin_layout Plain Layout
17004 \begin_inset space \thinspace{}
17010 \begin_inset Flex Code
17013 \begin_layout Plain Layout
17019 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17020 para modificar el párrafo.
17023 \begin_layout Description
17024 \begin_inset Flex Code
17027 \begin_layout Plain Layout
17034 \begin_inset Flex Code
17037 \begin_layout Plain Layout
17044 \begin_inset Flex Code
17047 \begin_layout Plain Layout
17054 \begin_inset Flex Code
17057 \begin_layout Plain Layout
17063 , que describe el estilo de presentación para el marco y los botones del
17065 Las notas al pie usan generalmente
17066 \begin_inset Flex Code
17069 \begin_layout Plain Layout
17075 , los recuadros de código \SpecialChar TeX
17077 \begin_inset Flex Code
17080 \begin_layout Plain Layout
17086 , y los de estilos del texto
17087 \begin_inset Flex Code
17090 \begin_layout Plain Layout
17099 \begin_layout Description
17100 \begin_inset Flex Code
17103 \begin_layout Plain Layout
17110 \begin_inset Flex Code
17113 \begin_layout Plain Layout
17122 \begin_inset space \thinspace{}
17128 \begin_inset Flex Code
17131 \begin_layout Plain Layout
17140 \begin_inset Flex Code
17143 \begin_layout Plain Layout
17150 \begin_inset Flex Code
17153 \begin_layout Plain Layout
17160 Indica si el entorno se ubicará en su propio espacio en la salida o si
17161 aparecerá en línea con el texto circundante.
17162 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
17163 ignora los espacios en blanco
17164 (incluyendo un carácter de línea nueva) después de las etiquetas
17165 \begin_inset Flex Code
17168 \begin_layout Plain Layout
17181 \begin_inset Flex Code
17184 \begin_layout Plain Layout
17197 Por omisión, verdadero.
17200 \begin_layout Description
17201 \begin_inset Flex Code
17204 \begin_layout Plain Layout
17210 Requerido al final de las declaraciones de formato del recuadro
17211 \begin_inset Flex Code
17214 \begin_layout Plain Layout
17223 \begin_layout Description
17224 \begin_inset Flex Code
17227 \begin_layout Plain Layout
17233 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
17235 \begin_inset CommandInset ref
17237 reference "subsec:Tipografías"
17242 Anotar que al definir esta tipografía se define automáticamente el mismo
17243 valor para la etiqueta,
17244 \begin_inset Flex Code
17247 \begin_layout Plain Layout
17253 , así que define aquella primero y después define
17254 \begin_inset Flex Code
17257 \begin_layout Plain Layout
17263 si las quieres diferentes.
17266 \begin_layout Description
17267 \begin_inset Flex Code
17270 \begin_layout Plain Layout
17271 ForceLocalFontSwitch
17277 \begin_inset Flex Code
17280 \begin_layout Plain Layout
17289 \begin_inset space \thinspace{}
17293 \begin_inset Flex Code
17296 \begin_layout Plain Layout
17304 When using babel, always use a local font switch (
17305 \begin_inset Flex Code
17308 \begin_layout Plain Layout
17318 ), never a global one (such as
17321 \begin_inset Flex Code
17324 \begin_layout Plain Layout
17335 \begin_layout Description
17336 \begin_inset Flex Code
17339 \begin_layout Plain Layout
17346 \begin_inset Flex Code
17349 \begin_layout Plain Layout
17360 \begin_inset space \thinspace{}
17366 \begin_inset Flex Code
17369 \begin_layout Plain Layout
17376 \begin_inset Quotes fld
17380 \begin_inset Quotes frd
17383 que genera salida Izquierda-Derecha (latin), p.
17384 \begin_inset space \thinspace{}
17388 \begin_inset space \space{}
17391 en código \SpecialChar TeX
17396 \begin_layout Description
17397 \begin_inset Flex Code
17400 \begin_layout Plain Layout
17407 \begin_inset Flex Code
17410 \begin_layout Plain Layout
17421 \begin_inset space \thinspace{}
17427 \begin_inset Flex Code
17430 \begin_layout Plain Layout
17436 ] Indica si debería usarse
17437 \begin_inset Flex Code
17440 \begin_layout Plain Layout
17446 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
17449 \begin_layout Description
17450 \begin_inset Flex Code
17453 \begin_layout Plain Layout
17462 \begin_inset Flex Code
17465 \begin_layout Plain Layout
17476 \begin_inset space \thinspace{}
17482 \begin_inset Flex Code
17485 \begin_layout Plain Layout
17493 As with paragraph style
17496 \begin_inset CommandInset ref
17498 reference "subsec:Estilos-de-párrafo"
17505 \begin_layout Description
17506 \begin_inset Flex Code
17509 \begin_layout Plain Layout
17515 Controlan la salida XHTML.
17517 \begin_inset CommandInset ref
17519 reference "sec:Etiquetas-para-XHTML"
17526 \begin_layout Description
17527 \begin_inset Flex Code
17530 \begin_layout Plain Layout
17537 \begin_inset Flex Code
17540 \begin_layout Plain Layout
17551 \begin_inset space \thinspace{}
17557 \begin_inset Flex Code
17560 \begin_layout Plain Layout
17566 ] Incluye o no el contenido de este inset en la cadena generada para el
17567 panel 'Navegador de contorno'.
17568 El no sería, por ejemplo, para que el contenido de una nota al pie en un
17569 encabezado de sección no aparezca en el índice que se despliega en el navegador
17570 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
17571 estilo de carácter.
17572 Predeterminado es false: no incluir.
17575 \begin_layout Description
17576 \begin_inset Flex Code
17579 \begin_layout Plain Layout
17588 \begin_inset Flex Code
17591 \begin_layout Plain Layout
17604 \begin_inset space \thinspace{}
17610 \begin_inset Flex Code
17613 \begin_layout Plain Layout
17621 As with paragraph styles
17624 \begin_inset CommandInset ref
17626 reference "subsec:Estilos-de-párrafo"
17633 \begin_layout Description
17634 \begin_inset Flex Code
17637 \begin_layout Plain Layout
17643 La tipografía para la etiqueta.
17645 \begin_inset CommandInset ref
17647 reference "subsec:Tipografías"
17652 Anotar que esta definición nunca puede aparecer antes de
17653 \begin_inset Flex Code
17656 \begin_layout Plain Layout
17662 , para que sea efectiva.
17665 \begin_layout Description
17666 \begin_inset Flex Code
17669 \begin_layout Plain Layout
17676 \begin_inset Flex Code
17679 \begin_layout Plain Layout
17686 \begin_inset Quotes erd
17690 \begin_inset Quotes erd
17693 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
17694 Algunos tipos de recuadro (
17695 \begin_inset Flex Code
17698 \begin_layout Plain Layout
17699 código \SpecialChar TeX
17706 \begin_inset Flex Code
17709 \begin_layout Plain Layout
17715 ) modifican esta etiqueta sobre la marcha.
17718 \begin_layout Description
17719 \begin_inset Flex Code
17722 \begin_layout Plain Layout
17730 Language dependent preamble
17733 \begin_inset CommandInset ref
17735 reference "subsec:I18n"
17742 \begin_layout Description
17743 \begin_inset Flex Code
17746 \begin_layout Plain Layout
17753 \begin_inset Flex Code
17756 \begin_layout Plain Layout
17762 ] El nombre \SpecialChar LaTeX
17763 correspondiente al asunto.
17764 Cualquier nombre de entorno o de comando.
17767 \begin_layout Description
17768 \begin_inset Flex Code
17771 \begin_layout Plain Layout
17778 \begin_inset Flex Code
17781 \begin_layout Plain Layout
17787 ] El parámetro opcional para el correspondiente
17788 \begin_inset Flex Code
17791 \begin_layout Plain Layout
17797 , incluyendo posibles pares de corchetes,
17798 \begin_inset Flex Code
17801 \begin_layout Plain Layout
17808 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
17812 \begin_inset Flex Code
17815 \begin_layout Plain Layout
17823 for customizable parameters).
17824 It will be output as is after all \SpecialChar LaTeX
17828 \begin_inset Flex Code
17831 \begin_layout Plain Layout
17840 \begin_layout Description
17841 \begin_inset Flex Code
17844 \begin_layout Plain Layout
17851 \begin_inset Flex Code
17854 \begin_layout Plain Layout
17855 Command, Environment, None
17862 How the style should be translated into \SpecialChar LaTeX
17867 \begin_layout Plain Layout
17870 \begin_inset Flex Code
17873 \begin_layout Plain Layout
17881 is perhaps a bit misleading, since these rules apply to SGML classes, too.
17882 Visit the SGML class files for specific examples.
17888 \begin_inset Separator parbreak
17895 \begin_layout Description
17896 \begin_inset Flex Code
17899 \begin_layout Plain Layout
17907 means nothing special
17910 \begin_layout Description
17911 \begin_inset Flex Code
17914 \begin_layout Plain Layout
17923 \begin_inset Flex Code
17926 \begin_layout Plain Layout
17935 {\SpecialChar ldots
17944 \begin_layout Description
17945 \begin_inset Flex Code
17948 \begin_layout Plain Layout
17957 \begin_inset Flex Code
17960 \begin_layout Plain Layout
17969 }\SpecialChar ldots
17984 \begin_layout Description
17988 \begin_layout Standard
17991 Putting the last few things together, the \SpecialChar LaTeX
17992 output will be either:
17995 \begin_layout LyX-Code
17998 LatexName[LatexParam]{\SpecialChar ldots
18002 \begin_layout Standard
18006 \begin_layout LyX-Code
18009 begin{LatexName}[LatexParam] \SpecialChar ldots
18015 \begin_layout Standard
18018 depending upon the \SpecialChar LaTeX
18023 \begin_layout Description
18024 \begin_inset Flex Code
18027 \begin_layout Plain Layout
18034 \begin_inset Flex Code
18037 \begin_layout Plain Layout
18045 A string that is put at the beginning of the layout content.
18046 A line break in the output can be indicated by
18049 \begin_inset Flex Code
18052 \begin_layout Plain Layout
18061 \begin_layout Description
18062 \begin_inset Flex Code
18065 \begin_layout Plain Layout
18072 \begin_inset Flex Code
18075 \begin_layout Plain Layout
18082 \begin_inset Flex Code
18085 \begin_layout Plain Layout
18092 \begin_inset Flex Code
18095 \begin_layout Plain Layout
18102 \begin_inset Flex Code
18105 \begin_layout Plain Layout
18111 (indicando una definición ficticia que finaliza definiciones de estilos
18113 Esta entrada es requerida y solo es significativa para recuadros flexibles.
18114 Entre otras cosas, determina en qué menús aparecerá este recuadro.
18116 \begin_inset Flex Code
18119 \begin_layout Plain Layout
18127 \begin_inset Flex Code
18130 \begin_layout Plain Layout
18137 \begin_inset Flex Code
18140 \begin_layout Plain Layout
18148 \begin_inset Flex Code
18151 \begin_layout Plain Layout
18157 se puede poner como verdadero para recuadros de estilos
18158 \begin_inset Flex Code
18161 \begin_layout Plain Layout
18172 \begin_inset Flex Code
18175 \begin_layout Plain Layout
18185 \begin_layout Description
18186 \begin_inset Flex Code
18189 \begin_layout Plain Layout
18196 \begin_inset Flex Code
18199 \begin_layout Plain Layout
18210 \begin_inset space \thinspace{}
18216 \begin_inset Flex Code
18219 \begin_layout Plain Layout
18225 ] Indica si se permiten múltiples párrafos en este recuadro.
18226 Además establecerá para CustomPars el mismo valor y para ForcePlain el
18228 Estos pueden modificarse a otros valores si se usan
18235 \begin_layout Description
18236 \begin_inset Flex Code
18239 \begin_layout Plain Layout
18246 \begin_inset Flex Code
18249 \begin_layout Plain Layout
18260 \begin_inset space \thinspace{}
18266 \begin_inset Flex Code
18269 \begin_layout Plain Layout
18275 ] Si los comandos frágiles deben o no ser
18276 \begin_inset Flex Code
18279 \begin_layout Plain Layout
18287 'ed en este recuadro.
18292 si el comando mismo debe ser protegido
18297 \begin_layout Description
18298 \begin_inset Flex Code
18301 \begin_layout Plain Layout
18310 \begin_inset Flex Code
18313 \begin_layout Plain Layout
18321 ] Deletes an existing
18322 \begin_inset Flex Code
18325 \begin_layout Plain Layout
18336 \begin_layout Description
18337 \begin_inset Flex Code
18340 \begin_layout Plain Layout
18347 \begin_inset Flex Code
18350 \begin_layout Plain Layout
18361 \begin_inset space \thinspace{}
18367 \begin_inset Flex Code
18370 \begin_layout Plain Layout
18376 ] Igual que para estilos de párrafo, véase
18377 \begin_inset CommandInset ref
18379 reference "subsec:Estilos-de-párrafo"
18384 Por omisión es falso.
18387 \begin_layout Description
18388 \begin_inset Flex Code
18391 \begin_layout Plain Layout
18400 \begin_inset Flex Code
18403 \begin_layout Plain Layout
18416 \begin_inset space \thinspace{}
18422 \begin_inset Flex Code
18425 \begin_layout Plain Layout
18431 ] Igual que para estilos de párrafo, véase
18432 \begin_inset CommandInset ref
18434 reference "subsec:Estilos-de-párrafo"
18441 \begin_layout Description
18442 \begin_inset Flex Code
18445 \begin_layout Plain Layout
18451 Igual que para estilos de párrafo, véase
18452 \begin_inset CommandInset ref
18454 reference "subsec:Estilos-de-párrafo"
18461 \begin_layout Description
18462 \begin_inset Flex Code
18465 \begin_layout Plain Layout
18472 \begin_inset Flex Code
18475 \begin_layout Plain Layout
18481 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
18483 Esto permite el uso de referencias con formato.
18486 \begin_layout Description
18487 \begin_inset Flex Code
18490 \begin_layout Plain Layout
18497 \begin_inset Flex Code
18500 \begin_layout Plain Layout
18506 ] Igual que para estilos de párrafo, véase
18507 \begin_inset CommandInset ref
18509 reference "subsec:Estilos-de-párrafo"
18516 \begin_layout Description
18517 \begin_inset Flex Code
18520 \begin_layout Plain Layout
18527 \begin_inset Flex Code
18530 \begin_layout Plain Layout
18539 \begin_inset space \thinspace{}
18543 \begin_inset Flex Code
18546 \begin_layout Plain Layout
18554 Resets the \SpecialChar LaTeX
18555 arguments of this layout (as defined via the
18556 \begin_inset Flex Code
18559 \begin_layout Plain Layout
18568 This is useful if you have copied a style via
18569 \begin_inset Flex Code
18572 \begin_layout Plain Layout
18580 , but you do not want to inherit its (required and optional) arguments.
18583 \begin_layout Description
18584 \begin_inset Flex Code
18587 \begin_layout Plain Layout
18594 \begin_inset Flex Code
18597 \begin_layout Plain Layout
18606 \begin_inset space \thinspace{}
18612 \begin_inset Flex Code
18615 \begin_layout Plain Layout
18623 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
18624 Por omisión es la tipografía de su entorno.
18627 \begin_layout Description
18628 \begin_inset Flex Code
18631 \begin_layout Plain Layout
18638 \begin_inset Flex Code
18641 \begin_layout Plain Layout
18649 A string that is put at the end of the layout content.
18650 A line break in the output can be indicated by
18653 \begin_inset Flex Code
18656 \begin_layout Plain Layout
18665 \begin_layout Description
18666 \begin_inset Flex Code
18669 \begin_layout Plain Layout
18676 \begin_inset Flex Code
18679 \begin_layout Plain Layout
18688 \begin_inset space \thinspace{}
18694 \begin_inset Flex Code
18697 \begin_layout Plain Layout
18705 ] Revisar la ortografía del contenido del recuadro.
18709 \begin_layout Subsection
18711 \begin_inset CommandInset label
18713 name "subsec:Contadores"
18720 \begin_layout Standard
18721 Es necesario definir los contadores (
18722 \begin_inset Flex MenuItem
18725 \begin_layout Plain Layout
18732 \begin_inset Flex MenuItem
18735 \begin_layout Plain Layout
18741 , \SpecialChar ldots
18742 ) en la propia clase de texto.
18743 Los contadores estándar están definidos en el archivo
18744 \begin_inset Flex Code
18747 \begin_layout Plain Layout
18753 , de modo que no tienes más que añadir
18756 \begin_layout LyX-Code
18757 Input stdcounters.inc
18760 \begin_layout Standard
18761 en el archivo de formato para que funcionen.
18762 Pero si quieres puedes definir contadores personalizados.
18763 La declaración de un contador debe comenzar con:
18766 \begin_layout LyX-Code
18770 \begin_layout Standard
18772 \begin_inset Flex Code
18775 \begin_layout Plain Layout
18781 es el nombre del contador.
18782 Hay que terminar con
18783 \begin_inset Flex Code
18786 \begin_layout Plain Layout
18795 \begin_layout Standard
18796 Se pueden usar además los parámetros siguientes:
18799 \begin_layout Description
18800 \begin_inset Flex Code
18803 \begin_layout Plain Layout
18810 \begin_inset Flex Code
18813 \begin_layout Plain Layout
18821 Sets the initial value for the counter, to which it will be reset whenever
18823 Normally, one will want the default, 1.
18826 \begin_layout Description
18827 \begin_inset Flex Code
18830 \begin_layout Plain Layout
18837 \begin_inset Flex Code
18840 \begin_layout Plain Layout
18846 =""] Si se define esta cadena, indica cómo se muestra el contador.
18847 Al establecer este valor también se da el mismo valor a
18848 \begin_inset Flex Code
18851 \begin_layout Plain Layout
18852 LabelStringAppendix
18858 Para los valores de 'string' se pueden usar las estructuras siguientes:
18859 \begin_inset Separator parbreak
18866 \begin_layout Itemize
18867 \begin_inset Flex Code
18870 \begin_layout Plain Layout
18878 será reemplazado por la expansión de
18879 \begin_inset Flex Code
18882 \begin_layout Plain Layout
18889 \begin_inset Newline linebreak
18893 \begin_inset Flex Code
18896 \begin_layout Plain Layout
18897 LabelStringAppendix
18903 \begin_inset Flex Code
18906 \begin_layout Plain Layout
18916 \begin_layout Itemize
18917 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
18919 \begin_inset Flex Code
18922 \begin_layout Plain Layout
18939 \begin_inset Flex Code
18942 \begin_layout Plain Layout
18951 \begin_inset Flex Code
18954 \begin_layout Plain Layout
18960 : 1, 2, 3,\SpecialChar ldots
18962 \begin_inset Flex Code
18965 \begin_layout Plain Layout
18971 para minúsculas: a, b, c, \SpecialChar ldots
18973 \begin_inset Flex Code
18976 \begin_layout Plain Layout
18982 para mayúsculas: A, B, C, \SpecialChar ldots
18984 \begin_inset Flex Code
18987 \begin_layout Plain Layout
18993 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
18998 \begin_layout Plain Layout
19004 \begin_inset space \thinspace{}
19012 \begin_inset Flex Code
19015 \begin_layout Plain Layout
19030 \begin_inset Flex Code
19033 \begin_layout Plain Layout
19047 los transforma automáticamente en versalitas
19052 , ya que los romanos en minúscula no se usan en español.
19059 \begin_inset Flex Code
19062 \begin_layout Plain Layout
19068 para romanos en mayúsculas: I, II, III.
19072 \begin_layout Standard
19074 \begin_inset Flex Code
19077 \begin_layout Plain Layout
19083 , se construye un valor por omisión así: si el contador tiene un contador
19085 \begin_inset Flex Code
19088 \begin_layout Plain Layout
19095 \begin_inset Flex Code
19098 \begin_layout Plain Layout
19104 ), se usa la cadena
19105 \begin_inset Flex Code
19108 \begin_layout Plain Layout
19118 ; si no, se usa la cadena
19119 \begin_inset Flex Code
19122 \begin_layout Plain Layout
19133 \begin_layout Description
19134 \begin_inset Flex Code
19137 \begin_layout Plain Layout
19138 LabelStringAppendix
19144 \begin_inset Flex Code
19147 \begin_layout Plain Layout
19154 \begin_inset Flex Code
19157 \begin_layout Plain Layout
19163 , pero para el apéndice.
19166 \begin_layout Description
19167 \begin_inset Flex Code
19170 \begin_layout Plain Layout
19177 \begin_inset Flex Code
19180 \begin_layout Plain Layout
19187 \begin_inset Quotes erd
19191 \begin_inset Quotes erd
19194 ] Un formato para usar con las referencias a este contador.
19195 Por ejemplo, podríamos querer las referencias a los números de sección
19197 \begin_inset Quotes fld
19201 \begin_inset space ~
19205 \begin_inset Quotes frd
19209 La cadena debería contener
19210 \begin_inset Quotes eld
19214 \begin_inset Quotes erd
19218 Esto será reemplazado por el número correspondiente del contador.
19219 Así pues, para secciones sería: Section ##.
19222 \begin_layout Description
19223 \begin_inset Flex Code
19226 \begin_layout Plain Layout
19233 \begin_inset Flex Code
19236 \begin_layout Plain Layout
19242 =""] Si esto se establece para el nombre de otro contador, el presente contador
19243 se reiniciará cada vez que el otro aumente.
19245 \begin_inset Flex Code
19248 \begin_layout Plain Layout
19254 se numera dentro de
19255 \begin_inset Flex Code
19258 \begin_layout Plain Layout
19267 \begin_layout Subsection
19268 Descripción de las tipografías
19269 \begin_inset CommandInset label
19271 name "subsec:Tipografías"
19278 \begin_layout Standard
19279 Una descripción de una tipografía se ve como:
19282 \begin_layout LyX-Code
19296 \begin_layout LyX-Code
19300 \begin_layout LyX-Code
19304 \begin_layout Standard
19305 Están disponibles los comandos siguientes:
19308 \begin_layout Description
19309 \begin_inset Flex Code
19312 \begin_layout Plain Layout
19319 \begin_inset Flex Code
19322 \begin_layout Plain Layout
19331 \begin_inset Flex Code
19334 \begin_layout Plain Layout
19341 \begin_inset Flex Code
19344 \begin_layout Plain Layout
19351 \begin_inset Flex Code
19354 \begin_layout Plain Layout
19361 \begin_inset Flex Code
19364 \begin_layout Plain Layout
19371 \begin_inset Flex Code
19374 \begin_layout Plain Layout
19381 \begin_inset Flex Code
19384 \begin_layout Plain Layout
19391 \begin_inset Flex Code
19394 \begin_layout Plain Layout
19401 \begin_inset Flex Code
19404 \begin_layout Plain Layout
19413 \begin_layout Description
19414 \begin_inset Flex Code
19417 \begin_layout Plain Layout
19426 \begin_inset Flex Code
19429 \begin_layout Plain Layout
19440 \begin_inset Flex Code
19443 \begin_layout Plain Layout
19450 \begin_inset Flex Code
19453 \begin_layout Plain Layout
19462 \begin_layout Description
19463 \begin_inset Flex Code
19466 \begin_layout Plain Layout
19473 \begin_inset Flex Code
19476 \begin_layout Plain Layout
19482 ] Son argumentos válidos:
19483 \begin_inset Flex Code
19486 \begin_layout Plain Layout
19493 \begin_inset Flex Code
19496 \begin_layout Plain Layout
19503 \begin_inset Flex Code
19506 \begin_layout Plain Layout
19513 \begin_inset Flex Code
19516 \begin_layout Plain Layout
19523 \begin_inset Flex Code
19526 \begin_layout Plain Layout
19533 \begin_inset Flex Code
19536 \begin_layout Plain Layout
19543 \begin_inset Flex Code
19546 \begin_layout Plain Layout
19553 \begin_inset Flex Code
19556 \begin_layout Plain Layout
19563 \begin_inset Flex Code
19566 \begin_layout Plain Layout
19573 \begin_inset Flex Code
19576 \begin_layout Plain Layout
19583 \begin_inset Flex Code
19586 \begin_layout Plain Layout
19593 \begin_inset Flex Code
19596 \begin_layout Plain Layout
19603 Cada uno de ellos activa o desactiva el atributo correspondiente.
19605 \begin_inset Flex Code
19608 \begin_layout Plain Layout
19615 \begin_inset Flex Code
19618 \begin_layout Plain Layout
19625 \begin_inset Newline newline
19628 Si esto último parece superfluo, recordemos que la configuración de tipografías
19629 para el presente contexto se hereda generalmente del contexto circundante.
19631 \begin_inset Flex Code
19634 \begin_layout Plain Layout
19640 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
19643 \begin_layout Description
19644 \begin_inset Flex Code
19647 \begin_layout Plain Layout
19656 \begin_inset Flex Code
19659 \begin_layout Plain Layout
19670 \begin_inset Flex Code
19673 \begin_layout Plain Layout
19682 \begin_layout Description
19683 \begin_inset Flex Code
19686 \begin_layout Plain Layout
19695 \begin_inset Flex Code
19698 \begin_layout Plain Layout
19709 \begin_inset Flex Code
19712 \begin_layout Plain Layout
19719 \begin_inset Flex Code
19722 \begin_layout Plain Layout
19729 \begin_inset Flex Code
19732 \begin_layout Plain Layout
19741 \begin_layout Description
19742 \begin_inset Flex Code
19745 \begin_layout Plain Layout
19752 \begin_inset Flex Code
19755 \begin_layout Plain Layout
19762 \begin_inset Flex Code
19765 \begin_layout Plain Layout
19772 \begin_inset Flex Code
19775 \begin_layout Plain Layout
19784 \begin_inset Flex Code
19787 \begin_layout Plain Layout
19794 \begin_inset Flex Code
19797 \begin_layout Plain Layout
19804 \begin_inset Flex Code
19807 \begin_layout Plain Layout
19814 \begin_inset Flex Code
19817 \begin_layout Plain Layout
19824 \begin_inset Flex Code
19827 \begin_layout Plain Layout
19836 \begin_layout Subsection
19837 Descripción del formato de cita
19838 \begin_inset CommandInset label
19840 name "subsec:Descripción-formato-cita"
19847 \begin_layout Standard
19849 \begin_inset Flex Code
19852 \begin_layout Plain Layout
19858 se usan para describir la forma en que debe mostrarse la información bibliográf
19859 ica, tanto en \SpecialChar LyX
19860 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
19861 como en la salida XHTML.
19862 El aspecto de unode estos bloques podría ser este:
19865 \begin_layout LyX-Code
19869 \begin_layout LyX-Code
19873 \begin_layout LyX-Code
19877 \begin_layout LyX-Code
19881 \begin_layout Standard
19882 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
19883 con un artículo o libro, respectivamente, y tales definiciones se pueden
19884 dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
19885 Bib\SpecialChar TeX
19888 define un formato por omsión en el código fuente que se usará si no se
19889 da una definición específica.
19891 predefine varios formatos en el archivo
19892 \begin_inset Flex Code
19895 \begin_layout Plain Layout
19901 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
19905 \begin_layout Standard
19906 Las definiciones usan un lenguaje simple que permite reemplazar las claves
19907 Bib\SpecialChar TeX
19909 Las claves deben encerrarse entre símbolos
19910 \begin_inset Flex Code
19913 \begin_layout Plain Layout
19920 \begin_inset space \thinspace{}
19924 \begin_inset Flex Code
19927 \begin_layout Plain Layout
19934 Así, una simple definición sería:
19937 \begin_layout LyX-Code
19939 \begin_inset Quotes eld
19943 \begin_inset Quotes erd
19949 \begin_layout Standard
19950 Esto imprimiría el autor, una coma, a continuación el título entre comillas
19951 y un punto para finalizar.
19954 \begin_layout Standard
19955 A veces querrás, por supuesto, imprimir una clave solo si existe.
19956 Esto puede hacerse mediante una construcción condicional tal como:
19957 \begin_inset Flex Code
19960 \begin_layout Plain Layout
19962 \begin_inset space ~
19970 , que quiere decir: si la clave
19971 \begin_inset Flex Code
19974 \begin_layout Plain Layout
19981 \begin_inset Quotes eld
19985 \begin_inset space ~
19989 \begin_inset Quotes erd
19992 seguido de la clave.
19993 También es posible tener una cláusula de otro modo en el condicional, como:
19994 \begin_inset Newline newline
19998 \begin_inset Flex Code
20001 \begin_layout Plain Layout
20002 {%author%[[%author%]][[%editor%, ed.]]}
20008 \begin_inset Newline newline
20012 \begin_inset Flex Code
20015 \begin_layout Plain Layout
20021 se imprime si existe; por otra parte, se imprime la clave
20022 \begin_inset Flex Code
20025 \begin_layout Plain Layout
20032 \begin_inset Quotes eld
20036 \begin_inset space ~
20040 \begin_inset Quotes erd
20044 Advierte que la clave se encierra entre signos
20045 \begin_inset Flex Code
20048 \begin_layout Plain Layout
20054 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
20055 y por otra parte se ponen entre cobles corchetes,
20056 \begin_inset Quotes eld
20060 \begin_inset Flex Code
20063 \begin_layout Plain Layout
20070 \begin_inset Quotes eld
20074 \begin_inset Quotes eld
20078 \begin_inset Flex Code
20081 \begin_layout Plain Layout
20088 \begin_inset Quotes erd
20092 No debe haber espacios entre ninguno de ellos.
20095 \begin_layout Standard
20096 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
20097 \begin_inset Flex Code
20100 \begin_layout Plain Layout
20107 Define una pieza de información para ser usada cuando creamos
20108 \begin_inset Quotes eld
20112 \begin_inset Quotes erd
20116 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
20117 por tanto deben ponerse entre
20118 \begin_inset Quotes eld
20122 \begin_inset Quotes erd
20126 \begin_inset Quotes eld
20130 \begin_inset Quotes erd
20136 \begin_layout Standard
20137 Además, hay dos clases especiales de definiciones disponibles en un bloque
20139 \begin_inset Flex Code
20142 \begin_layout Plain Layout
20149 Un ejemplo de la primera sería:
20152 \begin_layout LyX-Code
20154 \begin_inset Quotes eld
20158 \begin_inset Quotes erd
20164 \begin_layout Standard
20165 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
20167 \begin_inset Flex Code
20170 \begin_layout Plain Layout
20179 \begin_inset Flex Code
20182 \begin_layout Plain Layout
20188 exactamente como trataría su definición.
20189 Por tanto, permítenos un
20197 \begin_layout LyX-Code
20201 \begin_layout Standard
20204 no caería en un bucle infinito, pero sí en uno muy largo.
20207 \begin_layout Standard
20208 El segundo tipo especial de definición sería como:
20211 \begin_layout LyX-Code
20215 \begin_layout Standard
20216 Esto define un trozo de texto traducible, que permite traducir partes relevantes
20217 de la bibliografía.
20218 Puede incluirse en una definición tratándolo como una clave:
20219 \begin_inset Flex Code
20222 \begin_layout Plain Layout
20229 Varios de estos están predefinidos en
20230 \begin_inset Flex Code
20233 \begin_layout Plain Layout
20240 Advertiremos que no son macros en el sentido definido.
20244 \begin_layout Standard
20245 Aquí hay, pues, un ejemplo que usa todas estas características:
20246 \begin_inset VSpace defskip
20252 \begin_layout Standard
20256 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
20259 \begin_layout Standard
20260 \begin_inset VSpace defskip
20263 Así definimos una macro que imprime el autor seguido de coma, si la clave
20265 \begin_inset Flex Code
20268 \begin_layout Plain Layout
20274 está definida, o imprime el nombre del editor seguido por el texto
20275 \begin_inset Flex Code
20278 \begin_layout Plain Layout
20284 o su traducción (por omisión
20285 \begin_inset Quotes eld
20289 \begin_inset Quotes erd
20293 \begin_inset Flex Code
20296 \begin_layout Plain Layout
20303 De hecho, esto está definido en
20304 \begin_inset Flex Code
20307 \begin_layout Plain Layout
20313 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
20314 si cargas antes ese archivo.
20317 \begin_layout Section
20318 Etiquetas para la salida XHTML
20319 \begin_inset CommandInset label
20321 name "sec:Etiquetas-para-XHTML"
20328 \begin_layout Standard
20329 Como para \SpecialChar LaTeX
20330 o DocBook, el formato de salida XHTML en \SpecialChar LyX
20331 también se controla
20332 mediante la información contenida en archivos de formato.
20333 En general, \SpecialChar LyX
20334 provee valores predefinidos sensatos y, como se mencionó anteriorm
20335 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
20337 Por ejemplo, \SpecialChar LyX
20338 intentará usar la información proporcionada por la declaración
20340 \begin_inset Flex Code
20343 \begin_layout Plain Layout
20349 para el estilo Chapter para escribir CSS que formateará adecuadamente los
20350 encabezados de capítulo.
20353 \begin_layout Standard
20354 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
20355 salida XHTML para tus propios entornos, recuadros personalizados y cosas
20357 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
20359 número de etiquetas de formato que se pueden usar para personalizar los
20360 XHTML y CSS generados.
20363 \begin_layout Standard
20364 Advertimos que hay dos etiquetas,
20365 \begin_inset Flex Code
20368 \begin_layout Plain Layout
20375 \begin_inset Flex Code
20378 \begin_layout Plain Layout
20384 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
20386 \begin_inset CommandInset ref
20388 reference "subsec:Parámetros-generales-clases"
20392 para detalles sobre esto.
20395 \begin_layout Subsection
20397 \begin_inset CommandInset label
20399 name "subsec:Estilos-de-párrafo-XHTML"
20406 \begin_layout Standard
20407 El tipo de XHTML que genera \SpecialChar LyX
20408 para un párrafo depende de si se trata de un
20409 párrafo normal, de un comando o de un entorno, en los que esto se determina
20410 por el contenido de la correspondiente etiqueta
20411 \begin_inset Flex Code
20414 \begin_layout Plain Layout
20425 \begin_layout Standard
20426 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
20429 \begin_layout LyX-Code
20431 \begin_inset Quotes erd
20435 \begin_inset Quotes erd
20441 \begin_layout LyX-Code
20443 \begin_inset Quotes erd
20447 \begin_inset Quotes erd
20453 \begin_layout LyX-Code
20454 Contents of the paragraph.
20457 \begin_layout LyX-Code
20461 \begin_layout Standard
20462 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
20465 \begin_layout Standard
20466 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
20469 \begin_layout LyX-Code
20471 \begin_inset Quotes erd
20475 \begin_inset Quotes erd
20481 \begin_layout LyX-Code
20483 \begin_inset Quotes erd
20487 \begin_inset Quotes erd
20491 \begin_inset Quotes erd
20495 \begin_inset Quotes erd
20498 >Environment Label</labeltag>First paragraph.</itemtag>
20501 \begin_layout LyX-Code
20502 <itemtag>Second paragraph.</itemtag>
20505 \begin_layout LyX-Code
20509 \begin_layout Standard
20510 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
20515 \begin_layout Standard
20516 Para una lista disponemos de una de estas formas:
20519 \begin_layout LyX-Code
20521 \begin_inset Quotes erd
20525 \begin_inset Quotes erd
20531 \begin_layout LyX-Code
20533 \begin_inset Quotes erd
20537 \begin_inset Quotes erd
20541 \begin_inset Quotes erd
20545 \begin_inset Quotes erd
20548 >List Label</labeltag>First item.</itemtag>
20551 \begin_layout LyX-Code
20553 \begin_inset Quotes erd
20557 \begin_inset Quotes erd
20561 \begin_inset Quotes erd
20565 \begin_inset Quotes erd
20568 >List Label</labeltag>Second item.</itemtag>
20571 \begin_layout LyX-Code
20575 \begin_layout LyX-Code
20579 \begin_layout LyX-Code
20581 \begin_inset Quotes erd
20585 \begin_inset Quotes erd
20591 \begin_layout LyX-Code
20593 \begin_inset Quotes erd
20597 \begin_inset Quotes erd
20600 >List Label</labeltag><itemtag attr=
20601 \begin_inset Quotes erd
20605 \begin_inset Quotes erd
20608 >First item.</itemtag>
20611 \begin_layout LyX-Code
20613 \begin_inset Quotes erd
20617 \begin_inset Quotes erd
20620 >List Label</labeltag><itemtag attr=
20621 \begin_inset Quotes erd
20625 \begin_inset Quotes erd
20628 >Second item.</itemtag>
20631 \begin_layout LyX-Code
20635 \begin_layout Standard
20636 Observa los diferentes órdenes de
20637 \begin_inset Flex Code
20640 \begin_layout Plain Layout
20647 \begin_inset Flex Code
20650 \begin_layout Plain Layout
20657 El orden que obtenemos depende del ajuste de
20658 \begin_inset Flex Code
20661 \begin_layout Plain Layout
20668 \begin_inset Flex Code
20671 \begin_layout Plain Layout
20677 es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
20678 del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
20682 \begin_layout Standard
20683 Las etiquetas específicas y la salida de los atributos para cada tipo de
20684 párrafo puede ser controlado por medio de las etiquetas de formato que
20686 Como mencionamos antes, sin embargo, \SpecialChar LyX
20687 usa predefinidos adecuados para muchos
20688 de estos valores, por lo que generalmente no necesitarás hacer nada para
20689 obtener una buena salida XHTML.
20690 Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
20693 \begin_layout Description
20694 \begin_inset Flex Code
20697 \begin_layout Plain Layout
20704 \begin_inset Flex Code
20707 \begin_layout Plain Layout
20713 ] Especifica información de los atributos a entregar con la etiqueta principal.
20715 \begin_inset Quotes eld
20719 \begin_inset Flex Code
20722 \begin_layout Plain Layout
20729 \begin_inset Quotes erd
20733 Por omisión, \SpecialChar LyX
20735 \begin_inset Quotes eld
20739 \begin_inset Flex Code
20742 \begin_layout Plain Layout
20749 \begin_inset Quotes erd
20753 \begin_inset Flex Code
20756 \begin_layout Plain Layout
20762 es el nombre del formato en \SpecialChar LyX
20763 , en minúsculas, por ejemplo: chapter.
20768 debería contener ninguna información de estilo.
20770 \begin_inset Flex Code
20773 \begin_layout Plain Layout
20779 para ese propósito.
20782 \begin_layout Description
20783 \begin_inset Flex Code
20786 \begin_layout Plain Layout
20793 \begin_inset Flex Code
20796 \begin_layout Plain Layout
20805 \begin_inset space \thinspace{}
20809 \begin_inset Flex Code
20812 \begin_layout Plain Layout
20818 ] Si producir la información CSS predeterminada que \SpecialChar LyX
20819 genera para este formato,
20820 incluso si se proporciona explícitamente información adicional mediante
20822 \begin_inset Flex Code
20825 \begin_layout Plain Layout
20833 \begin_inset Flex Code
20836 \begin_layout Plain Layout
20842 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
20844 \begin_inset Flex Code
20847 \begin_layout Plain Layout
20856 \begin_layout Description
20857 \begin_inset Flex Code
20860 \begin_layout Plain Layout
20867 \begin_inset Flex Code
20870 \begin_layout Plain Layout
20876 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
20877 \begin_inset Flex Code
20880 \begin_layout Plain Layout
20886 en los ejemplos de arriba.
20888 \begin_inset Flex Code
20891 \begin_layout Plain Layout
20900 \begin_layout Description
20901 \begin_inset Flex Code
20904 \begin_layout Plain Layout
20911 \begin_inset Flex Code
20914 \begin_layout Plain Layout
20920 ] Atributos para la etiqueta ítem.
20922 \begin_inset Quotes eld
20926 \begin_inset Flex Code
20929 \begin_layout Plain Layout
20930 class=`layoutname_item'
20936 \begin_inset Quotes erd
20944 debería contener ninguna información de estilo.
20946 \begin_inset Flex Code
20949 \begin_layout Plain Layout
20955 para ese propósito.
20958 \begin_layout Description
20959 \begin_inset Flex Code
20962 \begin_layout Plain Layout
20969 \begin_inset Flex Code
20972 \begin_layout Plain Layout
20978 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
20979 \begin_inset Flex Code
20982 \begin_layout Plain Layout
20988 en los ejemplos de arriba.
20990 \begin_inset Flex Code
20993 \begin_layout Plain Layout
21000 \begin_inset Flex Code
21003 \begin_layout Plain Layout
21010 \begin_inset Flex Code
21013 \begin_layout Plain Layout
21020 \begin_inset Flex Code
21023 \begin_layout Plain Layout
21024 Centered_Top_Environment
21029 , en cuyos casos es
21030 \begin_inset Flex Code
21033 \begin_layout Plain Layout
21042 \begin_layout Description
21043 \begin_inset Flex Code
21046 \begin_layout Plain Layout
21053 \begin_inset Flex Code
21056 \begin_layout Plain Layout
21062 ] Atributos para la etiqueta del rótulo.
21064 \begin_inset Quotes eld
21068 \begin_inset Flex Code
21071 \begin_layout Plain Layout
21072 class=`layoutname_label'
21078 \begin_inset Quotes erd
21086 debería contener ninguna información de estilo.
21088 \begin_inset Flex Code
21091 \begin_layout Plain Layout
21097 para ese propósito.
21100 \begin_layout Description
21101 \begin_inset Flex Code
21104 \begin_layout Plain Layout
21111 \begin_inset Flex Code
21114 \begin_layout Plain Layout
21123 \begin_inset space \thinspace{}
21127 \begin_inset Flex Code
21130 \begin_layout Plain Layout
21136 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
21137 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
21138 Se usa, por ejemplo, en el entorno descripción, donde queremos `
21139 \begin_inset Flex Code
21142 \begin_layout Plain Layout
21143 <dt>\SpecialChar ldots
21144 </dt><dd>\SpecialChar ldots
21152 \begin_inset Flex Code
21155 \begin_layout Plain Layout
21161 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
21164 \begin_layout Description
21165 \begin_inset Flex Code
21168 \begin_layout Plain Layout
21174 Información para generar en la sección
21175 \begin_inset Flex Code
21178 \begin_layout Plain Layout
21184 cuando se usa este estilo.
21185 Esto podría, por ejemplo, utilizarse para incluir un bloque
21186 \begin_inset Flex Code
21189 \begin_layout Plain Layout
21195 definiendo un controlador
21196 \begin_inset Flex Code
21199 \begin_layout Plain Layout
21208 \begin_layout Description
21209 \begin_inset Flex Code
21212 \begin_layout Plain Layout
21218 Información de estilo CSS a incluir cuando se usa este estilo.
21219 Advertimos que esto será automáticamente envuelto en un bloque
21220 \begin_inset Flex Code
21223 \begin_layout Plain Layout
21229 generado por el formato, por tanto solo es necesario incluir el propio
21236 \begin_inset Flex Code
21239 \begin_layout Plain Layout
21248 \begin_layout Description
21249 \begin_inset Flex Code
21252 \begin_layout Plain Layout
21259 \begin_inset Flex Code
21262 \begin_layout Plain Layout
21268 ] Etiqueta para el rótulo principal, reemplazando
21269 \begin_inset Flex Code
21272 \begin_layout Plain Layout
21278 en losejemplos de arriba.
21280 \begin_inset Flex Code
21283 \begin_layout Plain Layout
21292 \begin_layout Description
21293 \begin_inset Flex Code
21296 \begin_layout Plain Layout
21303 \begin_inset Flex Code
21306 \begin_layout Plain Layout
21315 \begin_inset space \thinspace{}
21319 \begin_inset Flex Code
21322 \begin_layout Plain Layout
21328 ] Marca este estilo como el que se va a usar para generar la etiqueta
21329 \begin_inset Flex Code
21332 \begin_layout Plain Layout
21338 para el archivo XHTML.
21339 Por omisión, es falso.
21341 \begin_inset Flex Code
21344 \begin_layout Plain Layout
21350 lo establece verdadero para el entorno
21351 \begin_inset Flex Code
21354 \begin_layout Plain Layout
21364 \begin_layout Subsection
21368 \begin_layout Standard
21369 La salida XHTML de los recuadros también se puede controlar por información
21370 en archivos 'layout'.
21374 \begin_layout Plain Layout
21375 Por ahora, esto solo es cierto para recuadros de
21376 \begin_inset Quotes eld
21380 \begin_inset Quotes erd
21383 (recuadros en los que puedes escribir) y no para recuadros de
21384 \begin_inset Quotes eld
21388 \begin_inset Quotes erd
21391 (recuadros asociados con cuadros de diálogo).
21396 También en este caso, \SpecialChar LyX
21397 intenta proporcionar valores predefinidos adecuados,
21398 y construye reglas de estilo CSS, pero todo puede personalizarse.
21401 \begin_layout Standard
21402 Para los recuadros, \SpecialChar LyX
21403 produce XHTML en la forma:
21406 \begin_layout LyX-Code
21408 \begin_inset Quotes erd
21412 \begin_inset Quotes erd
21418 \begin_layout LyX-Code
21419 <labeltag>Label</labeltag>
21422 \begin_layout LyX-Code
21424 \begin_inset Quotes erd
21428 \begin_inset Quotes erd
21431 >Contents of the inset.</innertag>
21434 \begin_layout LyX-Code
21438 \begin_layout Standard
21439 Si el recuadro permite párrafos múltiples —o sea, si
21440 \begin_inset Flex Code
21443 \begin_layout Plain Layout
21449 es verdadero— el contenido del recuadro se generará en forma de párrafos
21450 estructurados según los estilos usados para dichos párrafos (normal, cita,
21452 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
21454 \begin_inset Flex Code
21457 \begin_layout Plain Layout
21464 La etiqueta interior es opcional y, por omisión, no aparece.
21467 \begin_layout Standard
21468 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
21469 mediante las siguientes etiquetas de formato.
21472 \begin_layout Description
21473 \begin_inset Flex Code
21476 \begin_layout Plain Layout
21483 \begin_inset Flex Code
21486 \begin_layout Plain Layout
21492 ] Especifica información de atributos a generar con la etiqueta principal.
21494 \begin_inset Quotes eld
21498 \begin_inset Flex Code
21501 \begin_layout Plain Layout
21502 class=`myinset' onclick=`\SpecialChar ldots
21509 \begin_inset Quotes erd
21513 Por omisión, \SpecialChar LyX
21515 \begin_inset Quotes eld
21519 \begin_inset Flex Code
21522 \begin_layout Plain Layout
21529 \begin_inset Quotes erd
21533 \begin_inset Flex Code
21536 \begin_layout Plain Layout
21542 es el nombre del recuadro en \SpecialChar LyX
21543 , en minúsculas y con los caracteres no alfanuméri
21544 cos convertidos en guiones bajos, por ejemplo: footnote.
21547 \begin_layout Description
21548 \begin_inset Flex Code
21551 \begin_layout Plain Layout
21558 \begin_inset Flex Code
21561 \begin_layout Plain Layout
21570 \begin_inset space \thinspace{}
21574 \begin_inset Flex Code
21577 \begin_layout Plain Layout
21583 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
21584 genera para este formato,
21585 incluso si se da explícitamente información adicional con
21586 \begin_inset Flex Code
21589 \begin_layout Plain Layout
21597 \begin_inset Flex Code
21600 \begin_layout Plain Layout
21606 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
21610 \begin_layout Description
21611 \begin_inset Flex Code
21614 \begin_layout Plain Layout
21621 \begin_inset Flex Code
21624 \begin_layout Plain Layout
21630 ] Atributos para la etiqueta interna.
21632 \begin_inset Quotes eld
21636 \begin_inset Flex Code
21639 \begin_layout Plain Layout
21640 class=`insetname_inner'
21646 \begin_inset Quotes erd
21652 \begin_layout Description
21653 \begin_inset Flex Code
21656 \begin_layout Plain Layout
21663 \begin_inset Flex Code
21666 \begin_layout Plain Layout
21672 ] La etiqueta interna, reemplazando
21673 \begin_inset Flex Code
21676 \begin_layout Plain Layout
21682 en los ejemplos de arriba.
21683 Por omisión, ninguna.
21686 \begin_layout Description
21687 \begin_inset Flex Code
21690 \begin_layout Plain Layout
21697 \begin_inset Flex Code
21700 \begin_layout Plain Layout
21707 \begin_inset space \thinspace{}
21711 \begin_inset Flex Code
21714 \begin_layout Plain Layout
21722 ] Si este recuadro representa un bloque de texto independiente (como una
21723 nota al pie) o bien representa material que está incluido en el texto circundan
21724 te (como una rama).
21728 \begin_layout Description
21729 \begin_inset Flex Code
21732 \begin_layout Plain Layout
21739 \begin_inset Flex Code
21742 \begin_layout Plain Layout
21748 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
21750 Por ejemplo, para notas al pie, podría ser:
21751 \begin_inset Flex Code
21754 \begin_layout Plain Layout
21763 Esto es opcional y no hay valor predeterminado.
21766 \begin_layout Description
21767 \begin_inset Flex Code
21770 \begin_layout Plain Layout
21776 Información que saldrá en la sección
21777 \begin_inset Flex Code
21780 \begin_layout Plain Layout
21786 cuando se usa este estilo.
21787 Esto podría usarse, por ejemplo, para incluir un bloque
21788 \begin_inset Flex Code
21791 \begin_layout Plain Layout
21797 que defina un controlador
21798 \begin_inset Flex Code
21801 \begin_layout Plain Layout
21810 \begin_layout Description
21811 \begin_inset Flex Code
21814 \begin_layout Plain Layout
21820 Información de estilo CSS a incluir cuando se usa este estilo.
21821 Esto será automáticamente envuelto en un bloque
21822 \begin_inset Flex Code
21825 \begin_layout Plain Layout
21831 generado por el formato, por lo que solo hay que incluir el propio CSS.
21834 \begin_layout Description
21835 \begin_inset Flex Code
21838 \begin_layout Plain Layout
21845 \begin_inset Flex Code
21848 \begin_layout Plain Layout
21854 ] La etiqueta a usar para el rótulo principal, reemplazando
21855 \begin_inset Flex Code
21858 \begin_layout Plain Layout
21864 en los ejemplos de arriba.
21865 El valor por omisión depende de
21866 \begin_inset Flex Code
21869 \begin_layout Plain Layout
21876 \begin_inset Flex Code
21879 \begin_layout Plain Layout
21886 \begin_inset Flex Code
21889 \begin_layout Plain Layout
21895 ; si es falso, el valor por omisión es
21896 \begin_inset Flex Code
21899 \begin_layout Plain Layout
21908 \begin_layout Subsection
21912 \begin_layout Standard
21913 La salida XHTML para flotantes también se puede controlar mediante información
21914 en archivos 'layout'.
21915 La salida tiene la forma:
21918 \begin_layout LyX-Code
21920 \begin_inset Quotes erd
21924 \begin_inset Quotes erd
21930 \begin_layout LyX-Code
21931 Contents of the float.
21934 \begin_layout LyX-Code
21938 \begin_layout Standard
21939 La leyenda, si la hay, es un recuadro separado y se generará como tal.
21940 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
21944 \begin_layout Description
21945 \begin_inset Flex Code
21948 \begin_layout Plain Layout
21955 \begin_inset Flex Code
21958 \begin_layout Plain Layout
21964 ] Especifica información de los atributos a generar con la etiqueta principal,
21966 \begin_inset Quotes eld
21970 \begin_inset Flex Code
21973 \begin_layout Plain Layout
21974 class=`myfloat' onclick=`\SpecialChar ldots
21981 \begin_inset Quotes erd
21985 Por omisión, \SpecialChar LyX
21987 \begin_inset Quotes eld
21991 \begin_inset Flex Code
21994 \begin_layout Plain Layout
21995 class=`float float-floattype'
22001 \begin_inset Quotes erd
22005 \begin_inset Flex Code
22008 \begin_layout Plain Layout
22014 es el nombre en \SpecialChar LyX
22015 para este tipo de flotante, como determina la declaración
22017 \begin_inset CommandInset ref
22019 reference "subsec:Flotantes"
22023 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
22024 por guiones bajos, por ejemplo: float-table.
22027 \begin_layout Description
22028 \begin_inset Flex Code
22031 \begin_layout Plain Layout
22037 Información de estilo CSS a incluir cuando se usa este flotante.
22038 Esto será automáticamente envuelto en un bloque
22039 \begin_inset Flex Code
22042 \begin_layout Plain Layout
22048 generado por el formato, por lo que solo hay que incluir el propio CSS.
22051 \begin_layout Description
22052 \begin_inset Flex Code
22055 \begin_layout Plain Layout
22062 \begin_inset Flex Code
22065 \begin_layout Plain Layout
22071 ] La etiqueta a usar para este flotante, reemplazando "
22072 \begin_inset Flex Code
22075 \begin_layout Plain Layout
22081 " en el ejemplo de arriba.
22082 El valor por omisión es
22083 \begin_inset Flex Code
22086 \begin_layout Plain Layout
22092 y raramente habrá que cambiarlo.
22095 \begin_layout Subsection
22096 Formato de la Bibliografía
22099 \begin_layout Standard
22100 La bibliografía se puede formatear usando bloques
22101 \begin_inset Flex Code
22104 \begin_layout Plain Layout
22112 \begin_inset CommandInset ref
22114 reference "subsec:Descripción-formato-cita"
22121 \begin_layout Subsection
22122 CSS generado por \SpecialChar LyX
22126 \begin_layout Standard
22127 Hemos mencionado ya que \SpecialChar LyX
22128 generará reglas de estilo CSS predeterminadas para
22129 recuadros y estilos de párrafo, basados en la información suministrada
22130 para otros formatos.
22131 En esta sección comentaremos qué información usa \SpecialChar LyX
22135 \begin_layout Standard
22136 Actualmente, \SpecialChar LyX
22137 auto-genera CSS solo para información sobre tipografías, haciendo
22139 \begin_inset Flex Code
22142 \begin_layout Plain Layout
22149 \begin_inset Flex Code
22152 \begin_layout Plain Layout
22159 \begin_inset Flex Code
22162 \begin_layout Plain Layout
22169 \begin_inset Flex Code
22172 \begin_layout Plain Layout
22178 especificados en la declaración
22179 \begin_inset Flex Code
22182 \begin_layout Plain Layout
22190 \begin_inset CommandInset ref
22192 reference "subsec:Tipografías"
22196 .) La traducción es bastante sencilla y evidente.
22198 \begin_inset Quotes eld
22202 \begin_inset Flex Code
22205 \begin_layout Plain Layout
22212 \begin_inset Quotes erd
22216 \begin_inset Quotes eld
22220 \begin_inset Flex Code
22223 \begin_layout Plain Layout
22224 font-family: sans-serif;
22230 \begin_inset Quotes erd
22234 La correspondencia entre tamaños \SpecialChar LyX
22235 y tamaños CSS es un poco menos obvia,
22236 pero intuitiva en todo caso.
22238 \begin_inset Flex Code
22241 \begin_layout Plain Layout
22248 \begin_inset Flex URL
22251 \begin_layout Plain Layout
22262 \begin_layout Chapter
22263 Inserción de material externo
22264 \begin_inset CommandInset label
22266 name "chap:Inserción-de-material"
22273 \begin_layout Standard
22274 \begin_inset Box Shadowbox
22284 height_special "totalheight"
22289 backgroundcolor "none"
22292 \begin_layout Plain Layout
22293 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
22295 Esperamos que aún sea adecuada, pero no hay garantías.
22303 \begin_layout Standard
22304 El uso de material de procedencia externa a \SpecialChar LyX
22305 se trata con detalle en el
22311 En el presente documento se trata sobre lo que debe suceder entre bambalinas
22312 para incluir nuevas clases de material.
22315 \begin_layout Section
22319 \begin_layout Standard
22320 La característica material externo se basa en el concepto
22325 Una plantilla es una especificación de la forma en que \SpecialChar LyX
22327 ciertos tipos de material.
22328 De por sí, \SpecialChar LyX
22329 incluye plantillas predefinidas para figuras Xfig, varios tipos
22330 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
22331 Puedes comprobar la lista actual en el menú
22332 \begin_inset Flex MenuItem
22335 \begin_layout Plain Layout
22336 Insertar\SpecialChar menuseparator
22337 Archivo\SpecialChar menuseparator
22344 Además, es posible construir plantillas propias para soportar determinado
22346 Más tarde describiremos con más detalle lo que esto implica, y esperamos
22347 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
22348 de \SpecialChar LyX
22352 \begin_layout Standard
22353 Otra idea básica de la característica material externo es distinguir entre
22354 el archivo original que sirve como base para el material final y el archivo
22355 generado que se incluye en el documento impreso o exportado.
22356 Por ejemplo, consideremos el caso de una figura hecha con
22357 \begin_inset Flex Code
22360 \begin_layout Plain Layout
22367 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
22369 \begin_inset Flex Code
22372 \begin_layout Plain Layout
22379 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
22381 \begin_inset Flex Code
22384 \begin_layout Plain Layout
22391 Para incluir la figura en un documento, se ejecuta
22392 \begin_inset Flex Code
22395 \begin_layout Plain Layout
22401 con el fin de crear un archivo PostScript que puede incluirse fácilmente
22402 en el archivo \SpecialChar LaTeX
22404 En este caso, el archivo
22405 \begin_inset Flex Code
22408 \begin_layout Plain Layout
22414 es el original, y el archivo PostScript es el archivo generado.
22417 \begin_layout Standard
22418 Esta distinción es importante para permitir la actualización del material
22419 durante el proceso de escritura del documento.
22420 Además, provee la flexibilidad necesaria para soportar múltiples formatos
22422 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
22423 idea incluir la figura como PostScript puro.
22424 En vez de esto, es preferible incluir solo una referencia a la figura o
22425 bien probar algún convertidor de gráficos a Ascii para que el resultado
22426 final se parezca al gráfico real.
22427 La gestión de material externo de \SpecialChar LyX
22428 permite hacer esto porque se basa en
22429 parámetros apropiados para los diferentes formatos de exportación soportados.
22432 \begin_layout Standard
22433 Además de soportar la generación de diferentes productos de acuerdo con
22434 el formato de exportación, existe una profunda integración con las aplicaciones
22435 de edición y visualización.
22436 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
22437 con un simple clic derecho sobre el recuadro y también previsualizar el
22438 PostScript generado con ghostview.
22439 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
22440 para localizar y manipular los archivos originales o los generados.
22441 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
22442 aplicaciones importantes para la composición de los documentos, y por tanto
22443 aumentar el rendimiento.
22446 \begin_layout Section
22447 El archivo de configuración de plantillas externas
22450 \begin_layout Standard
22451 Es relativamente fácil añadir en \SpecialChar LyX
22452 definiciones personalizadas de plantillas
22454 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
22455 generará muy probablemente un agujero de seguridad fácil de explotar.
22456 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
22458 \begin_inset CommandInset ref
22460 reference "sec:Discusión-sobre-seguridad"
22467 \begin_layout Standard
22468 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
22472 \begin_layout Standard
22473 Las plantillas externas se definen en el archivo
22474 \begin_inset Flex Code
22477 \begin_layout Plain Layout
22479 Dir/lib/external_templates
22485 Puedes colocar tus versiones propias en
22486 \begin_inset Flex Code
22489 \begin_layout Plain Layout
22490 UserDir/external_templates
22498 \begin_layout Standard
22499 Una plantilla típica tiene un aspecto como este:
22502 \begin_layout LyX-Code
22506 \begin_layout LyX-Code
22507 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22510 \begin_layout LyX-Code
22514 \begin_layout LyX-Code
22518 \begin_layout LyX-Code
22522 \begin_layout LyX-Code
22526 \begin_layout LyX-Code
22530 \begin_layout LyX-Code
22531 AutomaticProduction true
22534 \begin_layout LyX-Code
22538 \begin_layout LyX-Code
22542 \begin_layout LyX-Code
22543 Format \SpecialChar LaTeX
22547 \begin_layout LyX-Code
22548 TransformCommand Rotate RotationLatexCommand
22551 \begin_layout LyX-Code
22552 TransformCommand Resize ResizeLatexCommand
22555 \begin_layout LyX-Code
22556 Product "$$RotateFront$$ResizeFront
22559 \begin_layout LyX-Code
22564 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22567 \begin_layout LyX-Code
22568 $$ResizeBack$$RotateBack"
22571 \begin_layout LyX-Code
22575 \begin_layout LyX-Code
22576 UpdateResult "$$AbsPath$$Basename.pstex_t"
22579 \begin_layout LyX-Code
22580 Requirement "graphicx"
22583 \begin_layout LyX-Code
22584 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22587 \begin_layout LyX-Code
22588 ReferencedFile latex "$$AbsPath$$Basename.eps"
22591 \begin_layout LyX-Code
22592 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22595 \begin_layout LyX-Code
22599 \begin_layout LyX-Code
22600 Format PDF\SpecialChar LaTeX
22604 \begin_layout LyX-Code
22605 TransformCommand Rotate RotationLatexCommand
22608 \begin_layout LyX-Code
22609 TransformCommand Resize ResizeLatexCommand
22612 \begin_layout LyX-Code
22613 Product "$$RotateFront$$ResizeFront
22616 \begin_layout LyX-Code
22621 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22624 \begin_layout LyX-Code
22625 $$ResizeBack$$RotateBack"
22628 \begin_layout LyX-Code
22629 UpdateFormat pdftex
22632 \begin_layout LyX-Code
22633 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22636 \begin_layout LyX-Code
22637 Requirement "graphicx"
22640 \begin_layout LyX-Code
22641 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22644 \begin_layout LyX-Code
22645 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22648 \begin_layout LyX-Code
22652 \begin_layout LyX-Code
22656 \begin_layout LyX-Code
22657 Product "$$Contents(
22659 "$$AbsPath$$Basename.asc
22664 \begin_layout LyX-Code
22665 UpdateFormat asciixfig
22668 \begin_layout LyX-Code
22669 UpdateResult "$$AbsPath$$Basename.asc"
22672 \begin_layout LyX-Code
22676 \begin_layout LyX-Code
22680 \begin_layout LyX-Code
22681 Product "<graphic fileref=
22683 "$$AbsOrRelPathMaster$$Basename.eps
22688 \begin_layout LyX-Code
22692 \begin_layout LyX-Code
22696 \begin_layout LyX-Code
22697 UpdateResult "$$AbsPath$$Basename.eps"
22700 \begin_layout LyX-Code
22701 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22704 \begin_layout LyX-Code
22705 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22708 \begin_layout LyX-Code
22712 \begin_layout LyX-Code
22713 Product "[XFig: $$FName]"
22716 \begin_layout LyX-Code
22720 \begin_layout LyX-Code
22724 \begin_layout Standard
22725 Como puedes ver, la plantilla se incluye entre
22726 \begin_inset Flex Code
22729 \begin_layout Plain Layout
22737 \begin_inset Flex Code
22740 \begin_layout Plain Layout
22747 Contiene una cabecera que especifica algunas configuraciones generales
22748 y, por cada formato de archivo de documento primario soportado, una sección
22750 \begin_inset Flex Code
22753 \begin_layout Plain Layout
22761 \begin_inset Flex Code
22764 \begin_layout Plain Layout
22773 \begin_layout Subsection
22774 La cabecera de la plantilla
22777 \begin_layout Description
22778 \begin_inset Flex Code
22781 \begin_layout Plain Layout
22782 AutomaticProduction
22783 \begin_inset space ~
22791 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
22793 Este comando debe aparecer exactamente una vez.
22796 \begin_layout Description
22797 \begin_inset Flex Code
22800 \begin_layout Plain Layout
22802 \begin_inset space ~
22810 Un patrón global que se usa en el diálogo del archivo para filtrar los
22812 Si hay más de una posible extensión de archivo (p.
22813 \begin_inset space \thinspace{}
22817 \begin_inset space ~
22821 \begin_inset Flex Code
22824 \begin_layout Plain Layout
22831 \begin_inset Flex Code
22834 \begin_layout Plain Layout
22840 ), se pone algo como
22841 \begin_inset Flex Code
22844 \begin_layout Plain Layout
22851 Este comando debe aparecer exactamente una vez.
22854 \begin_layout Description
22855 \begin_inset Flex Code
22858 \begin_layout Plain Layout
22860 \begin_inset space ~
22868 El texto mostrado sobre el botón.
22869 Este comando debe aparecer exactamente una vez.
22872 \begin_layout Description
22873 \begin_inset Flex Code
22876 \begin_layout Plain Layout
22878 \begin_inset space ~
22882 \begin_inset space ~
22890 El texto de ayuda que se muestra en diálogo.
22891 Da suficiente información sobre lo que puede proporcionar la plantilla.
22892 Este comando debe aparecer exactamente una vez.
22895 \begin_layout Description
22896 \begin_inset Flex Code
22899 \begin_layout Plain Layout
22901 \begin_inset space ~
22909 El formato de archivo del original.
22910 Debe ser el nombre de un formato conocido por \SpecialChar LyX
22912 \begin_inset CommandInset ref
22914 reference "sec:Formatos"
22920 \begin_inset Quotes fld
22924 \begin_inset Flex Code
22927 \begin_layout Plain Layout
22934 \begin_inset Quotes frd
22937 si la plantilla puede manejar archivos originales o más de un formato.
22938 En este caso, \SpecialChar LyX
22939 intentará inspeccionar el archivo mismo para deducir su
22941 Este comando debe aparecer exactamente una vez.
22944 \begin_layout Description
22945 \begin_inset Flex Code
22948 \begin_layout Plain Layout
22950 \begin_inset space ~
22958 Un nombre único para la plantilla.
22959 No debe contener macros de sustitución (véase abajo).
22962 \begin_layout Description
22963 \begin_inset Flex Code
22966 \begin_layout Plain Layout
22968 \begin_inset space ~
22971 Rotate|Resize|Clip|Extra
22976 Este comando especifica qué transformaciones son soportadas por esta plantilla.
22977 Puede aparecer ninguna o varias veces.
22978 Este comando facilita las correspondientes pestañas en el diálogo de material
22981 \begin_inset Flex Code
22984 \begin_layout Plain Layout
22990 debe tener el correspondiente
22991 \begin_inset Flex Code
22994 \begin_layout Plain Layout
23001 \begin_inset Flex Code
23004 \begin_layout Plain Layout
23011 \begin_inset Flex Code
23014 \begin_layout Plain Layout
23021 De lo contrario la transformación no será soportada por ese formato.
23025 \begin_layout Subsection
23029 \begin_layout Description
23030 \begin_inset Flex Code
23033 \begin_layout Plain Layout
23035 \begin_inset space ~
23039 |PDF\SpecialChar LaTeX
23045 El formato de archivo del documento primario para el que es esta definición
23047 No toda plantilla tiene una representación sensible en los formatos de
23048 archivo de todos los documentos.
23049 No obstante, es preferible definir una sección
23050 \begin_inset Flex Code
23053 \begin_layout Plain Layout
23059 para todos los formatos.
23060 Se usa un texto postizo si no hay representación disponible.
23061 Entonces, al menos, se puede ver una referencia al material externo en
23062 el documento exportado.
23065 \begin_layout Description
23066 \begin_inset Flex Code
23069 \begin_layout Plain Layout
23071 \begin_inset space ~
23075 \begin_inset space ~
23083 Este comando define una macro adicional,
23084 \begin_inset Flex Code
23087 \begin_layout Plain Layout
23093 , para sustitución en
23094 \begin_inset Flex Code
23097 \begin_layout Plain Layout
23105 \begin_inset Flex Code
23108 \begin_layout Plain Layout
23114 puede contener en sí mismo macros de sustitución.
23115 La ventaja sobre el uso de
23116 \begin_inset Flex Code
23119 \begin_layout Plain Layout
23126 \begin_inset Flex Code
23129 \begin_layout Plain Layout
23135 es que el valor sustituido de
23136 \begin_inset Flex Code
23139 \begin_layout Plain Layout
23145 está saneado así que es un argumento opcional válido en el formato del
23147 Este comando puede aparecer ninguna o más veces.
23150 \begin_layout Description
23151 \begin_inset Flex Code
23154 \begin_layout Plain Layout
23156 \begin_inset space ~
23164 El texto que se inserta en el documento exportado.
23165 Realmente este es el comando más importante y puede ser bastante complejo.
23166 Este comando debe aparecer exactamente una vez.
23169 \begin_layout Description
23170 \begin_inset Flex Code
23173 \begin_layout Plain Layout
23175 \begin_inset space ~
23183 Este comando especifica un fragmento de preámbulo que se incluirá en el
23184 preámbulo \SpecialChar LaTeX
23186 Tiene que definirse usando
23187 \begin_inset Flex Code
23190 \begin_layout Plain Layout
23198 \begin_inset Flex Code
23201 \begin_layout Plain Layout
23208 Este comando puede aparecer ninguna o más veces.
23211 \begin_layout Description
23212 \begin_inset Flex Code
23215 \begin_layout Plain Layout
23217 \begin_inset space ~
23221 \begin_inset space ~
23229 Este comando indica los archivos que se crean por el proceso de conversión
23230 y que son necesarios para un formato de exportación particular.
23231 Si el nombre del archivo es relativo, se interpreta como relativo al documento
23233 Este comando puede darse ninguna o más veces.
23236 \begin_layout Description
23237 \begin_inset Flex Code
23240 \begin_layout Plain Layout
23242 \begin_inset space ~
23250 El nombre de un paquete \SpecialChar LaTeX
23252 El paquete se incuye mediante
23253 \begin_inset Flex Code
23256 \begin_layout Plain Layout
23264 en el preámbulo \SpecialChar LaTeX
23266 Este comando puede aparecer ninguna o más veces.
23269 \begin_layout Description
23270 \begin_inset Flex Code
23273 \begin_layout Plain Layout
23275 \begin_inset space ~
23279 \begin_inset space ~
23282 RotationLatexCommand
23287 Este comando especifica que el comando \SpecialChar LaTeX
23288 incluido debería usarse para la
23290 Este comando puede aparecer una vez o ninguna.
23293 \begin_layout Description
23294 \begin_inset Flex Code
23297 \begin_layout Plain Layout
23299 \begin_inset space ~
23303 \begin_inset space ~
23311 Este comando especifica que el comando \SpecialChar LaTeX
23312 incluido debería usarse para cambiar
23314 Este comando puede aparecer una vez o ninguna.
23317 \begin_layout Description
23318 \begin_inset Flex Code
23321 \begin_layout Plain Layout
23323 \begin_inset space ~
23327 \begin_inset space ~
23330 RotationLatexOption
23335 Este comando especifica que la rotación se hace mediante un argumento opcional.
23336 Este comando puede aparecer una vez o ninguna.
23339 \begin_layout Description
23340 \begin_inset Flex Code
23343 \begin_layout Plain Layout
23345 \begin_inset space ~
23349 \begin_inset space ~
23357 Este comando especifica que el cambio de tamaño se hace mediante un argumento
23359 Este comando puede aparecer una vez o ninguna
23362 \begin_layout Description
23363 \begin_inset Flex Code
23366 \begin_layout Plain Layout
23368 \begin_inset space ~
23372 \begin_inset space ~
23380 Este comando especifica que el recorte se hace mediante un argumento opcional.
23381 Este comando puede aparecer una vez o ninguna.
23384 \begin_layout Description
23385 \begin_inset Flex Code
23388 \begin_layout Plain Layout
23390 \begin_inset space ~
23394 \begin_inset space ~
23402 Este comando especifica que se usa un argumento extra opcional.
23403 Este comando puede aparecer una vez o ninguna.
23407 \begin_layout Description
23408 \begin_inset Flex Code
23411 \begin_layout Plain Layout
23413 \begin_inset space ~
23421 El formato de archivo del archivo convertido.
23422 Debe ser el nombre de un formato conocido por \SpecialChar LyX
23424 \begin_inset Flex MenuItem
23427 \begin_layout Plain Layout
23434 \begin_inset Flex MenuItem
23437 \begin_layout Plain Layout
23438 Gestión de archivos
23444 \begin_inset Flex MenuItem
23447 \begin_layout Plain Layout
23448 Herramientas\SpecialChar menuseparator
23455 Este comando debe aparecer exactamente una vez.
23458 If the resulting file format is PDF, you need to specify the format
23459 \begin_inset Flex Code
23462 \begin_layout Plain Layout
23471 This is the PDF format used for including graphics.
23472 The other defined PDF formats are for document export.
23475 \begin_layout Description
23476 \begin_inset Flex Code
23479 \begin_layout Plain Layout
23481 \begin_inset space ~
23489 El nombre de archivo del archivo convertido.
23490 El nombre de archivo debe ser absoluto.
23491 Este comando debe aparecer exactamente una vez.
23494 \begin_layout Subsection
23495 Definiciones de preámbulo
23498 \begin_layout Standard
23499 El archivo de configuración de plantillas externas puede contener definiciones
23500 de preámbulo adicionales encerradas entre
23501 \begin_inset Flex Code
23504 \begin_layout Plain Layout
23512 \begin_inset Flex Code
23515 \begin_layout Plain Layout
23522 Se pueden usar por las plantillas en la sección
23523 \begin_inset Flex Code
23526 \begin_layout Plain Layout
23535 \begin_layout Section
23536 El mecanismo de sustitución
23539 \begin_layout Standard
23540 Cuando la función de material externo recurre a un programa externo, se
23541 hace sobre la base de un comando definido en el archivo de configuración
23543 Estos comandos pueden contener varias macros que se expanden antes de su
23545 La ejecución tiene lugar siempre en el directorio del documento.
23549 \begin_layout Standard
23550 Además, cada vez que el material externo se va a mostrar, el nombre será
23551 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
23552 en la definición de la plantilla soportan también sustitución.
23556 \begin_layout Standard
23557 Las macros disponibles son las siguientes:
23560 \begin_layout Description
23561 \begin_inset Flex Code
23564 \begin_layout Plain Layout
23565 $$AbsOrRelPathMaster
23570 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
23574 \begin_layout Description
23575 \begin_inset Flex Code
23578 \begin_layout Plain Layout
23579 $$AbsOrRelPathParent
23584 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
23588 \begin_layout Description
23589 \begin_inset Flex Code
23592 \begin_layout Plain Layout
23598 La ruta absoluta del archivo.
23601 \begin_layout Description
23602 \begin_inset Flex Code
23605 \begin_layout Plain Layout
23611 El nombre de archivo sin ruta y sin la extensión.
23614 \begin_layout Description
23615 \begin_inset Flex Code
23618 \begin_layout Plain Layout
23620 \begin_inset Quotes eld
23624 \begin_inset Quotes erd
23632 Esta macro expandirá los contenidos del archivo con el nombre
23633 \begin_inset Flex Code
23636 \begin_layout Plain Layout
23645 \begin_layout Description
23646 \begin_inset Flex Code
23649 \begin_layout Plain Layout
23655 La extensión de archivo (incluyendo el punto).
23658 \begin_layout Description
23659 \begin_inset Flex Code
23662 \begin_layout Plain Layout
23668 El nombre de archivo del archivo especificado en el diálogo de material
23670 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
23674 \begin_layout Description
23675 \begin_inset Flex Code
23678 \begin_layout Plain Layout
23684 La parte de la ruta de
23685 \begin_inset Flex Code
23688 \begin_layout Plain Layout
23694 (nombre absoluto o relativo al documento \SpecialChar LyX
23698 \begin_layout Description
23699 \begin_inset Flex Code
23702 \begin_layout Plain Layout
23708 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
23712 \begin_layout Description
23713 \begin_inset Flex Code
23716 \begin_layout Plain Layout
23722 La ruta del archivo, relativa al documento \SpecialChar LyX
23726 \begin_layout Description
23727 \begin_inset Flex Code
23730 \begin_layout Plain Layout
23736 Esta macro expandirá a la ruta absoluta del directorio de sistema.
23737 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
23738 se empaquetan con \SpecialChar LyX
23742 \begin_layout Description
23743 \begin_inset Flex Code
23746 \begin_layout Plain Layout
23752 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
23753 ente siempre que el documento se cierra, o se suprime la inserción de material
23757 \begin_layout Standard
23758 Todas las macros de ruta contienen un separador de rastreo del directorio,
23759 así se puede construir, p.
23760 \begin_inset space \thinspace{}
23763 e., el nombre de archivo absoluto con
23764 \begin_inset Flex Code
23767 \begin_layout Plain Layout
23768 $$AbsPath$$Basename$$Extension
23776 \begin_layout Standard
23777 Las macros anteriores son sustituidas en todos los comandos a menos que
23778 se indique lo contrario.
23780 \begin_inset Flex Code
23783 \begin_layout Plain Layout
23789 soporta adicionalmente las siguientes sustituciones si se habilitan por
23791 \begin_inset Flex Code
23794 \begin_layout Plain Layout
23801 \begin_inset Flex Code
23804 \begin_layout Plain Layout
23813 \begin_layout Description
23814 \begin_inset Flex Code
23817 \begin_layout Plain Layout
23823 La parte delantera del comando para cambiar el tamaño.
23826 \begin_layout Description
23827 \begin_inset Flex Code
23830 \begin_layout Plain Layout
23836 La parte trasera del comando para cambiar el tamaño.
23839 \begin_layout Description
23840 \begin_inset Flex Code
23843 \begin_layout Plain Layout
23849 La parte delantera del comando para la rotación.
23852 \begin_layout Description
23853 \begin_inset Flex Code
23856 \begin_layout Plain Layout
23862 La parte trasera del comando para la rotación.
23865 \begin_layout Standard
23866 La cadena de valor del comando
23867 \begin_inset Flex Code
23870 \begin_layout Plain Layout
23876 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
23878 \begin_inset Flex Code
23881 \begin_layout Plain Layout
23888 \begin_inset Flex Code
23891 \begin_layout Plain Layout
23900 \begin_layout Description
23901 \begin_inset Flex Code
23904 \begin_layout Plain Layout
23913 \begin_layout Description
23914 \begin_inset Flex Code
23917 \begin_layout Plain Layout
23926 \begin_layout Description
23927 \begin_inset Flex Code
23930 \begin_layout Plain Layout
23936 La opción cambio de tamaño.
23939 \begin_layout Description
23940 \begin_inset Flex Code
23943 \begin_layout Plain Layout
23949 La opción rotación.
23952 \begin_layout Standard
23953 Te puedes preguntar por qué hay tantas macros de ruta.
23954 Por dos razones, principalmente:
23957 \begin_layout Enumerate
23958 Los nombres de archivo relativo y absoluto deberían permanecer relativo
23959 o absoluto, respectivamente.
23960 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
23961 Los nombres relativos son útiles para documentos portables que deberían
23962 funcionar en máquinas diferentes, por ejemplo.
23963 Los nombres absolutos pueden ser requeridos por algunos programas.
23966 \begin_layout Enumerate
23968 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
23970 programas en archivos anidados incluidos.
23971 Para \SpecialChar LyX
23972 , un nombre de archivo relativo es siempre relativo al documento que
23973 contiene el nombre de archivo.
23974 Para \SpecialChar LaTeX
23975 , es siempre relativo al documento maestro.
23976 Estas dos definiciones son idénticas si se tiene solo un documento, pero
23977 son distintas si se tiene un documento maestro que incluye documentos parciales.
23978 Esto quiere decir que los nombres de archivo relativos deben ser transformados
23979 cuando se presentan a \SpecialChar LaTeX
23981 Afortunadamente, \SpecialChar LyX
23982 hace esto automáticamente si se eligen las macros correctas.
23985 \begin_layout Standard
23986 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
23987 plantillas nuevas? La regla no es difícil:
23990 \begin_layout Itemize
23992 \begin_inset Flex Code
23995 \begin_layout Plain Layout
24001 si se requiere una ruta absoluta.
24004 \begin_layout Itemize
24006 \begin_inset Flex Code
24009 \begin_layout Plain Layout
24010 $$AbsOrRelPathMaster
24015 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
24019 \begin_layout Itemize
24021 \begin_inset Flex Code
24024 \begin_layout Plain Layout
24025 $$AbsOrRelPathParent
24030 con el fin de preservar la elección del usuario.
24033 \begin_layout Standard
24034 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
24035 \begin_inset space \thinspace{}
24038 e., nombres relativos, pero normalmente funcionará bien.
24039 Un ejemplo de uno de estos casos es el comando
24040 \begin_inset Flex Code
24043 \begin_layout Plain Layout
24044 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
24049 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
24050 el copiador para archivos
24051 \begin_inset Flex Code
24054 \begin_layout Plain Layout
24060 necesita el nombre relativo para reescribir el contenido del archivo.
24063 \begin_layout Section
24064 Discusión sobre seguridad
24065 \begin_inset CommandInset label
24067 name "sec:Discusión-sobre-seguridad"
24074 \begin_layout Standard
24075 La función material externo interactúa con muchos programas externos y lo
24076 hace de forma automática, así que hemos de tener en cuenta las implicaciones
24077 de seguridad que esto conlleva.
24078 En particular, puesto que tienes la opción de incluir tus propios archivos
24079 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
24080 crear un documento malicioso que ejecute comandos arbitrarios cuando un
24081 usuario ve o imprime el documento.
24082 Esto es algo que definitivamente queremos evitar.
24086 \begin_layout Standard
24087 Sin embargo, dado que los comandos de material externo se especifican solo
24088 en el archivo de configuración de la plantilla, no hay problemas de seguridad
24089 si \SpecialChar LyX
24090 está adecuadamente configurado solo con plantillas seguras.
24091 Esto es así porque los programas externos se invocan con la llamada al
24093 \begin_inset Flex Code
24096 \begin_layout Plain Layout
24102 más bien que con la llamada
24103 \begin_inset Flex Code
24106 \begin_layout Plain Layout
24112 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
24113 del nombre de archivo o de parámetros mediante el shell.
24116 \begin_layout Standard
24117 Esto implica además que hay restricciones en las cadenas de comandos que
24118 puedes usar en las plantillas de material externo.
24119 En particular, las tuberías y la redirección no están fácilmente disponibles.
24120 Esto debe ser así para que \SpecialChar LyX
24122 Si quieres usar algunas características de shell, deberías escribir un
24123 guión seguro para hacerlo de manera controlada, y después invocar el guión
24124 desde la cadena de comandos.
24127 \begin_layout Standard
24128 Es posible diseñar una plantilla que interactúe directamente con el shell,
24129 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
24130 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
24131 recomendamos usar solo guiones seguros que trabajen con la llamada
24132 \begin_inset Flex Code
24135 \begin_layout Plain Layout
24141 al sistema en forma controlada.
24142 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
24143 en el uso de guiones de shell ordinarios.
24144 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
24145 fácilmente explotable en tu sistema.
24146 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
24147 en la distribución estándar de \SpecialChar LyX
24148 , aunque alentamos a la gente a que, a la
24149 usanza del software libre, envíe nuevas plantillas.
24150 No obstante, \SpecialChar LyX
24151 nunca tendrá plantillas inseguras tal y como se distribuye
24152 por los canales oficiales.
24155 \begin_layout Standard
24156 Incluir material externo suministra mucha potencia y has de ser cuidadoso
24157 en no introducir riesgos de seguridad a costa de esta potencia.
24158 Un sutil error en una simple línea en un guión aparentemente inocente puede
24159 abrir la puerta a graves problemas de seguridad.
24160 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
24161 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
24163 tienes dudas acerca de si una plantilla dada es o no segura.
24164 Y hazlo antes de usarla en un entorno no controlado.
24167 \begin_layout Chapter
24171 List of functions to be used in layouts
24174 \begin_inset CommandInset label
24176 name "chap:List-of-functions"
24183 \begin_layout Standard
24185 \begin_inset Tabular
24186 <lyxtabular version="3" rows="11" columns="8">
24187 <features tabularvalignment="middle">
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">
24195 <column alignment="left" valignment="top">
24197 <cell alignment="left" valignment="top" usebox="none">
24200 \begin_layout Plain Layout
24206 <cell alignment="left" valignment="top" usebox="none">
24209 \begin_layout Plain Layout
24215 <cell alignment="left" valignment="top" usebox="none">
24218 \begin_layout Plain Layout
24224 <cell alignment="left" valignment="top" usebox="none">
24227 \begin_layout Plain Layout
24233 <cell alignment="center" valignment="top" usebox="none">
24236 \begin_layout Plain Layout
24242 <cell alignment="center" valignment="top" usebox="none">
24245 \begin_layout Plain Layout
24251 <cell alignment="center" valignment="top" usebox="none">
24254 \begin_layout Plain Layout
24260 <cell alignment="center" valignment="top" usebox="none">
24263 \begin_layout Plain Layout
24271 <cell alignment="left" valignment="top" usebox="none">
24274 \begin_layout Plain Layout
24280 <cell alignment="left" valignment="top" usebox="none">
24283 \begin_layout Plain Layout
24289 <cell alignment="left" valignment="top" usebox="none">
24292 \begin_layout Plain Layout
24298 <cell alignment="left" valignment="top" usebox="none">
24301 \begin_layout Plain Layout
24307 <cell alignment="center" valignment="top" usebox="none">
24310 \begin_layout Plain Layout
24316 <cell alignment="center" valignment="top" usebox="none">
24319 \begin_layout Plain Layout
24325 <cell alignment="center" valignment="top" usebox="none">
24328 \begin_layout Plain Layout
24334 <cell alignment="center" valignment="top" usebox="none">
24337 \begin_layout Plain Layout
24345 <cell alignment="left" valignment="top" usebox="none">
24348 \begin_layout Plain Layout
24354 <cell alignment="left" valignment="top" usebox="none">
24357 \begin_layout Plain Layout
24363 <cell alignment="left" valignment="top" usebox="none">
24366 \begin_layout Plain Layout
24372 <cell alignment="left" valignment="top" usebox="none">
24375 \begin_layout Plain Layout
24381 <cell alignment="center" valignment="top" usebox="none">
24384 \begin_layout Plain Layout
24390 <cell alignment="center" valignment="top" usebox="none">
24393 \begin_layout Plain Layout
24399 <cell alignment="center" valignment="top" usebox="none">
24402 \begin_layout Plain Layout
24408 <cell alignment="center" valignment="top" usebox="none">
24411 \begin_layout Plain Layout
24419 <cell alignment="left" valignment="top" usebox="none">
24422 \begin_layout Plain Layout
24428 <cell alignment="left" valignment="top" usebox="none">
24431 \begin_layout Plain Layout
24437 <cell alignment="left" valignment="top" usebox="none">
24440 \begin_layout Plain Layout
24446 <cell alignment="left" valignment="top" usebox="none">
24449 \begin_layout Plain Layout
24455 <cell alignment="center" valignment="top" usebox="none">
24458 \begin_layout Plain Layout
24464 <cell alignment="center" valignment="top" usebox="none">
24467 \begin_layout Plain Layout
24473 <cell alignment="center" valignment="top" usebox="none">
24476 \begin_layout Plain Layout
24482 <cell alignment="center" valignment="top" usebox="none">
24485 \begin_layout Plain Layout
24493 <cell alignment="left" valignment="top" usebox="none">
24496 \begin_layout Plain Layout
24502 <cell alignment="left" valignment="top" usebox="none">
24505 \begin_layout Plain Layout
24511 <cell alignment="left" valignment="top" usebox="none">
24514 \begin_layout Plain Layout
24520 <cell alignment="left" valignment="top" usebox="none">
24523 \begin_layout Plain Layout
24529 <cell alignment="center" valignment="top" usebox="none">
24532 \begin_layout Plain Layout
24538 <cell alignment="center" valignment="top" usebox="none">
24541 \begin_layout Plain Layout
24547 <cell alignment="center" valignment="top" usebox="none">
24550 \begin_layout Plain Layout
24556 <cell alignment="center" valignment="top" usebox="none">
24559 \begin_layout Plain Layout
24567 <cell alignment="left" valignment="top" usebox="none">
24570 \begin_layout Plain Layout
24576 <cell alignment="left" valignment="top" usebox="none">
24579 \begin_layout Plain Layout
24585 <cell alignment="left" valignment="top" usebox="none">
24588 \begin_layout Plain Layout
24594 <cell alignment="left" valignment="top" usebox="none">
24597 \begin_layout Plain Layout
24603 <cell alignment="center" valignment="top" usebox="none">
24606 \begin_layout Plain Layout
24612 <cell alignment="center" valignment="top" usebox="none">
24615 \begin_layout Plain Layout
24621 <cell alignment="center" valignment="top" usebox="none">
24624 \begin_layout Plain Layout
24630 <cell alignment="center" valignment="top" usebox="none">
24633 \begin_layout Plain Layout
24641 <cell alignment="left" valignment="top" usebox="none">
24644 \begin_layout Plain Layout
24650 <cell alignment="left" valignment="top" usebox="none">
24653 \begin_layout Plain Layout
24659 <cell alignment="left" valignment="top" usebox="none">
24662 \begin_layout Plain Layout
24668 <cell alignment="left" valignment="top" usebox="none">
24671 \begin_layout Plain Layout
24677 <cell alignment="center" valignment="top" usebox="none">
24680 \begin_layout Plain Layout
24686 <cell alignment="center" valignment="top" usebox="none">
24689 \begin_layout Plain Layout
24695 <cell alignment="center" valignment="top" usebox="none">
24698 \begin_layout Plain Layout
24704 <cell alignment="center" valignment="top" usebox="none">
24707 \begin_layout Plain Layout
24715 <cell alignment="left" valignment="top" usebox="none">
24718 \begin_layout Plain Layout
24724 <cell alignment="left" valignment="top" usebox="none">
24727 \begin_layout Plain Layout
24733 <cell alignment="left" valignment="top" usebox="none">
24736 \begin_layout Plain Layout
24742 <cell alignment="left" valignment="top" usebox="none">
24745 \begin_layout Plain Layout
24751 <cell alignment="center" valignment="top" usebox="none">
24754 \begin_layout Plain Layout
24760 <cell alignment="center" valignment="top" usebox="none">
24763 \begin_layout Plain Layout
24769 <cell alignment="center" valignment="top" usebox="none">
24772 \begin_layout Plain Layout
24778 <cell alignment="center" valignment="top" usebox="none">
24781 \begin_layout Plain Layout
24789 <cell alignment="left" valignment="top" usebox="none">
24792 \begin_layout Plain Layout
24798 <cell alignment="left" valignment="top" usebox="none">
24801 \begin_layout Plain Layout
24807 <cell alignment="left" valignment="top" usebox="none">
24810 \begin_layout Plain Layout
24816 <cell alignment="left" valignment="top" usebox="none">
24819 \begin_layout Plain Layout
24825 <cell alignment="center" valignment="top" usebox="none">
24828 \begin_layout Plain Layout
24834 <cell alignment="center" valignment="top" usebox="none">
24837 \begin_layout Plain Layout
24843 <cell alignment="center" valignment="top" usebox="none">
24846 \begin_layout Plain Layout
24852 <cell alignment="center" valignment="top" usebox="none">
24855 \begin_layout Plain Layout
24863 <cell alignment="left" valignment="top" usebox="none">
24866 \begin_layout Plain Layout
24872 <cell alignment="left" valignment="top" usebox="none">
24875 \begin_layout Plain Layout
24881 <cell alignment="left" valignment="top" usebox="none">
24884 \begin_layout Plain Layout
24890 <cell alignment="left" valignment="top" usebox="none">
24893 \begin_layout Plain Layout
24899 <cell alignment="center" valignment="top" usebox="none">
24902 \begin_layout Plain Layout
24908 <cell alignment="center" valignment="top" usebox="none">
24911 \begin_layout Plain Layout
24917 <cell alignment="center" valignment="top" usebox="none">
24920 \begin_layout Plain Layout
24926 <cell alignment="center" valignment="top" usebox="none">
24929 \begin_layout Plain Layout
24937 <cell alignment="center" valignment="top" usebox="none">
24940 \begin_layout Plain Layout
24946 <cell alignment="center" valignment="top" usebox="none">
24949 \begin_layout Plain Layout
24955 <cell alignment="center" valignment="top" usebox="none">
24958 \begin_layout Plain Layout
24964 <cell alignment="center" valignment="top" usebox="none">
24967 \begin_layout Plain Layout
24973 <cell alignment="center" valignment="top" usebox="none">
24976 \begin_layout Plain Layout
24982 <cell alignment="center" valignment="top" usebox="none">
24985 \begin_layout Plain Layout
24991 <cell alignment="center" valignment="top" usebox="none">
24994 \begin_layout Plain Layout
25000 <cell alignment="center" valignment="top" usebox="none">
25003 \begin_layout Plain Layout
25017 \begin_layout Chapter
25020 Names of available colors to be used in layouts
25023 \begin_inset CommandInset label
25025 name "chap:Names-of-colors"
25032 \begin_layout Standard
25035 The colors listed here are the standard colors and the those that you can
25036 adjust in the \SpecialChar LyX
25040 \begin_layout Description
25055 No particular color – clear or default
25058 \begin_layout Description
25064 \begin_layout Description
25070 \begin_layout Description
25076 \begin_layout Description
25082 \begin_layout Description
25088 \begin_layout Description
25094 \begin_layout Description
25100 \begin_layout Description
25106 \begin_layout Description
25109 added_space Added space marker color
25112 \begin_layout Description
25115 addedtext Added text color
25118 \begin_layout Description
25121 appendix Appendix marker color
25124 \begin_layout Description
25127 background Background color
25130 \begin_layout Description
25133 bottomarea Bottom area color
25136 \begin_layout Description
25139 branchlabel Label color for branches
25142 \begin_layout Description
25145 buttonbg Color used for bottom background
25148 \begin_layout Description
25151 buttonhoverbg Color used for button background under focus
25154 \begin_layout Description
25157 buttonframe Color for inset button frames
25160 \begin_layout Description
25163 changebar Changebar color
25166 \begin_layout Description
25169 changedtextauthor1 Changed text color author 1
25172 \begin_layout Description
25175 changedtextauthor2 Changed text color author 2
25178 \begin_layout Description
25181 changedtextauthor3 Changed text color author 3
25184 \begin_layout Description
25187 changedtextauthor4 Changed text color author 4
25190 \begin_layout Description
25193 changedtextauthor5 Changed text color author 5
25196 \begin_layout Description
25199 collapsable_inset_frame Collapsable insets framecolor
25202 \begin_layout Description
25205 collapsable_inset_text Collapsable insets text color
25208 \begin_layout Description
25211 command Text color for command insets
25214 \begin_layout Description
25217 commandbg Background color for command insets
25220 \begin_layout Description
25223 commandframe Frame color for command insets
25226 \begin_layout Description
25229 comment color for comments
25232 \begin_layout Description
25235 commentbg Background color of comments
25238 \begin_layout Description
25241 cursor Cursor color
25244 \begin_layout Description
25247 deletedtext Deleted text color
25250 \begin_layout Description
25253 deletedtextmodifier Deleted text modifying color
25256 \begin_layout Description
25259 depthbar Color for the depth bars in the margin
25262 \begin_layout Description
25265 eolmarker End of line marker color
25268 \begin_layout Description
25271 error Color of the \SpecialChar LaTeX
25275 \begin_layout Description
25278 footlabel Label color for footnotes
25281 \begin_layout Description
25284 graphicsbg Graphics inset background color
25287 \begin_layout Description
25290 greyedout Label color for greyedout insets
25293 \begin_layout Description
25296 greyedoutbg Background color of greyedout inset
25299 \begin_layout Description
25302 greyedouttext Color for greyedout inset text
25305 \begin_layout Description
25308 indexlabel Label color for index insets
25311 \begin_layout Description
25314 ignore The color is ignored
25317 \begin_layout Description
25320 inherit The color is inherited
25323 \begin_layout Description
25326 inlinecompletion Inline completion color
25329 \begin_layout Description
25332 insetbg Inset marker background color
25335 \begin_layout Description
25338 insetframe Inset marker frame color
25341 \begin_layout Description
25344 language Color for marking foreign language words
25347 \begin_layout Description
25350 latex Text color in \SpecialChar LaTeX
25354 \begin_layout Description
25357 listingsbg Background color of listings inset
25360 \begin_layout Description
25363 marginlabel Label color for margin notes
25366 \begin_layout Description
25369 math Math inset text color
25372 \begin_layout Description
25375 mathbg Math inset background color
25378 \begin_layout Description
25381 mathcorners Math inset frame color not under focus
25384 \begin_layout Description
25387 mathframe Math inset frame color under focus
25390 \begin_layout Description
25393 mathline Math line color
25396 \begin_layout Description
25399 mathmacrobg Macro math inset background color
25402 \begin_layout Description
25405 mathmacroblend Macro math blended color
25408 \begin_layout Description
25411 mathmacroframe Macro math frame color
25414 \begin_layout Description
25417 mathmacrohoverbg Macro math inset background color hovered
25420 \begin_layout Description
25423 mathmacrolabel Macro math label color
25426 \begin_layout Description
25429 mathmacronewarg Macro template color for new parameters
25432 \begin_layout Description
25435 mathmacrooldarg Macro template color for old parameters
25438 \begin_layout Description
25441 newpage New page color
25444 \begin_layout Description
25447 nonunique_inlinecompletion Inline completion color for the non-unique part
25450 \begin_layout Description
25453 notebg Background color of notes
25456 \begin_layout Description
25459 notelabel Label color for notes
25462 \begin_layout Description
25465 pagebreak Page break/line break color
25468 \begin_layout Description
25471 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
25474 \begin_layout Description
25477 phantomtext Text color for phantom insets
25480 \begin_layout Description
25483 preview The color used for previews
25486 \begin_layout Description
25489 previewframe Preview frame color
25492 \begin_layout Description
25495 regexpframe Color for regexp frame
25498 \begin_layout Description
25501 selection Background color of selected text
25504 \begin_layout Description
25507 selectiontext Foreground color of selected text
25510 \begin_layout Description
25513 shadedbg Background color of shaded box
25516 \begin_layout Description
25519 special Special chars text color
25522 \begin_layout Description
25525 tabularline Table line color
25528 \begin_layout Description
25531 tabularonoffline Table line color
25534 \begin_layout Description
25537 urllabel Label color for URL insets
25540 \begin_layout Description
25543 urltext Color for URL inset text