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 % the pages of the TOC is numbered roman
18 % and a pdf-bookmark for the TOC is added
19 \let\myTOC\tableofcontents
20 \renewcommand\tableofcontents{%
22 \pdfbookmark[1]{\contentsname}{}
26 \@ifpackageloaded{babel}{
27 % increase link area for cross-references and autoname them,
28 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
29 \addto\extrasspanish{%
30 \renewcommand*{\equationautorefname}[1]{}%
31 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
32 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
33 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
37 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
38 \use_default_options false
42 \maintain_unincluded_children false
44 \language_package default
47 \font_roman "lmodern" "default"
48 \font_sans "lmss" "default"
49 \font_typewriter "lmtt" "default"
50 \font_math "auto" "auto"
51 \font_default_family default
52 \use_non_tex_fonts false
55 \font_sf_scale 100 100
56 \font_tt_scale 100 100
58 \default_output_format default
60 \bibtex_command default
61 \index_command default
65 \pdf_title "Manual Personalización de LyX"
66 \pdf_author "Equipo LyX"
67 \pdf_subject "LyX-documentation Customization"
68 \pdf_keywords "LyX, documentation, customization"
70 \pdf_bookmarksnumbered true
71 \pdf_bookmarksopen true
72 \pdf_bookmarksopenlevel 1
77 \pdf_pdfusetitle false
78 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
81 \use_package amsmath 0
82 \use_package amssymb 0
85 \use_package mathdots 1
86 \use_package mathtools 0
88 \use_package stackrel 0
89 \use_package stmaryrd 0
90 \use_package undertilde 0
92 \cite_engine_type default
96 \paperorientation portrait
111 \paragraph_separation indent
112 \paragraph_indentation default
113 \quotes_language french
116 \paperpagestyle headings
117 \tracking_changes false
118 \output_changes false
127 Personalizar \SpecialChar LyX
128 : Características para el usuario avanzado
132 por el equipo \SpecialChar LyX
137 \begin_layout Plain Layout
139 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
140 correo de Documentación de \SpecialChar LyX
142 \begin_inset CommandInset href
144 target "lyx-docs@lists.lyx.org"
151 \begin_inset Quotes fld
155 \begin_inset Quotes frd
158 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
159 , Richard Heck <rgheck@comcast.net>.
165 \begin_inset Newline newline
169 \begin_inset Newline newline
175 \begin_layout Standard
176 \begin_inset CommandInset toc
177 LatexCommand tableofcontents
184 \begin_layout Chapter
188 \begin_layout Standard
189 Este manual trata de las características de \SpecialChar LyX
190 que pueden ser modificadas
192 En él abordamos temas como atajos de teclado, opciones de vista previa
193 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
195 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
199 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
200 desarrolladores añaden características nuevas más deprisa de lo que las
201 podemos documentar— pero explicaremos las modificaciones más comunes y
202 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
205 \begin_layout Standard
206 \begin_inset Branch OutDated
209 \begin_layout Standard
210 La rama OutDated contiene información de versiones anteriores de este documento
211 que ahora parece estar obsoleta.
212 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
221 \begin_layout Chapter
222 Archivos de configuración de \SpecialChar LyX
226 \begin_layout Standard
227 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
228 de los archivos de configuración de \SpecialChar LyX
230 Antes de seguir leyendo deberías encontrar donde están los directorios
231 de bibliotecas y de usuario, consultando
232 \begin_inset Flex Noun
235 \begin_layout Plain Layout
236 Ayuda\SpecialChar menuseparator
237 Acerca de \SpecialChar LyX
244 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
246 de configuración de sistema; el directorio de usuario es donde puedes colocar
247 tus versiones modificadas.
248 En este documento, al primero lo denominaremos
249 \begin_inset Flex Code
252 \begin_layout Plain Layout
260 \begin_inset Flex Noun
263 \begin_layout Plain Layout
272 \begin_layout Section
274 \begin_inset Flex Code
277 \begin_layout Plain Layout
287 \begin_layout Standard
288 \begin_inset Flex Code
291 \begin_layout Plain Layout
298 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
299 el comportamiento de \SpecialChar LyX
301 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
304 \begin_inset Flex Noun
307 \begin_layout Plain Layout
308 Herramientas\SpecialChar menuseparator
315 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
317 puede hacer en este diálogo.
318 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
319 pueden cambiarse modificando
321 \begin_inset Flex Code
324 \begin_layout Plain Layout
332 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
336 \begin_layout Subsection
337 Archivos generados automáticamente
340 \begin_layout Standard
341 Los archivos que se encuentran en
342 \begin_inset Flex Noun
345 \begin_layout Plain Layout
351 se generan al configurar \SpecialChar LyX
353 Contienen varios valores predeterminados que se obtienen por inspección.
354 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
355 en cualquier momento.
358 \begin_layout Labeling
359 \labelwidthstring 00.00.0000
360 \begin_inset Flex Code
363 \begin_layout Plain Layout
369 contiene valores predeterminados para varioscomandos.
372 \begin_layout Labeling
373 \labelwidthstring 00.00.0000
374 \begin_inset Flex Code
377 \begin_layout Plain Layout
383 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
385 No es utilizada por el propio \SpecialChar LyX
386 , pero la información extraida, y otras cosas
388 \begin_inset Flex Noun
391 \begin_layout Plain Layout
392 Ayuda\SpecialChar menuseparator
393 Configuración de \SpecialChar LaTeX
402 \begin_layout Labeling
403 \labelwidthstring 00.00.0000
404 \begin_inset Flex Code
407 \begin_layout Plain Layout
413 la lista de clases de textos encontradas en los directorios
414 \begin_inset Flex Code
417 \begin_layout Plain Layout
423 , junto con las clases de documentos \SpecialChar LaTeX
427 \begin_layout Labeling
428 \labelwidthstring 00.00.0000
429 \begin_inset Flex Code
432 \begin_layout Plain Layout
438 la lista de módulos de formato encontradas en los directorios
439 \begin_inset Flex Code
442 \begin_layout Plain Layout
451 \begin_layout Labeling
452 \labelwidthstring 00.00.0000
453 \begin_inset Flex Code
456 \begin_layout Plain Layout
462 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
463 encontrados en el sistema.
466 \begin_layout Labeling
467 \labelwidthstring 00.00.0000
468 \begin_inset Flex Code
471 \begin_layout Plain Layout
472 doc/\SpecialChar LaTeX
478 es generado automáticamente durante la configuración a partir del archivo
480 \begin_inset Flex Code
483 \begin_layout Plain Layout
491 Contiene información sobre la configuración de \SpecialChar LaTeX
495 \begin_layout Subsection
499 \begin_layout Standard
500 Estos directorios están duplicados en
501 \begin_inset Flex Code
504 \begin_layout Plain Layout
512 \begin_inset Flex Code
515 \begin_layout Plain Layout
522 Si determinado archivo existe en ambos sitios, se usará el de
523 \begin_inset Flex Code
526 \begin_layout Plain Layout
535 \begin_layout Labeling
536 \labelwidthstring 00.00.0000
537 \begin_inset Flex Code
540 \begin_layout Plain Layout
546 este directorio contiene archivos con la extensión
547 \begin_inset Flex Code
550 \begin_layout Plain Layout
556 que definen las combinaciones de teclas usadas en \SpecialChar LyX
558 Si ahí existe una versión nacional de un archivo bind llamado
559 \begin_inset Flex Code
562 \begin_layout Plain Layout
568 , ésta se usará en primer lugar.
571 \begin_layout Labeling
572 \labelwidthstring 00.00.0000
573 \begin_inset Flex Code
576 \begin_layout Plain Layout
582 contiene archivos gráficos que pueden ser incluidos en documentos.
586 \begin_layout Labeling
587 \labelwidthstring 00.00.0000
588 \begin_inset Flex Code
591 \begin_layout Plain Layout
597 contiene archivos de documentación de \SpecialChar LyX
598 (incluido éste que estás leyendo).
600 \begin_inset Flex Code
603 \begin_layout Plain Layout
610 merece atención especial, como se mencionó antes.
611 Si existe una versión nacional del documento de ayuda en el subdirectorio
613 \begin_inset Flex Code
616 \begin_layout Plain Layout
622 , éste se usará en primer lugar.
624 \begin_inset CommandInset ref
626 reference "cap:Internacionalización-de-LyX"
633 \begin_layout Labeling
634 \labelwidthstring 00.00.0000
635 \begin_inset Flex Code
638 \begin_layout Plain Layout
644 contiene archivos de ejemplo que describen el uso de algunas características.
645 Se puede acceder a ellos con el botón
646 \begin_inset Flex Noun
649 \begin_layout Plain Layout
655 en el buscador de archivos.
658 \begin_layout Labeling
659 \labelwidthstring 00.00.0000
660 \begin_inset Flex Code
663 \begin_layout Plain Layout
669 contiene archivos de imagen que se usan en el diálogo
670 \begin_inset Flex Noun
673 \begin_layout Plain Layout
674 Documento\SpecialChar menuseparator
681 Contiene además los iconos de las barras de herramientas y las enseñas
683 mostradas en su inicio.
686 \begin_layout Labeling
687 \labelwidthstring 00.00.0000
688 \begin_inset Flex Code
691 \begin_layout Plain Layout
697 contiene archivos de mapas de teclado.
699 \begin_inset CommandInset ref
701 reference "sec:keymap"
708 \begin_layout Labeling
709 \labelwidthstring 00.00.0000
710 \begin_inset Flex Code
713 \begin_layout Plain Layout
719 contiene las clases de textos y los archivos de los módulos descritos en
721 \begin_inset CommandInset ref
723 reference "cap:Instalación-de-nuevas"
730 \begin_layout Labeling
731 \labelwidthstring 00.00.0000
732 \begin_inset Flex Code
735 \begin_layout Plain Layout
741 contiene los guiones de Python
742 \begin_inset Flex Code
745 \begin_layout Plain Layout
751 para convertir entre versiones de \SpecialChar LyX
753 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
757 \begin_layout Labeling
758 \labelwidthstring 00.00.0000
759 \begin_inset Flex Code
762 \begin_layout Plain Layout
768 contiene algunos archivos que demuestran las capacidades de la característica
770 \begin_inset Flex Noun
773 \begin_layout Plain Layout
780 También contiene algunos guiones usados por el propio \SpecialChar LyX
784 \begin_layout Labeling
785 \labelwidthstring 00.00.0000
786 \begin_inset Flex Code
789 \begin_layout Plain Layout
795 contiene los archivos de plantillas estándar de \SpecialChar LyX
797 \begin_inset CommandInset ref
799 reference "subsec:Creación-de-plantillas"
806 \begin_layout Labeling
807 \labelwidthstring 00.00.0000
808 \begin_inset Flex Code
811 \begin_layout Plain Layout
817 contiene archivos con la extensión
818 \begin_inset Flex Code
821 \begin_layout Plain Layout
827 que definen la interfaz de usuario de \SpecialChar LyX
829 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
833 \begin_layout Subsection
834 Archivos que no necesitan modificaciones
837 \begin_layout Standard
838 Estos archivos son utilizados internamente por \SpecialChar LyX
839 y generalmente no deben
840 ser modificados sino por los desarrolladores.
843 \begin_layout Labeling
844 \labelwidthstring 00.00.0000
845 \begin_inset Flex Code
848 \begin_layout Plain Layout
854 contiene la lista de desarrolladores de \SpecialChar LyX
856 Se muestra con el menú
857 \begin_inset Flex Noun
860 \begin_layout Plain Layout
861 Ayuda\SpecialChar menuseparator
862 Acerca de \SpecialChar LyX
871 \begin_layout Labeling
872 \labelwidthstring 00.00.0000
873 \begin_inset Flex Code
876 \begin_layout Plain Layout
882 es un guión de \SpecialChar LaTeX
883 usado durante el proceso de configuración.
884 No lo ejecutes directamente.
887 \begin_layout Labeling
888 \labelwidthstring 00.00.0000
889 \begin_inset Flex Code
892 \begin_layout Plain Layout
898 es el guión utilizado para la reconfiguración de \SpecialChar LyX
900 Genera los archivos de configuración en el directorio desde el que se ha
904 \begin_layout Subsection
905 Otros archivos en un par de líneas
908 \begin_layout Labeling
909 \labelwidthstring 00.00.0000
910 \begin_inset Flex Code
913 \begin_layout Plain Layout
919 contiene tablas que describen cómo los distintos códigos de caracteres
920 se transcriben a Unicode.
923 \begin_layout Labeling
924 \labelwidthstring 00.00.0000
925 \begin_inset Flex Code
928 \begin_layout Plain Layout
934 contiene las plantillas disponibles para la característica
935 \begin_inset Flex Noun
938 \begin_layout Plain Layout
945 \begin_inset CommandInset ref
947 reference "chap:Inserción-de-material"
954 \begin_layout Labeling
955 \labelwidthstring 00.00.0000
956 \begin_inset Flex Code
959 \begin_layout Plain Layout
965 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
969 \begin_layout Labeling
970 \labelwidthstring 00.00.0000
971 \begin_inset Flex Code
974 \begin_layout Plain Layout
982 contains information about the supported fonts.
985 \begin_layout Labeling
986 \labelwidthstring 00.00.0000
987 \begin_inset Flex Code
990 \begin_layout Plain Layout
998 this file contains translations for internationalized paragraph styles
1001 \begin_inset CommandInset ref
1003 reference "subsec:I18n"
1010 \begin_layout Labeling
1011 \labelwidthstring 00.00.0000
1012 \begin_inset Flex Code
1015 \begin_layout Plain Layout
1023 this file contains information about unicode-encoded glyphs and the way
1024 they are supported by \SpecialChar LyX
1025 via \SpecialChar LaTeX
1029 \begin_layout Section
1030 Directorio de configuración personal
1033 \begin_layout Standard
1034 Aunque uses \SpecialChar LyX
1035 como usuario sin privilegios, puedes adaptar su configuración
1038 \begin_inset Flex Code
1041 \begin_layout Plain Layout
1047 contiene todos los archivos de configuración personal.
1048 Es el directorio especificado como
1049 \begin_inset Quotes fld
1052 Directorio del usuario
1053 \begin_inset Quotes frd
1057 \begin_inset Flex Noun
1060 \begin_layout Plain Layout
1061 Ayuda\SpecialChar menuseparator
1062 Acerca de \SpecialChar LyX
1069 Este directorio se usa como espejo de
1070 \begin_inset Flex Code
1073 \begin_layout Plain Layout
1080 , que quiere decir que cada archivo en
1081 \begin_inset Flex Code
1084 \begin_layout Plain Layout
1090 es un equivalente del correspondiente archivo en
1091 \begin_inset Flex Code
1094 \begin_layout Plain Layout
1102 Cualquiera de los archivos de configuración descritos en las secciones
1103 anteriores puede estar en el directorio global del sistema, en cuyo caso
1104 afectará a todos los usuarios, y en tu directorio local para tu propio
1108 \begin_layout Standard
1109 Para clarificar las cosas vamos a poner unos ejemplos:
1112 \begin_layout Itemize
1113 Las preferencias establecidas en el diálogo
1114 \begin_inset Flex Noun
1117 \begin_layout Plain Layout
1118 Herramientas\SpecialChar menuseparator
1124 se guardan en un archivo
1125 \begin_inset Flex Code
1128 \begin_layout Plain Layout
1135 \begin_inset Flex Code
1138 \begin_layout Plain Layout
1147 \begin_layout Itemize
1148 Si reconfiguras mediante
1149 \begin_inset Flex Noun
1152 \begin_layout Plain Layout
1153 Herramientas\SpecialChar menuseparator
1161 \begin_inset Newline linebreak
1165 \begin_inset Flex Code
1168 \begin_layout Plain Layout
1174 , y los archivos resultantes se escriben en tu directorio de usuario.
1175 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1177 \begin_inset Flex Code
1180 \begin_layout Plain Layout
1186 se sumará a la lista de clases en el diálogo
1187 \begin_inset Flex Noun
1190 \begin_layout Plain Layout
1191 Documento\SpecialChar menuseparator
1200 \begin_layout Itemize
1201 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1203 instalarla porque no tienes permisos para administrar tu sistema, solo
1204 has de copiar los archivos en
1205 \begin_inset Flex Code
1208 \begin_layout Plain Layout
1214 ¡y las entradas del menú
1215 \begin_inset Flex Noun
1218 \begin_layout Plain Layout
1227 \begin_layout Section
1228 Ejecutar \SpecialChar LyX
1229 con múltiples configuraciones
1232 \begin_layout Standard
1233 La libertad de configuración del directorio local puede no ser suficiente
1234 si quieres tener a tu disposición más de una configuración.
1235 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1236 ones de impresora en distintos momentos.
1237 Esto lo puedes conseguir teniendo varios de estos directorios.
1238 Después especificas qué directorio usar al arrancar.
1241 \begin_layout Standard
1242 Ejecutando \SpecialChar LyX
1243 con la opción de línea de comandos
1244 \begin_inset Flex Code
1247 \begin_layout Plain Layout
1257 hace que el programa lea la configuración de ese directorio y no del predetermi
1259 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1262 \begin_inset Flex Code
1265 \begin_layout Plain Layout
1272 Si el directorio especificado no existe, \SpecialChar LyX
1273 propone su creación, tal como
1274 hace con el directorio predeterminado la primera vez que se ejecuta el
1276 Puedes modificar las opciones de configuración en ese directorio personal
1277 adicional exactamente igual que para el directorio predeterminado.
1278 Estos directorios son completamente independientes (pero sigue leyendo).
1279 Ten presente que establecer algún valor para la variable de entorno
1280 \begin_inset Flex Code
1283 \begin_layout Plain Layout
1289 tiene exactamente el mismo efecto.
1292 \begin_layout Standard
1293 Tener varias configuraciones también requiere más mantenimiento: si quieres
1294 añadir un nuevo formato a
1295 \begin_inset Flex Code
1298 \begin_layout Plain Layout
1304 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1305 directorio por separado.
1306 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1308 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1309 Si quieres que la nueva configuración sea una réplica de una existente,
1310 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1311 subdirectorio deseado.
1312 Ten precaución, no obstante, con el subdirectorio
1313 \begin_inset Flex Code
1316 \begin_layout Plain Layout
1322 , puesto que contiene un archivo escrito por el guión de configuración (también
1324 \begin_inset Flex Noun
1327 \begin_layout Plain Layout
1328 Herramientas\SpecialChar menuseparator
1334 ) que es específico de la configuración.
1337 \begin_layout Chapter
1338 El diálogo Preferencias
1341 \begin_layout Standard
1342 Todas las opciones del diálogo de preferencias se describen en el apéndice
1356 Ahí encontrarás más detalles sobre algunas opciones.
1359 \begin_layout Section
1361 \begin_inset CommandInset label
1370 \begin_layout Standard
1371 El primer paso es definir tus propios formatos de archivo si no lo están
1373 Para hacerlo abre el diálogo
1374 \begin_inset Flex Noun
1377 \begin_layout Plain Layout
1378 Herramientas\SpecialChar menuseparator
1386 \begin_inset Flex Noun
1389 \begin_layout Plain Layout
1390 Gestión de archivos\SpecialChar menuseparator
1397 \begin_inset Flex Noun
1400 \begin_layout Plain Layout
1401 Nuevo\SpecialChar ldots
1407 para definir el nuevo formato.
1409 \begin_inset Flex Noun
1412 \begin_layout Plain Layout
1418 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1421 \begin_inset Flex Noun
1424 \begin_layout Plain Layout
1430 se usa para identificar el formato internamente.
1431 Además deberás introducir una extensión de archivo.
1432 Todos estos son imprescindibles.
1434 \begin_inset Flex Noun
1437 \begin_layout Plain Layout
1443 sirve para asociar una combinación de teclas en los menús.
1444 (Por ejemplo, teclear
1445 \begin_inset Flex Noun
1448 \begin_layout Plain Layout
1455 \begin_inset Flex Noun
1458 \begin_layout Plain Layout
1461 Documento\SpecialChar menuseparator
1464 \SpecialChar menuseparator
1472 \begin_inset Flex Noun
1475 \begin_layout Plain Layout
1484 \begin_layout Standard
1485 Un Formato puede tener un
1486 \begin_inset Flex Noun
1489 \begin_layout Plain Layout
1496 \begin_inset Flex Noun
1499 \begin_layout Plain Layout
1506 Por ejemplo, podrías usar
1507 \begin_inset Flex Noun
1510 \begin_layout Plain Layout
1516 para ver archivos PostScript.
1517 Puedes introducir el comando para iniciar el programa en el campo correspondien
1519 Al definir este comando puedes usar las cuatro variables listadas en la
1521 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1523 \begin_inset Flex Noun
1526 \begin_layout Plain Layout
1529 Documento\SpecialChar menuseparator
1536 El editor se lanza cuando pulsas el botón
1537 \begin_inset Flex Noun
1540 \begin_layout Plain Layout
1546 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1550 \begin_layout Standard
1556 \begin_inset Flex Noun
1559 \begin_layout Plain Layout
1567 type of a format is optional, but if it is specified, it must be unique
1569 It is used to detect files of this format from the file contents.
1570 For some important file formats there is no MIME type officially registered
1574 \begin_inset CommandInset href
1577 target "http://www.iana.org/assignments/media-types/"
1584 Therefore \SpecialChar LyX
1585 uses the extended list of MIME types as specified by
1588 \begin_inset CommandInset href
1590 name "freedesktop.org"
1591 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1598 \begin_layout Standard
1600 \begin_inset Flex Noun
1603 \begin_layout Plain Layout
1604 Formato de documento
1609 indica a \SpecialChar LyX
1610 que ese formato es adecuado para exportar.
1611 Si esto está marcado y existe una ruta de conversión adecuada (véase
1612 \begin_inset CommandInset ref
1614 reference "sec:Convertidores"
1618 ), el formato aparecerá en el menú
1619 \begin_inset Flex Noun
1622 \begin_layout Plain Layout
1623 Archivo\SpecialChar menuseparator
1630 También aparecerá en el menú
1631 \begin_inset Flex Noun
1634 \begin_layout Plain Layout
1637 Documento\SpecialChar menuseparator
1643 si se ha especificado un visor para ese formato.
1644 Los formatos puros de imagen, como
1645 \begin_inset Flex Code
1648 \begin_layout Plain Layout
1654 , no deberían usar esta opción.
1655 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1657 \begin_inset Flex Code
1660 \begin_layout Plain Layout
1666 , sí deberían usarla.
1669 \begin_layout Standard
1671 \begin_inset Flex Noun
1674 \begin_layout Plain Layout
1675 Formato de gráfico vectorial
1680 indica a \SpecialChar LyX
1681 que el formato puede contener gráficos vectoriales.
1682 Esta información se emplea para determinar el formato objetivo de los gráficos
1683 incluidos para la exportación
1684 \begin_inset Flex Noun
1687 \begin_layout Plain Layout
1694 Los gráficos incluidos pueden requerir conversión a
1695 \begin_inset Flex Noun
1698 \begin_layout Plain Layout
1705 \begin_inset Flex Noun
1708 \begin_layout Plain Layout
1715 \begin_inset Flex Noun
1718 \begin_layout Plain Layout
1725 \begin_inset Flex Noun
1728 \begin_layout Plain Layout
1734 no puede manejar otros formatos de imagen.
1735 Si un archivo incluido no está ya en formato
1736 \begin_inset Flex Noun
1739 \begin_layout Plain Layout
1746 \begin_inset Flex Noun
1749 \begin_layout Plain Layout
1756 \begin_inset Flex Noun
1759 \begin_layout Plain Layout
1766 \begin_inset Flex Noun
1769 \begin_layout Plain Layout
1775 si la opción de formato vectorial está marcada, y si no a
1776 \begin_inset Flex Noun
1779 \begin_layout Plain Layout
1789 \begin_layout Section
1793 \begin_layout Standard
1794 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1795 archivo temporal de \SpecialChar LyX
1796 , a veces es necesario modificar un archivo antes de
1797 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1801 \begin_layout Plain Layout
1802 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1803 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1804 inválidos cuando el archivo se copia en el directorio temporal.
1809 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1810 y puede modificarlo en el proceso.
1813 \begin_layout Standard
1814 Las definiciones de los copiadores pueden usar cuatro variables:
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Flex Code
1822 \begin_layout Plain Layout
1828 El directorio de sistema de \SpecialChar LyX
1830 \begin_inset space \thinspace{}
1834 \begin_inset space \space{}
1838 \begin_inset Flex Noun
1841 \begin_layout Plain Layout
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Flex Code
1855 \begin_layout Plain Layout
1861 El archivo de entrada
1864 \begin_layout Labeling
1865 \labelwidthstring 00.00.0000
1866 \begin_inset Flex Code
1869 \begin_layout Plain Layout
1875 El archivo de salida
1878 \begin_layout Labeling
1879 \labelwidthstring 00.00.0000
1880 \begin_inset Flex Code
1883 \begin_layout Plain Layout
1891 The base name (without filename extension) in the \SpecialChar LyX
1895 \begin_layout Labeling
1896 \labelwidthstring 00.00.0000
1897 \begin_inset Flex Code
1900 \begin_layout Plain Layout
1908 The full directory path of the \SpecialChar LyX
1912 \begin_layout Labeling
1913 \labelwidthstring 00.00.0000
1914 \begin_inset Flex Code
1917 \begin_layout Plain Layout
1925 The full pathname to the original \SpecialChar LyX
1926 file being processed
1929 \begin_layout Labeling
1930 \labelwidthstring 00.00.0000
1931 \begin_inset Flex Code
1934 \begin_layout Plain Layout
1942 The filename (without any 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
1957 El `nombre \SpecialChar LaTeX
1961 \begin_layout Standard
1962 El último debería ser el nombre de archivo tal como debería ponerse en un
1963 comando \SpecialChar LaTeX
1971 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
1974 \begin_layout Standard
1975 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
1977 Por ejemplo, supongamos que quieres copiar archivos
1978 \begin_inset Flex Noun
1981 \begin_layout Plain Layout
1987 generados a un directorio especial,
1988 \begin_inset Flex Code
1991 \begin_layout Plain Layout
1998 En ese caso deberías escribir un guión para intérprete de comandos tal
2002 \begin_layout Standard
2003 \begin_inset listings
2007 \begin_layout Plain Layout
2012 \begin_layout Plain Layout
2017 \begin_layout Plain Layout
2019 TOFILE=`basename $2`
2022 \begin_layout Plain Layout
2024 cp $FROMFILE /home/you/pdf/$TOFILE
2029 Guárdalo en tu directorio local, —
2030 \begin_inset Flex Code
2033 \begin_layout Plain Layout
2034 /home/you/.lyx/scripts/pdfcopier.sh
2039 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2040 Después, en el diálogo
2041 \begin_inset Flex Noun
2044 \begin_layout Plain Layout
2045 Herramientas\SpecialChar menuseparator
2052 \begin_inset Flex Noun
2055 \begin_layout Plain Layout
2056 Gestión de archivos\SpecialChar menuseparator
2062 , selecciona el formato
2063 \begin_inset Flex Noun
2066 \begin_layout Plain Layout
2072 —u otro de los formatos pdf— e introduce
2073 \begin_inset Flex Code
2076 \begin_layout Plain Layout
2077 pdfcopier.sh $$i $$o
2083 \begin_inset Flex Noun
2086 \begin_layout Plain Layout
2095 \begin_layout Standard
2097 usa los copiadores en varias de sus propias conversiones.
2098 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2099 instalará copiadores
2101 \begin_inset Flex Noun
2104 \begin_layout Plain Layout
2111 \begin_inset Flex Noun
2114 \begin_layout Plain Layout
2116 \begin_inset space ~
2125 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2126 no solo el archivo HTML principal, sino también los diversos archivos asociados
2127 (estilos, imágenes, etc).
2128 Todos estos archivos se escriben en un subdirectorio del directorio en
2129 el que se encuentre el archivo original de \SpecialChar LyX
2134 \begin_layout Plain Layout
2135 Este copiador puede adaptarse.
2136 El argumento opcional
2137 \begin_inset Quotes fld
2141 \begin_inset Quotes frd
2144 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2145 si se omite se copiarán todos los archivos.
2147 \begin_inset Quotes fld
2151 \begin_inset Quotes frd
2154 determina la extensión añadida al directorio generado.
2156 \begin_inset Quotes fld
2160 \begin_inset Flex Noun
2163 \begin_layout Plain Layout
2171 \begin_inset Quotes frd
2174 , así, el HTML generado a partir de
2175 \begin_inset Flex Noun
2178 \begin_layout Plain Layout
2185 \begin_inset Flex Noun
2188 \begin_layout Plain Layout
2189 /ruta/a/archivo.html.\SpecialChar LyX
2203 \begin_layout Section
2205 \begin_inset CommandInset label
2207 name "sec:Convertidores"
2214 \begin_layout Standard
2215 Puedes definir tus propios convertidores para convertir archivos entre distintos
2217 Se hace en el diálogo
2218 \begin_inset Flex Noun
2221 \begin_layout Plain Layout
2222 Herramientas\SpecialChar menuseparator
2223 Preferencias\SpecialChar menuseparator
2224 Gestión de archivos\SpecialChar menuseparator
2233 \begin_layout Standard
2234 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2235 las listas desplegables
2236 \begin_inset Flex Noun
2239 \begin_layout Plain Layout
2241 \begin_inset space ~
2250 \begin_inset Flex Noun
2253 \begin_layout Plain Layout
2255 \begin_inset space ~
2263 , introduce el comando necesario para la conversión y después pulsa el botón
2265 \begin_inset Flex Noun
2268 \begin_layout Plain Layout
2275 En la definición de convertidores se pueden usar distintas variables:
2278 \begin_layout Labeling
2279 \labelwidthstring 00.00.0000
2280 \begin_inset Flex Code
2283 \begin_layout Plain Layout
2289 El directorio de sistema de \SpecialChar LyX
2293 \begin_layout Labeling
2294 \labelwidthstring 00.00.0000
2295 \begin_inset Flex Code
2298 \begin_layout Plain Layout
2304 El archivo de entrada
2307 \begin_layout Labeling
2308 \labelwidthstring 00.00.0000
2309 \begin_inset Flex Code
2312 \begin_layout Plain Layout
2318 El archivo de salida
2321 \begin_layout Labeling
2322 \labelwidthstring 00.00.0000
2323 \begin_inset Flex Code
2326 \begin_layout Plain Layout
2332 El nombre del archivo base del archivo de entrada (sin la extensión)
2335 \begin_layout Labeling
2336 \labelwidthstring 00.00.0000
2337 \begin_inset Flex Code
2340 \begin_layout Plain Layout
2346 La ruta al archivo de entrada
2349 \begin_layout Labeling
2350 \labelwidthstring 00.00.0000
2351 \begin_inset Flex Code
2354 \begin_layout Plain Layout
2360 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2361 se invoca una cadena de convertidores).
2364 \begin_layout Labeling
2365 \labelwidthstring 00.00.0000
2366 \begin_inset Flex Code
2369 \begin_layout Plain Layout
2375 El nombre iconv para la codificación del documento.
2378 \begin_layout Standard
2380 \begin_inset Flex Noun
2383 \begin_layout Plain Layout
2389 puedes introducir los siguientes, separados por comas:
2392 \begin_layout Labeling
2393 \labelwidthstring 00.00.0000
2394 \begin_inset Flex Code
2397 \begin_layout Plain Layout
2403 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2405 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2410 \begin_layout Labeling
2411 \labelwidthstring 00.00.0000
2412 \begin_inset Flex Code
2415 \begin_layout Plain Layout
2421 Necesita el archivo \SpecialChar LaTeX
2423 \begin_inset Flex Noun
2426 \begin_layout Plain Layout
2435 \begin_layout Labeling
2436 \labelwidthstring 00.00.0000
2437 \begin_inset Flex Code
2440 \begin_layout Plain Layout
2449 \begin_inset Quotes fld
2453 \begin_inset Quotes frd
2456 file from the backend, which in practice means a \SpecialChar LaTeX
2457 file like the one we
2458 would export, without
2459 \begin_inset Flex Code
2462 \begin_layout Plain Layout
2473 \begin_layout Labeling
2474 \labelwidthstring 00.00.0000
2475 \begin_inset Flex Code
2478 \begin_layout Plain Layout
2487 \begin_layout Standard
2488 Las tres siguientes no son realmente opciones porque aceptan un argumento
2490 \begin_inset Flex Noun
2493 \begin_layout Plain Layout
2495 \begin_inset space ~
2499 \begin_inset space ~
2510 \begin_layout Labeling
2511 \labelwidthstring 00.00.0000
2512 \begin_inset Flex Code
2515 \begin_layout Plain Layout
2521 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2523 \begin_inset Flex Code
2526 \begin_layout Plain Layout
2532 , y el guión dado como argumento se ejecutará como:
2533 \begin_inset Flex Code
2536 \begin_layout Plain Layout
2537 script <infile.out >infile.log
2543 El argumento puede contener
2544 \begin_inset Flex Code
2547 \begin_layout Plain Layout
2556 \begin_layout Labeling
2557 \labelwidthstring 00.00.0000
2558 \begin_inset Flex Code
2561 \begin_layout Plain Layout
2567 El nombre del directorio en el que el convertidor descargará los archivos
2570 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2572 El argumento puede contener
2573 \begin_inset Flex Code
2576 \begin_layout Plain Layout
2582 , que será reemplazado por el nombre base de los archivos de entrada y de
2583 salida, respectivamente, cuando se copia el directorio.
2584 \begin_inset Newline newline
2587 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2588 El último será ignorado si se da el primero.
2591 \begin_layout Labeling
2592 \labelwidthstring 00.00.0000
2593 \begin_inset Flex Code
2596 \begin_layout Plain Layout
2602 Determina el nombre del archivo de salida y puede contener
2603 \begin_inset Flex Code
2606 \begin_layout Plain Layout
2613 Solo es sensible con
2614 \begin_inset Flex Code
2617 \begin_layout Plain Layout
2623 y además es opcional; si no se da, por omisión es `index'.
2626 \begin_layout Standard
2627 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2628 s que son instalados por \SpecialChar LyX
2632 \begin_layout Standard
2633 No tienes que definir convertidores entre todos los formatos que quieras
2635 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2636 a PostScript', sin embargo
2638 exporta a PostScript.
2639 Lo hace creando primero un archivo \SpecialChar LaTeX
2640 (no es necesario un convertidor para
2641 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2643 y por último convierte el archivo DVI resultante a PostScript.
2645 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2646 la cadena más corta posible.
2647 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2648 Por ejemplo, la configuración estándar de \SpecialChar LyX
2649 provee cinco caminos para convertir
2654 \begin_layout Enumerate
2655 directamente, usando
2656 \begin_inset Flex Noun
2659 \begin_layout Plain Layout
2668 \begin_layout Enumerate
2669 mediante (DVI y) PostScript, usando
2670 \begin_inset Flex Noun
2673 \begin_layout Plain Layout
2682 \begin_layout Enumerate
2683 mediante DVI, usando
2684 \begin_inset Flex Noun
2687 \begin_layout Plain Layout
2696 \begin_layout Enumerate
2697 directamente, usando
2702 \begin_inset Flex Noun
2705 \begin_layout Plain Layout
2715 \begin_layout Enumerate
2716 directamente, usando
2717 \begin_inset Flex Noun
2720 \begin_layout Plain Layout
2730 \begin_layout Standard
2731 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2732 de archivo' objetivo, como se describe en la sección
2733 \begin_inset space ~
2737 \begin_inset CommandInset ref
2739 reference "sec:Formatos"
2744 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2746 \begin_inset Flex Noun
2749 \begin_layout Plain Layout
2760 \begin_inset Flex Noun
2763 \begin_layout Plain Layout
2770 \begin_inset Flex Noun
2773 \begin_layout Plain Layout
2784 \begin_inset Flex Noun
2787 \begin_layout Plain Layout
2794 \begin_inset Flex Noun
2797 \begin_layout Plain Layout
2808 \begin_inset Flex Noun
2811 \begin_layout Plain Layout
2818 \begin_inset Flex Noun
2821 \begin_layout Plain Layout
2832 \begin_inset Flex Noun
2835 \begin_layout Plain Layout
2843 \begin_inset Flex Noun
2846 \begin_layout Plain Layout
2857 \begin_inset Flex Noun
2860 \begin_layout Plain Layout
2867 ), todos ellos compartiendo la extensión
2868 \begin_inset Flex Noun
2871 \begin_layout Plain Layout
2877 , y que corresponden a los métodos de conversión antes mencionados.
2880 \begin_layout Chapter
2881 Internacionalización de \SpecialChar LyX
2883 \begin_inset CommandInset label
2885 name "cap:Internacionalización-de-LyX"
2892 \begin_layout Standard
2894 soporta el uso de una interfaz traducida.
2895 La última vez que lo comprobamos, \SpecialChar LyX
2896 suministraba textos en treinta idiomas.
2897 El idioma elegido se denomina
2902 (Para lecciones adicionales sobre configuración de idiomas, véase también
2904 \begin_inset Quotes fld
2908 \begin_inset Quotes frd
2911 del sistema operativo.
2912 En Linux, la página de manual de
2913 \begin_inset Flex Code
2916 \begin_layout Plain Layout
2922 es un buen punto de partida).
2926 \begin_layout Standard
2927 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2929 En particular, todos los diálogos se han diseñado con el inglés en mente,
2930 lo que significa que algún texto traducido podría ser demasiado largo para
2931 ajustarse al espacio asignado.
2932 Esto solo es un problema de presentación en pantalla y no causará ningún
2934 Además, encontrarás que algunas traducciones no definen atajos de teclado
2936 A veces, simplemente no hay letras libres suficientes para ello.
2937 Otras veces, el traductor todavía no lo ha completado.
2938 Nuestro equipo de traducción, al que podrías unirte si quieres,
2942 \begin_layout Plain Layout
2943 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2944 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2950 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2955 \begin_layout Section
2956 Traducción de \SpecialChar LyX
2960 \begin_layout Subsection
2961 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2964 \begin_layout Standard
2966 utiliza la biblioteca GNU
2967 \begin_inset Flex Code
2970 \begin_layout Plain Layout
2976 para manejar la internacionalización de la interfaz.
2977 Para que \SpecialChar LyX
2978 hable tu idioma preferido en todos los menús y diálogos es necesario
2980 \begin_inset Flex Code
2983 \begin_layout Plain Layout
2990 Si está disponible, tendrás que generar a partir de él un archivo
2991 \begin_inset Flex Code
2994 \begin_layout Plain Layout
3001 El procedimiento para hacer todo esto se explica en la documentación de
3003 \begin_inset Flex Code
3006 \begin_layout Plain Layout
3013 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3014 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3016 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3017 para más información
3018 sobre cómo proceder.
3021 \begin_layout Standard
3022 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3025 \begin_layout Itemize
3026 Inspecciona el código fuente de \SpecialChar LyX
3029 \begin_inset CommandInset href
3031 name "información en la web"
3032 target "http://www.lyx.org/devel/cvs.php"
3039 \begin_layout Itemize
3041 \begin_inset Flex Code
3044 \begin_layout Plain Layout
3050 a la carpeta de los archivos
3051 \begin_inset Flex Code
3054 \begin_layout Plain Layout
3061 Después lo renombras como
3062 \begin_inset Flex Code
3065 \begin_layout Plain Layout
3073 \begin_inset Flex Code
3076 \begin_layout Plain Layout
3082 no está por ningún sitio, puede rehacerse con el comando de consola
3083 \begin_inset Flex Code
3086 \begin_layout Plain Layout
3092 en ese directorio, o puedes usar como muestra un archivo
3093 \begin_inset Flex Code
3096 \begin_layout Plain Layout
3102 de algún otro idioma).
3105 \begin_layout Itemize
3107 \begin_inset Flex Code
3110 \begin_layout Plain Layout
3120 \begin_layout Plain Layout
3121 Es un archivo de texto, se puede editar en cualquier editor de texto.
3122 Pero hay programas especializados para editar estos archivos, como
3126 (para todas las plataformas) o
3135 tiene un `modo' para editar archivos
3136 \begin_inset Flex Code
3139 \begin_layout Plain Layout
3150 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3151 que deberían traducirse.
3152 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3153 con las palabras y frases del idioma.
3154 Además tendrías que rellenar la información al principio del nuevo archivo
3156 \begin_inset Flex Code
3159 \begin_layout Plain Layout
3165 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3166 o divertidas diatribas.
3169 \begin_layout Standard
3170 Si estás haciendo esto solo para ti, entonces:
3173 \begin_layout Itemize
3175 \begin_inset Flex Code
3178 \begin_layout Plain Layout
3186 \begin_inset Flex Code
3189 \begin_layout Plain Layout
3190 msgfmt -o xx.mo < xx.po
3198 \begin_layout Itemize
3200 \begin_inset Flex Code
3203 \begin_layout Plain Layout
3209 a tu directorio local, en la carpeta apropiada para los mensajes de las
3210 aplicaciones en el idioma xx, con el nombre
3211 \begin_inset Flex Code
3214 \begin_layout Plain Layout
3221 \begin_inset space \thinspace{}
3225 \begin_inset space \space{}
3229 \begin_inset Flex Code
3232 \begin_layout Plain Layout
3233 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3243 \begin_layout Standard
3244 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3246 \begin_inset Flex Code
3249 \begin_layout Plain Layout
3255 a la distribución de \SpecialChar LyX
3256 , para que otros puedan usarlo.
3257 Esto requiere hacer cambios en \SpecialChar LyX
3258 , así que envía un correo a la lista de
3259 desarrolladores si estás interesado en hacerlo.
3262 \begin_layout Subsubsection
3266 \begin_layout Standard
3267 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3269 Un ejemplo es la palabra
3270 \begin_inset Flex Code
3273 \begin_layout Plain Layout
3279 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3281 \begin_inset Quotes fld
3285 \begin_inset Quotes frd
3290 \begin_inset Flex Code
3293 \begin_layout Plain Layout
3299 no maneja tales traducciones ambiguas.
3300 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3302 \begin_inset Flex Code
3305 \begin_layout Plain Layout
3312 \begin_inset Flex Code
3315 \begin_layout Plain Layout
3316 To[[as in 'From format x to format y']]
3322 \begin_inset Flex Code
3325 \begin_layout Plain Layout
3326 To[[as in 'From page x to page y']]
3332 Ahora las dos apariciones de
3333 \begin_inset Flex Code
3336 \begin_layout Plain Layout
3343 \begin_inset Flex Code
3346 \begin_layout Plain Layout
3352 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3355 \begin_layout Standard
3356 Por supuesto que la información contextual debe eliminarse del mensaje original
3357 si no se usa en la traducción.
3358 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3360 El mecanismo de traducción de \SpecialChar LyX
3361 asegura que todo lo que va entre corchetes
3362 al final de los mensajes se quita antes de mostrarlos.
3365 \begin_layout Subsection
3366 Traducción de la documentación
3369 \begin_layout Standard
3370 La documentación en línea (menú
3373 \begin_inset Flex Noun
3376 \begin_layout Plain Layout
3390 ) puede (¡debería!) traducirse.
3391 Si hay versiones traducidas de la documentación disponible
3395 \begin_layout Plain Layout
3396 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3397 a catorce idiomas, y el Tutorial está disponible en algunos más.
3403 \begin_inset Flex Code
3406 \begin_layout Plain Layout
3412 está adecuadamente configurado, \SpecialChar LyX
3414 \begin_inset Quotes fld
3418 \begin_inset Quotes frd
3423 busca las traducciones en
3426 \begin_inset Flex Code
3429 \begin_layout Plain Layout
3448 es el código para el idioma en uso actualmente.
3449 Si no hay versión traducida se presentará por omisión la versión inglesa
3451 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3456 de antes) que el original.
3457 Si te animas a traducir documentación (¡de paso, una excelente manera de
3458 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3461 \begin_layout Itemize
3462 Consulta la web de traducción de la documentación en
3463 \begin_inset CommandInset href
3465 name "http://www.lyx.org/Translation"
3466 target "http://www.lyx.org/Translation"
3471 Así podrás comprobar el estado actual de traducción de documentos a tu
3473 También si hay alguien que esté coordinando la traducción a tu idioma.
3474 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3477 \begin_layout Standard
3478 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3479 ahorrar inconvenientes:
3482 \begin_layout Itemize
3483 ¡Únete al equipo de documentación! En
3486 \begin_inset Flex Noun
3489 \begin_layout Plain Layout
3490 Ayuda\SpecialChar menuseparator
3500 , que por cierto, es el primer documento que se debería traducir, hay informació
3501 n sobre cómo hacerlo.
3504 \begin_layout Itemize
3505 Infórmate sobre las normas tipográficas de tu idioma.
3506 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3507 gran variedad de convenciones en diversas partes del mundo.
3508 Estudia también la terminología profesional de los tipógrafos en tu país.
3509 Inventar tu propia terminología sólo provocará confusión.
3512 (¡Cuidado! La tipografía es adictiva!)
3515 \begin_layout Itemize
3516 Haz una copia del documento para trabajar sobre ella.
3517 Puedes guardarla como archivo personal de traducción en tu directorio
3524 \begin_layout Itemize
3525 De vez en cuando el documento original (del equipo \SpecialChar LyX
3527 Usa el visor de fuentes en
3528 \begin_inset CommandInset href
3530 name "http://www.lyx.org/trac/timeline"
3531 target "http://www.lyx.org/trac/timeline"
3535 para ver los cambios realizados.
3536 De esta manera puedes ver fácilmente qué partes del documento traducido
3537 necesitan actualizarse.
3540 \begin_layout Standard
3541 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3542 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3543 el equipo de documentación, verdad?)
3546 \begin_layout Standard
3547 \begin_inset Branch OutDated
3550 \begin_layout Section
3551 International Keyboard Support
3554 \begin_layout Standard
3557 [Editor's Note: The following section is by
3565 It needs to be fixed to conform to the new Documentation Style sheet and
3566 to make use of the new v1.0 features.
3567 The whole thing also needs to be merged with the section following it.-jw
3568 It may also be badly out of date.-rh (2008)]
3571 \begin_layout Subsection
3572 Defining Own Keymaps: Keymap File Format
3575 \begin_layout Standard
3576 Let's look at a keyboard definition file a little closer.
3577 It is a plain text file defining
3580 \begin_layout Itemize
3581 key-to-key or key-to-string translations
3584 \begin_layout Itemize
3588 \begin_layout Itemize
3589 dead keys exceptions
3592 \begin_layout Standard
3593 To define key-to-key or key-to-string translation, use this command:
3596 \begin_layout Quotation
3597 \begin_inset Flex Code
3600 \begin_layout Plain Layout
3609 \begin_inset Flex Code
3612 \begin_layout Plain Layout
3621 \begin_layout Standard
3623 \begin_inset Flex Code
3626 \begin_layout Plain Layout
3632 is the key to be translated and
3633 \begin_inset Flex Code
3636 \begin_layout Plain Layout
3642 is the string to be inserted into the document.
3643 To define dead keys, use:
3646 \begin_layout Quotation
3647 \begin_inset Flex Code
3650 \begin_layout Plain Layout
3659 \begin_inset Flex Code
3662 \begin_layout Plain Layout
3671 \begin_layout Standard
3673 \begin_inset Flex Code
3676 \begin_layout Plain Layout
3682 is a keyboard key and
3683 \begin_inset Flex Code
3686 \begin_layout Plain Layout
3693 The following dead keys are supported (shortcut name is in parentheses):
3696 \begin_layout Quotation
3700 \begin_inset space \hfill{}
3706 \begin_layout Quotation
3708 \begin_inset space \hfill{}
3714 \begin_layout Quotation
3716 \begin_inset space \hfill{}
3722 \begin_layout Quotation
3724 \begin_inset space \hfill{}
3730 \begin_layout Quotation
3732 \begin_inset space \hfill{}
3738 \begin_layout Quotation
3740 \begin_inset space \hfill{}
3747 \begin_layout Plain Layout
3759 \begin_layout Quotation
3761 \begin_inset space \hfill{}
3767 \begin_layout Quotation
3769 \begin_inset space \hfill{}
3776 \begin_layout Plain Layout
3788 \begin_layout Quotation
3790 \begin_inset space \hfill{}
3796 \begin_layout Quotation
3798 \begin_inset space \hfill{}
3804 \begin_layout Quotation
3806 \begin_inset space \hfill{}
3813 \begin_layout Plain Layout
3825 \begin_layout Quotation
3827 \begin_inset space \hfill{}
3834 \begin_layout Plain Layout
3846 \begin_layout Quotation
3848 \begin_inset space \hfill{}
3854 \begin_layout Quotation
3855 hungarian umlaut (hug)
3856 \begin_inset space \hfill{}
3862 \begin_layout Quotation
3864 \begin_inset space \hfill{}
3870 \begin_layout Quotation
3872 \begin_inset space \hfill{}
3879 \begin_layout Plain Layout
3891 \begin_layout Standard
3892 Since in many international keyboards there are exceptions to what some
3893 dead keys should do, you can define them using
3896 \begin_layout Quotation
3897 \begin_inset Flex Code
3900 \begin_layout Plain Layout
3908 deadkey key outstring
3911 \begin_layout Standard
3912 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3916 \begin_layout Quotation
3917 \begin_inset Flex Code
3920 \begin_layout Plain Layout
3933 \begin_layout Standard
3934 to make it work correctly.
3935 Also, you have to define as exceptions dead keys over i and j, to remove
3936 the dot from them before inserting an accent mark.
3937 I will change this when the time comes, but so far I haven't had time.
3940 \begin_layout Standard
3941 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3944 \begin_inset Flex Code
3947 \begin_layout Plain Layout
3953 have different meaning.
3955 \begin_inset Flex Code
3958 \begin_layout Plain Layout
3964 marks comments, quotes start and end \SpecialChar LaTeX
3966 To enter quote, you'll need to use
3967 \begin_inset Flex Code
3970 \begin_layout Plain Layout
3979 \begin_inset Flex Code
3982 \begin_layout Plain Layout
3989 \begin_inset Flex Code
3992 \begin_layout Plain Layout
4003 \begin_layout Standard
4004 If you make a keyboard description file that works for your language, please
4005 mail it to me, so I can include it in the next keymap distribution.
4008 \begin_layout Standard
4009 More keywords will be supported in keymap configuration file in future,
4013 \begin_layout Itemize
4014 \begin_inset Flex Code
4017 \begin_layout Plain Layout
4028 \begin_inset space \hfill{}
4032 \begin_inset Flex Code
4035 \begin_layout Plain Layout
4044 \begin_layout Itemize
4045 \begin_inset Flex Code
4048 \begin_layout Plain Layout
4059 \begin_inset space \hfill{}
4063 \begin_inset Flex Code
4066 \begin_layout Plain Layout
4072 an external keymap translation program
4075 \begin_layout Standard
4076 Also, it should look into
4077 \begin_inset Flex Code
4080 \begin_layout Plain Layout
4086 file for defaults, too (for example, a
4087 \begin_inset Flex Code
4090 \begin_layout Plain Layout
4098 option to include default keyboard).
4106 \begin_layout Section
4107 \begin_inset CommandInset label
4113 Cosas sobre teclados internacionales
4116 \begin_layout Standard
4117 \begin_inset Note Note
4120 \begin_layout Plain Layout
4121 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4123 Sería bueno que alguien pudiera hacerlo.
4131 \begin_layout Standard
4132 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4134 \begin_inset Flex Code
4137 \begin_layout Plain Layout
4146 \begin_inset Flex Code
4149 \begin_layout Plain Layout
4158 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4159 suministrados no satisfacen tus necesidades.
4162 \begin_layout Subsection
4166 \begin_layout Standard
4168 \begin_inset Flex Code
4171 \begin_layout Plain Layout
4177 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4178 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4179 En esta sección se describen las palabras clave
4180 \begin_inset Flex Code
4183 \begin_layout Plain Layout
4192 \begin_inset Flex Code
4195 \begin_layout Plain Layout
4204 \begin_inset Flex Code
4207 \begin_layout Plain Layout
4216 \begin_inset Flex Code
4219 \begin_layout Plain Layout
4228 \begin_inset Flex Code
4231 \begin_layout Plain Layout
4240 \begin_layout Labeling
4241 \labelwidthstring 00.00.0000
4242 \begin_inset Flex Code
4245 \begin_layout Plain Layout
4253 Asocia un carácter a una cadena
4256 \begin_layout LyX-Code
4271 \begin_layout Standard
4285 , la doble comilla (") y la barra invertida (
4287 ) deben escaparse con una barra (
4292 \begin_layout Standard
4293 Un ejemplo de una declaración de
4294 \begin_inset Flex Noun
4297 \begin_layout Plain Layout
4305 para hacer que el símbolo
4306 \begin_inset Flex Noun
4309 \begin_layout Plain Layout
4317 sea generado por la tecla
4318 \begin_inset Flex Noun
4321 \begin_layout Plain Layout
4332 \begin_layout LyX-Code
4338 \begin_layout Labeling
4339 \labelwidthstring 00.00.0000
4340 \begin_inset Flex Code
4343 \begin_layout Plain Layout
4351 Especifica un carácter acentuado
4354 \begin_layout LyX-Code
4363 \begin_layout Standard
4364 Esto hará que el carácter
4372 sobre el(los) carácter(es) permitido(s)
4377 Este es el mecanismo de tecla muerta
4381 \begin_layout Plain Layout
4391 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4392 seguida de otra tecla genera el carácter acentuado deseado.
4393 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4402 \begin_layout Standard
4407 y después una tecla que no está entre las permitidas (
4411 ), en la salida obtendrás el carácter
4415 seguido por el otro carácter, el no permitido.
4416 Hay que tener en cuenta que
4417 \begin_inset Flex Noun
4420 \begin_layout Plain Layout
4428 cancela una tecla muerta, de modo que si pulsas
4433 \begin_inset Flex Noun
4436 \begin_layout Plain Layout
4444 , el cursor no retrocede una posición sino que anula el efecto que
4448 hubiera tenido sobre la siguiente pulsación.
4451 \begin_layout Standard
4452 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4453 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4456 \begin_layout LyX-Code
4459 kmod ' acute aeiouAEIOU
4462 \begin_layout Labeling
4463 \labelwidthstring 00.00.0000
4464 \begin_inset Flex Code
4467 \begin_layout Plain Layout
4473 Especifica una excepción para el carácter acentuado
4476 \begin_layout LyX-Code
4485 \begin_layout Standard
4486 Define una excepción para el
4499 debe haber sido asignado a una pulsación con una declaración previa de
4501 \begin_inset Flex Code
4504 \begin_layout Plain Layout
4520 no debe estar en el conjunto
4529 Si tecleas la secuencia
4538 Si dicha declaración no existe en el archivo
4539 \begin_inset Flex Code
4542 \begin_layout Plain Layout
4562 es el primer argumento de la declaración
4563 \begin_inset Flex Code
4566 \begin_layout Plain Layout
4579 \begin_layout Standard
4580 El comando siguiente generará äi cuando teclees agudo-i ('i):
4583 \begin_layout LyX-Code
4597 \begin_layout Labeling
4598 \labelwidthstring 00.00.0000
4599 \begin_inset Flex Code
4602 \begin_layout Plain Layout
4608 Combina dos caracteres acentos
4611 \begin_layout LyX-Code
4617 accent1 accent2 allowed
4620 \begin_layout Standard
4621 Esto es bastante esotérico.
4622 Permite combinar el efecto de
4630 (¡en ese orden!) sobre los caracteres permitidos
4643 deben haber sido declaradas con un comando
4644 \begin_inset Flex Code
4647 \begin_layout Plain Layout
4665 \begin_layout Standard
4666 Considera este ejemplo del archivo
4667 \begin_inset Flex Code
4670 \begin_layout Plain Layout
4681 \begin_layout LyX-Code
4684 kmod ; acute aeioyvhAEIOYVH
4688 kcomb acute umlaut iyIY
4691 \begin_layout Standard
4693 \begin_inset Flex Noun
4696 \begin_layout Plain Layout
4704 y obtener el efecto de
4705 \begin_inset Flex Code
4708 \begin_layout Plain Layout
4721 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4723 \begin_inset Flex Noun
4726 \begin_layout Plain Layout
4735 \begin_inset Flex Code
4738 \begin_layout Plain Layout
4751 \begin_layout Subsection
4755 \begin_layout Standard
4756 Después de realizados el mapa
4757 \begin_inset Flex Code
4760 \begin_layout Plain Layout
4769 \begin_inset Flex Code
4772 \begin_layout Plain Layout
4782 traza el mapa de las cadenas que los símbolos generan para los caracteres
4783 en la tipografía actual.
4784 La distribución de \SpecialChar LyX
4785 actualmente incluye al menos los archivos
4786 \begin_inset Flex Code
4789 \begin_layout Plain Layout
4798 \begin_inset Flex Code
4801 \begin_layout Plain Layout
4812 \begin_layout Standard
4813 En general el archivo
4814 \begin_inset Flex Code
4817 \begin_layout Plain Layout
4825 es una secuencia de declaraciones de la forma:
4828 \begin_layout LyX-Code
4841 \begin_layout Standard
4842 Por ejemplo, para asociar
4843 \begin_inset Flex Noun
4846 \begin_layout Plain Layout
4856 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4859 \begin_layout LyX-Code
4867 \begin_layout Standard
4869 \begin_inset Flex Code
4872 \begin_layout Plain Layout
4881 \begin_inset Flex Code
4884 \begin_layout Plain Layout
4895 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4897 \begin_inset Flex Code
4900 \begin_layout Plain Layout
4911 \begin_layout LyX-Code
4923 \begin_inset Newline newline
4939 \begin_layout Standard
4941 no puede encontrar una declaración para la cadena por una tecla o una
4942 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4943 y probará a dibujar un acento sobre el carácter en la pantalla.
4946 \begin_layout Subsection
4950 \begin_layout Standard
4951 Hay una segunda manera de añadir soporte para caracteres internacionales
4952 mediante las denominadas teclas muertas.
4953 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4955 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4959 \begin_layout Standard
4960 Supongamos que necesitas el carácter circunflejo
4961 \begin_inset Quotes fld
4965 \begin_inset Quotes frd
4969 Podrías asociar la tecla
4970 \begin_inset Flex Noun
4973 \begin_layout Plain Layout
4980 \begin_inset Flex Noun
4983 \begin_layout Plain Layout
4989 ) al comando \SpecialChar LyX
4991 \begin_inset Flex Code
4994 \begin_layout Plain Layout
5001 \begin_inset Flex Code
5004 \begin_layout Plain Layout
5011 Ahora, cuando pulses la tecla
5012 \begin_inset Flex Noun
5015 \begin_layout Plain Layout
5021 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5022 Por ejemplo, la secuencia
5023 \begin_inset Quotes fld
5027 \begin_inset Flex Noun
5030 \begin_layout Plain Layout
5037 \begin_inset Quotes frd
5041 \begin_inset Quotes fld
5045 \begin_inset Quotes frd
5050 \begin_inset Quotes fld
5054 \begin_inset Flex Code
5057 \begin_layout Plain Layout
5064 \begin_inset Quotes frd
5067 , sin embargo, \SpecialChar LyX
5068 no imprime nada puesto que
5069 \begin_inset Flex Noun
5072 \begin_layout Plain Layout
5078 nunca lleva un circunflejo.
5080 \begin_inset Flex Noun
5083 \begin_layout Plain Layout
5089 tras una tecla muerta imprime el acento solo.
5090 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5091 s reasociar el carácter de esa tecla a otra tecla.
5093 \begin_inset Flex Noun
5096 \begin_layout Plain Layout
5102 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5106 \begin_layout Standard
5107 Una forma habitual de asociar teclas muertas es usar
5108 \begin_inset Flex Noun
5111 \begin_layout Plain Layout
5118 \begin_inset Flex Noun
5121 \begin_layout Plain Layout
5128 \begin_inset Flex Noun
5131 \begin_layout Plain Layout
5137 en combinación con un acento, como
5138 \begin_inset Quotes fld
5142 \begin_inset Flex Noun
5145 \begin_layout Plain Layout
5152 \begin_inset Quotes frd
5156 \begin_inset Quotes fld
5160 \begin_inset Flex Noun
5163 \begin_layout Plain Layout
5170 \begin_inset Quotes frd
5174 \begin_inset Quotes fld
5178 \begin_inset Flex Noun
5181 \begin_layout Plain Layout
5188 \begin_inset Quotes frd
5192 Otra forma incluye el uso de
5193 \begin_inset Flex Code
5196 \begin_layout Plain Layout
5203 \begin_inset Flex Code
5206 \begin_layout Plain Layout
5212 para configurar la tecla especial
5213 \begin_inset Flex Code
5216 \begin_layout Plain Layout
5223 Esta tecla actúa de alguna forma como
5224 \begin_inset Flex Noun
5227 \begin_layout Plain Layout
5233 y permite teclas a caracteres acentuados.
5234 También puedes transformar teclas en muertas asociándolas a algo como
5235 \begin_inset Flex Code
5238 \begin_layout Plain Layout
5244 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5249 \begin_layout Plain Layout
5254 : Esto es exactamente lo que hago en mis archivos
5255 \begin_inset Flex Code
5258 \begin_layout Plain Layout
5265 \begin_inset Flex Code
5268 \begin_layout Plain Layout
5276 \begin_inset Flex Noun
5279 \begin_layout Plain Layout
5281 \begin_inset space ~
5290 \begin_inset Flex Code
5293 \begin_layout Plain Layout
5299 y unas cuantas de estas teclas simbólicas
5300 \begin_inset Quotes fld
5304 \begin_inset Flex Code
5307 \begin_layout Plain Layout
5314 \begin_inset Quotes frd
5317 asociadas a cosas como
5318 \begin_inset Flex Noun
5321 \begin_layout Plain Layout
5323 \begin_inset space ~
5332 \begin_inset Flex Noun
5335 \begin_layout Plain Layout
5337 \begin_inset space ~
5346 Así es como genero mis caracteres acentuados.
5351 Puedes hacer casi cualquier cosa con la tecla
5352 \begin_inset Flex Code
5355 \begin_layout Plain Layout
5362 \begin_inset Flex Noun
5365 \begin_layout Plain Layout
5371 , una tecla de función de reserva, etc.
5372 En cuanto a los comandos \SpecialChar LyX
5373 que generan acentos, consulta la entrada para
5375 \begin_inset Flex Code
5378 \begin_layout Plain Layout
5389 Ahí encontrarás la lista completa.
5392 \begin_layout Subsection
5393 Guardar la configuración de idioma
5396 \begin_layout Standard
5397 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5398 automáticamente configurado al iniciar \SpecialChar LyX
5400 \begin_inset Flex Noun
5403 \begin_layout Plain Layout
5404 Herramientas\SpecialChar menuseparator
5413 \begin_layout Chapter
5414 Instalación de nuevas clases de documento, formatos y plantillas
5415 \begin_inset CommandInset label
5417 name "cap:Instalación-de-nuevas"
5422 \begin_inset Argument 1
5425 \begin_layout Plain Layout
5426 Instalación de clases, formatos \SpecialChar ldots
5435 \begin_layout Standard
5436 En este capítulo describimos los procedimientos para crear e instalar nuevos
5437 archivos de plantillas y formatos de \SpecialChar LyX
5438 , así como repasar la instalación
5439 correcta de nuevas clases de documentos \SpecialChar LaTeX
5443 \begin_layout Standard
5444 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5445 y \SpecialChar LaTeX
5447 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5448 no sabe nada de \SpecialChar LaTeX
5450 Desde el punto de vista de \SpecialChar LyX
5451 , \SpecialChar LaTeX
5452 solo es uno más de los varios
5453 \begin_inset Quotes fld
5457 \begin_inset Quotes frd
5460 en los que es capaz de generar salida.
5461 Otros son DocBook, texto sencillo y XHTML.
5463 es, por supuesto, un formato particularmente importante, pero muy poca
5464 de la información que \SpecialChar LyX
5465 tiene sobre \SpecialChar LaTeX
5466 está realmente contenida en el propio
5471 \begin_layout Plain Layout
5472 Algunos comandos son lo bastante complejos como para ser incluidos en el
5473 código de \SpecialChar LyX
5475 Pero en general los desarrolladores consideran esto una mala cosa.
5481 Esa información, incluso para las clases estándar como
5485 , está almacenada en 'archivos de formato (
5490 De igual manera \SpecialChar LyX
5491 no sabe gran cosa sobre DocBook o XHTML.
5492 Esa información está en los archivos de formato.
5495 \begin_layout Standard
5496 El archivo de formato para una determinada clase de documento se puede considera
5497 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5499 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5500 tes de \SpecialChar LaTeX
5502 Por ejemplo, casi todo lo que \SpecialChar LyX
5504 \begin_inset Flex Code
5507 \begin_layout Plain Layout
5513 está contenido en el archivo
5514 \begin_inset Flex Code
5517 \begin_layout Plain Layout
5523 y en otros archivos incluidos en este.
5524 Por esta razón, quien intente escribir archivos de formato debería empezar
5525 por estudiar los archivos existentes.
5526 Un buen sitio para empezar es
5527 \begin_inset Flex Code
5530 \begin_layout Plain Layout
5536 , que está incluido en
5537 \begin_inset Flex Code
5540 \begin_layout Plain Layout
5547 \begin_inset Flex Code
5550 \begin_layout Plain Layout
5556 y muchos otros archivos de formato para clases de documento.
5557 En este archivo se definen las secciones y demás:
5558 \begin_inset Flex Code
5561 \begin_layout Plain Layout
5567 indica a \SpecialChar LyX
5568 como traducir los párrafos con estilos como Sección, Subsección,
5569 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5572 \begin_inset Flex Code
5575 \begin_layout Plain Layout
5581 solo incluye, básicamente, varios de estos archivos
5582 \begin_inset Flex Code
5585 \begin_layout Plain Layout
5594 \begin_layout Standard
5595 Pero definir la correspondencia \SpecialChar LyX
5597 no es lo único que hacen los archivos
5599 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5602 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5603 fuente de confusión, porque son totalmente independientes.
5604 Indicar a \SpecialChar LyX
5605 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5606 no le dice cómo mostrarlo
5607 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5608 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5609 (solo permite indicar
5610 a \SpecialChar LaTeX
5612 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5614 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5616 presentación en pantalla.
5619 \begin_layout Standard
5620 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5621 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5626 , en cierta medida, de usar la información de la presentación de un párrafo
5627 en pantalla para generar la presentación (en forma de CSS) del párrafo
5629 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5631 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5632 ambas se pueden controlar separadamente.
5634 \begin_inset CommandInset ref
5636 reference "sec:Etiquetas-para-XHTML"
5643 \begin_layout Section
5644 Instalación de nuevos archivos \SpecialChar LaTeX
5648 \begin_layout Standard
5649 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5650 que te gustaría usar
5653 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5654 , un paquete para preparar transparencias
5655 o diapositivas para proyectores.
5656 Las modernas distribuciones de \SpecialChar LaTeX
5657 como \SpecialChar TeX
5658 Live (2008 o posterior) o MiK\SpecialChar TeX
5660 una interfaz de usuario para eso.
5661 Por ejemplo, en MiK\SpecialChar TeX
5663 \begin_inset Quotes fld
5666 Administrador de paquetes
5667 \begin_inset Quotes frd
5670 para obtener una lista de los disponibles.
5671 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5675 \begin_layout Standard
5676 Si tu distribución \SpecialChar LaTeX
5678 \begin_inset Quotes fld
5681 administrador de paquetes
5682 \begin_inset Quotes frd
5685 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5686 para instalarlo manualmente:
5689 \begin_layout Enumerate
5690 Consigue el paquete de
5691 \begin_inset CommandInset href
5694 target "http://www.ctan.org/"
5701 \begin_layout Enumerate
5702 Si el paquete contiene un archivo con la extensión
5703 \begin_inset Quotes fld
5707 \begin_inset Flex Code
5710 \begin_layout Plain Layout
5717 \begin_inset Quotes frd
5720 (es el caso de Foil\SpecialChar TeX
5721 ) abre una consola, cambia a la carpeta del archivo
5722 y ejecuta el comando
5723 \begin_inset Flex Code
5726 \begin_layout Plain Layout
5733 Así desempaquetamos y disponemos de todos los archivos para instalar.
5734 La mayoría de paquetes \SpecialChar LaTeX
5735 no están empaquetados y podemos saltar este paso.
5738 \begin_layout Enumerate
5739 Tienes que decidir si el paquete estará disponible para todos los usuarios
5741 \begin_inset Separator parbreak
5748 \begin_layout Enumerate
5749 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5750 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5752 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5754 La ubicación de estos árboles, si no existen ya, depende del sistema.
5755 Para encontrarlos mira en el archivo
5756 \begin_inset Flex Code
5759 \begin_layout Plain Layout
5769 \begin_layout Plain Layout
5770 Usualmente es el directorio
5774 , aunque se puede ejecutar el comando
5775 \begin_inset Flex Code
5778 \begin_layout Plain Layout
5789 La ubicación del árbol `local' de \SpecialChar TeX
5790 está definida por la variable
5791 \begin_inset Flex Code
5794 \begin_layout Plain Layout
5800 ; generalmente algo como
5802 /usr/local/share/texmf/
5805 La ubicación del árbol `user' de \SpecialChar TeX
5807 \begin_inset Flex Code
5810 \begin_layout Plain Layout
5821 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5822 necesites permiso de administrador para crear o modificar el árbol `local',
5823 pero no para el árbol `user'.
5824 \begin_inset Newline newline
5827 En general, es recomendable instalar en el árbol `user' porque no será modificad
5828 o o sobrescrito al actualizar el sistema.
5829 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5830 o `home' (que debe ser lo habitual).
5833 \begin_layout Enumerate
5834 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5835 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5844 , (En MiK\SpecialChar TeX
5858 ) crea una nueva carpeta
5859 \begin_inset Flex Code
5862 \begin_layout Plain Layout
5868 y copia en ella todos los archivos del paquete.
5869 Para hacer el paquete disponible solo a un usuario o si no dispones de
5870 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5872 \begin_inset space \thinspace{}
5875 ej.,en MiK\SpecialChar TeX
5877 \begin_inset space ~
5881 \begin_inset Newline newline
5888 Documents and Settings
5895 \begin_inset Newline newline
5899 \begin_inset Phantom HPhantom
5902 \begin_layout Plain Layout
5923 \begin_inset Newline newline
5927 \begin_inset Newline newline
5955 \begin_layout Enumerate
5956 Ahora hay que decir a \SpecialChar LaTeX
5957 que hay archivos nuevos.
5958 Esto depende de la distribución de \SpecialChar LaTeX
5960 \begin_inset Separator parbreak
5967 \begin_layout Enumerate
5968 Para \SpecialChar TeX
5969 Live ejecuta el comando
5970 \begin_inset Flex Code
5973 \begin_layout Plain Layout
5980 Si el paquete se instaló para todos los usuarios harán falta permisos de
5984 \begin_layout Enumerate
5985 Para MiK\SpecialChar TeX
5986 , si el paquete se instaló para todos los usuarios, inicia el programa
5988 \begin_inset Quotes eld
5992 \begin_inset space ~
5996 \begin_inset Quotes erd
6000 \begin_inset Quotes eld
6004 \begin_inset Quotes erd
6008 Si no, inicia el programa
6009 \begin_inset Quotes eld
6013 \begin_inset Quotes erd
6020 \begin_layout Enumerate
6021 Finalmente, hay que decir a \SpecialChar LyX
6022 que hay nuevos paquetes disponibles.
6024 \begin_inset Flex Noun
6027 \begin_layout Plain Layout
6028 Herramientas\SpecialChar menuseparator
6034 y reinicia \SpecialChar LyX
6038 \begin_layout Standard
6039 Ya está instalado el paquete.
6040 En nuestro ejemplo, la clase de documento
6041 \begin_inset Flex Code
6044 \begin_layout Plain Layout
6046 \begin_inset space ~
6053 \begin_layout Plain Layout
6065 estará ahora disponible en
6066 \begin_inset Flex Noun
6069 \begin_layout Plain Layout
6070 Documento\SpecialChar menuseparator
6071 Configuración\SpecialChar menuseparator
6073 \begin_inset space ~
6077 \begin_inset space ~
6089 \begin_layout Standard
6090 Si quieres usar una clase de documento \SpecialChar LaTeX
6091 que no aparece listada en
6092 \begin_inset Flex Noun
6095 \begin_layout Plain Layout
6096 Documento\SpecialChar menuseparator
6097 Configuración\SpecialChar menuseparator
6099 \begin_inset space ~
6103 \begin_inset space ~
6111 , debes crear un archivo de formato (`layout') para ella.
6112 Este es el tema de la sección siguiente.
6115 \begin_layout Section
6116 Tipos de archivos de formato
6119 \begin_layout Standard
6120 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6121 que contienen informació
6124 \begin_inset Flex Code
6127 \begin_layout Plain Layout
6133 describen estilos de párrafo y de carácter, y determinan cómo los debería
6134 presentar \SpecialChar LyX
6135 y cómo deberían traducirse a \SpecialChar LaTeX
6136 , DocBook, XHTML o cualquier otro
6137 formato de salida que se vaya a usar.
6141 \begin_layout Standard
6142 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6143 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6145 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6146 que puedas encontrar.
6147 La lista de usuarios de \SpecialChar LyX
6148 es frecuentada por gente con mucha experiencia
6149 en el diseño de formatos deseosa de compartir sus conocimientos.
6152 \begin_layout Standard
6153 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6154 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6156 Si escribes un `layout' de \SpecialChar LyX
6157 para una clase de documento \SpecialChar LaTeX
6159 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6161 \begin_inset CommandInset href
6163 name "sección 'Layouts' en wiki LyX"
6164 target "http://wiki.lyx.org/Layouts/Layouts"
6168 o incluso a la lista de desarrolladores de \SpecialChar LyX
6169 para poderlo incluir en la
6174 \begin_layout Plain Layout
6175 Hay que advertir que \SpecialChar LyX
6176 se acoge a la licencia GPL, por tanto cualquier material
6177 aportado debe tener la misma licencia.
6185 \begin_layout Subsection
6187 \begin_inset CommandInset label
6189 name "subsec:Módulos-de-formato"
6196 \begin_layout Standard
6197 Hemos hablado hasta ahora de `archivos de formato'.
6198 Pero hay distintos tipos de archivos con información sobre formatos.
6199 Estrictamente, los archivos de formato tienen la extensión
6200 \begin_inset Flex Code
6203 \begin_layout Plain Layout
6209 y proporcionan a \SpecialChar LyX
6210 información sobre las clases de documento.
6211 Sin embargo, a partir de \SpecialChar LyX
6212 1.6, esta información puede proporcionarse también
6217 , que tienen la extensión
6218 \begin_inset Flex Code
6221 \begin_layout Plain Layout
6228 Los módulos son a los paquetes \SpecialChar LaTeX
6229 lo que los formatos a las clases \SpecialChar LaTeX
6231 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6232 determinado —en este caso
6233 \begin_inset Flex Code
6236 \begin_layout Plain Layout
6243 En cierto sentido, los módulos de formato son similares a los `archivos
6248 \begin_layout Plain Layout
6249 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6251 \begin_inset Flex Code
6254 \begin_layout Plain Layout
6266 \begin_inset Flex Code
6269 \begin_layout Plain Layout
6275 —, ya que, como estos, los módulos no son específicos para una clase de
6276 documento dada, sino que se pueden usar con muchos formatos diferentes.
6277 La diferencia es que el uso de un archivo incluido con
6278 \begin_inset Flex Code
6281 \begin_layout Plain Layout
6287 requiere editar dicho archivo, mientras que los módulos se seleccionan
6289 \begin_inset Flex Noun
6292 \begin_layout Plain Layout
6293 Documento\SpecialChar menuseparator
6303 \begin_layout Standard
6304 La construcción de módulos es la forma más fácil de iniciarse en la edición
6305 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6306 de párrafo o un recuadro flexible.
6307 No obstante, los módulos pueden, en principio, contener cualquier cosa
6308 que pueda contener un archivo `layout'.
6311 \begin_layout Standard
6312 Después de crear un módulo nuevo y copiarlo en la carpeta
6313 \begin_inset Flex Code
6316 \begin_layout Plain Layout
6322 , tendrás que reconfigurar \SpecialChar LyX
6323 y reiniciar después para que el módulo aparezca
6325 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6327 \begin_inset Flex Noun
6330 \begin_layout Plain Layout
6331 Documento\SpecialChar menuseparator
6337 , seleccionas lo que sea y después pulsas
6338 \begin_inset Quotes fld
6342 \begin_inset Quotes frd
6348 Es muy recomendable guardar el trabajo antes de hacer eso.
6353 es muy recomendable no intentar editar los módulos mientras se está trabajando
6354 simultáneamente en un documento
6357 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6358 ad de \SpecialChar LyX
6359 en estas situaciones, errores sintácticos y similares en el archivo
6360 del módulo podrían causar extraños comportamientos.
6363 \begin_layout Subsubsection
6367 \begin_layout Standard
6368 Los módulos son a \SpecialChar LyX
6369 lo que los paquetes a \SpecialChar LaTeX
6371 Sin embargo, a veces puede suceder que necesites un recuadro específico
6372 o un estilo de carácter solo para un documento, y escribir un módulo que
6373 estará disponible también para otros documentos tiene poco sentido.
6374 En estos casos, lo que necesitas es el
6375 \begin_inset Quotes fld
6379 \begin_inset Quotes frd
6386 \begin_layout Standard
6389 Documento\SpecialChar menuseparator
6390 Configuración\SpecialChar menuseparator
6394 El gran cuadro de texto permite introducir todo lo que podría incluirse
6395 en un archivo de formato o en un módulo.
6396 De hecho, el formato local de un documento se puede considerar como un
6397 módulo que le pertenece solo a él.
6398 Por tanto, en particular, hay que introducir una etiqueta
6399 \begin_inset Flex Code
6402 \begin_layout Plain Layout
6409 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6411 (En \SpecialChar LyX
6412 2.1 el formato actual es 48).
6413 Debes tener en cuenta que el formato local no es soportado por versiones
6415 anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar
6416 el documento a \SpecialChar LyX
6417 1.5 o anteriores sin perder la información del formato local.
6418 Si quieres poder exportar a 1.6 —el formato local es soportado pero no hay
6419 IU par él—, deberías usar formato 11 y, por supuesto, usar solo estructuras
6420 que estuvieran disponibles en \SpecialChar LyX
6424 \begin_layout Standard
6425 Una vez introducido algo en el panel
6426 \begin_inset Flex Code
6429 \begin_layout Plain Layout
6437 \begin_inset Quotes fld
6441 \begin_inset Quotes frd
6445 Pulsando ese botón \SpecialChar LyX
6446 determinará si lo introducido es información válida
6447 para el formato elegido.
6449 informará del resultado pero, desafortunadamente, no indicará qué errores
6450 pudiera haber habido.
6451 Sin embargo, si \SpecialChar LyX
6452 se ha arrancado en una terminal se verán ahí los errores.
6453 El formato local no se podrá guardar hasta que se haya introducido algo
6457 \begin_layout Standard
6458 Las advertencias al final de la sección anterior se aplican también aquí.
6459 Es mejor no enredar con formato local mientras se está trabajando, especialment
6460 e si no se ha guardado el documento.
6461 Dicho esto, usar formato local en un documento de prueba puede ser una
6462 forma muy conveniente de probar ideas de formato, o incluso de empezar
6463 a desarrollar un módulo.
6466 \begin_layout Subsection
6467 Formato para archivos
6468 \begin_inset Flex Noun
6471 \begin_layout Plain Layout
6480 \begin_layout Standard
6481 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6482 soportar una nueva clase de documento \SpecialChar LaTeX
6483 , según se trate de archivos de estilo
6485 \begin_inset Flex Code
6488 \begin_layout Plain Layout
6494 ) o de archivos de clases \SpecialChar LaTeX2e
6496 \begin_inset Flex Code
6499 \begin_layout Plain Layout
6506 Dar soporte a un nuevo estilo es bastante fácil.
6507 Dar soporte a una nueva clase es un poco más difícil.
6508 Trataremos el primer caso en esta sección y el otro en la siguiente.
6509 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6513 \begin_layout Standard
6514 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6515 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6516 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6517 \begin_inset Flex Noun
6520 \begin_layout Plain Layout
6526 y que se usará conjuntamente con
6527 \begin_inset Flex Noun
6530 \begin_layout Plain Layout
6536 , que es una clase estándar.
6539 \begin_layout Standard
6540 Empieza por copiar el archivo `layout' existente en tu directorio local:
6544 \begin_layout Plain Layout
6545 Evidentemente, cuál es tu directorio local variará según la plataforma,
6546 y además \SpecialChar LyX
6547 permite especificarlo al inicio usando la opción
6548 \begin_inset Flex Code
6551 \begin_layout Plain Layout
6565 \begin_layout LyX-Code
6566 cp report.layout ~/.lyx/layouts/myclass.layout
6569 \begin_layout Standard
6571 \begin_inset Flex Code
6574 \begin_layout Plain Layout
6583 \begin_layout LyX-Code
6586 Declare\SpecialChar LaTeX
6590 \begin_layout Standard
6594 \begin_layout LyX-Code
6597 Declare\SpecialChar LaTeX
6598 Class[report, myclass.sty]{report (myclass)}
6601 \begin_layout Standard
6605 \begin_layout LyX-Code
6607 \begin_inset Newline newline
6613 \begin_inset Newline newline
6619 \begin_layout Standard
6620 cerca del principio del archivo.
6623 \begin_layout Standard
6624 Inicia \SpecialChar LyX
6626 \begin_inset Flex Noun
6629 \begin_layout Plain Layout
6630 Herramientas\SpecialChar menuseparator
6637 Después reinicia \SpecialChar LyX
6638 y haz una prueba con un documento nuevo.
6640 \begin_inset Flex Noun
6643 \begin_layout Plain Layout
6644 Documento\SpecialChar menuseparator
6651 \begin_inset Quotes fld
6655 \begin_inset Flex Noun
6658 \begin_layout Plain Layout
6665 \begin_inset Quotes frd
6668 en la lista de clases de documento.
6669 Es probable que algunos de los comandos de secciones y demás en tu nueva
6670 clase funcionen de distinta manera a como lo hacen en la clase estándar
6672 \begin_inset Flex Code
6675 \begin_layout Plain Layout
6681 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6682 con los ajustes de las distintas secciones.
6683 La información del formato de las secciones se encuentra en
6684 \begin_inset Flex Code
6687 \begin_layout Plain Layout
6693 , pero no necesitas copiar ni cambiar este archivo.
6694 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6696 \begin_inset Flex Code
6699 \begin_layout Plain Layout
6706 \begin_inset Flex Code
6709 \begin_layout Plain Layout
6716 Por ejemplo, podrías añadir estas líneas:
6719 \begin_layout LyX-Code
6723 \begin_layout LyX-Code
6727 \begin_layout LyX-Code
6731 \begin_layout LyX-Code
6735 \begin_layout LyX-Code
6739 \begin_layout Standard
6740 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6741 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6746 \begin_layout Standard
6747 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6749 En este caso, los añadirás al archivo `layout'.
6751 \begin_inset space ~
6755 \begin_inset CommandInset ref
6757 reference "sec:Estructura-del-archivo-layout"
6761 para información sobre cómo hacerlo.
6764 \begin_layout Standard
6766 \begin_inset Flex Noun
6769 \begin_layout Plain Layout
6775 se puede usar con diferentes clases de documento, e incluso si no es así,
6776 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6778 El módulo más simple posible podría ser:
6781 \begin_layout LyX-Code
6784 Declare\SpecialChar LyX
6788 \begin_layout LyX-Code
6792 \begin_layout LyX-Code
6793 #Support for mypkg.sty.
6796 \begin_layout LyX-Code
6798 \begin_inset Newline newline
6804 \begin_layout LyX-Code
6806 \begin_inset Newline newline
6812 \begin_layout LyX-Code
6814 \begin_inset Newline newline
6820 \begin_inset Newline newline
6826 \begin_layout Standard
6827 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6828 ya existente o definir algunas nuevas.
6829 De nuevo te remitimos a sección
6830 \begin_inset space ~
6834 \begin_inset CommandInset ref
6836 reference "sec:Estructura-del-archivo-layout"
6843 \begin_layout Subsection
6844 Formato para archivos
6845 \begin_inset Flex Noun
6848 \begin_layout Plain Layout
6857 \begin_layout Standard
6858 En este caso hay dos opciones.
6859 Una, que el archivo de clase esté él mismo basado en una clase de documento
6861 Por ejemplo, muchas clases de tesis están basadas en
6862 \begin_inset Flex Noun
6865 \begin_layout Plain Layout
6872 Para ver si el tuyo lo está, busca una línea parecida a
6875 \begin_layout LyX-Code
6881 \begin_layout Standard
6883 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6884 aunque la línea Declare\SpecialChar LaTeX
6885 Class será diferente.
6886 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6890 \begin_layout Plain Layout
6891 Y será mucho más fácil si guardas el archivo como
6892 \begin_inset Flex Code
6895 \begin_layout Plain Layout
6902 supone que la clase de documento tiene el mismo nombre que el archivo
6912 \begin_layout LyX-Code
6915 Declare\SpecialChar LaTeX
6916 Class[thesis,book]{thesis}
6919 \begin_layout Standard
6920 Si, por el contrario, la nueva clase no está basada en una ya existente,
6921 probablemente tendrás que ir pensando en tu propio formato.
6922 Recomendamos firmemente copiar un archivo de formato existente que use
6923 una clase de \SpecialChar LaTeX
6924 parecida y modificarlo, si es posible.
6925 O al menos, usa un archivo existente como punto de partida para ver qué
6926 items son los que te deben preocupar.
6927 Los detalles se discuten a continuación.
6930 \begin_layout Subsection
6931 Creación de plantillas
6932 \begin_inset CommandInset label
6934 name "subsec:Creación-de-plantillas"
6941 \begin_layout Standard
6942 Una vez escrito un archivo de formato para una clase nueva de documento,
6943 podrías pensar en escribir además una
6948 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6949 cómo podría usarse, aunque sea con contenido irrelevante.
6950 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6955 \begin_layout Standard
6956 Las plantillas se crean exactamente igual que un documento normal: usando
6959 La única diferencia es que los documentos corrientes tienen todos los ajustes
6960 posibles, incluso el esquema de tipografías y el tamaño del papel.
6961 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6962 preferidos para dichos parámetros.
6963 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6965 \begin_inset Flex Code
6968 \begin_layout Plain Layout
6977 \begin_inset Flex Code
6980 \begin_layout Plain Layout
6988 de los archivos de plantillas de \SpecialChar LyX
6990 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6992 \begin_inset Flex Code
6995 \begin_layout Plain Layout
7002 \begin_inset Flex Code
7005 \begin_layout Plain Layout
7015 \begin_layout Standard
7016 Los archivos editados de plantillas que has creado se ubican en
7017 \begin_inset Flex Code
7020 \begin_layout Plain Layout
7026 , copia los que uses del directorio global de plantillas en
7027 \begin_inset Flex Code
7030 \begin_layout Plain Layout
7037 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7038 \begin_inset Flex Noun
7041 \begin_layout Plain Layout
7042 Herramientas\SpecialChar menuseparator
7043 Preferencias\SpecialChar menuseparator
7052 \begin_layout Standard
7053 De paso advertiremos que hay una plantilla,
7054 \begin_inset Flex Code
7057 \begin_layout Plain Layout
7063 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7064 un documento nuevo con
7065 \begin_inset Flex Noun
7068 \begin_layout Plain Layout
7069 Archivo\SpecialChar menuseparator
7075 , con el fin de proporcionar ajustes predeterminados por omisión.
7076 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7077 , lo que debes hacer es abrir
7078 un documento, establecer los ajustes deseados y usar el botón
7079 \begin_inset Flex Noun
7082 \begin_layout Plain Layout
7083 Guardar como predeterminados
7091 \begin_layout Subsection
7092 Actualización de antiguos archivos de formato
7095 \begin_layout Standard
7096 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7098 de modo que los antiguos archivos de formato deben ser convertidos.
7100 lee un archivo de formato con formato antiguo lanzará la herramienta
7102 \begin_inset Flex Code
7105 \begin_layout Plain Layout
7111 , que lo convierte a un archivo temporal con el formato actual.
7112 El archivo original se deja sin tocar.
7113 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7114 que \SpecialChar LyX
7115 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7118 \begin_layout Enumerate
7122 \begin_inset Flex Code
7125 \begin_layout Plain Layout
7134 \begin_inset Flex Code
7137 \begin_layout Plain Layout
7148 \begin_layout Enumerate
7154 \begin_inset Newline newline
7158 \begin_inset Flex Code
7161 \begin_layout Plain Layout
7162 python \SpecialChar LyX
7163 Dir/scripts/layout2layout.py myclass.old myclass.layout
7169 \begin_inset Newline newline
7175 \begin_inset Flex Code
7178 \begin_layout Plain Layout
7189 el nombre de tu directorio \SpecialChar LyX
7193 \begin_layout Standard
7194 La conversión manual no puede manejar archivos incluidos, así que estos
7195 tendrán que convertirse separadamente.
7198 \begin_layout Section
7199 Estructura del archivo `layout'
7200 \begin_inset CommandInset label
7202 name "sec:Estructura-del-archivo-layout"
7209 \begin_layout Standard
7210 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7211 tu propio archivo de formato; las siguientes secciones describen aquello
7212 a lo que te vas a enfrentar.
7213 Nuestro consejo es ir despacito, probando y guardando a menudo.
7214 En realidad no es para tanto, pero la multitud de opciones puede llegar
7215 a abrumarte si intentas hacer muchas cosas a la vez.
7218 It becomes easier if you use existing layouts of \SpecialChar LyX
7219 as examples/reference
7220 or if you modify an existing layout to your needs.
7223 \begin_layout Standard
7224 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7225 a las mayúsculas; esto significa que
7226 \begin_inset Flex Code
7229 \begin_layout Plain Layout
7236 \begin_inset Flex Code
7239 \begin_layout Plain Layout
7246 \begin_inset Flex Code
7249 \begin_layout Plain Layout
7255 son el mismo comando.
7256 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7258 Si en una descripción de una clase de texto no se especifica una característica
7259 , el valor por omisión se escribe en estilo
7260 \begin_inset Flex Code
7263 \begin_layout Plain Layout
7272 Si el argumento tiene un tipo de dato como
7273 \begin_inset Quotes fld
7277 \begin_inset Quotes frd
7281 \begin_inset Quotes fld
7285 \begin_inset Quotes frd
7288 , el valor por omisión se muestra de esta manera:
7289 \begin_inset Flex Code
7292 \begin_layout Plain Layout
7303 \begin_layout Subsection
7304 Declaración de la clase de documento
7309 \begin_layout Standard
7310 Las líneas de un archivo de formato que empiezan con
7311 \begin_inset Flex Code
7314 \begin_layout Plain Layout
7321 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7325 \begin_layout LyX-Code
7328 #% Do not delete the line below; configure depends on this
7332 \begin_layout Plain Layout
7336 \begin_inset space \thinspace{}
7341 : No borrar la línea siguiente; la configuración depende de ella
7349 \begin_layout LyX-Code
7360 \begin_layout Plain Layout
7369 eXClass{Article (Standard Class)}
7372 \begin_layout LyX-Code
7377 DeclareCategory{Articles}
7380 \begin_layout Standard
7385 línea se usan en la (re)configuración de \SpecialChar LyX
7387 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7389 \begin_inset Flex Code
7392 \begin_layout Plain Layout
7398 de un modo especial tal que
7399 \begin_inset Flex Code
7402 \begin_layout Plain Layout
7409 La primera línea es solo un comentario y la segunda contiene la declaración
7414 de la clase de texto
7416 and the third line contains the optional classification of the class
7419 Si estas líneas aparecen en un archivo llamado
7420 \begin_inset Flex Code
7423 \begin_layout Plain Layout
7429 , entonces definen una clase de texto de nombre
7430 \begin_inset Flex Code
7433 \begin_layout Plain Layout
7439 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7441 \begin_inset Flex Code
7444 \begin_layout Plain Layout
7450 (por omisión se usa el mismo nombre para ambos).
7452 \begin_inset Quotes fld
7455 Article (Standard Class)
7456 \begin_inset Quotes frd
7459 se utiliza como descripción de la clase de texto y es la que aparece en
7461 \begin_inset Flex Noun
7464 \begin_layout Plain Layout
7465 Documento\SpecialChar menuseparator
7475 \begin_inset Quotes eld
7479 \begin_inset Quotes erd
7482 in the example) is also used in the
7483 \begin_inset Flex Noun
7486 \begin_layout Plain Layout
7489 Document\SpecialChar menuseparator
7495 dialog: the text classes are grouped by these categories (which are usually
7496 genres, so typical categories are
7497 \begin_inset Quotes eld
7501 \begin_inset Quotes erd
7505 \begin_inset Quotes eld
7509 \begin_inset Quotes erd
7513 \begin_inset Quotes eld
7517 \begin_inset Quotes erd
7521 \begin_inset Quotes eld
7525 \begin_inset Quotes erd
7529 \begin_inset Quotes eld
7533 \begin_inset Quotes erd
7537 \begin_inset Quotes eld
7541 \begin_inset Quotes erd
7545 If no category has been declared, the class will be put in the
7546 \begin_inset Quotes eld
7550 \begin_inset Quotes erd
7556 \begin_layout Standard
7557 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7559 \begin_inset Flex Code
7562 \begin_layout Plain Layout
7568 , pero en la que has cambiado el aspecto de los encabezados de sección.
7569 Si lo pones en un archivo
7570 \begin_inset Flex Code
7573 \begin_layout Plain Layout
7579 , la cabecera de este archivo debería ser:
7582 \begin_layout LyX-Code
7585 #% Do not delete the line below; configure depends on this
7588 \begin_layout LyX-Code
7599 \begin_layout Plain Layout
7608 eXClass[article]{Article (con Mis Encabezados)}
7611 \begin_layout LyX-Code
7616 DeclareCategory{Articles}
7619 \begin_layout Standard
7620 Esto declara la clase de texto
7621 \begin_inset Flex Code
7624 \begin_layout Plain Layout
7630 , asociada con la clase de documento \SpecialChar LaTeX
7632 \begin_inset Flex Code
7635 \begin_layout Plain Layout
7641 , y cuya descripción es
7642 \begin_inset Quotes fld
7645 Article (con Mis Encabezados)
7646 \begin_inset Quotes frd
7650 Si la clase de texto depende de varios paquetes, puedes declararla así:
7653 \begin_layout LyX-Code
7656 #% Do not delete the line below; configure depends on this
7659 \begin_layout LyX-Code
7670 \begin_layout Plain Layout
7679 eXClass[article,foo.sty]{Article (con Mis Encabezados)}
7682 \begin_layout LyX-Code
7687 DeclareCategory{Articles}
7690 \begin_layout Standard
7691 Esto indica que la clase de texto utiliza el paquete foo.sty.
7692 Finalmente, también es posible declarar clases para código DocBook.
7693 Una declaración típica podría ser:
7696 \begin_layout LyX-Code
7699 #% Do not delete the line below; configure depends on this
7702 \begin_layout LyX-Code
7707 DeclareDocBookClass[article]{SGML (DocBook Article)}
7710 \begin_layout LyX-Code
7715 DeclareCategory{Articles}
7718 \begin_layout Standard
7719 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7720 que declare el nombre de la clase de documento (pero no una lista).
7723 \begin_layout Standard
7724 Así, para ser lo más explícito posible, la forma de la declaración del formato
7728 \begin_layout LyX-Code
7739 \begin_layout Plain Layout
7748 eXClass[class,package.sty]{descripción del formato}
7751 \begin_layout LyX-Code
7763 \begin_layout Standard
7764 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7766 el nombre de archivo del formato son diferentes; si el nombre del archivo
7767 de clase no se especifica, \SpecialChar LyX
7768 simplemente supondrá que es el mismo que el
7769 del archivo de formato.
7772 \begin_layout Standard
7773 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7774 debes hacer es copiarla a
7775 \begin_inset Flex Code
7778 \begin_layout Plain Layout
7786 \begin_inset Flex Code
7789 \begin_layout Plain Layout
7796 \begin_inset Flex Noun
7799 \begin_layout Plain Layout
7800 Herramientas\SpecialChar menuseparator
7806 , y reiniciar \SpecialChar LyX
7808 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7811 \begin_layout Standard
7812 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7813 que reconfigurar ni reiniciar \SpecialChar LyX
7819 \begin_layout Plain Layout
7820 En versiones de \SpecialChar LyX
7821 anteriores a 1.6 no era así.
7822 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7823 pues constantemente había que reconfigurar y reiniciar.
7828 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7830 \begin_inset Flex Noun
7833 \begin_layout Plain Layout
7840 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7841 asociarle tú mismo una secuencia de teclas—.
7842 Normalmente usarás esta función introduciéndola simplemente en el
7850 \begin_layout Standard
7855 : Esto es mucho más que una
7856 \begin_inset Quotes fld
7859 característica avanzada
7860 \begin_inset Quotes frd
7868 recomendable que no intentes editar tu formato mientras estés trabajando
7869 en un documento importante.
7870 Usa un documento de prueba.
7871 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7872 comportamientos extraños.
7873 En particular, tales errores podrían provocar que \SpecialChar LyX
7874 vea el formato actual
7875 como inválido e intente cambiar a algún otro.
7879 \begin_layout Plain Layout
7880 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7882 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7888 información de formato.
7889 Por favor ten cuidado.
7894 El equipo \SpecialChar LyX
7895 procura que \SpecialChar LyX
7896 se mantenga estable en estos casos, pero es mejor
7901 \begin_layout Plain Layout
7902 De todos modos, haz copias de seguridad regularmente.
7903 Y sé bueno con mamá.
7912 \begin_layout Subsection
7913 Declaración de un módulo
7916 \begin_layout Standard
7917 Un módulo debe empezar con una línea como la siguiente:
7920 \begin_layout LyX-Code
7927 \begin_layout Plain Layout
7934 yXModule[endnotes.sty]{Endnotes}
7937 \begin_layout Standard
7938 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7940 \begin_inset Flex Noun
7943 \begin_layout Plain Layout
7944 Documento\SpecialChar menuseparator
7945 Configuración\SpecialChar menuseparator
7952 El argumento entre corchetes es opcional: declara cualesquiera paquetes
7954 de los que depende el módulo.
7955 También es posible usar la forma
7956 \begin_inset Flex Noun
7959 \begin_layout Plain Layout
7965 como argumento opcional, que declara que el módulo solo puede usarse cuando
7966 existe una cadena de conversión entre los formatos `
7967 \begin_inset Flex Code
7970 \begin_layout Plain Layout
7977 \begin_inset Flex Code
7980 \begin_layout Plain Layout
7989 \begin_layout Standard
7990 La declaración del módulo debe proseguir con líneas como las siguientes:
7994 \begin_layout Plain Layout
7995 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
7997 Esta descripción aparecerá en la lista de mensajes para ser traducidos
7998 en la siguiente actualización de la interfaz.
8006 \begin_layout LyX-Code
8010 \begin_layout LyX-Code
8011 #Adds an endnote command, in addition to footnotes.
8015 \begin_layout LyX-Code
8016 #You will need to add
8018 theendnotes in \SpecialChar TeX
8022 \begin_layout LyX-Code
8023 #want the endnotes to appear.
8027 \begin_layout LyX-Code
8031 \begin_layout LyX-Code
8032 #Requires: somemodule | othermodule
8035 \begin_layout LyX-Code
8036 #Excludes: badmodule
8039 \begin_layout Standard
8040 La descripción se usa en
8041 \begin_inset Flex Noun
8044 \begin_layout Plain Layout
8045 Documento\SpecialChar menuseparator
8046 Configuración\SpecialChar menuseparator
8052 para proporcionar al usuario información sobre las acciones del módulo.
8054 \begin_inset Flex Code
8057 \begin_layout Plain Layout
8063 sirve para identificar otros módulos con los que se debe usar este; la
8065 \begin_inset Flex Code
8068 \begin_layout Plain Layout
8074 identifica los módulos con los que este no se puede usar.
8075 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8076 el símbolo tubería: |.
8077 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8082 de los módulos requeridos.
8088 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8090 \begin_inset Flex Code
8093 \begin_layout Plain Layout
8101 \begin_inset Flex Code
8104 \begin_layout Plain Layout
8111 \begin_inset Flex Code
8114 \begin_layout Plain Layout
8123 \begin_layout Subsection
8124 Número de formatoLa primera línea no comentada de cualquier archivo `layout',
8129 contener el número de formato del archivo:
8132 \begin_layout Description
8133 \begin_inset Flex Code
8136 \begin_layout Plain Layout
8143 \begin_inset Flex Code
8146 \begin_layout Plain Layout
8152 ] El número de formato del archivo `layout'.
8155 \begin_layout Standard
8156 Esta etiqueta se introdujo en \SpecialChar LyX
8158 \begin_inset space ~
8162 Los archivos de formato de \SpecialChar LyX
8164 \begin_inset space ~
8167 1.3.x y anteriores no tienen un número explícito y se considera de
8168 \begin_inset Flex Code
8171 \begin_layout Plain Layout
8173 \begin_inset space ~
8182 El número para la versión actual de \SpecialChar LyX
8184 Cada versión de \SpecialChar LyX
8185 es capaz de leer los formatos de versiones anteriores,
8186 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8189 Sin embargo, no está previsto convertir a formatos anteriores.
8192 \begin_layout Subsection
8193 Parámetros generales de clases de texto
8194 \begin_inset CommandInset label
8196 name "subsec:Parámetros-generales-clases"
8203 \begin_layout Standard
8204 Estos son los parámetros generales que describen completamente una clase
8210 significa que deban aparecer en archivos
8211 \begin_inset Flex Code
8214 \begin_layout Plain Layout
8220 en vez de en módulos.
8221 Un módulo puede contener cualquier etiqueta de formato).
8224 \begin_layout Description
8225 \begin_inset Flex Code
8228 \begin_layout Plain Layout
8234 Añade información para el bloque
8235 \begin_inset Flex Code
8238 \begin_layout Plain Layout
8244 cuando el documento se exporte a XHTML.
8245 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8246 se puede usar para cualquier cosa que pueda aparecer en
8247 \begin_inset Flex Code
8250 \begin_layout Plain Layout
8258 \begin_inset Quotes eld
8262 \begin_inset Flex Code
8265 \begin_layout Plain Layout
8272 \begin_inset Quotes erd
8278 \begin_layout Description
8279 \begin_inset Flex Code
8282 \begin_layout Plain Layout
8288 Añade información al preámbulo del documento.
8290 \begin_inset Quotes fld
8294 \begin_inset Flex Code
8297 \begin_layout Plain Layout
8304 \begin_inset Quotes frd
8310 \begin_layout Description
8311 \begin_inset Flex Code
8314 \begin_layout Plain Layout
8320 Define formatos a usar en la presentación de información bibliográfica.
8322 \begin_inset space ~
8326 \begin_inset CommandInset ref
8328 reference "subsec:Descripción-formato-cita"
8334 \begin_inset Quotes eld
8338 \begin_inset Flex Code
8341 \begin_layout Plain Layout
8348 \begin_inset Quotes erd
8354 \begin_layout Description
8355 \begin_inset Flex Code
8358 \begin_layout Plain Layout
8364 Describe varias opciones globales soportadas por la clase de documento.
8366 \begin_inset space ~
8370 \begin_inset CommandInset ref
8372 reference "subsec:ClassOptions"
8376 para una descripción.
8378 \begin_inset Quotes fld
8382 \begin_inset Flex Code
8385 \begin_layout Plain Layout
8392 \begin_inset Quotes frd
8398 \begin_layout Description
8399 \begin_inset Flex Code
8402 \begin_layout Plain Layout
8409 \begin_inset Flex Code
8412 \begin_layout Plain Layout
8421 \begin_inset space \thinspace{}
8425 \begin_inset Flex Code
8428 \begin_layout Plain Layout
8434 ] Establece el número de columnas por omisión.
8435 Se puede cambiar en el diálogo
8436 \begin_inset Flex Noun
8439 \begin_layout Plain Layout
8440 Documento\SpecialChar menuseparator
8449 \begin_layout Description
8450 \begin_inset Flex Code
8453 \begin_layout Plain Layout
8459 Esta secuencia define un nuevo contador.
8461 \begin_inset space ~
8465 \begin_inset CommandInset ref
8467 reference "subsec:Contadores"
8473 \begin_inset Quotes fld
8477 \begin_inset Flex Code
8480 \begin_layout Plain Layout
8487 \begin_inset Quotes frd
8493 \begin_layout Description
8494 \begin_inset Flex Code
8497 \begin_layout Plain Layout
8503 Establece la tipografía por omisión para presentar el documento.
8505 \begin_inset space ~
8509 \begin_inset CommandInset ref
8511 reference "subsec:Tipografías"
8515 para cómo declarar tipografías.
8517 \begin_inset Quotes fld
8521 \begin_inset Flex Code
8524 \begin_layout Plain Layout
8531 \begin_inset Quotes frd
8537 \begin_layout Description
8538 \begin_inset Flex Code
8541 \begin_layout Plain Layout
8548 \begin_inset Flex Code
8551 \begin_layout Plain Layout
8557 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8558 deberá declararse por su nombre de archivo sin la extensión
8559 \begin_inset Flex Code
8562 \begin_layout Plain Layout
8569 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8570 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8571 elige para un documento existente.)
8574 \begin_layout Description
8575 \begin_inset Flex Code
8578 \begin_layout Plain Layout
8585 \begin_inset Flex Code
8588 \begin_layout Plain Layout
8594 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8595 \begin_inset Flex Noun
8598 \begin_layout Plain Layout
8605 Si no se especifica, se escogerá por omisión el primer estilo definido,
8606 pero es muy recomendable usar esta instrucción.
8609 \begin_layout Description
8610 \begin_inset Flex Code
8613 \begin_layout Plain Layout
8620 \begin_inset Flex Code
8623 \begin_layout Plain Layout
8629 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8630 de archivo sin la extensión
8631 \begin_inset Flex Code
8634 \begin_layout Plain Layout
8640 ) no puede utilizarse con esta clase de documento.
8641 Esto podría usarse en un archivo de formato específico de una publicación
8642 para, digamos, impedir el empleo del módulo
8643 \begin_inset Flex Code
8646 \begin_layout Plain Layout
8652 , que numera los teoremas y demás por secciones.
8657 puede utilizarse en un módulo.
8658 Los módulos tienen su propia forma de excluir otros módulos (véase
8659 \begin_inset space ~
8663 \begin_inset CommandInset ref
8665 reference "subsec:Módulos-de-formato"
8672 \begin_layout Description
8673 \begin_inset Flex Code
8676 \begin_layout Plain Layout
8682 Define un nuevo flotante.
8684 \begin_inset space ~
8688 \begin_inset CommandInset ref
8690 reference "subsec:Flotantes"
8696 \begin_inset Quotes fld
8700 \begin_inset Flex Code
8703 \begin_layout Plain Layout
8710 \begin_inset Quotes frd
8716 \begin_layout Description
8717 \begin_inset Flex Code
8720 \begin_layout Plain Layout
8726 Da información para el bloque
8727 \begin_inset Flex Code
8730 \begin_layout Plain Layout
8736 cuando esta clase de documento se exporte a XHTML.
8737 Advertir que esto sobrescribirá completamente cualquier declaración anterior
8739 \begin_inset Flex Code
8742 \begin_layout Plain Layout
8749 \begin_inset Flex Code
8752 \begin_layout Plain Layout
8760 \begin_inset Flex Code
8763 \begin_layout Plain Layout
8769 si solo quieres añadir material al preámbulo).
8771 \begin_inset Quotes eld
8775 \begin_inset Flex Code
8778 \begin_layout Plain Layout
8785 \begin_inset Quotes erd
8791 \begin_layout Description
8792 \begin_inset Flex Code
8795 \begin_layout Plain Layout
8802 \begin_inset Flex Code
8805 \begin_layout Plain Layout
8813 The style to use for the
8815 índice general, bibliografía, etc., cuando el documento se exporte a HTML.
8816 Para article, normalmente será
8817 \begin_inset Flex Code
8820 \begin_layout Plain Layout
8827 \begin_inset Flex Code
8830 \begin_layout Plain Layout
8837 Si no se especifica, \SpecialChar LyX
8838 intentará deducir qué formato usar.
8841 \begin_layout Description
8842 \begin_inset Flex Code
8845 \begin_layout Plain Layout
8852 \begin_inset Flex Code
8855 \begin_layout Plain Layout
8861 ] Modifica las propiedades del contador dado.
8862 Si el contador no existe, esta sección se ignora.
8864 \begin_inset Quotes eld
8868 \begin_inset Flex Code
8871 \begin_layout Plain Layout
8878 \begin_inset Quotes erd
8882 \begin_inset Newline newline
8886 \begin_inset space ~
8890 \begin_inset CommandInset ref
8892 reference "subsec:Contadores"
8899 \begin_layout Description
8900 \begin_inset Flex Code
8903 \begin_layout Plain Layout
8910 \begin_inset Flex Code
8913 \begin_layout Plain Layout
8919 ] Modifica las propiedades del estilo de párrafo dado.
8920 Si el estilo no existe, esta sección se ignora.
8922 \begin_inset Quotes eld
8926 \begin_inset Flex Code
8929 \begin_layout Plain Layout
8936 \begin_inset Quotes erd
8942 \begin_layout Description
8943 \begin_inset Flex Code
8946 \begin_layout Plain Layout
8953 \begin_inset Flex Code
8956 \begin_layout Plain Layout
8962 ] Permite incluir otro archivo de definición de formato en el tuyo con el
8963 fin de evitar la duplicación de comandos.
8964 Ejemplos habituales son los archivos de formatos estándar, como
8965 \begin_inset Flex Code
8968 \begin_layout Plain Layout
8974 , que contiene la mayoría de los diseños básicos.
8977 \begin_layout Description
8978 \begin_inset Flex Code
8981 \begin_layout Plain Layout
8988 \begin_inset Flex Code
8991 \begin_layout Plain Layout
8997 ] Esta sección (re)define el formato de un recuadro.
8998 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9000 \begin_inset space \thinspace{}
9003 e., un nuevo estilo de texto.
9005 \begin_inset space ~
9009 \begin_inset CommandInset ref
9011 reference "subsec:estilo-del-texto"
9015 para más información.
9017 \begin_inset Quotes fld
9021 \begin_inset Flex Code
9024 \begin_layout Plain Layout
9031 \begin_inset Quotes frd
9037 \begin_layout Description
9038 \begin_inset Flex Code
9041 \begin_layout Plain Layout
9048 \begin_inset Flex Code
9051 \begin_layout Plain Layout
9057 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9059 \begin_inset Quotes fld
9063 \begin_inset Flex Code
9066 \begin_layout Plain Layout
9073 \begin_inset Quotes frd
9077 (Esto no es una `longitud', como
9078 \begin_inset Quotes fld
9082 \begin_inset Quotes frd
9088 \begin_layout Description
9089 \begin_inset Flex Code
9092 \begin_layout Plain Layout
9099 \begin_inset Flex Code
9102 \begin_layout Plain Layout
9108 ] Este comando elimina un contador existente, generalmente uno definido
9109 en un archivo incluido.
9112 \begin_layout Description
9113 \begin_inset Flex Code
9116 \begin_layout Plain Layout
9123 \begin_inset Flex Code
9126 \begin_layout Plain Layout
9132 ] Este comando borra un flotante existente.
9133 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9134 en un archivo de entrada.
9137 \begin_layout Description
9138 \begin_inset Flex Code
9141 \begin_layout Plain Layout
9148 \begin_inset Flex Code
9151 \begin_layout Plain Layout
9157 ] Este comando borra un estilo existente.
9160 \begin_layout Description
9161 \begin_inset Flex Code
9164 \begin_layout Plain Layout
9171 \begin_inset Flex Code
9174 \begin_layout Plain Layout
9180 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9183 Principalmente, es útil cuando
9184 \begin_inset Flex Code
9187 \begin_layout Plain Layout
9194 \begin_inset Flex Code
9197 \begin_layout Plain Layout
9203 y se quiere definir un nuevo tipo de documento `literate'.
9204 Esta cadena se redefine a
9205 \begin_inset Quotes fld
9209 \begin_inset Flex Code
9212 \begin_layout Plain Layout
9219 \begin_inset Quotes frd
9223 \begin_inset Quotes fld
9227 \begin_inset Flex Code
9230 \begin_layout Plain Layout
9237 \begin_inset Quotes frd
9240 si se encuentra el correspondiente parámetro
9241 \begin_inset Flex Code
9244 \begin_layout Plain Layout
9253 \begin_layout Description
9254 \begin_inset Flex Code
9257 \begin_layout Plain Layout
9264 \begin_inset Flex Code
9267 \begin_layout Plain Layout
9278 \begin_inset Flex Code
9281 \begin_layout Plain Layout
9288 \begin_inset Flex Code
9291 \begin_layout Plain Layout
9297 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9300 \begin_layout Description
9301 \begin_inset Flex Code
9304 \begin_layout Plain Layout
9311 \begin_inset Flex Code
9314 \begin_layout Plain Layout
9321 \begin_inset Flex Code
9324 \begin_layout Plain Layout
9332 Specifies options, given in the second string, for the package named by
9337 \begin_inset Quotes fld
9341 \begin_inset Flex Code
9344 \begin_layout Plain Layout
9345 PackageOptions natbib square
9351 \begin_inset Quotes frd
9357 \begin_inset Flex Code
9360 \begin_layout Plain Layout
9368 to be loaded with the
9369 \begin_inset Flex Code
9372 \begin_layout Plain Layout
9381 (For \SpecialChar TeX
9382 perts, this causes \SpecialChar LyX
9386 \begin_inset Flex Code
9389 \begin_layout Plain Layout
9392 PassOptionsToPackage{natbib}{square}
9402 \begin_inset Flex Code
9405 \begin_layout Plain Layout
9414 \begin_layout Description
9415 \begin_inset Flex Code
9418 \begin_layout Plain Layout
9425 \begin_inset Flex Code
9428 \begin_layout Plain Layout
9437 \begin_inset Flex Code
9440 \begin_layout Plain Layout
9447 \begin_inset Flex Code
9450 \begin_layout Plain Layout
9460 El estilo de página predeterminado de la clase.
9461 Puede cambiarse en el diálogo
9462 \begin_inset Flex Noun
9465 \begin_layout Plain Layout
9466 Documento\SpecialChar menuseparator
9475 \begin_layout Description
9476 \begin_inset Flex Code
9479 \begin_layout Plain Layout
9485 Establece el preámbulo \SpecialChar LaTeX
9487 Anotar que esto anulará completamente cualesquiera declaraciones
9488 \begin_inset Flex Code
9491 \begin_layout Plain Layout
9498 \begin_inset Flex Code
9501 \begin_layout Plain Layout
9509 \begin_inset Flex Code
9512 \begin_layout Plain Layout
9518 si solo quieres añadir material al preámbulo).
9520 \begin_inset Quotes fld
9524 \begin_inset Flex Code
9527 \begin_layout Plain Layout
9534 \begin_inset Quotes frd
9540 \begin_layout Description
9541 \begin_inset Flex Code
9544 \begin_layout Plain Layout
9551 \begin_inset Flex Code
9554 \begin_layout Plain Layout
9561 \begin_inset Flex Code
9564 \begin_layout Plain Layout
9573 \begin_inset Flex Code
9576 \begin_layout Plain Layout
9582 ] Si la clase ya proporciona, o no, la característica
9583 \begin_inset Flex Code
9586 \begin_layout Plain Layout
9593 Una característica es en general el nombre de un paquete (
9594 \begin_inset Flex Code
9597 \begin_layout Plain Layout
9604 \begin_inset Flex Code
9607 \begin_layout Plain Layout
9613 , \SpecialChar ldots
9615 \begin_inset Flex Code
9618 \begin_layout Plain Layout
9625 \begin_inset Flex Code
9628 \begin_layout Plain Layout
9638 \begin_inset space ~
9642 \begin_inset CommandInset ref
9644 reference "chap:List-of-functions"
9648 for the list of features.
9651 \begin_layout Description
9652 \begin_inset Flex Code
9655 \begin_layout Plain Layout
9662 \begin_inset Flex Code
9665 \begin_layout Plain Layout
9671 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
9672 que deberá especificarse con su nombre de archivo sin la extensión
9673 \begin_inset Flex Code
9676 \begin_layout Plain Layout
9683 Esto se usará típicamente si el formato incluye el módulo directamente,
9684 preferiblemente a usar la etiqueta
9685 \begin_inset Flex Code
9688 \begin_layout Plain Layout
9694 para indicar que debería utilizarse.
9695 Podría ser empleado en un módulo que provea una implementación alternativa
9696 de la misma funcionalidad.
9699 \begin_layout Description
9700 \begin_inset Flex Code
9703 \begin_layout Plain Layout
9710 \begin_inset Flex Code
9713 \begin_layout Plain Layout
9719 ] Si la clase requiere la característica
9720 \begin_inset Flex Code
9723 \begin_layout Plain Layout
9730 Múltiples características deben separarse con comas.
9731 Multiple features must be separated by commas.
9732 Anotar que solo se pueden demandar características soportadas.
9736 \begin_inset space ~
9740 \begin_inset CommandInset ref
9742 reference "chap:List-of-functions"
9746 for the list of features
9750 If you require a package with specific options, you can additionally use
9752 \begin_inset Flex Code
9755 \begin_layout Plain Layout
9766 \begin_layout Description
9767 \begin_inset Flex Code
9770 \begin_layout Plain Layout
9777 \begin_inset Flex Code
9780 \begin_layout Plain Layout
9786 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
9788 \begin_inset Quotes fld
9792 \begin_inset Flex Code
9795 \begin_layout Plain Layout
9802 \begin_inset Quotes frd
9808 \begin_layout Description
9809 \begin_inset Flex Code
9812 \begin_layout Plain Layout
9819 \begin_inset Flex Code
9822 \begin_layout Plain Layout
9828 ] Establece qué divisiones se numeran.
9829 Corresponde al contador \SpecialChar LaTeX
9831 \begin_inset Flex Code
9834 \begin_layout Plain Layout
9843 \begin_layout Description
9844 \begin_inset Flex Code
9847 \begin_layout Plain Layout
9856 \begin_inset Flex Code
9859 \begin_layout Plain Layout
9868 \begin_inset space \thinspace{}
9872 \begin_inset Flex Code
9875 \begin_layout Plain Layout
9881 ] Si debe imprimirse en una o en ambas caras del papel.
9882 Se puede cambiar en el diálogo
9883 \begin_inset Flex Noun
9886 \begin_layout Plain Layout
9887 Documento\SpecialChar menuseparator
9896 \begin_layout Description
9897 \begin_inset Flex Code
9900 \begin_layout Plain Layout
9907 \begin_inset Flex Code
9910 \begin_layout Plain Layout
9916 ] Esta secuencia define un nuevo estilo de párrafo.
9917 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
9919 \begin_inset space ~
9923 \begin_inset CommandInset ref
9925 reference "subsec:Estilos-de-párrafo"
9931 \begin_inset Quotes fld
9935 \begin_inset Flex Code
9938 \begin_layout Plain Layout
9945 \begin_inset Quotes frd
9951 \begin_layout Description
9952 \begin_inset Flex Code
9955 \begin_layout Plain Layout
9962 \begin_inset Flex Code
9965 \begin_layout Plain Layout
9971 ] El nombre del comando de entorno a usar con
9972 \begin_inset Flex Code
9975 \begin_layout Plain Layout
9984 \begin_layout Description
9985 \begin_inset Flex Code
9988 \begin_layout Plain Layout
9995 \begin_inset Flex Code
9998 \begin_layout Plain Layout
10007 \begin_inset Flex Code
10010 \begin_layout Plain Layout
10016 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10018 \begin_inset Flex Code
10021 \begin_layout Plain Layout
10027 significa que la macro con nombre
10028 \begin_inset Flex Code
10031 \begin_layout Plain Layout
10037 se insertará después del último formato que tiene
10038 \begin_inset Quotes fld
10042 \begin_inset Flex Code
10045 \begin_layout Plain Layout
10047 \begin_inset space ~
10056 \begin_inset Quotes frd
10061 \begin_inset Flex Code
10064 \begin_layout Plain Layout
10070 corresponde al caso en que todos los formatos que tienen
10071 \begin_inset Quotes fld
10075 \begin_inset Flex Code
10078 \begin_layout Plain Layout
10080 \begin_inset space ~
10089 \begin_inset Quotes frd
10092 debería ser incluido en el entorno
10093 \begin_inset Flex Code
10096 \begin_layout Plain Layout
10105 \begin_layout Description
10106 \begin_inset Flex Code
10109 \begin_layout Plain Layout
10116 \begin_inset Flex Code
10119 \begin_layout Plain Layout
10125 ] Establece qué divisiones se incluyen en el índice general.
10126 Corresponde al contador \SpecialChar LaTeX
10128 \begin_inset Flex Code
10131 \begin_layout Plain Layout
10140 \begin_layout Subsection
10142 \begin_inset Flex Code
10145 \begin_layout Plain Layout
10152 \begin_inset CommandInset label
10154 name "subsec:ClassOptions"
10161 \begin_layout Standard
10163 \begin_inset Flex Code
10166 \begin_layout Plain Layout
10172 puede contener las siguientes entradas:
10175 \begin_layout Description
10176 \begin_inset Flex Code
10179 \begin_layout Plain Layout
10186 \begin_inset Flex Code
10189 \begin_layout Plain Layout
10195 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10196 del documento, separados por
10197 \begin_inset Quotes fld
10201 \begin_inset Flex Code
10204 \begin_layout Plain Layout
10211 \begin_inset Quotes frd
10217 \begin_layout Description
10218 \begin_inset Flex Code
10221 \begin_layout Plain Layout
10227 Para establecer la línea DTD con las clases con salida basada en XML.
10229 \begin_inset space \thinspace{}
10233 \begin_inset Quotes fld
10236 -//OASIS//DTD DocBook V4.2//EN
10237 \begin_inset Quotes frd
10243 \begin_layout Description
10244 \begin_inset Flex Code
10247 \begin_layout Plain Layout
10254 \begin_inset Flex Code
10257 \begin_layout Plain Layout
10263 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10264 a la parte opcional del comando
10265 \begin_inset Flex Code
10268 \begin_layout Plain Layout
10279 \begin_layout Description
10280 \begin_inset Flex Code
10283 \begin_layout Plain Layout
10290 \begin_inset Flex Code
10293 \begin_layout Plain Layout
10294 string="empty|plain|headings|fancy"
10299 ] Lista de los estilos de página disponibles, separados por
10300 \begin_inset Quotes fld
10304 \begin_inset Flex Code
10307 \begin_layout Plain Layout
10314 \begin_inset Quotes frd
10320 \begin_layout Standard
10322 \begin_inset Flex Code
10325 \begin_layout Plain Layout
10332 \begin_inset Quotes fld
10336 \begin_inset Flex Code
10339 \begin_layout Plain Layout
10346 \begin_inset Quotes frd
10352 \begin_layout Subsection
10354 \begin_inset CommandInset label
10356 name "subsec:Estilos-de-párrafo"
10363 \begin_layout Standard
10364 Una descripción de estilo de párrafo tiene una aspecto como éste:
10368 \begin_layout Plain Layout
10369 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10377 \begin_layout LyX-Code
10384 \begin_layout LyX-Code
10388 \begin_layout LyX-Code
10392 \begin_layout Standard
10393 donde se permiten los comandos siguientes:
10396 \begin_layout Description
10397 \begin_inset Flex Code
10400 \begin_layout Plain Layout
10407 \begin_inset Flex Code
10410 \begin_layout Plain Layout
10415 , left, right, center
10420 ] Alineación del párrafo.
10423 \begin_layout Description
10424 \begin_inset Flex Code
10427 \begin_layout Plain Layout
10434 \begin_inset Flex Code
10437 \begin_layout Plain Layout
10442 , left, right, center
10447 ] Una lista separada con comas de alineaciones permitidas.
10448 (Algunos estilos de \SpecialChar LaTeX
10449 prohiben ciertos alineamientos, ya que no tendrían
10451 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10455 \begin_layout Description
10456 \begin_inset Flex Code
10459 \begin_layout Plain Layout
10466 \begin_inset Flex Code
10469 \begin_layout Plain Layout
10477 Defines argument number <int> of a command\SpecialChar breakableslash
10478 environment associated with the
10480 This is useful for things like section headings, and only makes sense with
10483 Every (optional or required) argument of a command or environment – except
10484 for the required argument that is associated with the content of the paragraph
10485 itself – has a separate definition, where the number specifies the order
10487 The definition must end with
10488 \begin_inset Flex Code
10491 \begin_layout Plain Layout
10500 So a command with two optional arguments has:
10501 \begin_inset Separator parbreak
10508 \begin_layout Quote
10514 \begin_layout Quote
10520 \begin_layout Quote
10526 \begin_layout Quote
10532 \begin_layout Quote
10538 \begin_layout Quote
10544 \begin_layout Standard
10548 \begin_inset Flex Code
10551 \begin_layout Plain Layout
10559 definition, the following specifications are possible:
10562 \begin_layout Itemize
10563 \begin_inset Flex Code
10566 \begin_layout Plain Layout
10573 \begin_inset Flex Code
10576 \begin_layout Plain Layout
10584 The string that will appear both in the menu (to insert this argument) and
10585 on the argument inset button (unless you also specify a separate
10586 \begin_inset Flex Code
10589 \begin_layout Plain Layout
10598 For the menu, you can define an accelerator by appending the respective
10599 character to the string, divided by
10600 \begin_inset Quotes fld
10604 \begin_inset Quotes frd
10608 \begin_inset space \thinspace{}
10612 \begin_inset space \space{}
10616 \begin_inset Quotes fld
10620 \begin_inset Flex Code
10623 \begin_layout Plain Layout
10632 \begin_inset Quotes frd
10638 \begin_layout Itemize
10639 \begin_inset Flex Code
10642 \begin_layout Plain Layout
10649 \begin_inset Flex Code
10652 \begin_layout Plain Layout
10660 A separate string for the menu.
10661 You can define an accelerator by appending the respective character to
10662 the string, divided by
10663 \begin_inset Quotes fld
10667 \begin_inset Quotes frd
10671 \begin_inset space \thinspace{}
10675 \begin_inset space \space{}
10679 \begin_inset Quotes fld
10683 \begin_inset Flex Code
10686 \begin_layout Plain Layout
10695 \begin_inset Quotes frd
10699 This specification is optional.
10700 If it is not given the
10701 \begin_inset Flex Code
10704 \begin_layout Plain Layout
10712 will be used instead for the menu.
10715 \begin_layout Itemize
10716 \begin_inset Flex Code
10719 \begin_layout Plain Layout
10726 \begin_inset Flex Code
10729 \begin_layout Plain Layout
10737 A longer explanatory text that appears in the tooltip when hovering over
10738 the argument inset.
10741 \begin_layout Itemize
10742 \begin_inset Flex Code
10745 \begin_layout Plain Layout
10752 \begin_inset Flex Code
10755 \begin_layout Plain Layout
10764 \begin_inset space \thinspace{}
10768 \begin_inset Flex Code
10771 \begin_layout Plain Layout
10779 Declare if this is a mandatory (1) or an optional (0) argument.
10780 Mandatory arguments will be output empty if not given, while optional arguments
10781 will not be output at all.
10782 By default, mandatory arguments are delimited by
10783 \begin_inset Flex Code
10786 \begin_layout Plain Layout
10794 , while optional arguments are delimited by
10795 \begin_inset Flex Code
10798 \begin_layout Plain Layout
10809 \begin_layout Itemize
10810 \begin_inset Flex Code
10813 \begin_layout Plain Layout
10820 \begin_inset Flex Code
10823 \begin_layout Plain Layout
10831 defines another argument (by its number) which this argument requires to
10832 be output if it is itself output.
10834 \begin_inset space \thinspace{}
10837 g., in \SpecialChar LaTeX
10838 commands, optional arguments often require previous optional arguments
10839 to be output (at least empty), as in
10840 \begin_inset Flex Code
10843 \begin_layout Plain Layout
10848 command[][argument]{text}
10854 This can be achieved by the statement
10855 \begin_inset Flex Code
10858 \begin_layout Plain Layout
10869 \begin_inset Flex Code
10872 \begin_layout Plain Layout
10881 \begin_layout Itemize
10882 \begin_inset Flex Code
10885 \begin_layout Plain Layout
10892 \begin_inset Flex Code
10895 \begin_layout Plain Layout
10903 defines a custom left delimiter (instead of
10904 \begin_inset Flex Code
10907 \begin_layout Plain Layout
10916 \begin_inset Flex Code
10919 \begin_layout Plain Layout
10928 A line break in the output can be indicated by
10931 \begin_inset Flex Code
10934 \begin_layout Plain Layout
10943 \begin_layout Itemize
10944 \begin_inset Flex Code
10947 \begin_layout Plain Layout
10954 \begin_inset Flex Code
10957 \begin_layout Plain Layout
10965 defines a custom right delimiter (instead of
10966 \begin_inset Flex Code
10969 \begin_layout Plain Layout
10978 \begin_inset Flex Code
10981 \begin_layout Plain Layout
10990 A line break in the output can be indicated by
10993 \begin_inset Flex Code
10996 \begin_layout Plain Layout
11005 \begin_layout Itemize
11006 \begin_inset Flex Code
11009 \begin_layout Plain Layout
11016 \begin_inset Flex Code
11019 \begin_layout Plain Layout
11027 defines an argument that is inserted if and only if no user-specified arguments
11029 \begin_inset space \thinspace{}
11033 \begin_inset space \space{}
11036 if no argument inset has been inserted (note that also an empty argument
11037 inset omits the DefaultArg).
11038 Multiple arguments need to be separated by comma.
11041 \begin_layout Itemize
11042 \begin_inset Flex Code
11045 \begin_layout Plain Layout
11052 \begin_inset Flex Code
11055 \begin_layout Plain Layout
11063 defines an argument that is inserted in any case (alone or in addition to
11064 user-specified arguments).
11065 Multiple arguments need to be separated by comma.
11068 \begin_layout Itemize
11069 \begin_inset Flex Code
11072 \begin_layout Plain Layout
11080 The font used for the argument content, see
11083 \begin_inset CommandInset ref
11085 reference "subsec:Tipografías"
11092 \begin_layout Itemize
11093 \begin_inset Flex Code
11096 \begin_layout Plain Layout
11104 The font used for the label; see
11107 \begin_inset CommandInset ref
11109 reference "subsec:Tipografías"
11116 \begin_layout Itemize
11117 \begin_inset Flex Code
11120 \begin_layout Plain Layout
11127 \begin_inset Flex Code
11130 \begin_layout Plain Layout
11135 , Minimalistic, Conglomerate
11142 describes the rendering style used for the inset's frame and buttons.
11145 \begin_layout Itemize
11146 \begin_inset Flex Code
11149 \begin_layout Plain Layout
11156 \begin_inset Flex Code
11159 \begin_layout Plain Layout
11168 \begin_inset Flex Code
11171 \begin_layout Plain Layout
11179 , this argument is automatically inserted when the respective style is selected.
11180 Currently, only one argument per style\SpecialChar breakableslash
11181 layout can be automatically inserted.
11184 \begin_layout Itemize
11187 \begin_inset Flex Code
11190 \begin_layout Plain Layout
11199 \begin_inset Flex Code
11202 \begin_layout Plain Layout
11211 \begin_inset Flex Code
11214 \begin_layout Plain Layout
11222 , this argument will be inserted with a copy of the co-text (either selected
11223 text or the whole paragraph) as content.
11226 \begin_layout Itemize
11229 \begin_inset Flex Code
11232 \begin_layout Plain Layout
11241 \begin_inset Flex Code
11244 \begin_layout Plain Layout
11247 string of characters
11256 Defines individual characters that should be output in raw form, meaning
11257 without special translations that \SpecialChar LaTeX
11259 Note that, contrary to PassThru, this needs to be explicitly defined for
11261 That is, arguments do not inherit PassThruChars from their parent inset
11265 \begin_layout Standard
11268 By default, the text entered in the \SpecialChar LyX
11269 workarea in the respective layout is
11270 the last (mandatory) argument of a command if the
11271 \begin_inset Flex Code
11274 \begin_layout Plain Layout
11283 \begin_inset Flex Code
11286 \begin_layout Plain Layout
11295 However, arguments with the prefix
11296 \begin_inset Flex Code
11299 \begin_layout Plain Layout
11307 are output after this workarea argument.
11308 Note that post-argument numbering restarts at 1, so the first argument
11309 following the workarea argument is
11310 \begin_inset Flex Code
11313 \begin_layout Plain Layout
11322 Post-arguments are ignored in any other
11323 \begin_inset Flex Code
11326 \begin_layout Plain Layout
11335 \begin_inset Flex Code
11338 \begin_layout Plain Layout
11349 \begin_layout Standard
11353 \begin_inset Flex Code
11356 \begin_layout Plain Layout
11367 \begin_inset Flex Code
11370 \begin_layout Plain Layout
11381 \begin_inset Flex Code
11384 \begin_layout Plain Layout
11392 followed by the number (e.
11393 \begin_inset space \thinspace{}
11397 \begin_inset space \space{}
11401 \begin_inset Flex Code
11404 \begin_layout Plain Layout
11416 \begin_layout Description
11417 \begin_inset Flex Code
11420 \begin_layout Plain Layout
11426 Esto sobrescribirá completamente cualquier anterior declaración
11427 \begin_inset Newline newline
11431 \begin_inset Flex Code
11434 \begin_layout Plain Layout
11442 \begin_inset Quotes eld
11446 \begin_inset Flex Code
11449 \begin_layout Plain Layout
11456 \begin_inset Quotes erd
11461 \begin_inset space ~
11465 \begin_inset CommandInset ref
11467 reference "subsec:I18n"
11471 para detalles sobre su uso.
11474 \begin_layout Description
11475 \begin_inset Flex Code
11478 \begin_layout Plain Layout
11485 \begin_inset Flex Code
11488 \begin_layout Plain Layout
11498 \begin_layout Plain Layout
11499 Anotar que aquí un 'float' es un número real, como: 1.5.
11504 El espacio vertical con el que el último de una cadena de párrafos con
11505 este estilo se separa del siguiente párrafo.
11506 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11507 añadidas sino que se pone la máxima.
11510 \begin_layout Description
11511 \begin_inset Flex Code
11514 \begin_layout Plain Layout
11521 \begin_inset Flex Code
11524 \begin_layout Plain Layout
11530 La categoría para este estilo.
11531 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11532 barra de herramientas.
11533 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11534 existentes con tus propios estilos.
11537 \begin_layout Description
11538 \begin_inset Flex Code
11541 \begin_layout Plain Layout
11547 Profundidad del comando XML.
11548 Usado solo con formatos tipo XML.
11551 \begin_layout Description
11552 \begin_inset Flex Code
11555 \begin_layout Plain Layout
11562 \begin_inset Flex Code
11565 \begin_layout Plain Layout
11571 Copia todas las características de un estilo existente en el actual.
11575 \begin_layout Description
11576 \begin_inset Flex Code
11579 \begin_layout Plain Layout
11586 \begin_inset Flex Code
11589 \begin_layout Plain Layout
11595 ] El nombre de un estilo cuyo preámbulo debería salir
11600 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11601 de macros dependen de otra.
11605 \begin_layout Plain Layout
11606 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11607 orden de los preámbulos.
11608 El orden que se ve en una versión dada de \SpecialChar LyX
11609 puede cambiar sin previo aviso
11610 en versiones posteriores.
11618 \begin_layout Description
11619 \begin_inset Flex Code
11622 \begin_layout Plain Layout
11629 \begin_inset Flex Code
11632 \begin_layout Plain Layout
11637 , Box, Filled_Box, Static
11642 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
11644 \begin_inset Flex Code
11647 \begin_layout Plain Layout
11654 \begin_inset Flex Code
11657 \begin_layout Plain Layout
11664 \begin_inset Flex Code
11667 \begin_layout Plain Layout
11674 \begin_inset Flex Code
11677 \begin_layout Plain Layout
11685 \begin_inset Flex Code
11688 \begin_layout Plain Layout
11695 \begin_inset Quotes fld
11699 \begin_inset Quotes frd
11703 \begin_inset Flex Code
11706 \begin_layout Plain Layout
11713 \begin_inset Flex Code
11716 \begin_layout Plain Layout
11717 \begin_inset space ~
11725 ) es un cuadrado blanco (resp.
11726 \begin_inset space ~
11729 negro) adecuado para marcas finales de demostraciones,
11730 \begin_inset Flex Code
11733 \begin_layout Plain Layout
11739 es una cadena de texto explícito.
11742 \begin_layout Description
11743 \begin_inset Flex Code
11746 \begin_layout Plain Layout
11753 \begin_inset Flex Code
11756 \begin_layout Plain Layout
11762 ] La cadena usada para una etiqueta con un
11763 \begin_inset Flex Code
11766 \begin_layout Plain Layout
11773 \begin_inset Flex Code
11776 \begin_layout Plain Layout
11786 \begin_layout Description
11790 \begin_layout Plain Layout
11795 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
11796 mucho uso, y probablemente se quitarán en próximas versiones.
11802 \begin_inset Note Note
11805 \begin_layout Plain Layout
11807 \begin_inset Quotes fld
11810 Espacio vertical encima
11811 \begin_inset Quotes frd
11815 \begin_inset Quotes fld
11818 Espacio vertical abajo
11819 \begin_inset Quotes erd
11822 en Editar\SpecialChar menuseparator
11823 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
11834 \begin_layout Description
11835 \begin_inset Flex Code
11838 \begin_layout Plain Layout
11844 La tipografía usada para el cuerpo del texto
11850 \begin_inset space ~
11854 \begin_inset CommandInset ref
11856 reference "subsec:Tipografías"
11861 Anotar que al definir esta tipografía se define automáticamente la de la
11863 \begin_inset Flex Code
11866 \begin_layout Plain Layout
11873 Así que debería definirse primero ésta si se quiere definir también
11874 \begin_inset Flex Code
11877 \begin_layout Plain Layout
11886 \begin_layout Description
11887 \begin_inset Flex Code
11890 \begin_layout Plain Layout
11897 \begin_inset Flex Code
11900 \begin_layout Plain Layout
11908 Used for backporting new styles to stable \SpecialChar LyX
11910 The first stable version that supports this tag is \SpecialChar LyX
11912 The argment is a number which may either be 0, -1 or any value greater
11915 \begin_inset Flex Code
11918 \begin_layout Plain Layout
11926 flag of a style is greater than zero, it will always be written to the
11928 If a .lyx file is read, the style definitions from the document header are
11929 added to the document class.
11930 Therefore even older \SpecialChar LyX
11931 versions can handle the style.
11933 \begin_inset Flex Code
11936 \begin_layout Plain Layout
11944 is a version number: If the style is read, and the version number is less
11945 than the version number of the already existing style in the document class,
11946 the new style is ignored.
11947 If the version number is greater, the new style replaces the existing style.
11948 A value of -1 means an infinite version number, i.
11949 \begin_inset space \thinspace{}
11953 \begin_inset space \space{}
11956 the style is always used.
11959 \begin_layout Description
11960 \begin_inset Flex Code
11963 \begin_layout Plain Layout
11972 \begin_inset Flex Code
11975 \begin_layout Plain Layout
11984 \begin_inset space \thinspace{}
11988 \begin_inset Flex Code
11991 \begin_layout Plain Layout
11997 ] Usualmente \SpecialChar LyX
11998 no permite insertar más de un espacio entre palabras, puesto
11999 que un espacio se considera como la separación entre dos palabras, no un
12000 carácter o símbolo por sí mismo.
12001 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12002 escribir código de programas o de \SpecialChar LaTeX
12004 Por esta razón se puede habilitar
12005 \begin_inset Flex Code
12008 \begin_layout Plain Layout
12015 Anotar que \SpecialChar LyX
12016 creará espacios protegidos para los espacios adicionales en
12017 modos que no sean \SpecialChar LaTeX
12022 \begin_layout Description
12023 \begin_inset Flex Code
12026 \begin_layout Plain Layout
12032 Para la salida XHTML.
12034 \begin_inset CommandInset ref
12036 reference "subsec:Estilos-de-párrafo-XHTML"
12043 \begin_layout Description
12044 \begin_inset Flex Code
12047 \begin_layout Plain Layout
12053 [[FIXME]] (Usado solo con formatos tipo XML.)
12056 \begin_layout Description
12057 \begin_inset Flex Code
12060 \begin_layout Plain Layout
12069 \begin_inset Flex Code
12072 \begin_layout Plain Layout
12083 \begin_inset space \thinspace{}
12087 \begin_inset Flex Code
12090 \begin_layout Plain Layout
12097 \begin_inset Flex Code
12100 \begin_layout Plain Layout
12106 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12107 de en el cuerpo del documento.
12108 Útil para clases de documento que piden informaciones tales como título
12109 y autor en el preámbulo.
12110 Esto solo funciona para estilos para los que
12111 \begin_inset Flex Code
12114 \begin_layout Plain Layout
12121 \begin_inset Flex Code
12124 \begin_layout Plain Layout
12131 \begin_inset Flex Code
12134 \begin_layout Plain Layout
12143 \begin_layout Description
12144 \begin_inset Flex Code
12147 \begin_layout Plain Layout
12156 \begin_inset Flex Code
12159 \begin_layout Plain Layout
12170 \begin_inset space \thinspace{}
12174 \begin_inset Flex Code
12177 \begin_layout Plain Layout
12184 \begin_inset Flex Code
12187 \begin_layout Plain Layout
12193 , marca el estilo como parte de un bloque de título (véanse también las
12195 \begin_inset Flex Code
12198 \begin_layout Plain Layout
12205 \begin_inset Flex Code
12208 \begin_layout Plain Layout
12217 \begin_layout Description
12218 \begin_inset Flex Code
12221 \begin_layout Plain Layout
12228 \begin_inset Flex Code
12231 \begin_layout Plain Layout
12239 The \SpecialChar LaTeX
12240 command sequence declaring an item in a list.
12241 The command is to be defined without the preceding backslash (the default
12245 \begin_inset Quotes eld
12249 \begin_inset Quotes erd
12257 \begin_inset Flex Code
12260 \begin_layout Plain Layout
12270 in the \SpecialChar LaTeX
12274 \begin_layout Description
12275 \begin_inset Flex Code
12278 \begin_layout Plain Layout
12285 \begin_inset Flex Code
12288 \begin_layout Plain Layout
12294 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12295 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12297 \begin_inset Flex Code
12300 \begin_layout Plain Layout
12307 Pero el conjunto de los ítems del entorno son separados adicionalmente
12309 \begin_inset Flex Code
12312 \begin_layout Plain Layout
12319 Anotar que esto es un
12324 \begin_layout Description
12325 \begin_inset Flex Code
12328 \begin_layout Plain Layout
12334 [[FIXME]] (Usado solo con formatos tipo XML.)
12337 \begin_layout Description
12338 \begin_inset Flex Code
12341 \begin_layout Plain Layout
12350 \begin_inset Flex Code
12353 \begin_layout Plain Layout
12364 \begin_inset space \thinspace{}
12368 \begin_inset Flex Code
12371 \begin_layout Plain Layout
12377 ] Habitualmente, \SpecialChar LyX
12378 no permite dejar un párrafo vacío, porque llevaría a una
12379 salida de \SpecialChar LaTeX
12381 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12382 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12383 no los olvida; en algunos casos especiales, se puede usar un estilo que
12384 no contiene texto real como una especie de salto.
12387 \begin_layout Description
12388 \begin_inset Flex Code
12391 \begin_layout Plain Layout
12398 \begin_inset Flex Code
12401 \begin_layout Plain Layout
12407 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12408 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12409 \begin_inset Flex Code
12412 \begin_layout Plain Layout
12419 \begin_inset Flex Code
12422 \begin_layout Plain Layout
12423 Centered_Top_Environment
12431 \begin_layout Description
12432 \begin_inset Flex Code
12435 \begin_layout Plain Layout
12446 \begin_inset Flex Code
12449 \begin_layout Plain Layout
12455 ] El nombre del contador para numeración automática.
12458 In order to have the counter appear with your label, you will need to reference
12460 \begin_inset Flex Code
12463 \begin_layout Plain Layout
12473 This will work with
12474 \begin_inset Flex Code
12477 \begin_layout Plain Layout
12486 \begin_inset Flex Code
12489 \begin_layout Plain Layout
12498 \begin_inset Flex Code
12501 \begin_layout Plain Layout
12510 \begin_inset Flex Code
12513 \begin_layout Plain Layout
12524 \begin_inset Newline newline
12532 \begin_inset Flex Code
12535 \begin_layout Plain Layout
12542 \begin_inset Flex Code
12545 \begin_layout Plain Layout
12551 , aunque este caso es un poco complicado.
12552 Supongamos que declaras
12553 \begin_inset Quotes eld
12557 \begin_inset Flex Code
12560 \begin_layout Plain Layout
12561 LabelCounter myenum
12567 \begin_inset Quotes erd
12571 Entonces, los contadores reales usados son
12572 \begin_inset Flex Code
12575 \begin_layout Plain Layout
12582 \begin_inset Flex Code
12585 \begin_layout Plain Layout
12592 \begin_inset Flex Code
12595 \begin_layout Plain Layout
12602 \begin_inset Flex Code
12605 \begin_layout Plain Layout
12611 , como en \SpecialChar LaTeX
12613 Estos contadores deben declararse todos por separado.
12614 \begin_inset Newline newline
12618 \begin_inset CommandInset ref
12620 reference "subsec:Contadores"
12624 para detalles sobre contadores
12625 \begin_inset Flex Code
12628 \begin_layout Plain Layout
12634 La tipografía usada para la etiqueta.
12636 \begin_inset space ~
12640 \begin_inset CommandInset ref
12642 reference "subsec:Tipografías"
12649 \begin_layout Description
12650 \begin_inset Flex Code
12653 \begin_layout Plain Layout
12660 \begin_inset Flex Code
12663 \begin_layout Plain Layout
12669 ] Texto que indica cuánto se debe sangrar una etiqueta.
12672 \begin_layout Description
12673 \begin_inset Flex Code
12676 \begin_layout Plain Layout
12683 \begin_inset Flex Code
12686 \begin_layout Plain Layout
12692 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
12694 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
12697 \begin_layout Description
12698 \begin_inset Flex Code
12701 \begin_layout Plain Layout
12708 \begin_inset Flex Code
12711 \begin_layout Plain Layout
12717 ] La cadena usada para una etiqueta del
12718 \begin_inset Flex Code
12721 \begin_layout Plain Layout
12728 \begin_inset Flex Code
12731 \begin_layout Plain Layout
12739 \begin_inset Flex Code
12742 \begin_layout Plain Layout
12748 está establecido, esta cadena puede contener los comandos especiales de
12749 formato descritos en la sección
12750 \begin_inset space ~
12754 \begin_inset CommandInset ref
12756 reference "subsec:Contadores"
12763 \begin_layout Description
12764 \begin_inset Flex Code
12767 \begin_layout Plain Layout
12768 LabelStringAppendix
12774 \begin_inset Flex Code
12777 \begin_layout Plain Layout
12783 ] Esta se usa en el apéndice en vez de
12784 \begin_inset Flex Code
12787 \begin_layout Plain Layout
12794 Anotar que toda declaración de
12795 \begin_inset Flex Code
12798 \begin_layout Plain Layout
12804 reconfigura también
12805 \begin_inset Newline newline
12809 \begin_inset Flex Code
12812 \begin_layout Plain Layout
12813 LabelStringAppendix
12821 \begin_layout Description
12822 \begin_inset Flex Code
12825 \begin_layout Plain Layout
12831 [FIXME] (Usado solo con formatos tipo XML.)
12834 \begin_layout Description
12835 \begin_inset Flex Code
12838 \begin_layout Plain Layout
12849 \begin_inset Flex Code
12852 \begin_layout Plain Layout
12857 , Manual, Static, Above,
12858 \begin_inset Newline newline
12861 Centered, Sensitive, Enumerate,
12862 \begin_inset Newline newline
12865 Itemize, Bibliography
12871 \begin_inset Separator parbreak
12878 \begin_layout Description
12879 \begin_inset Flex Code
12882 \begin_layout Plain Layout
12888 significa que la etiqueta es la primera palabra (hasta elprimer espacio
12890 Usa espacios protegidos si quieres más de una palabra como etiqueta.
12894 \begin_layout Description
12895 \begin_inset Flex Code
12898 \begin_layout Plain Layout
12904 significa que la etiqueta es simplemente cualquier
12905 \begin_inset Flex Code
12908 \begin_layout Plain Layout
12914 declarado como tal.
12917 This will be displayed
12918 \begin_inset Quotes fld
12922 \begin_inset Quotes frd
12925 , at the beginning of the paragraph.
12927 \begin_inset Flex Code
12930 \begin_layout Plain Layout
12939 \begin_inset Flex Code
12942 \begin_layout Plain Layout
12950 , then it will be displayed only in the first paragraph of any sequence
12951 of paragraphs with the same
12954 \begin_inset Flex Code
12957 \begin_layout Plain Layout
12966 \begin_layout Description
12967 \begin_inset Flex Code
12970 \begin_layout Plain Layout
12977 \begin_inset space ~
12981 \begin_inset space ~
12985 \begin_inset Flex Code
12988 \begin_layout Plain Layout
12994 son casos especiales de
12995 \begin_inset Flex Code
12998 \begin_layout Plain Layout
13005 La etiqueta se imprimirá encima del párrafo,
13007 either at the beginning of the line or centered
13012 \begin_layout Description
13013 \begin_inset Flex Code
13016 \begin_layout Plain Layout
13022 es un caso especial para las etiquetas de las leyendas de
13023 \begin_inset Quotes fld
13027 \begin_inset Quotes frd
13031 \begin_inset Quotes fld
13035 \begin_inset Quotes frd
13040 \begin_inset Flex Code
13043 \begin_layout Plain Layout
13049 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13050 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13051 del contador asociado al flotante.
13054 For the case that a caption is inserted outside of a float the
13055 \begin_inset Flex Code
13058 \begin_layout Plain Layout
13067 \begin_inset Quotes fld
13073 \begin_inset Quotes frd
13079 \begin_layout Description
13080 \begin_inset Flex Code
13083 \begin_layout Plain Layout
13089 produce los tipos habituales de etiquetas de enumeración.
13090 Por ahora está codificado para usar números arábigos, minúsculas, números
13091 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
13092 de profundidad posibles.
13095 \begin_layout Description
13096 \begin_inset Flex Code
13099 \begin_layout Plain Layout
13105 produce varias marcas para los distintos niveles.
13106 También está codificado.
13109 \begin_layout Description
13110 \begin_inset Flex Code
13113 \begin_layout Plain Layout
13119 solo debería emplearse con
13120 \begin_inset Flex Code
13123 \begin_layout Plain Layout
13124 LatexType BibEnvironment
13133 \begin_layout Description
13134 \begin_inset Flex Code
13137 \begin_layout Plain Layout
13143 Esto sobrescribirá completamente cualquier declaración anterior de
13144 \begin_inset Flex Code
13147 \begin_layout Plain Layout
13155 \begin_inset Quotes eld
13159 \begin_inset Flex Code
13162 \begin_layout Plain Layout
13169 \begin_inset Quotes erd
13174 \begin_inset CommandInset ref
13176 reference "subsec:I18n"
13180 para detallessobre su uso.
13183 \begin_layout Description
13184 \begin_inset Flex Code
13187 \begin_layout Plain Layout
13194 \begin_inset Flex Code
13197 \begin_layout Plain Layout
13203 ] El nombre correspondiente en \SpecialChar LaTeX
13204 , ya sea de un comando o de un entorno.
13207 \begin_layout Description
13208 \begin_inset Flex Code
13211 \begin_layout Plain Layout
13218 \begin_inset Flex Code
13221 \begin_layout Plain Layout
13227 ] Un parámetro opcional para el correspondiente
13228 \begin_inset Flex Code
13231 \begin_layout Plain Layout
13238 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13242 \begin_inset Flex Code
13245 \begin_layout Plain Layout
13253 for customizable parameters).
13254 This will be output as is after all \SpecialChar LaTeX
13258 \begin_inset Flex Code
13261 \begin_layout Plain Layout
13270 \begin_layout Description
13271 \begin_inset Flex Code
13274 \begin_layout Plain Layout
13281 \begin_inset Flex Code
13284 \begin_layout Plain Layout
13289 , Command, Environment, Item_Environment,
13290 \begin_inset Newline newline
13293 List_Environment, Bib_Environment
13298 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13303 \begin_layout Plain Layout
13304 \begin_inset Flex Code
13307 \begin_layout Plain Layout
13313 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13314 Consulta los archivos de clases SGML
13317 \begin_inset Flex Code
13320 \begin_layout Plain Layout
13330 para ejemplos concretos.
13336 \begin_inset Separator parbreak
13343 \begin_layout Description
13344 \begin_inset Flex Code
13347 \begin_layout Plain Layout
13353 no significa nada especial.
13356 \begin_layout Description
13357 \begin_inset Flex Code
13360 \begin_layout Plain Layout
13367 \begin_inset Flex Code
13370 \begin_layout Plain Layout
13377 {\SpecialChar ldots
13386 \begin_layout Description
13387 \begin_inset Flex Code
13390 \begin_layout Plain Layout
13397 \begin_inset Flex Code
13400 \begin_layout Plain Layout
13407 }\SpecialChar ldots
13422 \begin_layout Description
13423 \begin_inset Flex Code
13426 \begin_layout Plain Layout
13433 \begin_inset Flex Code
13436 \begin_layout Plain Layout
13443 \begin_inset Flex Code
13446 \begin_layout Plain Layout
13454 se genera para cada párrafo de este entorno.
13457 \begin_layout Description
13458 \begin_inset Flex Code
13461 \begin_layout Plain Layout
13468 \begin_inset Flex Code
13471 \begin_layout Plain Layout
13478 \begin_inset Newline newline
13482 \begin_inset Flex Code
13485 \begin_layout Plain Layout
13491 se pasa como un argumento al entorno.
13492 \begin_inset Newline newline
13496 \begin_inset Flex Code
13499 \begin_layout Plain Layout
13505 puede definirse en el diálogo
13506 \begin_inset Flex Noun
13509 \begin_layout Plain Layout
13510 Editar\SpecialChar menuseparator
13512 \begin_inset space ~
13516 \begin_inset space ~
13527 \begin_layout Description
13530 \begin_inset Flex Code
13533 \begin_layout Plain Layout
13542 \begin_inset Flex Code
13545 \begin_layout Plain Layout
13553 but adds additionally the necessary mandatory argument (the longest label)
13554 to the begin statement of the bibliography environment:
13555 \begin_inset Newline newline
13559 \begin_inset Flex Code
13562 \begin_layout Plain Layout
13567 begin{thebibliography}{99}
13572 It is therefore only useful for bibliography environments.
13573 The default longest label
13574 \begin_inset Quotes eld
13578 \begin_inset Quotes erd
13581 can be changed by the user in the paragraph settings of a bibliography
13585 \begin_layout Standard
13586 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13590 \begin_layout LyX-Code
13593 LatexName[LatexParam]{\SpecialChar ldots
13597 \begin_layout Standard
13601 \begin_layout LyX-Code
13604 begin{LatexName}[LatexParam] \SpecialChar ldots
13610 \begin_layout Standard
13611 dependiendo del tipo de \SpecialChar LaTeX
13616 \begin_layout Description
13617 \begin_inset Flex Code
13620 \begin_layout Plain Layout
13627 \begin_inset Flex Code
13630 \begin_layout Plain Layout
13638 A string that is put at the beginning of the style content.
13639 A line break in the output can be indicated by
13642 \begin_inset Flex Code
13645 \begin_layout Plain Layout
13654 \begin_layout Description
13655 \begin_inset Flex Code
13658 \begin_layout Plain Layout
13665 \begin_inset Flex Code
13668 \begin_layout Plain Layout
13674 ] Si pones estilos en entornos, los
13675 \begin_inset Flex Code
13678 \begin_layout Plain Layout
13684 no son simplemente añadidos, sino aumentados en un factor
13685 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13689 Anotar que este parámetro se usa también cuando
13690 \begin_inset Flex Code
13693 \begin_layout Plain Layout
13700 \begin_inset Flex Code
13703 \begin_layout Plain Layout
13710 \begin_inset Flex Code
13713 \begin_layout Plain Layout
13720 En ese caso se añade al margen manual o dinámico.
13721 \begin_inset Newline newline
13725 \begin_inset Quotes fld
13729 \begin_inset Flex Code
13732 \begin_layout Plain Layout
13739 \begin_inset Quotes frd
13742 significa que el párrafo se sangra con la anchura de
13743 \begin_inset Quotes fld
13747 \begin_inset Flex Code
13750 \begin_layout Plain Layout
13757 \begin_inset Quotes frd
13760 en la tipografía normal.
13761 Se puede obtener una anchura negativa anteponiendo
13762 \begin_inset Quotes fld
13766 \begin_inset Flex Code
13769 \begin_layout Plain Layout
13776 \begin_inset Quotes frd
13780 Se eligió este método para que el aspecto sea el mismo con cada una de
13781 las tipografías de pantalla usadas.
13784 \begin_layout Description
13785 \begin_inset Flex Code
13788 \begin_layout Plain Layout
13795 \begin_inset Flex Code
13798 \begin_layout Plain Layout
13803 , Manual, Dynamic, First_Dynamic, Right_Address_Box
13809 \begin_inset Newline newline
13812 El tipo de margen que el estilo tiene en el lado izquierdo.
13813 \begin_inset Separator parbreak
13820 \begin_layout Description
13821 \begin_inset Flex Code
13824 \begin_layout Plain Layout
13830 significa un margen fijo.
13833 \begin_layout Description
13834 \begin_inset Flex Code
13837 \begin_layout Plain Layout
13843 significa que el margen izquierdo depende de la cadena introducida en el
13845 \begin_inset Flex Noun
13848 \begin_layout Plain Layout
13849 Editar\SpecialChar menuseparator
13850 Configuración del párrafo\SpecialChar ldots
13857 Esto se utiliza para componer bonitas listas sin tabuladores.
13860 \begin_layout Description
13861 \begin_inset Flex Code
13864 \begin_layout Plain Layout
13870 significa que el margen depende del tamaño de la etiqueta.
13871 Esto se usa para las cabeceras automáticas de las listas numeradas.
13872 Es obvio que la cabecera
13873 \begin_inset Quotes fld
13876 5.4.3.2.1 Cabecera muy larga
13877 \begin_inset Quotes frd
13880 debe tener un margen izquierdo más amplio (tan ancho como
13881 \begin_inset Quotes fld
13885 \begin_inset Quotes frd
13888 más el espacio) que
13889 \begin_inset Quotes fld
13892 3.2 Cabecera muy larga
13893 \begin_inset Quotes frd
13897 \begin_inset Quotes fld
13900 procesadores de texto
13901 \begin_inset Quotes frd
13904 corrientes no sean capaces de hacer esto.
13907 \begin_layout Description
13908 \begin_inset Flex Code
13911 \begin_layout Plain Layout
13917 es similar, pero solo la primera fila del párrafo es dinámica, mientras
13918 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
13921 \begin_layout Description
13922 \begin_inset Flex Code
13925 \begin_layout Plain Layout
13931 significa que el margen se elige de manera que la fila más larga de este
13932 párrafo se adapte al margen derecho.
13933 Esto se emplea para componer una dirección en el lado derecho de la página.
13938 \begin_layout Description
13939 \begin_inset Flex Code
13942 \begin_layout Plain Layout
13949 \begin_inset Flex Code
13952 \begin_layout Plain Layout
13961 \begin_inset space \thinspace{}
13965 \begin_inset Flex Code
13968 \begin_layout Plain Layout
13974 ] Si los comandos frágiles en este estilo deberían ser protegidos,
13975 \begin_inset Flex Code
13978 \begin_layout Plain Layout
13991 si este comando debería él mismo ser protegido.)
13994 \begin_layout Description
13995 \begin_inset Flex Code
13998 \begin_layout Plain Layout
14005 \begin_inset Flex Code
14008 \begin_layout Plain Layout
14015 \begin_inset space \thinspace{}
14019 \begin_inset Flex Code
14022 \begin_layout Plain Layout
14030 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14032 \begin_inset Flex Code
14035 \begin_layout Plain Layout
14046 La transformación puede desactivarse para permitir una edición más confortable
14047 de \SpecialChar LaTeX
14048 en \SpecialChar LyX
14052 \begin_layout Description
14053 \begin_inset Flex Code
14056 \begin_layout Plain Layout
14063 \begin_inset Flex Code
14066 \begin_layout Plain Layout
14075 \begin_inset space \thinspace{}
14079 \begin_inset Flex Code
14082 \begin_layout Plain Layout
14088 ] Si se permite sangrar la primera fila del párrafo siguiente.
14090 \begin_inset Flex Code
14093 \begin_layout Plain Layout
14099 significa que no se permite hacerlo;
14100 \begin_inset Flex Code
14103 \begin_layout Plain Layout
14109 significa que puede hacerse si se desea.
14112 \begin_layout Description
14113 \begin_inset Flex Code
14116 \begin_layout Plain Layout
14123 \begin_inset Flex Code
14126 \begin_layout Plain Layout
14132 ] Nombre de un estilo que ha reemplazado este estilo.
14133 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14137 \begin_layout Description
14138 \begin_inset Flex Code
14141 \begin_layout Plain Layout
14148 \begin_inset Flex Code
14151 \begin_layout Plain Layout
14158 \begin_inset space \thinspace{}
14162 \begin_inset Flex Code
14165 \begin_layout Plain Layout
14173 Determines whether consecutive pragraphs of the same type are treated as
14174 belonging together.
14175 This has the effect that the
14176 \begin_inset Flex Code
14179 \begin_layout Plain Layout
14187 is only printed once before such a group.
14188 By default, this is true for
14189 \begin_inset Flex Code
14192 \begin_layout Plain Layout
14201 \begin_inset Flex Code
14204 \begin_layout Plain Layout
14213 \begin_inset Flex Code
14216 \begin_layout Plain Layout
14224 and false for all other types.
14227 \begin_layout Description
14228 \begin_inset Flex Code
14231 \begin_layout Plain Layout
14238 \begin_inset Flex Code
14241 \begin_layout Plain Layout
14250 \begin_inset space \thinspace{}
14254 \begin_inset Flex Code
14257 \begin_layout Plain Layout
14263 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14265 , solo por un salto de línea; junto con
14266 \begin_inset Flex Code
14269 \begin_layout Plain Layout
14275 , esto permite emular un editor de texto simple (como un recuadro ERT).
14278 \begin_layout Description
14279 \begin_inset Flex Code
14282 \begin_layout Plain Layout
14289 \begin_inset Flex Code
14292 \begin_layout Plain Layout
14298 ] El sangrado de la primera línea de un párrafo.
14300 \begin_inset Flex Code
14303 \begin_layout Plain Layout
14309 estará fijado para un determinado estilo.
14310 La excepción es el estilo
14311 \begin_inset Flex Code
14314 \begin_layout Plain Layout
14320 , puesto que la sangría de un párrafo de estilo
14321 \begin_inset Flex Code
14324 \begin_layout Plain Layout
14330 puede prohibirse con
14331 \begin_inset Flex Code
14334 \begin_layout Plain Layout
14341 Además, los párrafos de estilo
14342 \begin_inset Flex Code
14345 \begin_layout Plain Layout
14351 dentro de entornos usan la sangría
14352 \begin_inset Flex Code
14355 \begin_layout Plain Layout
14361 del entorno, no su propio valor.
14362 Por ejemplo, los párrafos
14363 \begin_inset Flex Code
14366 \begin_layout Plain Layout
14372 en una enumeración no se sangran.
14375 \begin_layout Description
14376 \begin_inset Flex Code
14379 \begin_layout Plain Layout
14386 \begin_inset Flex Code
14389 \begin_layout Plain Layout
14395 ] El espacio vertical entre dos párrafos de este estilo.
14398 \begin_layout Description
14399 \begin_inset Flex Code
14402 \begin_layout Plain Layout
14409 \begin_inset Flex Code
14412 \begin_layout Plain Layout
14419 permite al usuario elegir entre
14420 \begin_inset Quotes fld
14424 \begin_inset Quotes frd
14428 \begin_inset Quotes fld
14432 \begin_inset Quotes frd
14437 separate paragraphs
14441 \begin_inset Quotes fld
14445 \begin_inset Quotes frd
14448 , este valor es completamente ignorado.
14450 \begin_inset Quotes fld
14454 \begin_inset Quotes frd
14457 , el sangrado de un estilo tipo
14458 \begin_inset Quotes fld
14462 \begin_inset Quotes frd
14465 de \SpecialChar LaTeX
14466 se ignora y todos los párrafos son separados con este argumento
14467 \begin_inset Quotes fld
14471 \begin_inset Quotes frd
14475 El espacio vertical se calcula con
14476 \begin_inset Flex Code
14479 \begin_layout Plain Layout
14481 \begin_inset space ~
14490 \begin_inset Flex Code
14493 \begin_layout Plain Layout
14499 es la altura de una fila con la tipografía normal.
14500 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14503 \begin_layout Description
14504 \begin_inset Flex Code
14507 \begin_layout Plain Layout
14516 \begin_inset Flex Code
14519 \begin_layout Plain Layout
14530 \begin_inset space \thinspace{}
14534 \begin_inset Flex Code
14537 \begin_layout Plain Layout
14543 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14544 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14548 \begin_layout Description
14549 \begin_inset Flex Code
14552 \begin_layout Plain Layout
14559 \begin_inset Flex Code
14562 \begin_layout Plain Layout
14573 Defines individual characters that should be output in raw form, meaning
14574 without special translations that \SpecialChar LaTeX
14578 \begin_layout Description
14579 \begin_inset Flex Code
14582 \begin_layout Plain Layout
14588 Información a incluir en el preámbulo \SpecialChar LaTeX
14589 cuando se usa este estilo.
14590 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14591 estilo en particular.
14593 \begin_inset Quotes fld
14597 \begin_inset Flex Code
14600 \begin_layout Plain Layout
14607 \begin_inset Quotes frd
14613 \begin_layout Description
14614 \begin_inset Flex Code
14617 \begin_layout Plain Layout
14624 \begin_inset Flex Code
14627 \begin_layout Plain Layout
14633 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14635 Esto permite el uso de referencias con formato.
14638 \begin_layout Description
14639 \begin_inset Flex Code
14642 \begin_layout Plain Layout
14651 \begin_inset Flex Code
14654 \begin_layout Plain Layout
14662 Si el estilo requiere la característica
14663 \begin_inset Flex Code
14666 \begin_layout Plain Layout
14673 \begin_inset CommandInset ref
14675 reference "chap:List-of-functions"
14681 for the list of features).
14682 If you require a package with specific options, you can additionally use
14684 \begin_inset Flex Code
14687 \begin_layout Plain Layout
14695 as a general text class parameter
14698 \begin_inset CommandInset ref
14700 reference "subsec:Parámetros-generales-clases"
14707 \begin_layout Description
14708 \begin_inset Flex Code
14711 \begin_layout Plain Layout
14718 \begin_inset Flex Code
14721 \begin_layout Plain Layout
14730 \begin_inset Flex Code
14733 \begin_layout Plain Layout
14741 Resets the \SpecialChar LaTeX
14742 arguments of this style (as defined via the
14743 \begin_inset Flex Code
14746 \begin_layout Plain Layout
14755 This is useful if you have copied a style via
14756 \begin_inset Flex Code
14759 \begin_layout Plain Layout
14767 , but you do not want to inherit its (required and optional) arguments.
14770 \begin_layout Description
14771 \begin_inset Flex Code
14774 \begin_layout Plain Layout
14781 \begin_inset Flex Code
14784 \begin_layout Plain Layout
14792 A string that is put at the end of the layout content.
14793 A line break in the output can be indicated by
14796 \begin_inset Flex Code
14799 \begin_layout Plain Layout
14808 \begin_layout Description
14809 \begin_inset Flex Code
14812 \begin_layout Plain Layout
14819 \begin_inset Flex Code
14822 \begin_layout Plain Layout
14829 \begin_inset Flex Code
14832 \begin_layout Plain Layout
14841 \begin_layout Description
14842 \begin_inset Flex Code
14845 \begin_layout Plain Layout
14852 \begin_inset Flex Code
14855 \begin_layout Plain Layout
14864 \begin_inset Flex Code
14867 \begin_layout Plain Layout
14874 \begin_inset Flex Code
14877 \begin_layout Plain Layout
14884 \begin_inset Flex Code
14887 \begin_layout Plain Layout
14889 \begin_inset space ~
14897 ] Esto define cuál debería ser el espacio predefinido en el estilo.
14899 \begin_inset Flex Code
14902 \begin_layout Plain Layout
14909 \begin_inset Flex Code
14912 \begin_layout Plain Layout
14919 \begin_inset Flex Code
14922 \begin_layout Plain Layout
14928 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
14929 Si se especifica el argumento
14930 \begin_inset Flex Code
14933 \begin_layout Plain Layout
14939 , entonces se debería proporcionar además un argumento numérico que será
14940 el valor real del multiplicador.
14941 Anotar que, al contrario que otros parámetros,
14942 \begin_inset Flex Code
14945 \begin_layout Plain Layout
14951 implica la generación de código \SpecialChar LaTeX
14952 específico, usando el paquete \SpecialChar LaTeX
14954 \begin_inset Flex Code
14957 \begin_layout Plain Layout
14966 \begin_layout Description
14967 \begin_inset Flex Code
14970 \begin_layout Plain Layout
14977 \begin_inset Flex Code
14980 \begin_layout Plain Layout
14989 \begin_inset space \thinspace{}
14995 \begin_inset Flex Code
14998 \begin_layout Plain Layout
15006 ] Corrección ortográfica de párrafos de este estilo.
15010 \begin_layout Description
15011 \begin_inset Flex Code
15014 \begin_layout Plain Layout
15020 La tipografía para el cuerpo del texto.
15022 \begin_inset CommandInset ref
15024 reference "subsec:Tipografías"
15031 \begin_layout Description
15032 \begin_inset Flex Code
15035 \begin_layout Plain Layout
15042 \begin_inset Flex Code
15045 \begin_layout Plain Layout
15051 ] El nivel del estilo en el índice general.
15052 Esto se usa para la numeración automática de los encabezados de sección.
15055 \begin_layout Description
15056 \begin_inset Flex Code
15059 \begin_layout Plain Layout
15068 \begin_inset Flex Code
15071 \begin_layout Plain Layout
15080 \begin_inset Flex Code
15083 \begin_layout Plain Layout
15090 \begin_inset Flex Code
15093 \begin_layout Plain Layout
15101 This tag determines whether the first line indentation of this paragraph
15102 can be toggled via the Paragraph settings dialog.
15106 \begin_inset Flex Code
15109 \begin_layout Plain Layout
15120 is set, indentation can be toggled if the document settings use
15121 \begin_inset Quotes eld
15125 \begin_inset Quotes erd
15128 paragraph style, with
15129 \begin_inset Flex Code
15132 \begin_layout Plain Layout
15140 , indentation can always be toggled, notwithstanding the document settings,
15142 \begin_inset Flex Code
15145 \begin_layout Plain Layout
15153 , indentation can never be toggled.
15156 \begin_layout Description
15157 \begin_inset Flex Code
15160 \begin_layout Plain Layout
15167 \begin_inset Flex Code
15170 \begin_layout Plain Layout
15176 ] El espacio vertical con el que el primero de una cadena de párrafos con
15177 este estilo se separa del párrafo anterior.
15178 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15179 añadida, sino que se pone la máxima.
15182 \begin_layout Subsection
15183 Internacionalización de estilos de párrafo
15184 \begin_inset CommandInset label
15193 \begin_layout Standard
15195 ha soportado desde hace tiempo la internacionalización de la información
15196 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15197 de usuario y no a la salida, digamos, PDF.
15198 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15199 `Théorème 1' en vez de `Theorem 1'.
15200 Gracias a Georg Baum, este ya no es el caso.
15203 \begin_layout Standard
15205 \begin_inset Flex Code
15208 \begin_layout Plain Layout
15214 define texto que se mostrará en el documento exportado, puede usar
15215 \begin_inset Flex Code
15218 \begin_layout Plain Layout
15225 \begin_inset Flex Code
15228 \begin_layout Plain Layout
15234 para soportar correctamente documentos con idioma distinto del inglés e
15235 incluso documentos plurilingües.
15236 El siguiente extracto (del archivo
15237 \begin_inset Flex Code
15240 \begin_layout Plain Layout
15246 ) muestra cómo funciona:
15249 \begin_layout LyX-Code
15251 \begin_inset Separator parbreak
15258 \begin_layout LyX-Code
15261 theoremstyle{remark}
15264 \begin_layout LyX-Code
15267 newtheorem{claim}[thm]{
15274 \begin_layout LyX-Code
15278 \begin_layout LyX-Code
15282 \begin_layout LyX-Code
15287 claimname}{_(Claim)}
15290 \begin_layout LyX-Code
15294 \begin_layout LyX-Code
15298 \begin_layout LyX-Code
15307 claimname}{_(Claim)}}
15310 \begin_layout LyX-Code
15315 \begin_layout Standard
15316 En principio, cualquier \SpecialChar LaTeX
15317 legal puede aparecer en las etiquetas
15318 \begin_inset Flex Code
15321 \begin_layout Plain Layout
15328 \begin_inset Flex Code
15331 \begin_layout Plain Layout
15337 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15338 La clave para una correcta traducción del texto impreso es la definición
15339 del comando \SpecialChar LaTeX
15341 \begin_inset Flex Code
15344 \begin_layout Plain Layout
15353 \begin_inset Flex Code
15356 \begin_layout Plain Layout
15368 \begin_layout Standard
15370 \begin_inset Flex Code
15373 \begin_layout Plain Layout
15379 proporciona internacionalización basada en el idioma global del documento.
15380 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15382 \begin_inset Flex Code
15385 \begin_layout Plain Layout
15392 Lo que la hace especial es el uso de la
15393 \begin_inset Quotes eld
15397 \begin_inset Quotes erd
15401 \begin_inset Flex Code
15404 \begin_layout Plain Layout
15410 , que será reemplazada, cuando \SpecialChar LyX
15411 genere la salida \SpecialChar LaTeX
15412 , por la traducción de
15413 su argumento al idioma del documento.
15416 \begin_layout Standard
15418 \begin_inset Flex Code
15421 \begin_layout Plain Layout
15427 es más compleja, puesto que está pensada para dar soporte a documentos
15428 plurilingües y ofrece una interfaz al paquete
15429 \begin_inset Flex Code
15432 \begin_layout Plain Layout
15439 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15441 En este caso, el argumento en
15442 \begin_inset Flex Code
15445 \begin_layout Plain Layout
15451 se reemplazará por su traducción al idioma en cuestión; la expresión
15452 \begin_inset Flex Code
15455 \begin_layout Plain Layout
15461 es reemplazada por el nombre del idioma (el usado por el paquete babel).
15464 \begin_layout Standard
15465 Un documento en alemán que también incluya una sección en francés tendría
15466 lo siguiente en el preámbulo:
15469 \begin_layout LyX-Code
15478 claimname}{Affirmation}}
15479 \begin_inset Newline newline
15490 claimname}{Behauptung}}
15491 \begin_inset Newline newline
15498 claimname}{Behauptung}
15501 \begin_layout Standard
15504 \begin_inset Flex Code
15507 \begin_layout Plain Layout
15513 conspirarán para producir el texto correcto en la salida.
15516 \begin_layout Standard
15517 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15518 nadas por el propio \SpecialChar LyX
15524 \begin_inset Flex Code
15527 \begin_layout Plain Layout
15534 Esto quiere decir, en definitiva, que
15535 \begin_inset Flex Code
15538 \begin_layout Plain Layout
15545 \begin_inset Flex Code
15548 \begin_layout Plain Layout
15554 realmente solo son útiles en archivos de formato que son proporcionados
15555 por \SpecialChar LyX
15556 , puesto que el texto introducido en archivos de formato creados por
15557 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
15558 de \SpecialChar LyX
15562 \begin_inset Flex Code
15565 \begin_layout Plain Layout
15573 file is modified accordingly
15576 Sin embargo, cualquier formato creado con la intención de ser incluido
15577 en \SpecialChar LyX
15578 debería usar estas etiquetas en los lugares apropiados.
15581 Please note that the paragraph style translations provided by \SpecialChar LyX
15583 change with a minor update (e.
15584 \begin_inset space \thinspace{}
15588 \begin_inset space \space{}
15591 from version 2.1.x to 2.1.y).
15592 It is however quite likely that a major update (e.
15593 \begin_inset space \thinspace{}
15597 \begin_inset space \space{}
15600 from 2.0.x to 2.1.y) will introduce new translations or corrections.
15603 \begin_layout Subsection
15605 \begin_inset CommandInset label
15607 name "subsec:Flotantes"
15614 \begin_layout Standard
15615 Es necesario definir los flotantes (
15616 \begin_inset Flex Noun
15619 \begin_layout Plain Layout
15626 \begin_inset Flex Noun
15629 \begin_layout Plain Layout
15635 , \SpecialChar ldots
15636 ) en la propia clase de texto.
15637 Los flotantes normales se incluyen en el archivo
15638 \begin_inset Flex Code
15641 \begin_layout Plain Layout
15647 , así que no tendrás más que añadir
15650 \begin_layout LyX-Code
15651 Input stdfloats.inc
15654 \begin_layout Standard
15655 en tu archivo de formato.
15656 Si quieres implementar una clase de texto que proponga algún otro tipo
15657 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
15658 ), la información siguiente
15659 te servirá de ayuda:
15662 \begin_layout Description
15663 \begin_inset Flex Code
15666 \begin_layout Plain Layout
15673 \begin_inset Flex Code
15676 \begin_layout Plain Layout
15684 Allowed placement options for this float type.
15685 The value is a string of placement characters.
15686 Possible characters include:
15691 \begin_inset Quotes eld
15695 \begin_inset Quotes erd
15703 \begin_inset Quotes eld
15707 \begin_inset Quotes erd
15715 \begin_inset Quotes eld
15719 \begin_inset Quotes erd
15727 \begin_inset Quotes eld
15731 \begin_inset Quotes erd
15739 \begin_inset Quotes eld
15743 \begin_inset Quotes erd
15751 \begin_inset Quotes eld
15755 \begin_inset Quotes erd
15759 The order of the characters in the string does not matter.
15760 If no placement options are allowed, use the string
15767 \begin_layout Description
15768 \begin_inset Flex Code
15771 \begin_layout Plain Layout
15778 \begin_inset Flex Code
15781 \begin_layout Plain Layout
15788 \begin_inset space \thinspace{}
15794 \begin_inset Flex Code
15797 \begin_layout Plain Layout
15807 Defines whether the float allows to be rotated via the \SpecialChar LaTeX
15814 \begin_inset Flex Code
15817 \begin_layout Plain Layout
15825 if the float does not support this feature.
15828 \begin_layout Description
15829 \begin_inset Flex Code
15832 \begin_layout Plain Layout
15839 \begin_inset Flex Code
15842 \begin_layout Plain Layout
15849 \begin_inset space \thinspace{}
15855 \begin_inset Flex Code
15858 \begin_layout Plain Layout
15868 Defines whether the float has a starred variant that spans columns in a
15869 two column paragraph.
15871 \begin_inset Flex Code
15874 \begin_layout Plain Layout
15882 if the float does not support this feature.
15885 \begin_layout Description
15886 \begin_inset Flex Code
15889 \begin_layout Plain Layout
15896 \begin_inset Flex Code
15899 \begin_layout Plain Layout
15906 \begin_inset Quotes erd
15910 \begin_inset Quotes erd
15913 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15916 escribe las leyendas en este archivo.
15919 \begin_layout Description
15920 \begin_inset Flex Code
15923 \begin_layout Plain Layout
15930 \begin_inset Flex Code
15933 \begin_layout Plain Layout
15940 \begin_inset Quotes erd
15944 \begin_inset Quotes erd
15947 ] La cadena que se usará en los menús y también para la leyenda.
15948 Esto se traduce al idioma actual si se usa.
15951 \begin_layout Description
15952 \begin_inset Flex Code
15955 \begin_layout Plain Layout
15961 Controlan la salida XHTML.
15963 \begin_inset space ~
15967 \begin_inset CommandInset ref
15969 reference "sec:Etiquetas-para-XHTML"
15976 \begin_layout Description
15977 \begin_inset Flex Code
15980 \begin_layout Plain Layout
15989 \begin_inset Flex Code
15992 \begin_layout Plain Layout
16001 \begin_inset space \thinspace{}
16005 \begin_inset Flex Code
16008 \begin_layout Plain Layout
16014 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16015 os cargar el paquete \SpecialChar LaTeX
16017 \begin_inset Flex Code
16020 \begin_layout Plain Layout
16026 para definirlo sobre la marcha.
16028 \begin_inset Flex Code
16031 \begin_layout Plain Layout
16037 , que significa: usar
16038 \begin_inset Flex Code
16041 \begin_layout Plain Layout
16049 \begin_inset Flex Code
16052 \begin_layout Plain Layout
16058 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16062 \begin_layout Description
16063 \begin_inset Flex Code
16066 \begin_layout Plain Layout
16073 \begin_inset Flex Code
16076 \begin_layout Plain Layout
16083 \begin_inset Quotes erd
16087 \begin_inset Quotes erd
16090 ] El comando usado para generar una lista de flotantes de este tipo; debe
16091 omitirse el precedente `
16099 \begin_inset Flex Code
16102 \begin_layout Plain Layout
16108 es `false', puesto que no hay una forma estándar de generar este comando.
16110 \begin_inset Flex Code
16113 \begin_layout Plain Layout
16119 es `true', porque en este caso sí hay una forma estándar de definir el
16123 \begin_layout Description
16124 \begin_inset Flex Code
16127 \begin_layout Plain Layout
16134 \begin_inset Flex Code
16137 \begin_layout Plain Layout
16144 \begin_inset Quotes erd
16148 \begin_inset Quotes erd
16151 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16152 tablas o lo que sea).
16153 Se usa para el nombre del recuadro en \SpecialChar LyX
16154 ; se pasa a \SpecialChar LaTeX
16155 para usarlo como título
16156 allí; y se usa como título en la salida.
16157 Será traducido al idioma del documento.
16160 \begin_layout Description
16161 \begin_inset Flex Code
16164 \begin_layout Plain Layout
16171 \begin_inset Flex Code
16174 \begin_layout Plain Layout
16181 \begin_inset Quotes erd
16185 \begin_inset Quotes erd
16188 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16189 numerados dentro de alguna unidad de sección del documento.
16191 \begin_inset Flex Code
16194 \begin_layout Plain Layout
16201 \begin_inset Quotes fld
16205 \begin_inset Flex Code
16208 \begin_layout Plain Layout
16215 \begin_inset Quotes frd
16218 , los flotantes serán numerados dentro de los capítulos.
16221 \begin_layout Description
16222 \begin_inset Flex Code
16225 \begin_layout Plain Layout
16232 \begin_inset Flex Code
16235 \begin_layout Plain Layout
16242 \begin_inset Quotes erd
16246 \begin_inset Quotes erd
16249 ] La colocación por omisión para la clase dada de flotantes.
16251 \begin_inset Flex Code
16254 \begin_layout Plain Layout
16260 deberá ser un estándar \SpecialChar LaTeX
16262 \begin_inset Flex Code
16265 \begin_layout Plain Layout
16272 \begin_inset Flex Code
16275 \begin_layout Plain Layout
16282 \begin_inset Flex Code
16285 \begin_layout Plain Layout
16292 \begin_inset Flex Code
16295 \begin_layout Plain Layout
16302 \begin_inset Quotes fld
16306 \begin_inset Quotes frd
16310 \begin_inset Quotes fld
16314 \begin_inset Quotes frd
16318 \begin_inset Quotes fld
16322 \begin_inset Quotes frd
16326 \begin_inset Quotes fld
16330 \begin_inset Quotes frd
16333 (aquí), respectivamente.
16337 \begin_layout Plain Layout
16338 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16345 Por encima de éstos hay un nuevo tipo,
16346 \begin_inset Flex Code
16349 \begin_layout Plain Layout
16355 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16357 \begin_inset Quotes fld
16361 \begin_inset Quotes frd
16364 , y en ninguna otra parte.
16365 Anotar que, sin embargo, el colocador
16366 \begin_inset Flex Code
16369 \begin_layout Plain Layout
16375 es especial y, debido a detalles de implementación, no puede usarse en
16376 tipos de flotantes no empotrados.
16377 Si no comprendes lo que esto significa, usa solo
16378 \begin_inset Quotes fld
16382 \begin_inset Flex Code
16385 \begin_layout Plain Layout
16392 \begin_inset Quotes frd
16398 \begin_layout Description
16399 \begin_inset Flex Code
16402 \begin_layout Plain Layout
16409 \begin_inset Flex Code
16412 \begin_layout Plain Layout
16418 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16420 Esto permite el uso de referencias con formato.
16421 Puedes quitar cualquier
16422 \begin_inset Flex Code
16425 \begin_layout Plain Layout
16431 puesto por un estilo copiado usando el valor especial
16432 \begin_inset Quotes eld
16436 \begin_inset Quotes erd
16439 , todas mayúsculas.
16442 \begin_layout Description
16443 \begin_inset Flex Code
16446 \begin_layout Plain Layout
16453 \begin_inset Flex Code
16456 \begin_layout Plain Layout
16463 \begin_inset Quotes erd
16467 \begin_inset Quotes erd
16470 ] El estilo usado cuando se define el flotante con
16471 \begin_inset Flex Code
16474 \begin_layout Plain Layout
16485 \begin_layout Description
16486 \begin_inset Flex Code
16489 \begin_layout Plain Layout
16496 \begin_inset Flex Code
16499 \begin_layout Plain Layout
16506 \begin_inset Quotes erd
16510 \begin_inset Quotes erd
16514 \begin_inset Quotes fld
16518 \begin_inset Quotes frd
16521 de la nueva clase de flotante, como programa o algoritmo.
16522 Después del apropiado
16523 \begin_inset Flex Code
16526 \begin_layout Plain Layout
16534 , comandos tales como
16535 \begin_inset Flex Code
16538 \begin_layout Plain Layout
16547 \begin_inset Flex Code
16550 \begin_layout Plain Layout
16558 estarán disponibles.
16561 \begin_layout Description
16562 \begin_inset Flex Code
16565 \begin_layout Plain Layout
16572 \begin_inset Flex Code
16575 \begin_layout Plain Layout
16582 \begin_inset space \thinspace{}
16586 \begin_inset Flex Code
16589 \begin_layout Plain Layout
16597 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
16599 \begin_inset Flex Code
16602 \begin_layout Plain Layout
16608 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
16609 por el propio \SpecialChar LyX
16613 \begin_layout Standard
16614 Anotar que al definir un flotante con tipo
16615 \begin_inset Flex Code
16618 \begin_layout Plain Layout
16626 automáticamente se define el correspondiente contador con nombre
16627 \begin_inset Flex Code
16630 \begin_layout Plain Layout
16641 \begin_layout Subsection
16642 Recuadros flexibles y formato del recuadro
16643 \begin_inset CommandInset label
16645 name "subsec:estilo-del-texto"
16652 \begin_layout Standard
16653 Los recuadros flexibles son de tres tipos:
16656 \begin_layout Itemize
16658 \begin_inset Flex Code
16661 \begin_layout Plain Layout
16667 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
16669 \begin_inset Flex Code
16672 \begin_layout Plain Layout
16681 \begin_inset Flex Code
16684 \begin_layout Plain Layout
16695 \begin_layout Itemize
16696 definido por el usuario (
16697 \begin_inset Flex Code
16700 \begin_layout Plain Layout
16706 ): estos se pueden usar para definir recuadros plegables personalizados,
16707 del tipo de los de código \SpecialChar TeX
16708 , notas al pie y similares.
16709 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
16711 \begin_inset Flex Code
16714 \begin_layout Plain Layout
16723 \begin_layout Itemize
16725 \begin_inset Flex Code
16728 \begin_layout Plain Layout
16734 ): para usar con las clases DocBook.
16737 \begin_layout Standard
16738 Los recuadros flexibles se definen usando la etiqueta
16739 \begin_inset Flex Code
16742 \begin_layout Plain Layout
16748 , que se explicará en un momento.
16751 \begin_layout Standard
16753 \begin_inset Flex Code
16756 \begin_layout Plain Layout
16762 también sirve para otra función: puede utilizarse para personalizar el
16763 diseño general de muchos tipos diferentes de recuadros.
16765 \begin_inset Flex Code
16768 \begin_layout Plain Layout
16774 permite personalizar los parámetros de diseño de notas al pie, notas al
16775 margen, notas, recuadros de código \SpecialChar TeX
16776 (ERT), ramas, listados de programa,
16777 índices, cuadros, tablas, algoritmos, URL, y
16781 , así como para definir recuadros flexibles.
16784 \begin_layout Standard
16786 \begin_inset Flex Code
16789 \begin_layout Plain Layout
16795 debe comenzar con una línea de la forma:
16798 \begin_layout LyX-Code
16802 \begin_layout Standard
16804 \begin_inset Flex Code
16807 \begin_layout Plain Layout
16813 indica el recuadro cuyo formato se va a definir, y hay quatros casos.
16816 \begin_layout Enumerate
16817 Se va a modificar el formato para un tipo de recuadro preexistente.
16819 \begin_inset Flex Code
16822 \begin_layout Plain Layout
16828 puede ser uno cualquiera de los siguientes:
16829 \begin_inset Flex Code
16832 \begin_layout Plain Layout
16839 \begin_inset Flex Code
16842 \begin_layout Plain Layout
16849 \begin_inset Flex Code
16852 \begin_layout Plain Layout
16859 \begin_inset Flex Code
16862 \begin_layout Plain Layout
16869 \begin_inset Flex Code
16872 \begin_layout Plain Layout
16879 \begin_inset Flex Code
16882 \begin_layout Plain Layout
16889 \begin_inset Flex Code
16892 \begin_layout Plain Layout
16899 \begin_inset Flex Code
16902 \begin_layout Plain Layout
16909 \begin_inset Flex Code
16912 \begin_layout Plain Layout
16919 \begin_inset Flex Code
16922 \begin_layout Plain Layout
16929 \begin_inset Flex Code
16932 \begin_layout Plain Layout
16939 \begin_inset Flex Code
16942 \begin_layout Plain Layout
16949 \begin_inset Flex Code
16952 \begin_layout Plain Layout
16959 \begin_inset Flex Code
16962 \begin_layout Plain Layout
16969 \begin_inset Flex Code
16972 \begin_layout Plain Layout
16979 \begin_inset Flex Code
16982 \begin_layout Plain Layout
16989 \begin_inset Flex Code
16992 \begin_layout Plain Layout
16999 \begin_inset Flex Code
17002 \begin_layout Plain Layout
17009 \begin_inset Flex Code
17012 \begin_layout Plain Layout
17019 \begin_inset Flex Code
17022 \begin_layout Plain Layout
17032 \begin_layout Enumerate
17033 Se va a definir el formato para un recuadro flexible.
17035 \begin_inset Flex Code
17038 \begin_layout Plain Layout
17044 puede ser cualquier identificador válido no utilizado por un recuadro preexiste
17046 El identificador puede incluir espacios, pero en este caso debe ponerse
17047 todo entre comillas.
17048 Puede además incluir un identificador de nombre del espacio, precedido
17049 de dos puntos, como
17050 \begin_inset Quotes eld
17054 \begin_inset Flex Code
17057 \begin_layout Plain Layout
17064 \begin_inset Quotes erd
17068 Anotar que la definición de un flexible debe incluir
17073 \begin_inset Flex Code
17076 \begin_layout Plain Layout
17086 \begin_layout Enumerate
17089 The layout for user specific branch is being defined.
17093 \begin_inset Flex Code
17096 \begin_layout Plain Layout
17104 must be of the form
17107 \begin_inset Quotes fld
17111 \begin_inset Flex Code
17114 \begin_layout Plain Layout
17121 \begin_inset Quotes frd
17129 \begin_inset Flex Code
17132 \begin_layout Plain Layout
17140 may be be any valid identifier of branch defined in user's document.
17141 The identifier may include spaces, but in that case the whole thing must
17142 be wrapped in quotes.
17143 The main purpose of this feature is to allow \SpecialChar LaTeX
17144 wrapping around specific
17145 branches as user needs.
17148 \begin_layout Enumerate
17151 The layout of a user (or class) specific caption is being defined.
17155 \begin_inset Flex Code
17158 \begin_layout Plain Layout
17166 must be of the form
17169 \begin_inset Quotes fld
17173 \begin_inset Flex Code
17176 \begin_layout Plain Layout
17183 \begin_inset Quotes frd
17191 \begin_inset Flex Code
17194 \begin_layout Plain Layout
17202 specifies the name of the caption as it appears in the menu.
17203 Have a look at the standard caption
17206 \begin_inset Flex Code
17209 \begin_layout Plain Layout
17217 the specific captions of the KOMA-Script classes (
17218 \begin_inset Flex Code
17221 \begin_layout Plain Layout
17230 \begin_inset Flex Code
17233 \begin_layout Plain Layout
17244 \begin_inset space ~
17251 \begin_inset Flex Code
17254 \begin_layout Plain Layout
17265 \begin_layout Standard
17267 \begin_inset Flex Code
17270 \begin_layout Plain Layout
17276 puede contener las siguientes entradas:
17279 \begin_layout Description
17280 \begin_inset Flex Code
17283 \begin_layout Plain Layout
17290 \begin_inset Flex Code
17293 \begin_layout Plain Layout
17301 Defines argument number of a command\SpecialChar breakableslash
17302 environment associated with the current
17304 The definition must end with
17305 \begin_inset Flex Code
17308 \begin_layout Plain Layout
17320 \begin_inset CommandInset ref
17322 reference "subsec:Estilos-de-párrafo"
17331 \begin_layout Description
17332 \begin_inset Flex Code
17335 \begin_layout Plain Layout
17343 Preamble for changing language commands
17346 \begin_inset CommandInset ref
17348 reference "subsec:I18n"
17355 \begin_layout Description
17356 \begin_inset Flex Code
17359 \begin_layout Plain Layout
17366 \begin_inset Flex Code
17369 \begin_layout Plain Layout
17375 ] El color para el fondo del recuadro.
17377 \begin_inset CommandInset ref
17379 reference "chap:Names-of-colors"
17385 for a list of the available color names.
17388 \begin_layout Description
17389 \begin_inset Flex Code
17392 \begin_layout Plain Layout
17399 \begin_inset Flex Code
17402 \begin_layout Plain Layout
17413 \begin_inset space \thinspace{}
17419 \begin_inset Flex Code
17422 \begin_layout Plain Layout
17428 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17429 recuadro se cierra.
17430 Por omisión, falso.
17433 \begin_layout Description
17434 \begin_inset Flex Code
17437 \begin_layout Plain Layout
17444 \begin_inset Flex Code
17447 \begin_layout Plain Layout
17455 As with paragraph styles
17458 \begin_inset CommandInset ref
17460 reference "subsec:Estilos-de-párrafo"
17467 Note that you need to specify the complete type, e.
17468 \begin_inset space \thinspace{}
17474 \begin_inset space ~
17478 \begin_inset Flex Code
17481 \begin_layout Plain Layout
17482 CopyStyle Flex:<nombre>
17490 \begin_layout Description
17491 \begin_inset Flex Code
17494 \begin_layout Plain Layout
17501 \begin_inset Flex Code
17504 \begin_layout Plain Layout
17515 \begin_inset space \thinspace{}
17521 \begin_inset Flex Code
17524 \begin_layout Plain Layout
17530 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17531 para modificar el párrafo.
17534 \begin_layout Description
17535 \begin_inset Flex Code
17538 \begin_layout Plain Layout
17545 \begin_inset Flex Code
17548 \begin_layout Plain Layout
17555 \begin_inset Flex Code
17558 \begin_layout Plain Layout
17565 \begin_inset Flex Code
17568 \begin_layout Plain Layout
17574 , que describe el estilo de presentación para el marco y los botones del
17576 Las notas al pie usan generalmente
17577 \begin_inset Flex Code
17580 \begin_layout Plain Layout
17586 , los recuadros de código \SpecialChar TeX
17588 \begin_inset Flex Code
17591 \begin_layout Plain Layout
17597 , y los de estilos del texto
17598 \begin_inset Flex Code
17601 \begin_layout Plain Layout
17610 \begin_layout Description
17611 \begin_inset Flex Code
17614 \begin_layout Plain Layout
17621 \begin_inset Flex Code
17624 \begin_layout Plain Layout
17633 \begin_inset space \thinspace{}
17639 \begin_inset Flex Code
17642 \begin_layout Plain Layout
17651 \begin_inset Flex Code
17654 \begin_layout Plain Layout
17661 \begin_inset Flex Code
17664 \begin_layout Plain Layout
17671 Indica si el entorno se ubicará en su propio espacio en la salida o si
17672 aparecerá en línea con el texto circundante.
17673 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
17674 ignora los espacios en blanco
17675 (incluyendo un carácter de línea nueva) después de las etiquetas
17676 \begin_inset Flex Code
17679 \begin_layout Plain Layout
17692 \begin_inset Flex Code
17695 \begin_layout Plain Layout
17708 Por omisión, verdadero.
17711 \begin_layout Description
17712 \begin_inset Flex Code
17715 \begin_layout Plain Layout
17721 Requerido al final de las declaraciones de formato del recuadro
17722 \begin_inset Flex Code
17725 \begin_layout Plain Layout
17734 \begin_layout Description
17735 \begin_inset Flex Code
17738 \begin_layout Plain Layout
17744 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
17746 \begin_inset CommandInset ref
17748 reference "subsec:Tipografías"
17753 Anotar que al definir esta tipografía se define automáticamente el mismo
17754 valor para la etiqueta,
17755 \begin_inset Flex Code
17758 \begin_layout Plain Layout
17764 , así que define aquella primero y después define
17765 \begin_inset Flex Code
17768 \begin_layout Plain Layout
17774 si las quieres diferentes.
17777 \begin_layout Description
17778 \begin_inset Flex Code
17781 \begin_layout Plain Layout
17782 FixedWidthPreambleEncoding
17788 \begin_inset Flex Code
17791 \begin_layout Plain Layout
17800 \begin_inset space \thinspace{}
17804 \begin_inset Flex Code
17807 \begin_layout Plain Layout
17815 Force a fixed width encoding for the translated contents of
17816 \begin_inset Flex Code
17819 \begin_layout Plain Layout
17828 \begin_inset Flex Code
17831 \begin_layout Plain Layout
17839 code generated by this layout.
17840 This is needed for special \SpecialChar LaTeX
17845 that do not work with variable width encodings such as
17850 This setting is ignored if fully Unicode aware \SpecialChar LaTeX
17854 or Lua\SpecialChar TeX
17860 \begin_layout Description
17861 \begin_inset Flex Code
17864 \begin_layout Plain Layout
17865 ForceLocalFontSwitch
17871 \begin_inset Flex Code
17874 \begin_layout Plain Layout
17883 \begin_inset space \thinspace{}
17887 \begin_inset Flex Code
17890 \begin_layout Plain Layout
17898 When using babel, always use a local font switch (
17899 \begin_inset Flex Code
17902 \begin_layout Plain Layout
17912 ), never a global one (such as
17915 \begin_inset Flex Code
17918 \begin_layout Plain Layout
17929 \begin_layout Description
17930 \begin_inset Flex Code
17933 \begin_layout Plain Layout
17940 \begin_inset Flex Code
17943 \begin_layout Plain Layout
17954 \begin_inset space \thinspace{}
17960 \begin_inset Flex Code
17963 \begin_layout Plain Layout
17970 \begin_inset Quotes fld
17974 \begin_inset Quotes frd
17977 que genera salida Izquierda-Derecha (latin), p.
17978 \begin_inset space \thinspace{}
17982 \begin_inset space \space{}
17985 en código \SpecialChar TeX
17990 \begin_layout Description
17991 \begin_inset Flex Code
17994 \begin_layout Plain Layout
18001 \begin_inset Flex Code
18004 \begin_layout Plain Layout
18013 \begin_inset space \thinspace{}
18017 \begin_inset Flex Code
18020 \begin_layout Plain Layout
18028 Force a a line break in the \SpecialChar LaTeX
18029 output before the inset starts and after the
18031 This assures the inset itself is output on its own lines, for parsing purposes.
18034 \begin_layout Description
18035 \begin_inset Flex Code
18038 \begin_layout Plain Layout
18045 \begin_inset Flex Code
18048 \begin_layout Plain Layout
18059 \begin_inset space \thinspace{}
18065 \begin_inset Flex Code
18068 \begin_layout Plain Layout
18074 ] Indica si debería usarse
18075 \begin_inset Flex Code
18078 \begin_layout Plain Layout
18084 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18087 \begin_layout Description
18088 \begin_inset Flex Code
18091 \begin_layout Plain Layout
18100 \begin_inset Flex Code
18103 \begin_layout Plain Layout
18114 \begin_inset space \thinspace{}
18120 \begin_inset Flex Code
18123 \begin_layout Plain Layout
18131 As with paragraph style
18134 \begin_inset CommandInset ref
18136 reference "subsec:Estilos-de-párrafo"
18143 \begin_layout Description
18144 \begin_inset Flex Code
18147 \begin_layout Plain Layout
18153 Controlan la salida XHTML.
18155 \begin_inset CommandInset ref
18157 reference "sec:Etiquetas-para-XHTML"
18164 \begin_layout Description
18165 \begin_inset Flex Code
18168 \begin_layout Plain Layout
18175 \begin_inset Flex Code
18178 \begin_layout Plain Layout
18189 \begin_inset space \thinspace{}
18195 \begin_inset Flex Code
18198 \begin_layout Plain Layout
18204 ] Incluye o no el contenido de este inset en la cadena generada para el
18205 panel 'Navegador de contorno'.
18206 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18207 encabezado de sección no aparezca en el índice que se despliega en el navegador
18208 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18209 estilo de carácter.
18210 Predeterminado es false: no incluir.
18213 \begin_layout Description
18214 \begin_inset Flex Code
18217 \begin_layout Plain Layout
18226 \begin_inset Flex Code
18229 \begin_layout Plain Layout
18242 \begin_inset space \thinspace{}
18248 \begin_inset Flex Code
18251 \begin_layout Plain Layout
18259 As with paragraph styles
18262 \begin_inset CommandInset ref
18264 reference "subsec:Estilos-de-párrafo"
18271 \begin_layout Description
18272 \begin_inset Flex Code
18275 \begin_layout Plain Layout
18281 La tipografía para la etiqueta.
18283 \begin_inset CommandInset ref
18285 reference "subsec:Tipografías"
18290 Anotar que esta definición nunca puede aparecer antes de
18291 \begin_inset Flex Code
18294 \begin_layout Plain Layout
18300 , para que sea efectiva.
18303 \begin_layout Description
18304 \begin_inset Flex Code
18307 \begin_layout Plain Layout
18314 \begin_inset Flex Code
18317 \begin_layout Plain Layout
18324 \begin_inset Quotes erd
18328 \begin_inset Quotes erd
18331 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18332 Algunos tipos de recuadro (
18333 \begin_inset Flex Code
18336 \begin_layout Plain Layout
18337 código \SpecialChar TeX
18344 \begin_inset Flex Code
18347 \begin_layout Plain Layout
18353 ) modifican esta etiqueta sobre la marcha.
18356 \begin_layout Description
18357 \begin_inset Flex Code
18360 \begin_layout Plain Layout
18368 Language dependent preamble
18371 \begin_inset CommandInset ref
18373 reference "subsec:I18n"
18380 \begin_layout Description
18381 \begin_inset Flex Code
18384 \begin_layout Plain Layout
18391 \begin_inset Flex Code
18394 \begin_layout Plain Layout
18400 ] El nombre \SpecialChar LaTeX
18401 correspondiente al asunto.
18402 Cualquier nombre de entorno o de comando.
18405 \begin_layout Description
18406 \begin_inset Flex Code
18409 \begin_layout Plain Layout
18416 \begin_inset Flex Code
18419 \begin_layout Plain Layout
18425 ] El parámetro opcional para el correspondiente
18426 \begin_inset Flex Code
18429 \begin_layout Plain Layout
18435 , incluyendo posibles pares de corchetes,
18436 \begin_inset Flex Code
18439 \begin_layout Plain Layout
18446 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18450 \begin_inset Flex Code
18453 \begin_layout Plain Layout
18461 for customizable parameters).
18462 It will be output as is after all \SpecialChar LaTeX
18466 \begin_inset Flex Code
18469 \begin_layout Plain Layout
18478 \begin_layout Description
18479 \begin_inset Flex Code
18482 \begin_layout Plain Layout
18489 \begin_inset Flex Code
18492 \begin_layout Plain Layout
18493 Command, Environment, None
18500 How the style should be translated into \SpecialChar LaTeX
18505 \begin_layout Plain Layout
18508 \begin_inset Flex Code
18511 \begin_layout Plain Layout
18519 is perhaps a bit misleading, since these rules apply to SGML classes, too.
18520 Visit the SGML class files for specific examples.
18526 \begin_inset Separator parbreak
18533 \begin_layout Description
18534 \begin_inset Flex Code
18537 \begin_layout Plain Layout
18545 means nothing special
18548 \begin_layout Description
18549 \begin_inset Flex Code
18552 \begin_layout Plain Layout
18561 \begin_inset Flex Code
18564 \begin_layout Plain Layout
18573 {\SpecialChar ldots
18582 \begin_layout Description
18583 \begin_inset Flex Code
18586 \begin_layout Plain Layout
18595 \begin_inset Flex Code
18598 \begin_layout Plain Layout
18607 }\SpecialChar ldots
18622 \begin_layout Description
18626 \begin_layout Standard
18629 Putting the last few things together, the \SpecialChar LaTeX
18630 output will be either:
18633 \begin_layout LyX-Code
18636 LatexName[LatexParam]{\SpecialChar ldots
18640 \begin_layout Standard
18644 \begin_layout LyX-Code
18647 begin{LatexName}[LatexParam] \SpecialChar ldots
18653 \begin_layout Standard
18656 depending upon the \SpecialChar LaTeX
18661 \begin_layout Description
18662 \begin_inset Flex Code
18665 \begin_layout Plain Layout
18672 \begin_inset Flex Code
18675 \begin_layout Plain Layout
18683 A string that is put at the beginning of the layout content.
18684 A line break in the output can be indicated by
18687 \begin_inset Flex Code
18690 \begin_layout Plain Layout
18699 \begin_layout Description
18700 \begin_inset Flex Code
18703 \begin_layout Plain Layout
18710 \begin_inset Flex Code
18713 \begin_layout Plain Layout
18720 \begin_inset Flex Code
18723 \begin_layout Plain Layout
18730 \begin_inset Flex Code
18733 \begin_layout Plain Layout
18740 \begin_inset Flex Code
18743 \begin_layout Plain Layout
18749 (indicando una definición ficticia que finaliza definiciones de estilos
18751 Esta entrada es requerida y solo es significativa para recuadros flexibles.
18752 Entre otras cosas, determina en qué menús aparecerá este recuadro.
18754 \begin_inset Flex Code
18757 \begin_layout Plain Layout
18765 \begin_inset Flex Code
18768 \begin_layout Plain Layout
18775 \begin_inset Flex Code
18778 \begin_layout Plain Layout
18786 \begin_inset Flex Code
18789 \begin_layout Plain Layout
18795 se puede poner como verdadero para recuadros de estilos
18796 \begin_inset Flex Code
18799 \begin_layout Plain Layout
18810 \begin_inset Flex Code
18813 \begin_layout Plain Layout
18823 \begin_layout Description
18824 \begin_inset Flex Code
18827 \begin_layout Plain Layout
18834 \begin_inset Flex Code
18837 \begin_layout Plain Layout
18848 \begin_inset space \thinspace{}
18854 \begin_inset Flex Code
18857 \begin_layout Plain Layout
18863 ] Indica si se permiten múltiples párrafos en este recuadro.
18864 Además establecerá para CustomPars el mismo valor y para ForcePlain el
18866 Estos pueden modificarse a otros valores si se usan
18873 \begin_layout Description
18874 \begin_inset Flex Code
18877 \begin_layout Plain Layout
18884 \begin_inset Flex Code
18887 \begin_layout Plain Layout
18898 \begin_inset space \thinspace{}
18904 \begin_inset Flex Code
18907 \begin_layout Plain Layout
18913 ] Si los comandos frágiles deben o no ser
18914 \begin_inset Flex Code
18917 \begin_layout Plain Layout
18925 'ed en este recuadro.
18930 si el comando mismo debe ser protegido
18935 \begin_layout Description
18936 \begin_inset Flex Code
18939 \begin_layout Plain Layout
18946 \begin_inset Flex Code
18949 \begin_layout Plain Layout
18957 Deletes an existing
18958 \begin_inset Flex Code
18961 \begin_layout Plain Layout
18972 \begin_layout Description
18973 \begin_inset Flex Code
18976 \begin_layout Plain Layout
18983 \begin_inset Flex Code
18986 \begin_layout Plain Layout
18995 \begin_inset Flex Code
18998 \begin_layout Plain Layout
19006 that has replaced this
19007 \begin_inset Flex Code
19010 \begin_layout Plain Layout
19019 This is used to rename an
19020 \begin_inset Flex Code
19023 \begin_layout Plain Layout
19031 , while keeping backward compatibility.
19034 \begin_layout Description
19035 \begin_inset Flex Code
19038 \begin_layout Plain Layout
19045 \begin_inset Flex Code
19048 \begin_layout Plain Layout
19059 \begin_inset space \thinspace{}
19065 \begin_inset Flex Code
19068 \begin_layout Plain Layout
19074 ] Igual que para estilos de párrafo, véase
19075 \begin_inset CommandInset ref
19077 reference "subsec:Estilos-de-párrafo"
19082 Por omisión es falso.
19085 \begin_layout Description
19086 \begin_inset Flex Code
19089 \begin_layout Plain Layout
19098 \begin_inset Flex Code
19101 \begin_layout Plain Layout
19114 \begin_inset space \thinspace{}
19120 \begin_inset Flex Code
19123 \begin_layout Plain Layout
19129 ] Igual que para estilos de párrafo, véase
19130 \begin_inset CommandInset ref
19132 reference "subsec:Estilos-de-párrafo"
19139 \begin_layout Description
19140 \begin_inset Flex Code
19143 \begin_layout Plain Layout
19149 Igual que para estilos de párrafo, véase
19150 \begin_inset CommandInset ref
19152 reference "subsec:Estilos-de-párrafo"
19159 \begin_layout Description
19160 \begin_inset Flex Code
19163 \begin_layout Plain Layout
19170 \begin_inset Flex Code
19173 \begin_layout Plain Layout
19179 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19181 Esto permite el uso de referencias con formato.
19184 \begin_layout Description
19185 \begin_inset Flex Code
19188 \begin_layout Plain Layout
19195 \begin_inset Flex Code
19198 \begin_layout Plain Layout
19204 ] Igual que para estilos de párrafo, véase
19205 \begin_inset CommandInset ref
19207 reference "subsec:Estilos-de-párrafo"
19214 \begin_layout Description
19215 \begin_inset Flex Code
19218 \begin_layout Plain Layout
19225 \begin_inset Flex Code
19228 \begin_layout Plain Layout
19237 \begin_inset space \thinspace{}
19241 \begin_inset Flex Code
19244 \begin_layout Plain Layout
19252 Resets the \SpecialChar LaTeX
19253 arguments of this layout (as defined via the
19254 \begin_inset Flex Code
19257 \begin_layout Plain Layout
19266 This is useful if you have copied a style via
19267 \begin_inset Flex Code
19270 \begin_layout Plain Layout
19278 , but you do not want to inherit its (required and optional) arguments.
19281 \begin_layout Description
19282 \begin_inset Flex Code
19285 \begin_layout Plain Layout
19292 \begin_inset Flex Code
19295 \begin_layout Plain Layout
19304 \begin_inset space \thinspace{}
19310 \begin_inset Flex Code
19313 \begin_layout Plain Layout
19321 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19322 Por omisión es la tipografía de su entorno.
19325 \begin_layout Description
19326 \begin_inset Flex Code
19329 \begin_layout Plain Layout
19336 \begin_inset Flex Code
19339 \begin_layout Plain Layout
19347 A string that is put at the end of the layout content.
19348 A line break in the output can be indicated by
19351 \begin_inset Flex Code
19354 \begin_layout Plain Layout
19363 \begin_layout Description
19364 \begin_inset Flex Code
19367 \begin_layout Plain Layout
19374 \begin_inset Flex Code
19377 \begin_layout Plain Layout
19386 \begin_inset space \thinspace{}
19392 \begin_inset Flex Code
19395 \begin_layout Plain Layout
19403 ] Revisar la ortografía del contenido del recuadro.
19407 \begin_layout Subsection
19409 \begin_inset CommandInset label
19411 name "subsec:Contadores"
19418 \begin_layout Standard
19419 Es necesario definir los contadores (
19420 \begin_inset Flex Noun
19423 \begin_layout Plain Layout
19430 \begin_inset Flex Noun
19433 \begin_layout Plain Layout
19439 , \SpecialChar ldots
19440 ) en la propia clase de texto.
19441 Los contadores estándar están definidos en el archivo
19442 \begin_inset Flex Code
19445 \begin_layout Plain Layout
19451 , de modo que no tienes más que añadir
19454 \begin_layout LyX-Code
19455 Input stdcounters.inc
19458 \begin_layout Standard
19459 en el archivo de formato para que funcionen.
19460 Pero si quieres puedes definir contadores personalizados.
19461 La declaración de un contador debe comenzar con:
19464 \begin_layout LyX-Code
19468 \begin_layout Standard
19470 \begin_inset Flex Code
19473 \begin_layout Plain Layout
19479 es el nombre del contador.
19480 Hay que terminar con
19481 \begin_inset Flex Code
19484 \begin_layout Plain Layout
19493 \begin_layout Standard
19494 Se pueden usar además los parámetros siguientes:
19497 \begin_layout Description
19498 \begin_inset Flex Code
19501 \begin_layout Plain Layout
19508 \begin_inset Flex Code
19511 \begin_layout Plain Layout
19519 Sets the initial value for the counter, to which it will be reset whenever
19521 Normally, one will want the default, 1.
19524 \begin_layout Description
19525 \begin_inset Flex Code
19528 \begin_layout Plain Layout
19535 \begin_inset Flex Code
19538 \begin_layout Plain Layout
19544 =""] Si se define esta cadena, indica cómo se muestra el contador.
19545 Al establecer este valor también se da el mismo valor a
19546 \begin_inset Flex Code
19549 \begin_layout Plain Layout
19550 LabelStringAppendix
19556 Para los valores de 'string' se pueden usar las estructuras siguientes:
19557 \begin_inset Separator parbreak
19564 \begin_layout Itemize
19565 \begin_inset Flex Code
19568 \begin_layout Plain Layout
19576 será reemplazado por la expansión de
19577 \begin_inset Flex Code
19580 \begin_layout Plain Layout
19587 \begin_inset Newline linebreak
19591 \begin_inset Flex Code
19594 \begin_layout Plain Layout
19595 LabelStringAppendix
19601 \begin_inset Flex Code
19604 \begin_layout Plain Layout
19614 \begin_layout Itemize
19615 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
19617 \begin_inset Flex Code
19620 \begin_layout Plain Layout
19637 \begin_inset Flex Code
19640 \begin_layout Plain Layout
19649 \begin_inset Flex Code
19652 \begin_layout Plain Layout
19658 : 1, 2, 3,\SpecialChar ldots
19660 \begin_inset Flex Code
19663 \begin_layout Plain Layout
19669 para minúsculas: a, b, c, \SpecialChar ldots
19671 \begin_inset Flex Code
19674 \begin_layout Plain Layout
19680 para mayúsculas: A, B, C, \SpecialChar ldots
19682 \begin_inset Flex Code
19685 \begin_layout Plain Layout
19691 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
19696 \begin_layout Plain Layout
19702 \begin_inset space \thinspace{}
19710 \begin_inset Flex Code
19713 \begin_layout Plain Layout
19728 \begin_inset Flex Code
19731 \begin_layout Plain Layout
19745 los transforma automáticamente en versalitas
19750 , ya que los romanos en minúscula no se usan en español.
19757 \begin_inset Flex Code
19760 \begin_layout Plain Layout
19766 para romanos en mayúsculas: I, II, III.
19770 \begin_layout Standard
19772 \begin_inset Flex Code
19775 \begin_layout Plain Layout
19781 , se construye un valor por omisión así: si el contador tiene un contador
19783 \begin_inset Flex Code
19786 \begin_layout Plain Layout
19793 \begin_inset Flex Code
19796 \begin_layout Plain Layout
19802 ), se usa la cadena
19803 \begin_inset Flex Code
19806 \begin_layout Plain Layout
19816 ; si no, se usa la cadena
19817 \begin_inset Flex Code
19820 \begin_layout Plain Layout
19831 \begin_layout Description
19832 \begin_inset Flex Code
19835 \begin_layout Plain Layout
19836 LabelStringAppendix
19842 \begin_inset Flex Code
19845 \begin_layout Plain Layout
19852 \begin_inset Flex Code
19855 \begin_layout Plain Layout
19861 , pero para el apéndice.
19864 \begin_layout Description
19865 \begin_inset Flex Code
19868 \begin_layout Plain Layout
19875 \begin_inset Flex Code
19878 \begin_layout Plain Layout
19885 \begin_inset Quotes erd
19889 \begin_inset Quotes erd
19892 ] Un formato para usar con las referencias a este contador.
19893 Por ejemplo, podríamos querer las referencias a los números de sección
19895 \begin_inset Quotes fld
19899 \begin_inset space ~
19903 \begin_inset Quotes frd
19907 La cadena debería contener
19908 \begin_inset Quotes eld
19912 \begin_inset Quotes erd
19916 Esto será reemplazado por el número correspondiente del contador.
19917 Así pues, para secciones sería: Section ##.
19920 \begin_layout Description
19921 \begin_inset Flex Code
19924 \begin_layout Plain Layout
19931 \begin_inset Flex Code
19934 \begin_layout Plain Layout
19940 =""] Si esto se establece para el nombre de otro contador, el presente contador
19941 se reiniciará cada vez que el otro aumente.
19943 \begin_inset Flex Code
19946 \begin_layout Plain Layout
19952 se numera dentro de
19953 \begin_inset Flex Code
19956 \begin_layout Plain Layout
19965 \begin_layout Subsection
19966 Descripción de las tipografías
19967 \begin_inset CommandInset label
19969 name "subsec:Tipografías"
19976 \begin_layout Standard
19977 Una descripción de una tipografía se ve como:
19980 \begin_layout LyX-Code
19994 \begin_layout LyX-Code
19998 \begin_layout LyX-Code
20002 \begin_layout Standard
20003 Están disponibles los comandos siguientes:
20006 \begin_layout Description
20007 \begin_inset Flex Code
20010 \begin_layout Plain Layout
20017 \begin_inset Flex Code
20020 \begin_layout Plain Layout
20029 \begin_inset Flex Code
20032 \begin_layout Plain Layout
20039 \begin_inset Flex Code
20042 \begin_layout Plain Layout
20049 \begin_inset Flex Code
20052 \begin_layout Plain Layout
20059 \begin_inset Flex Code
20062 \begin_layout Plain Layout
20069 \begin_inset Flex Code
20072 \begin_layout Plain Layout
20079 \begin_inset Flex Code
20082 \begin_layout Plain Layout
20089 \begin_inset Flex Code
20092 \begin_layout Plain Layout
20099 \begin_inset Flex Code
20102 \begin_layout Plain Layout
20111 \begin_layout Description
20112 \begin_inset Flex Code
20115 \begin_layout Plain Layout
20124 \begin_inset Flex Code
20127 \begin_layout Plain Layout
20138 \begin_inset Flex Code
20141 \begin_layout Plain Layout
20148 \begin_inset Flex Code
20151 \begin_layout Plain Layout
20160 \begin_layout Description
20161 \begin_inset Flex Code
20164 \begin_layout Plain Layout
20171 \begin_inset Flex Code
20174 \begin_layout Plain Layout
20180 ] Son argumentos válidos:
20181 \begin_inset Flex Code
20184 \begin_layout Plain Layout
20191 \begin_inset Flex Code
20194 \begin_layout Plain Layout
20201 \begin_inset Flex Code
20204 \begin_layout Plain Layout
20211 \begin_inset Flex Code
20214 \begin_layout Plain Layout
20221 \begin_inset Flex Code
20224 \begin_layout Plain Layout
20231 \begin_inset Flex Code
20234 \begin_layout Plain Layout
20241 \begin_inset Flex Code
20244 \begin_layout Plain Layout
20251 \begin_inset Flex Code
20254 \begin_layout Plain Layout
20261 \begin_inset Flex Code
20264 \begin_layout Plain Layout
20271 \begin_inset Flex Code
20274 \begin_layout Plain Layout
20281 \begin_inset Flex Code
20284 \begin_layout Plain Layout
20291 \begin_inset Flex Code
20294 \begin_layout Plain Layout
20301 Cada uno de ellos activa o desactiva el atributo correspondiente.
20303 \begin_inset Flex Code
20306 \begin_layout Plain Layout
20313 \begin_inset Flex Code
20316 \begin_layout Plain Layout
20323 \begin_inset Newline newline
20326 Si esto último parece superfluo, recordemos que la configuración de tipografías
20327 para el presente contexto se hereda generalmente del contexto circundante.
20329 \begin_inset Flex Code
20332 \begin_layout Plain Layout
20338 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20341 \begin_layout Description
20342 \begin_inset Flex Code
20345 \begin_layout Plain Layout
20354 \begin_inset Flex Code
20357 \begin_layout Plain Layout
20368 \begin_inset Flex Code
20371 \begin_layout Plain Layout
20380 \begin_layout Description
20381 \begin_inset Flex Code
20384 \begin_layout Plain Layout
20393 \begin_inset Flex Code
20396 \begin_layout Plain Layout
20407 \begin_inset Flex Code
20410 \begin_layout Plain Layout
20417 \begin_inset Flex Code
20420 \begin_layout Plain Layout
20427 \begin_inset Flex Code
20430 \begin_layout Plain Layout
20439 \begin_layout Description
20440 \begin_inset Flex Code
20443 \begin_layout Plain Layout
20450 \begin_inset Flex Code
20453 \begin_layout Plain Layout
20460 \begin_inset Flex Code
20463 \begin_layout Plain Layout
20470 \begin_inset Flex Code
20473 \begin_layout Plain Layout
20482 \begin_inset Flex Code
20485 \begin_layout Plain Layout
20492 \begin_inset Flex Code
20495 \begin_layout Plain Layout
20502 \begin_inset Flex Code
20505 \begin_layout Plain Layout
20512 \begin_inset Flex Code
20515 \begin_layout Plain Layout
20522 \begin_inset Flex Code
20525 \begin_layout Plain Layout
20534 \begin_layout Subsection
20535 Descripción del formato de cita
20536 \begin_inset CommandInset label
20538 name "subsec:Descripción-formato-cita"
20545 \begin_layout Standard
20547 \begin_inset Flex Code
20550 \begin_layout Plain Layout
20556 se usan para describir la forma en que debe mostrarse la información bibliográf
20557 ica, tanto en \SpecialChar LyX
20558 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
20559 como en la salida XHTML.
20560 El aspecto de unode estos bloques podría ser este:
20563 \begin_layout LyX-Code
20567 \begin_layout LyX-Code
20571 \begin_layout LyX-Code
20575 \begin_layout LyX-Code
20579 \begin_layout Standard
20580 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
20581 con un artículo o libro, respectivamente, y tales definiciones se pueden
20582 dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
20583 Bib\SpecialChar TeX
20586 define un formato por omsión en el código fuente que se usará si no se
20587 da una definición específica.
20589 predefine varios formatos en el archivo
20590 \begin_inset Flex Code
20593 \begin_layout Plain Layout
20599 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
20603 \begin_layout Standard
20604 Las definiciones usan un lenguaje simple que permite reemplazar las claves
20605 Bib\SpecialChar TeX
20607 Las claves deben encerrarse entre símbolos
20608 \begin_inset Flex Code
20611 \begin_layout Plain Layout
20618 \begin_inset space \thinspace{}
20622 \begin_inset Flex Code
20625 \begin_layout Plain Layout
20632 Así, una simple definición sería:
20635 \begin_layout LyX-Code
20637 \begin_inset Quotes eld
20641 \begin_inset Quotes erd
20647 \begin_layout Standard
20648 Esto imprimiría el autor, una coma, a continuación el título entre comillas
20649 y un punto para finalizar.
20652 \begin_layout Standard
20653 A veces querrás, por supuesto, imprimir una clave solo si existe.
20654 Esto puede hacerse mediante una construcción condicional tal como:
20655 \begin_inset Flex Code
20658 \begin_layout Plain Layout
20660 \begin_inset space ~
20668 , que quiere decir: si la clave
20669 \begin_inset Flex Code
20672 \begin_layout Plain Layout
20679 \begin_inset Quotes eld
20683 \begin_inset space ~
20687 \begin_inset Quotes erd
20690 seguido de la clave.
20691 También es posible tener una cláusula de otro modo en el condicional, como:
20692 \begin_inset Newline newline
20696 \begin_inset Flex Code
20699 \begin_layout Plain Layout
20700 {%author%[[%author%]][[%editor%, ed.]]}
20706 \begin_inset Newline newline
20710 \begin_inset Flex Code
20713 \begin_layout Plain Layout
20719 se imprime si existe; por otra parte, se imprime la clave
20720 \begin_inset Flex Code
20723 \begin_layout Plain Layout
20730 \begin_inset Quotes eld
20734 \begin_inset space ~
20738 \begin_inset Quotes erd
20742 Advierte que la clave se encierra entre signos
20743 \begin_inset Flex Code
20746 \begin_layout Plain Layout
20752 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
20753 y por otra parte se ponen entre cobles corchetes,
20754 \begin_inset Quotes eld
20758 \begin_inset Flex Code
20761 \begin_layout Plain Layout
20768 \begin_inset Quotes eld
20772 \begin_inset Quotes eld
20776 \begin_inset Flex Code
20779 \begin_layout Plain Layout
20786 \begin_inset Quotes erd
20790 No debe haber espacios entre ninguno de ellos.
20793 \begin_layout Standard
20794 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
20795 \begin_inset Flex Code
20798 \begin_layout Plain Layout
20805 Define una pieza de información para ser usada cuando creamos
20806 \begin_inset Quotes eld
20810 \begin_inset Quotes erd
20814 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
20815 por tanto deben ponerse entre
20816 \begin_inset Quotes eld
20820 \begin_inset Quotes erd
20824 \begin_inset Quotes eld
20828 \begin_inset Quotes erd
20834 \begin_layout Standard
20835 Además, hay dos clases especiales de definiciones disponibles en un bloque
20837 \begin_inset Flex Code
20840 \begin_layout Plain Layout
20847 Un ejemplo de la primera sería:
20850 \begin_layout LyX-Code
20852 \begin_inset Quotes eld
20856 \begin_inset Quotes erd
20862 \begin_layout Standard
20863 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
20865 \begin_inset Flex Code
20868 \begin_layout Plain Layout
20877 \begin_inset Flex Code
20880 \begin_layout Plain Layout
20886 exactamente como trataría su definición.
20887 Por tanto, permítenos un
20895 \begin_layout LyX-Code
20899 \begin_layout Standard
20902 no caería en un bucle infinito, pero sí en uno muy largo.
20905 \begin_layout Standard
20906 El segundo tipo especial de definición sería como:
20909 \begin_layout LyX-Code
20913 \begin_layout Standard
20914 Esto define un trozo de texto traducible, que permite traducir partes relevantes
20915 de la bibliografía.
20916 Puede incluirse en una definición tratándolo como una clave:
20917 \begin_inset Flex Code
20920 \begin_layout Plain Layout
20927 Varios de estos están predefinidos en
20928 \begin_inset Flex Code
20931 \begin_layout Plain Layout
20938 Advertiremos que no son macros en el sentido definido.
20942 \begin_layout Standard
20943 Aquí hay, pues, un ejemplo que usa todas estas características:
20944 \begin_inset VSpace defskip
20950 \begin_layout Standard
20954 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
20957 \begin_layout Standard
20958 \begin_inset VSpace defskip
20961 Así definimos una macro que imprime el autor seguido de coma, si la clave
20963 \begin_inset Flex Code
20966 \begin_layout Plain Layout
20972 está definida, o imprime el nombre del editor seguido por el texto
20973 \begin_inset Flex Code
20976 \begin_layout Plain Layout
20982 o su traducción (por omisión
20983 \begin_inset Quotes eld
20987 \begin_inset Quotes erd
20991 \begin_inset Flex Code
20994 \begin_layout Plain Layout
21001 De hecho, esto está definido en
21002 \begin_inset Flex Code
21005 \begin_layout Plain Layout
21011 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
21012 si cargas antes ese archivo.
21015 \begin_layout Section
21016 Etiquetas para la salida XHTML
21017 \begin_inset CommandInset label
21019 name "sec:Etiquetas-para-XHTML"
21026 \begin_layout Standard
21027 Como para \SpecialChar LaTeX
21028 o DocBook, el formato de salida XHTML en \SpecialChar LyX
21029 también se controla
21030 mediante la información contenida en archivos de formato.
21031 En general, \SpecialChar LyX
21032 provee valores predefinidos sensatos y, como se mencionó anteriorm
21033 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
21035 Por ejemplo, \SpecialChar LyX
21036 intentará usar la información proporcionada por la declaración
21038 \begin_inset Flex Code
21041 \begin_layout Plain Layout
21047 para el estilo Chapter para escribir CSS que formateará adecuadamente los
21048 encabezados de capítulo.
21051 \begin_layout Standard
21052 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
21053 salida XHTML para tus propios entornos, recuadros personalizados y cosas
21055 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
21057 número de etiquetas de formato que se pueden usar para personalizar los
21058 XHTML y CSS generados.
21061 \begin_layout Standard
21062 Advertimos que hay dos etiquetas,
21063 \begin_inset Flex Code
21066 \begin_layout Plain Layout
21073 \begin_inset Flex Code
21076 \begin_layout Plain Layout
21082 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
21084 \begin_inset CommandInset ref
21086 reference "subsec:Parámetros-generales-clases"
21090 para detalles sobre esto.
21093 \begin_layout Subsection
21095 \begin_inset CommandInset label
21097 name "subsec:Estilos-de-párrafo-XHTML"
21104 \begin_layout Standard
21105 El tipo de XHTML que genera \SpecialChar LyX
21106 para un párrafo depende de si se trata de un
21107 párrafo normal, de un comando o de un entorno, en los que esto se determina
21108 por el contenido de la correspondiente etiqueta
21109 \begin_inset Flex Code
21112 \begin_layout Plain Layout
21123 \begin_layout Standard
21124 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
21127 \begin_layout LyX-Code
21129 \begin_inset Quotes erd
21133 \begin_inset Quotes erd
21139 \begin_layout LyX-Code
21141 \begin_inset Quotes erd
21145 \begin_inset Quotes erd
21151 \begin_layout LyX-Code
21152 Contents of the paragraph.
21155 \begin_layout LyX-Code
21159 \begin_layout Standard
21160 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
21163 \begin_layout Standard
21164 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
21167 \begin_layout LyX-Code
21169 \begin_inset Quotes erd
21173 \begin_inset Quotes erd
21179 \begin_layout LyX-Code
21181 \begin_inset Quotes erd
21185 \begin_inset Quotes erd
21189 \begin_inset Quotes erd
21193 \begin_inset Quotes erd
21196 >Environment Label</labeltag>First paragraph.</itemtag>
21199 \begin_layout LyX-Code
21200 <itemtag>Second paragraph.</itemtag>
21203 \begin_layout LyX-Code
21207 \begin_layout Standard
21208 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
21213 \begin_layout Standard
21214 Para una lista disponemos de una de estas formas:
21217 \begin_layout LyX-Code
21219 \begin_inset Quotes erd
21223 \begin_inset Quotes erd
21229 \begin_layout LyX-Code
21231 \begin_inset Quotes erd
21235 \begin_inset Quotes erd
21239 \begin_inset Quotes erd
21243 \begin_inset Quotes erd
21246 >List Label</labeltag>First item.</itemtag>
21249 \begin_layout LyX-Code
21251 \begin_inset Quotes erd
21255 \begin_inset Quotes erd
21259 \begin_inset Quotes erd
21263 \begin_inset Quotes erd
21266 >List Label</labeltag>Second item.</itemtag>
21269 \begin_layout LyX-Code
21273 \begin_layout LyX-Code
21277 \begin_layout LyX-Code
21279 \begin_inset Quotes erd
21283 \begin_inset Quotes erd
21289 \begin_layout LyX-Code
21291 \begin_inset Quotes erd
21295 \begin_inset Quotes erd
21298 >List Label</labeltag><itemtag attr=
21299 \begin_inset Quotes erd
21303 \begin_inset Quotes erd
21306 >First item.</itemtag>
21309 \begin_layout LyX-Code
21311 \begin_inset Quotes erd
21315 \begin_inset Quotes erd
21318 >List Label</labeltag><itemtag attr=
21319 \begin_inset Quotes erd
21323 \begin_inset Quotes erd
21326 >Second item.</itemtag>
21329 \begin_layout LyX-Code
21333 \begin_layout Standard
21334 Observa los diferentes órdenes de
21335 \begin_inset Flex Code
21338 \begin_layout Plain Layout
21345 \begin_inset Flex Code
21348 \begin_layout Plain Layout
21355 El orden que obtenemos depende del ajuste de
21356 \begin_inset Flex Code
21359 \begin_layout Plain Layout
21366 \begin_inset Flex Code
21369 \begin_layout Plain Layout
21375 es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
21376 del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
21380 \begin_layout Standard
21381 Las etiquetas específicas y la salida de los atributos para cada tipo de
21382 párrafo puede ser controlado por medio de las etiquetas de formato que
21384 Como mencionamos antes, sin embargo, \SpecialChar LyX
21385 usa predefinidos adecuados para muchos
21386 de estos valores, por lo que generalmente no necesitarás hacer nada para
21387 obtener una buena salida XHTML.
21388 Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
21391 \begin_layout Description
21392 \begin_inset Flex Code
21395 \begin_layout Plain Layout
21402 \begin_inset Flex Code
21405 \begin_layout Plain Layout
21411 ] Especifica información de los atributos a entregar con la etiqueta principal.
21413 \begin_inset Quotes eld
21417 \begin_inset Flex Code
21420 \begin_layout Plain Layout
21427 \begin_inset Quotes erd
21431 Por omisión, \SpecialChar LyX
21433 \begin_inset Quotes eld
21437 \begin_inset Flex Code
21440 \begin_layout Plain Layout
21447 \begin_inset Quotes erd
21451 \begin_inset Flex Code
21454 \begin_layout Plain Layout
21460 es el nombre del formato en \SpecialChar LyX
21461 , en minúsculas, por ejemplo: chapter.
21466 debería contener ninguna información de estilo.
21468 \begin_inset Flex Code
21471 \begin_layout Plain Layout
21477 para ese propósito.
21480 \begin_layout Description
21481 \begin_inset Flex Code
21484 \begin_layout Plain Layout
21491 \begin_inset Flex Code
21494 \begin_layout Plain Layout
21503 \begin_inset space \thinspace{}
21507 \begin_inset Flex Code
21510 \begin_layout Plain Layout
21516 ] Si producir la información CSS predeterminada que \SpecialChar LyX
21517 genera para este formato,
21518 incluso si se proporciona explícitamente información adicional mediante
21520 \begin_inset Flex Code
21523 \begin_layout Plain Layout
21531 \begin_inset Flex Code
21534 \begin_layout Plain Layout
21540 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
21542 \begin_inset Flex Code
21545 \begin_layout Plain Layout
21554 \begin_layout Description
21555 \begin_inset Flex Code
21558 \begin_layout Plain Layout
21565 \begin_inset Flex Code
21568 \begin_layout Plain Layout
21574 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
21575 \begin_inset Flex Code
21578 \begin_layout Plain Layout
21584 en los ejemplos de arriba.
21586 \begin_inset Flex Code
21589 \begin_layout Plain Layout
21598 \begin_layout Description
21599 \begin_inset Flex Code
21602 \begin_layout Plain Layout
21609 \begin_inset Flex Code
21612 \begin_layout Plain Layout
21618 ] Atributos para la etiqueta ítem.
21620 \begin_inset Quotes eld
21624 \begin_inset Flex Code
21627 \begin_layout Plain Layout
21628 class=`layoutname_item'
21634 \begin_inset Quotes erd
21642 debería contener ninguna información de estilo.
21644 \begin_inset Flex Code
21647 \begin_layout Plain Layout
21653 para ese propósito.
21656 \begin_layout Description
21657 \begin_inset Flex Code
21660 \begin_layout Plain Layout
21667 \begin_inset Flex Code
21670 \begin_layout Plain Layout
21676 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
21677 \begin_inset Flex Code
21680 \begin_layout Plain Layout
21686 en los ejemplos de arriba.
21688 \begin_inset Flex Code
21691 \begin_layout Plain Layout
21698 \begin_inset Flex Code
21701 \begin_layout Plain Layout
21708 \begin_inset Flex Code
21711 \begin_layout Plain Layout
21718 \begin_inset Flex Code
21721 \begin_layout Plain Layout
21722 Centered_Top_Environment
21727 , en cuyos casos es
21728 \begin_inset Flex Code
21731 \begin_layout Plain Layout
21740 \begin_layout Description
21741 \begin_inset Flex Code
21744 \begin_layout Plain Layout
21751 \begin_inset Flex Code
21754 \begin_layout Plain Layout
21760 ] Atributos para la etiqueta del rótulo.
21762 \begin_inset Quotes eld
21766 \begin_inset Flex Code
21769 \begin_layout Plain Layout
21770 class=`layoutname_label'
21776 \begin_inset Quotes erd
21784 debería contener ninguna información de estilo.
21786 \begin_inset Flex Code
21789 \begin_layout Plain Layout
21795 para ese propósito.
21798 \begin_layout Description
21799 \begin_inset Flex Code
21802 \begin_layout Plain Layout
21809 \begin_inset Flex Code
21812 \begin_layout Plain Layout
21821 \begin_inset space \thinspace{}
21825 \begin_inset Flex Code
21828 \begin_layout Plain Layout
21834 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
21835 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
21836 Se usa, por ejemplo, en el entorno descripción, donde queremos `
21837 \begin_inset Flex Code
21840 \begin_layout Plain Layout
21841 <dt>\SpecialChar ldots
21842 </dt><dd>\SpecialChar ldots
21850 \begin_inset Flex Code
21853 \begin_layout Plain Layout
21859 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
21862 \begin_layout Description
21863 \begin_inset Flex Code
21866 \begin_layout Plain Layout
21872 Información para generar en la sección
21873 \begin_inset Flex Code
21876 \begin_layout Plain Layout
21882 cuando se usa este estilo.
21883 Esto podría, por ejemplo, utilizarse para incluir un bloque
21884 \begin_inset Flex Code
21887 \begin_layout Plain Layout
21893 definiendo un controlador
21894 \begin_inset Flex Code
21897 \begin_layout Plain Layout
21906 \begin_layout Description
21907 \begin_inset Flex Code
21910 \begin_layout Plain Layout
21916 Información de estilo CSS a incluir cuando se usa este estilo.
21917 Advertimos que esto será automáticamente envuelto en un bloque
21918 \begin_inset Flex Code
21921 \begin_layout Plain Layout
21927 generado por el formato, por tanto solo es necesario incluir el propio
21934 \begin_inset Flex Code
21937 \begin_layout Plain Layout
21946 \begin_layout Description
21947 \begin_inset Flex Code
21950 \begin_layout Plain Layout
21957 \begin_inset Flex Code
21960 \begin_layout Plain Layout
21966 ] Etiqueta para el rótulo principal, reemplazando
21967 \begin_inset Flex Code
21970 \begin_layout Plain Layout
21976 en losejemplos de arriba.
21978 \begin_inset Flex Code
21981 \begin_layout Plain Layout
21990 \begin_layout Description
21991 \begin_inset Flex Code
21994 \begin_layout Plain Layout
22001 \begin_inset Flex Code
22004 \begin_layout Plain Layout
22013 \begin_inset space \thinspace{}
22017 \begin_inset Flex Code
22020 \begin_layout Plain Layout
22026 ] Marca este estilo como el que se va a usar para generar la etiqueta
22027 \begin_inset Flex Code
22030 \begin_layout Plain Layout
22036 para el archivo XHTML.
22037 Por omisión, es falso.
22039 \begin_inset Flex Code
22042 \begin_layout Plain Layout
22048 lo establece verdadero para el entorno
22049 \begin_inset Flex Code
22052 \begin_layout Plain Layout
22062 \begin_layout Subsection
22066 \begin_layout Standard
22067 La salida XHTML de los recuadros también se puede controlar por información
22068 en archivos 'layout'.
22072 \begin_layout Plain Layout
22073 Por ahora, esto solo es cierto para recuadros de
22074 \begin_inset Quotes eld
22078 \begin_inset Quotes erd
22081 (recuadros en los que puedes escribir) y no para recuadros de
22082 \begin_inset Quotes eld
22086 \begin_inset Quotes erd
22089 (recuadros asociados con cuadros de diálogo).
22094 También en este caso, \SpecialChar LyX
22095 intenta proporcionar valores predefinidos adecuados,
22096 y construye reglas de estilo CSS, pero todo puede personalizarse.
22099 \begin_layout Standard
22100 Para los recuadros, \SpecialChar LyX
22101 produce XHTML en la forma:
22104 \begin_layout LyX-Code
22106 \begin_inset Quotes erd
22110 \begin_inset Quotes erd
22116 \begin_layout LyX-Code
22117 <labeltag>Label</labeltag>
22120 \begin_layout LyX-Code
22122 \begin_inset Quotes erd
22126 \begin_inset Quotes erd
22129 >Contents of the inset.</innertag>
22132 \begin_layout LyX-Code
22136 \begin_layout Standard
22137 Si el recuadro permite párrafos múltiples —o sea, si
22138 \begin_inset Flex Code
22141 \begin_layout Plain Layout
22147 es verdadero— el contenido del recuadro se generará en forma de párrafos
22148 estructurados según los estilos usados para dichos párrafos (normal, cita,
22150 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
22152 \begin_inset Flex Code
22155 \begin_layout Plain Layout
22162 La etiqueta interior es opcional y, por omisión, no aparece.
22165 \begin_layout Standard
22166 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
22167 mediante las siguientes etiquetas de formato.
22170 \begin_layout Description
22171 \begin_inset Flex Code
22174 \begin_layout Plain Layout
22181 \begin_inset Flex Code
22184 \begin_layout Plain Layout
22190 ] Especifica información de atributos a generar con la etiqueta principal.
22192 \begin_inset Quotes eld
22196 \begin_inset Flex Code
22199 \begin_layout Plain Layout
22200 class=`myinset' onclick=`\SpecialChar ldots
22207 \begin_inset Quotes erd
22211 Por omisión, \SpecialChar LyX
22213 \begin_inset Quotes eld
22217 \begin_inset Flex Code
22220 \begin_layout Plain Layout
22227 \begin_inset Quotes erd
22231 \begin_inset Flex Code
22234 \begin_layout Plain Layout
22240 es el nombre del recuadro en \SpecialChar LyX
22241 , en minúsculas y con los caracteres no alfanuméri
22242 cos convertidos en guiones bajos, por ejemplo: footnote.
22245 \begin_layout Description
22246 \begin_inset Flex Code
22249 \begin_layout Plain Layout
22256 \begin_inset Flex Code
22259 \begin_layout Plain Layout
22268 \begin_inset space \thinspace{}
22272 \begin_inset Flex Code
22275 \begin_layout Plain Layout
22281 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
22282 genera para este formato,
22283 incluso si se da explícitamente información adicional con
22284 \begin_inset Flex Code
22287 \begin_layout Plain Layout
22295 \begin_inset Flex Code
22298 \begin_layout Plain Layout
22304 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
22308 \begin_layout Description
22309 \begin_inset Flex Code
22312 \begin_layout Plain Layout
22319 \begin_inset Flex Code
22322 \begin_layout Plain Layout
22328 ] Atributos para la etiqueta interna.
22330 \begin_inset Quotes eld
22334 \begin_inset Flex Code
22337 \begin_layout Plain Layout
22338 class=`insetname_inner'
22344 \begin_inset Quotes erd
22350 \begin_layout Description
22351 \begin_inset Flex Code
22354 \begin_layout Plain Layout
22361 \begin_inset Flex Code
22364 \begin_layout Plain Layout
22370 ] La etiqueta interna, reemplazando
22371 \begin_inset Flex Code
22374 \begin_layout Plain Layout
22380 en los ejemplos de arriba.
22381 Por omisión, ninguna.
22384 \begin_layout Description
22385 \begin_inset Flex Code
22388 \begin_layout Plain Layout
22395 \begin_inset Flex Code
22398 \begin_layout Plain Layout
22405 \begin_inset space \thinspace{}
22409 \begin_inset Flex Code
22412 \begin_layout Plain Layout
22420 ] Si este recuadro representa un bloque de texto independiente (como una
22421 nota al pie) o bien representa material que está incluido en el texto circundan
22422 te (como una rama).
22426 \begin_layout Description
22427 \begin_inset Flex Code
22430 \begin_layout Plain Layout
22437 \begin_inset Flex Code
22440 \begin_layout Plain Layout
22446 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
22448 Por ejemplo, para notas al pie, podría ser:
22449 \begin_inset Flex Code
22452 \begin_layout Plain Layout
22461 Esto es opcional y no hay valor predeterminado.
22464 \begin_layout Description
22465 \begin_inset Flex Code
22468 \begin_layout Plain Layout
22474 Información que saldrá en la sección
22475 \begin_inset Flex Code
22478 \begin_layout Plain Layout
22484 cuando se usa este estilo.
22485 Esto podría usarse, por ejemplo, para incluir un bloque
22486 \begin_inset Flex Code
22489 \begin_layout Plain Layout
22495 que defina un controlador
22496 \begin_inset Flex Code
22499 \begin_layout Plain Layout
22508 \begin_layout Description
22509 \begin_inset Flex Code
22512 \begin_layout Plain Layout
22518 Información de estilo CSS a incluir cuando se usa este estilo.
22519 Esto será automáticamente envuelto en un bloque
22520 \begin_inset Flex Code
22523 \begin_layout Plain Layout
22529 generado por el formato, por lo que solo hay que incluir el propio CSS.
22532 \begin_layout Description
22533 \begin_inset Flex Code
22536 \begin_layout Plain Layout
22543 \begin_inset Flex Code
22546 \begin_layout Plain Layout
22552 ] La etiqueta a usar para el rótulo principal, reemplazando
22553 \begin_inset Flex Code
22556 \begin_layout Plain Layout
22562 en los ejemplos de arriba.
22563 El valor por omisión depende de
22564 \begin_inset Flex Code
22567 \begin_layout Plain Layout
22574 \begin_inset Flex Code
22577 \begin_layout Plain Layout
22584 \begin_inset Flex Code
22587 \begin_layout Plain Layout
22593 ; si es falso, el valor por omisión es
22594 \begin_inset Flex Code
22597 \begin_layout Plain Layout
22606 \begin_layout Subsection
22610 \begin_layout Standard
22611 La salida XHTML para flotantes también se puede controlar mediante información
22612 en archivos 'layout'.
22613 La salida tiene la forma:
22616 \begin_layout LyX-Code
22618 \begin_inset Quotes erd
22622 \begin_inset Quotes erd
22628 \begin_layout LyX-Code
22629 Contents of the float.
22632 \begin_layout LyX-Code
22636 \begin_layout Standard
22637 La leyenda, si la hay, es un recuadro separado y se generará como tal.
22638 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
22642 \begin_layout Description
22643 \begin_inset Flex Code
22646 \begin_layout Plain Layout
22653 \begin_inset Flex Code
22656 \begin_layout Plain Layout
22662 ] Especifica información de los atributos a generar con la etiqueta principal,
22664 \begin_inset Quotes eld
22668 \begin_inset Flex Code
22671 \begin_layout Plain Layout
22672 class=`myfloat' onclick=`\SpecialChar ldots
22679 \begin_inset Quotes erd
22683 Por omisión, \SpecialChar LyX
22685 \begin_inset Quotes eld
22689 \begin_inset Flex Code
22692 \begin_layout Plain Layout
22693 class=`float float-floattype'
22699 \begin_inset Quotes erd
22703 \begin_inset Flex Code
22706 \begin_layout Plain Layout
22712 es el nombre en \SpecialChar LyX
22713 para este tipo de flotante, como determina la declaración
22715 \begin_inset CommandInset ref
22717 reference "subsec:Flotantes"
22721 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
22722 por guiones bajos, por ejemplo: float-table.
22725 \begin_layout Description
22726 \begin_inset Flex Code
22729 \begin_layout Plain Layout
22735 Información de estilo CSS a incluir cuando se usa este flotante.
22736 Esto será automáticamente envuelto en un bloque
22737 \begin_inset Flex Code
22740 \begin_layout Plain Layout
22746 generado por el formato, por lo que solo hay que incluir el propio CSS.
22749 \begin_layout Description
22750 \begin_inset Flex Code
22753 \begin_layout Plain Layout
22760 \begin_inset Flex Code
22763 \begin_layout Plain Layout
22769 ] La etiqueta a usar para este flotante, reemplazando "
22770 \begin_inset Flex Code
22773 \begin_layout Plain Layout
22779 " en el ejemplo de arriba.
22780 El valor por omisión es
22781 \begin_inset Flex Code
22784 \begin_layout Plain Layout
22790 y raramente habrá que cambiarlo.
22793 \begin_layout Subsection
22794 Formato de la Bibliografía
22797 \begin_layout Standard
22798 La bibliografía se puede formatear usando bloques
22799 \begin_inset Flex Code
22802 \begin_layout Plain Layout
22810 \begin_inset CommandInset ref
22812 reference "subsec:Descripción-formato-cita"
22819 \begin_layout Subsection
22820 CSS generado por \SpecialChar LyX
22824 \begin_layout Standard
22825 Hemos mencionado ya que \SpecialChar LyX
22826 generará reglas de estilo CSS predeterminadas para
22827 recuadros y estilos de párrafo, basados en la información suministrada
22828 para otros formatos.
22829 En esta sección comentaremos qué información usa \SpecialChar LyX
22833 \begin_layout Standard
22834 Actualmente, \SpecialChar LyX
22835 auto-genera CSS solo para información sobre tipografías, haciendo
22837 \begin_inset Flex Code
22840 \begin_layout Plain Layout
22847 \begin_inset Flex Code
22850 \begin_layout Plain Layout
22857 \begin_inset Flex Code
22860 \begin_layout Plain Layout
22867 \begin_inset Flex Code
22870 \begin_layout Plain Layout
22876 especificados en la declaración
22877 \begin_inset Flex Code
22880 \begin_layout Plain Layout
22888 \begin_inset CommandInset ref
22890 reference "subsec:Tipografías"
22894 .) La traducción es bastante sencilla y evidente.
22896 \begin_inset Quotes eld
22900 \begin_inset Flex Code
22903 \begin_layout Plain Layout
22910 \begin_inset Quotes erd
22914 \begin_inset Quotes eld
22918 \begin_inset Flex Code
22921 \begin_layout Plain Layout
22922 font-family: sans-serif;
22928 \begin_inset Quotes erd
22932 La correspondencia entre tamaños \SpecialChar LyX
22933 y tamaños CSS es un poco menos obvia,
22934 pero intuitiva en todo caso.
22936 \begin_inset Flex Code
22939 \begin_layout Plain Layout
22946 \begin_inset Flex URL
22949 \begin_layout Plain Layout
22960 \begin_layout Chapter
22961 Inserción de material externo
22962 \begin_inset CommandInset label
22964 name "chap:Inserción-de-material"
22971 \begin_layout Standard
22972 \begin_inset Box Shadowbox
22982 height_special "totalheight"
22987 backgroundcolor "none"
22990 \begin_layout Plain Layout
22991 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
22993 Esperamos que aún sea adecuada, pero no hay garantías.
23001 \begin_layout Standard
23002 El uso de material de procedencia externa a \SpecialChar LyX
23003 se trata con detalle en el
23009 En el presente documento se trata sobre lo que debe suceder entre bambalinas
23010 para incluir nuevas clases de material.
23013 \begin_layout Section
23017 \begin_layout Standard
23018 La característica material externo se basa en el concepto
23023 Una plantilla es una especificación de la forma en que \SpecialChar LyX
23025 ciertos tipos de material.
23026 De por sí, \SpecialChar LyX
23027 incluye plantillas predefinidas para figuras Xfig, varios tipos
23028 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
23029 Puedes comprobar la lista actual en el menú
23030 \begin_inset Flex Noun
23033 \begin_layout Plain Layout
23034 Insertar\SpecialChar menuseparator
23035 Archivo\SpecialChar menuseparator
23042 Además, es posible construir plantillas propias para soportar determinado
23044 Más tarde describiremos con más detalle lo que esto implica, y esperamos
23045 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
23046 de \SpecialChar LyX
23050 \begin_layout Standard
23051 Otra idea básica de la característica material externo es distinguir entre
23052 el archivo original que sirve como base para el material final y el archivo
23053 generado que se incluye en el documento impreso o exportado.
23054 Por ejemplo, consideremos el caso de una figura hecha con
23055 \begin_inset Flex Code
23058 \begin_layout Plain Layout
23065 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
23067 \begin_inset Flex Code
23070 \begin_layout Plain Layout
23077 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
23079 \begin_inset Flex Code
23082 \begin_layout Plain Layout
23089 Para incluir la figura en un documento, se ejecuta
23090 \begin_inset Flex Code
23093 \begin_layout Plain Layout
23099 con el fin de crear un archivo PostScript que puede incluirse fácilmente
23100 en el archivo \SpecialChar LaTeX
23102 En este caso, el archivo
23103 \begin_inset Flex Code
23106 \begin_layout Plain Layout
23112 es el original, y el archivo PostScript es el archivo generado.
23115 \begin_layout Standard
23116 Esta distinción es importante para permitir la actualización del material
23117 durante el proceso de escritura del documento.
23118 Además, provee la flexibilidad necesaria para soportar múltiples formatos
23120 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
23121 idea incluir la figura como PostScript puro.
23122 En vez de esto, es preferible incluir solo una referencia a la figura o
23123 bien probar algún convertidor de gráficos a Ascii para que el resultado
23124 final se parezca al gráfico real.
23125 La gestión de material externo de \SpecialChar LyX
23126 permite hacer esto porque se basa en
23127 parámetros apropiados para los diferentes formatos de exportación soportados.
23130 \begin_layout Standard
23131 Además de soportar la generación de diferentes productos de acuerdo con
23132 el formato de exportación, existe una profunda integración con las aplicaciones
23133 de edición y visualización.
23134 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
23135 con un simple clic derecho sobre el recuadro y también previsualizar el
23136 PostScript generado con ghostview.
23137 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
23138 para localizar y manipular los archivos originales o los generados.
23139 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
23140 aplicaciones importantes para la composición de los documentos, y por tanto
23141 aumentar el rendimiento.
23144 \begin_layout Section
23145 El archivo de configuración de plantillas externas
23148 \begin_layout Standard
23149 Es relativamente fácil añadir en \SpecialChar LyX
23150 definiciones personalizadas de plantillas
23152 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
23153 generará muy probablemente un agujero de seguridad fácil de explotar.
23154 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
23156 \begin_inset CommandInset ref
23158 reference "sec:Discusión-sobre-seguridad"
23165 \begin_layout Standard
23166 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
23170 \begin_layout Standard
23171 Las plantillas externas se definen en el archivo
23172 \begin_inset Flex Code
23175 \begin_layout Plain Layout
23177 Dir/lib/external_templates
23183 Puedes colocar tus versiones propias en
23184 \begin_inset Flex Code
23187 \begin_layout Plain Layout
23188 UserDir/external_templates
23196 \begin_layout Standard
23197 Una plantilla típica tiene un aspecto como este:
23200 \begin_layout LyX-Code
23204 \begin_layout LyX-Code
23205 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
23208 \begin_layout LyX-Code
23212 \begin_layout LyX-Code
23216 \begin_layout LyX-Code
23220 \begin_layout LyX-Code
23224 \begin_layout LyX-Code
23228 \begin_layout LyX-Code
23229 AutomaticProduction true
23232 \begin_layout LyX-Code
23236 \begin_layout LyX-Code
23240 \begin_layout LyX-Code
23241 Format \SpecialChar LaTeX
23245 \begin_layout LyX-Code
23246 TransformCommand Rotate RotationLatexCommand
23249 \begin_layout LyX-Code
23250 TransformCommand Resize ResizeLatexCommand
23253 \begin_layout LyX-Code
23254 Product "$$RotateFront$$ResizeFront
23257 \begin_layout LyX-Code
23262 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
23265 \begin_layout LyX-Code
23266 $$ResizeBack$$RotateBack"
23269 \begin_layout LyX-Code
23273 \begin_layout LyX-Code
23274 UpdateResult "$$AbsPath$$Basename.pstex_t"
23277 \begin_layout LyX-Code
23278 Requirement "graphicx"
23281 \begin_layout LyX-Code
23282 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23285 \begin_layout LyX-Code
23286 ReferencedFile latex "$$AbsPath$$Basename.eps"
23289 \begin_layout LyX-Code
23290 ReferencedFile dvi "$$AbsPath$$Basename.eps"
23293 \begin_layout LyX-Code
23297 \begin_layout LyX-Code
23298 Format PDF\SpecialChar LaTeX
23302 \begin_layout LyX-Code
23303 TransformCommand Rotate RotationLatexCommand
23306 \begin_layout LyX-Code
23307 TransformCommand Resize ResizeLatexCommand
23310 \begin_layout LyX-Code
23311 Product "$$RotateFront$$ResizeFront
23314 \begin_layout LyX-Code
23319 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
23322 \begin_layout LyX-Code
23323 $$ResizeBack$$RotateBack"
23326 \begin_layout LyX-Code
23327 UpdateFormat pdftex
23330 \begin_layout LyX-Code
23331 UpdateResult "$$AbsPath$$Basename.pdftex_t"
23334 \begin_layout LyX-Code
23335 Requirement "graphicx"
23338 \begin_layout LyX-Code
23339 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
23342 \begin_layout LyX-Code
23343 ReferencedFile latex "$$AbsPath$$Basename.pdf"
23346 \begin_layout LyX-Code
23350 \begin_layout LyX-Code
23354 \begin_layout LyX-Code
23355 Product "$$Contents(
23357 "$$AbsPath$$Basename.asc
23362 \begin_layout LyX-Code
23363 UpdateFormat asciixfig
23366 \begin_layout LyX-Code
23367 UpdateResult "$$AbsPath$$Basename.asc"
23370 \begin_layout LyX-Code
23374 \begin_layout LyX-Code
23378 \begin_layout LyX-Code
23379 Product "<graphic fileref=
23381 "$$AbsOrRelPathMaster$$Basename.eps
23386 \begin_layout LyX-Code
23390 \begin_layout LyX-Code
23394 \begin_layout LyX-Code
23395 UpdateResult "$$AbsPath$$Basename.eps"
23398 \begin_layout LyX-Code
23399 ReferencedFile docbook "$$AbsPath$$Basename.eps"
23402 \begin_layout LyX-Code
23403 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
23406 \begin_layout LyX-Code
23410 \begin_layout LyX-Code
23411 Product "[XFig: $$FName]"
23414 \begin_layout LyX-Code
23418 \begin_layout LyX-Code
23422 \begin_layout Standard
23423 Como puedes ver, la plantilla se incluye entre
23424 \begin_inset Flex Code
23427 \begin_layout Plain Layout
23435 \begin_inset Flex Code
23438 \begin_layout Plain Layout
23445 Contiene una cabecera que especifica algunas configuraciones generales
23446 y, por cada formato de archivo de documento primario soportado, una sección
23448 \begin_inset Flex Code
23451 \begin_layout Plain Layout
23459 \begin_inset Flex Code
23462 \begin_layout Plain Layout
23471 \begin_layout Subsection
23472 La cabecera de la plantilla
23475 \begin_layout Description
23476 \begin_inset Flex Code
23479 \begin_layout Plain Layout
23480 AutomaticProduction
23481 \begin_inset space ~
23489 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
23491 Este comando debe aparecer exactamente una vez.
23494 \begin_layout Description
23495 \begin_inset Flex Code
23498 \begin_layout Plain Layout
23500 \begin_inset space ~
23508 Un patrón global que se usa en el diálogo del archivo para filtrar los
23510 Si hay más de una posible extensión de archivo (p.
23511 \begin_inset space \thinspace{}
23515 \begin_inset space ~
23519 \begin_inset Flex Code
23522 \begin_layout Plain Layout
23529 \begin_inset Flex Code
23532 \begin_layout Plain Layout
23538 ), se pone algo como
23539 \begin_inset Flex Code
23542 \begin_layout Plain Layout
23549 Este comando debe aparecer exactamente una vez.
23552 \begin_layout Description
23553 \begin_inset Flex Code
23556 \begin_layout Plain Layout
23558 \begin_inset space ~
23566 El texto mostrado sobre el botón.
23567 Este comando debe aparecer exactamente una vez.
23570 \begin_layout Description
23571 \begin_inset Flex Code
23574 \begin_layout Plain Layout
23576 \begin_inset space ~
23580 \begin_inset space ~
23588 El texto de ayuda que se muestra en diálogo.
23589 Da suficiente información sobre lo que puede proporcionar la plantilla.
23590 Este comando debe aparecer exactamente una vez.
23593 \begin_layout Description
23594 \begin_inset Flex Code
23597 \begin_layout Plain Layout
23599 \begin_inset space ~
23607 El formato de archivo del original.
23608 Debe ser el nombre de un formato conocido por \SpecialChar LyX
23610 \begin_inset CommandInset ref
23612 reference "sec:Formatos"
23618 \begin_inset Quotes fld
23622 \begin_inset Flex Code
23625 \begin_layout Plain Layout
23632 \begin_inset Quotes frd
23635 si la plantilla puede manejar archivos originales o más de un formato.
23636 En este caso, \SpecialChar LyX
23637 intentará inspeccionar el archivo mismo para deducir su
23639 Este comando debe aparecer exactamente una vez.
23642 \begin_layout Description
23643 \begin_inset Flex Code
23646 \begin_layout Plain Layout
23648 \begin_inset space ~
23656 Un nombre único para la plantilla.
23657 No debe contener macros de sustitución (véase abajo).
23660 \begin_layout Description
23661 \begin_inset Flex Code
23664 \begin_layout Plain Layout
23666 \begin_inset space ~
23669 Rotate|Resize|Clip|Extra
23674 Este comando especifica qué transformaciones son soportadas por esta plantilla.
23675 Puede aparecer ninguna o varias veces.
23676 Este comando facilita las correspondientes pestañas en el diálogo de material
23679 \begin_inset Flex Code
23682 \begin_layout Plain Layout
23688 debe tener el correspondiente
23689 \begin_inset Flex Code
23692 \begin_layout Plain Layout
23699 \begin_inset Flex Code
23702 \begin_layout Plain Layout
23709 \begin_inset Flex Code
23712 \begin_layout Plain Layout
23719 De lo contrario la transformación no será soportada por ese formato.
23723 \begin_layout Subsection
23727 \begin_layout Description
23728 \begin_inset Flex Code
23731 \begin_layout Plain Layout
23733 \begin_inset space ~
23737 |PDF\SpecialChar LaTeX
23743 El formato de archivo del documento primario para el que es esta definición
23745 No toda plantilla tiene una representación sensible en los formatos de
23746 archivo de todos los documentos.
23747 No obstante, es preferible definir una sección
23748 \begin_inset Flex Code
23751 \begin_layout Plain Layout
23757 para todos los formatos.
23758 Se usa un texto postizo si no hay representación disponible.
23759 Entonces, al menos, se puede ver una referencia al material externo en
23760 el documento exportado.
23763 \begin_layout Description
23764 \begin_inset Flex Code
23767 \begin_layout Plain Layout
23769 \begin_inset space ~
23773 \begin_inset space ~
23781 Este comando define una macro adicional,
23782 \begin_inset Flex Code
23785 \begin_layout Plain Layout
23791 , para sustitución en
23792 \begin_inset Flex Code
23795 \begin_layout Plain Layout
23803 \begin_inset Flex Code
23806 \begin_layout Plain Layout
23812 puede contener en sí mismo macros de sustitución.
23813 La ventaja sobre el uso de
23814 \begin_inset Flex Code
23817 \begin_layout Plain Layout
23824 \begin_inset Flex Code
23827 \begin_layout Plain Layout
23833 es que el valor sustituido de
23834 \begin_inset Flex Code
23837 \begin_layout Plain Layout
23843 está saneado así que es un argumento opcional válido en el formato del
23845 Este comando puede aparecer ninguna o más veces.
23848 \begin_layout Description
23849 \begin_inset Flex Code
23852 \begin_layout Plain Layout
23854 \begin_inset space ~
23862 El texto que se inserta en el documento exportado.
23863 Realmente este es el comando más importante y puede ser bastante complejo.
23864 Este comando debe aparecer exactamente una vez.
23867 \begin_layout Description
23868 \begin_inset Flex Code
23871 \begin_layout Plain Layout
23873 \begin_inset space ~
23881 Este comando especifica un fragmento de preámbulo que se incluirá en el
23882 preámbulo \SpecialChar LaTeX
23884 Tiene que definirse usando
23885 \begin_inset Flex Code
23888 \begin_layout Plain Layout
23896 \begin_inset Flex Code
23899 \begin_layout Plain Layout
23906 Este comando puede aparecer ninguna o más veces.
23909 \begin_layout Description
23910 \begin_inset Flex Code
23913 \begin_layout Plain Layout
23915 \begin_inset space ~
23919 \begin_inset space ~
23927 Este comando indica los archivos que se crean por el proceso de conversión
23928 y que son necesarios para un formato de exportación particular.
23929 Si el nombre del archivo es relativo, se interpreta como relativo al documento
23931 Este comando puede darse ninguna o más veces.
23934 \begin_layout Description
23935 \begin_inset Flex Code
23938 \begin_layout Plain Layout
23940 \begin_inset space ~
23948 El nombre de un paquete \SpecialChar LaTeX
23950 El paquete se incuye mediante
23951 \begin_inset Flex Code
23954 \begin_layout Plain Layout
23962 en el preámbulo \SpecialChar LaTeX
23964 Este comando puede aparecer ninguna o más veces.
23967 \begin_layout Description
23968 \begin_inset Flex Code
23971 \begin_layout Plain Layout
23973 \begin_inset space ~
23977 \begin_inset space ~
23980 RotationLatexCommand
23985 Este comando especifica que el comando \SpecialChar LaTeX
23986 incluido debería usarse para la
23988 Este comando puede aparecer una vez o ninguna.
23991 \begin_layout Description
23992 \begin_inset Flex Code
23995 \begin_layout Plain Layout
23997 \begin_inset space ~
24001 \begin_inset space ~
24009 Este comando especifica que el comando \SpecialChar LaTeX
24010 incluido debería usarse para cambiar
24012 Este comando puede aparecer una vez o ninguna.
24015 \begin_layout Description
24016 \begin_inset Flex Code
24019 \begin_layout Plain Layout
24021 \begin_inset space ~
24025 \begin_inset space ~
24028 RotationLatexOption
24033 Este comando especifica que la rotación se hace mediante un argumento opcional.
24034 Este comando puede aparecer una vez o ninguna.
24037 \begin_layout Description
24038 \begin_inset Flex Code
24041 \begin_layout Plain Layout
24043 \begin_inset space ~
24047 \begin_inset space ~
24055 Este comando especifica que el cambio de tamaño se hace mediante un argumento
24057 Este comando puede aparecer una vez o ninguna
24060 \begin_layout Description
24061 \begin_inset Flex Code
24064 \begin_layout Plain Layout
24066 \begin_inset space ~
24070 \begin_inset space ~
24078 Este comando especifica que el recorte se hace mediante un argumento opcional.
24079 Este comando puede aparecer una vez o ninguna.
24082 \begin_layout Description
24083 \begin_inset Flex Code
24086 \begin_layout Plain Layout
24088 \begin_inset space ~
24092 \begin_inset space ~
24100 Este comando especifica que se usa un argumento extra opcional.
24101 Este comando puede aparecer una vez o ninguna.
24105 \begin_layout Description
24106 \begin_inset Flex Code
24109 \begin_layout Plain Layout
24111 \begin_inset space ~
24119 El formato de archivo del archivo convertido.
24120 Debe ser el nombre de un formato conocido por \SpecialChar LyX
24122 \begin_inset Flex Noun
24125 \begin_layout Plain Layout
24132 \begin_inset Flex Noun
24135 \begin_layout Plain Layout
24136 Gestión de archivos
24142 \begin_inset Flex Noun
24145 \begin_layout Plain Layout
24146 Herramientas\SpecialChar menuseparator
24153 Este comando debe aparecer exactamente una vez.
24156 If the resulting file format is PDF, you need to specify the format
24157 \begin_inset Flex Code
24160 \begin_layout Plain Layout
24169 This is the PDF format used for including graphics.
24170 The other defined PDF formats are for document export.
24173 \begin_layout Description
24174 \begin_inset Flex Code
24177 \begin_layout Plain Layout
24179 \begin_inset space ~
24187 El nombre de archivo del archivo convertido.
24188 El nombre de archivo debe ser absoluto.
24189 Este comando debe aparecer exactamente una vez.
24192 \begin_layout Subsection
24193 Definiciones de preámbulo
24196 \begin_layout Standard
24197 El archivo de configuración de plantillas externas puede contener definiciones
24198 de preámbulo adicionales encerradas entre
24199 \begin_inset Flex Code
24202 \begin_layout Plain Layout
24210 \begin_inset Flex Code
24213 \begin_layout Plain Layout
24220 Se pueden usar por las plantillas en la sección
24221 \begin_inset Flex Code
24224 \begin_layout Plain Layout
24233 \begin_layout Section
24234 El mecanismo de sustitución
24237 \begin_layout Standard
24238 Cuando la función de material externo recurre a un programa externo, se
24239 hace sobre la base de un comando definido en el archivo de configuración
24241 Estos comandos pueden contener varias macros que se expanden antes de su
24243 La ejecución tiene lugar siempre en el directorio del documento.
24247 \begin_layout Standard
24248 Además, cada vez que el material externo se va a mostrar, el nombre será
24249 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
24250 en la definición de la plantilla soportan también sustitución.
24254 \begin_layout Standard
24255 Las macros disponibles son las siguientes:
24258 \begin_layout Description
24259 \begin_inset Flex Code
24262 \begin_layout Plain Layout
24263 $$AbsOrRelPathMaster
24268 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
24272 \begin_layout Description
24273 \begin_inset Flex Code
24276 \begin_layout Plain Layout
24277 $$AbsOrRelPathParent
24282 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
24286 \begin_layout Description
24287 \begin_inset Flex Code
24290 \begin_layout Plain Layout
24296 La ruta absoluta del archivo.
24299 \begin_layout Description
24300 \begin_inset Flex Code
24303 \begin_layout Plain Layout
24309 El nombre de archivo sin ruta y sin la extensión.
24312 \begin_layout Description
24313 \begin_inset Flex Code
24316 \begin_layout Plain Layout
24318 \begin_inset Quotes eld
24322 \begin_inset Quotes erd
24330 Esta macro expandirá los contenidos del archivo con el nombre
24331 \begin_inset Flex Code
24334 \begin_layout Plain Layout
24343 \begin_layout Description
24344 \begin_inset Flex Code
24347 \begin_layout Plain Layout
24353 La extensión de archivo (incluyendo el punto).
24356 \begin_layout Description
24357 \begin_inset Flex Code
24360 \begin_layout Plain Layout
24368 This will be the string
24369 \begin_inset Quotes eld
24373 \begin_inset Quotes erd
24376 if the file is in JPEG format, otherwise it will be the string
24377 \begin_inset Quotes eld
24381 \begin_inset Quotes erd
24385 This is useful to avoid uneeded conversions for output formats that support
24386 both PNG and JPEG fomats.
24387 The predefined RasterImage template uses this macro for the pdf\SpecialChar TeX
24392 \begin_layout Description
24393 \begin_inset Flex Code
24396 \begin_layout Plain Layout
24402 El nombre de archivo del archivo especificado en el diálogo de material
24404 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
24408 \begin_layout Description
24409 \begin_inset Flex Code
24412 \begin_layout Plain Layout
24418 La parte de la ruta de
24419 \begin_inset Flex Code
24422 \begin_layout Plain Layout
24428 (nombre absoluto o relativo al documento \SpecialChar LyX
24432 \begin_layout Description
24433 \begin_inset Flex Code
24436 \begin_layout Plain Layout
24442 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
24446 \begin_layout Description
24447 \begin_inset Flex Code
24450 \begin_layout Plain Layout
24456 La ruta del archivo, relativa al documento \SpecialChar LyX
24460 \begin_layout Description
24461 \begin_inset Flex Code
24464 \begin_layout Plain Layout
24470 Esta macro expandirá a la ruta absoluta del directorio de sistema.
24471 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
24472 se empaquetan con \SpecialChar LyX
24476 \begin_layout Description
24477 \begin_inset Flex Code
24480 \begin_layout Plain Layout
24486 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
24487 ente siempre que el documento se cierra, o se suprime la inserción de material
24491 \begin_layout Standard
24492 Todas las macros de ruta contienen un separador de rastreo del directorio,
24493 así se puede construir, p.
24494 \begin_inset space \thinspace{}
24497 e., el nombre de archivo absoluto con
24498 \begin_inset Flex Code
24501 \begin_layout Plain Layout
24502 $$AbsPath$$Basename$$Extension
24510 \begin_layout Standard
24511 Las macros anteriores son sustituidas en todos los comandos a menos que
24512 se indique lo contrario.
24514 \begin_inset Flex Code
24517 \begin_layout Plain Layout
24523 soporta adicionalmente las siguientes sustituciones si se habilitan por
24525 \begin_inset Flex Code
24528 \begin_layout Plain Layout
24535 \begin_inset Flex Code
24538 \begin_layout Plain Layout
24547 \begin_layout Description
24548 \begin_inset Flex Code
24551 \begin_layout Plain Layout
24557 La parte delantera del comando para cambiar el tamaño.
24560 \begin_layout Description
24561 \begin_inset Flex Code
24564 \begin_layout Plain Layout
24570 La parte trasera del comando para cambiar el tamaño.
24573 \begin_layout Description
24574 \begin_inset Flex Code
24577 \begin_layout Plain Layout
24583 La parte delantera del comando para la rotación.
24586 \begin_layout Description
24587 \begin_inset Flex Code
24590 \begin_layout Plain Layout
24596 La parte trasera del comando para la rotación.
24599 \begin_layout Standard
24600 La cadena de valor del comando
24601 \begin_inset Flex Code
24604 \begin_layout Plain Layout
24610 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
24612 \begin_inset Flex Code
24615 \begin_layout Plain Layout
24622 \begin_inset Flex Code
24625 \begin_layout Plain Layout
24634 \begin_layout Description
24635 \begin_inset Flex Code
24638 \begin_layout Plain Layout
24647 \begin_layout Description
24648 \begin_inset Flex Code
24651 \begin_layout Plain Layout
24660 \begin_layout Description
24661 \begin_inset Flex Code
24664 \begin_layout Plain Layout
24670 La opción cambio de tamaño.
24673 \begin_layout Description
24674 \begin_inset Flex Code
24677 \begin_layout Plain Layout
24683 La opción rotación.
24686 \begin_layout Standard
24687 Te puedes preguntar por qué hay tantas macros de ruta.
24688 Por dos razones, principalmente:
24691 \begin_layout Enumerate
24692 Los nombres de archivo relativo y absoluto deberían permanecer relativo
24693 o absoluto, respectivamente.
24694 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
24695 Los nombres relativos son útiles para documentos portables que deberían
24696 funcionar en máquinas diferentes, por ejemplo.
24697 Los nombres absolutos pueden ser requeridos por algunos programas.
24700 \begin_layout Enumerate
24702 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
24704 programas en archivos anidados incluidos.
24705 Para \SpecialChar LyX
24706 , un nombre de archivo relativo es siempre relativo al documento que
24707 contiene el nombre de archivo.
24708 Para \SpecialChar LaTeX
24709 , es siempre relativo al documento maestro.
24710 Estas dos definiciones son idénticas si se tiene solo un documento, pero
24711 son distintas si se tiene un documento maestro que incluye documentos parciales.
24712 Esto quiere decir que los nombres de archivo relativos deben ser transformados
24713 cuando se presentan a \SpecialChar LaTeX
24715 Afortunadamente, \SpecialChar LyX
24716 hace esto automáticamente si se eligen las macros correctas.
24719 \begin_layout Standard
24720 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
24721 plantillas nuevas? La regla no es difícil:
24724 \begin_layout Itemize
24726 \begin_inset Flex Code
24729 \begin_layout Plain Layout
24735 si se requiere una ruta absoluta.
24738 \begin_layout Itemize
24740 \begin_inset Flex Code
24743 \begin_layout Plain Layout
24744 $$AbsOrRelPathMaster
24749 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
24753 \begin_layout Itemize
24755 \begin_inset Flex Code
24758 \begin_layout Plain Layout
24759 $$AbsOrRelPathParent
24764 con el fin de preservar la elección del usuario.
24767 \begin_layout Standard
24768 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
24769 \begin_inset space \thinspace{}
24772 e., nombres relativos, pero normalmente funcionará bien.
24773 Un ejemplo de uno de estos casos es el comando
24774 \begin_inset Flex Code
24777 \begin_layout Plain Layout
24778 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
24783 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
24784 el copiador para archivos
24785 \begin_inset Flex Code
24788 \begin_layout Plain Layout
24794 necesita el nombre relativo para reescribir el contenido del archivo.
24797 \begin_layout Section
24798 Discusión sobre seguridad
24799 \begin_inset CommandInset label
24801 name "sec:Discusión-sobre-seguridad"
24808 \begin_layout Standard
24809 La función material externo interactúa con muchos programas externos y lo
24810 hace de forma automática, así que hemos de tener en cuenta las implicaciones
24811 de seguridad que esto conlleva.
24812 En particular, puesto que tienes la opción de incluir tus propios archivos
24813 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
24814 crear un documento malicioso que ejecute comandos arbitrarios cuando un
24815 usuario ve o imprime el documento.
24816 Esto es algo que definitivamente queremos evitar.
24820 \begin_layout Standard
24821 Sin embargo, dado que los comandos de material externo se especifican solo
24822 en el archivo de configuración de la plantilla, no hay problemas de seguridad
24823 si \SpecialChar LyX
24824 está adecuadamente configurado solo con plantillas seguras.
24825 Esto es así porque los programas externos se invocan con la llamada al
24827 \begin_inset Flex Code
24830 \begin_layout Plain Layout
24836 más bien que con la llamada
24837 \begin_inset Flex Code
24840 \begin_layout Plain Layout
24846 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
24847 del nombre de archivo o de parámetros mediante el shell.
24850 \begin_layout Standard
24851 Esto implica además que hay restricciones en las cadenas de comandos que
24852 puedes usar en las plantillas de material externo.
24853 En particular, las tuberías y la redirección no están fácilmente disponibles.
24854 Esto debe ser así para que \SpecialChar LyX
24856 Si quieres usar algunas características de shell, deberías escribir un
24857 guión seguro para hacerlo de manera controlada, y después invocar el guión
24858 desde la cadena de comandos.
24861 \begin_layout Standard
24862 Es posible diseñar una plantilla que interactúe directamente con el shell,
24863 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
24864 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
24865 recomendamos usar solo guiones seguros que trabajen con la llamada
24866 \begin_inset Flex Code
24869 \begin_layout Plain Layout
24875 al sistema en forma controlada.
24876 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
24877 en el uso de guiones de shell ordinarios.
24878 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
24879 fácilmente explotable en tu sistema.
24880 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
24881 en la distribución estándar de \SpecialChar LyX
24882 , aunque alentamos a la gente a que, a la
24883 usanza del software libre, envíe nuevas plantillas.
24884 No obstante, \SpecialChar LyX
24885 nunca tendrá plantillas inseguras tal y como se distribuye
24886 por los canales oficiales.
24889 \begin_layout Standard
24890 Incluir material externo suministra mucha potencia y has de ser cuidadoso
24891 en no introducir riesgos de seguridad a costa de esta potencia.
24892 Un sutil error en una simple línea en un guión aparentemente inocente puede
24893 abrir la puerta a graves problemas de seguridad.
24894 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
24895 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
24897 tienes dudas acerca de si una plantilla dada es o no segura.
24898 Y hazlo antes de usarla en un entorno no controlado.
24901 \begin_layout Chapter
24905 List of functions to be used in layouts
24908 \begin_inset CommandInset label
24910 name "chap:List-of-functions"
24917 \begin_layout Standard
24919 \begin_inset Tabular
24920 <lyxtabular version="3" rows="11" columns="8">
24921 <features tabularvalignment="middle">
24922 <column alignment="left" valignment="top">
24923 <column alignment="left" valignment="top">
24924 <column alignment="left" valignment="top">
24925 <column alignment="left" valignment="top">
24926 <column alignment="left" valignment="top">
24927 <column alignment="left" valignment="top">
24928 <column alignment="left" valignment="top">
24929 <column alignment="left" valignment="top">
24931 <cell alignment="left" valignment="top" usebox="none">
24934 \begin_layout Plain Layout
24940 <cell alignment="left" valignment="top" usebox="none">
24943 \begin_layout Plain Layout
24949 <cell alignment="left" valignment="top" usebox="none">
24952 \begin_layout Plain Layout
24958 <cell alignment="left" valignment="top" usebox="none">
24961 \begin_layout Plain Layout
24967 <cell alignment="center" valignment="top" usebox="none">
24970 \begin_layout Plain Layout
24976 <cell alignment="center" valignment="top" usebox="none">
24979 \begin_layout Plain Layout
24985 <cell alignment="center" valignment="top" usebox="none">
24988 \begin_layout Plain Layout
24994 <cell alignment="center" valignment="top" usebox="none">
24997 \begin_layout Plain Layout
25005 <cell alignment="left" valignment="top" usebox="none">
25008 \begin_layout Plain Layout
25014 <cell alignment="left" valignment="top" usebox="none">
25017 \begin_layout Plain Layout
25023 <cell alignment="left" valignment="top" usebox="none">
25026 \begin_layout Plain Layout
25032 <cell alignment="left" valignment="top" usebox="none">
25035 \begin_layout Plain Layout
25041 <cell alignment="center" valignment="top" usebox="none">
25044 \begin_layout Plain Layout
25050 <cell alignment="center" valignment="top" usebox="none">
25053 \begin_layout Plain Layout
25059 <cell alignment="center" valignment="top" usebox="none">
25062 \begin_layout Plain Layout
25068 <cell alignment="center" valignment="top" usebox="none">
25071 \begin_layout Plain Layout
25079 <cell alignment="left" valignment="top" usebox="none">
25082 \begin_layout Plain Layout
25088 <cell alignment="left" valignment="top" usebox="none">
25091 \begin_layout Plain Layout
25097 <cell alignment="left" valignment="top" usebox="none">
25100 \begin_layout Plain Layout
25106 <cell alignment="left" valignment="top" usebox="none">
25109 \begin_layout Plain Layout
25115 <cell alignment="center" valignment="top" usebox="none">
25118 \begin_layout Plain Layout
25124 <cell alignment="center" valignment="top" usebox="none">
25127 \begin_layout Plain Layout
25133 <cell alignment="center" valignment="top" usebox="none">
25136 \begin_layout Plain Layout
25142 <cell alignment="center" valignment="top" usebox="none">
25145 \begin_layout Plain Layout
25153 <cell alignment="left" valignment="top" usebox="none">
25156 \begin_layout Plain Layout
25162 <cell alignment="left" valignment="top" usebox="none">
25165 \begin_layout Plain Layout
25171 <cell alignment="left" valignment="top" usebox="none">
25174 \begin_layout Plain Layout
25180 <cell alignment="left" valignment="top" usebox="none">
25183 \begin_layout Plain Layout
25189 <cell alignment="center" valignment="top" usebox="none">
25192 \begin_layout Plain Layout
25198 <cell alignment="center" valignment="top" usebox="none">
25201 \begin_layout Plain Layout
25207 <cell alignment="center" valignment="top" usebox="none">
25210 \begin_layout Plain Layout
25216 <cell alignment="center" valignment="top" usebox="none">
25219 \begin_layout Plain Layout
25227 <cell alignment="left" valignment="top" usebox="none">
25230 \begin_layout Plain Layout
25236 <cell alignment="left" valignment="top" usebox="none">
25239 \begin_layout Plain Layout
25245 <cell alignment="left" valignment="top" usebox="none">
25248 \begin_layout Plain Layout
25254 <cell alignment="left" valignment="top" usebox="none">
25257 \begin_layout Plain Layout
25263 <cell alignment="center" valignment="top" usebox="none">
25266 \begin_layout Plain Layout
25272 <cell alignment="center" valignment="top" usebox="none">
25275 \begin_layout Plain Layout
25281 <cell alignment="center" valignment="top" usebox="none">
25284 \begin_layout Plain Layout
25290 <cell alignment="center" valignment="top" usebox="none">
25293 \begin_layout Plain Layout
25301 <cell alignment="left" valignment="top" usebox="none">
25304 \begin_layout Plain Layout
25310 <cell alignment="left" valignment="top" usebox="none">
25313 \begin_layout Plain Layout
25319 <cell alignment="left" valignment="top" usebox="none">
25322 \begin_layout Plain Layout
25328 <cell alignment="left" valignment="top" usebox="none">
25331 \begin_layout Plain Layout
25337 <cell alignment="center" valignment="top" usebox="none">
25340 \begin_layout Plain Layout
25346 <cell alignment="center" valignment="top" usebox="none">
25349 \begin_layout Plain Layout
25355 <cell alignment="center" valignment="top" usebox="none">
25358 \begin_layout Plain Layout
25364 <cell alignment="center" valignment="top" usebox="none">
25367 \begin_layout Plain Layout
25375 <cell alignment="left" valignment="top" usebox="none">
25378 \begin_layout Plain Layout
25384 <cell alignment="left" valignment="top" usebox="none">
25387 \begin_layout Plain Layout
25393 <cell alignment="left" valignment="top" usebox="none">
25396 \begin_layout Plain Layout
25402 <cell alignment="left" valignment="top" usebox="none">
25405 \begin_layout Plain Layout
25411 <cell alignment="center" valignment="top" usebox="none">
25414 \begin_layout Plain Layout
25420 <cell alignment="center" valignment="top" usebox="none">
25423 \begin_layout Plain Layout
25429 <cell alignment="center" valignment="top" usebox="none">
25432 \begin_layout Plain Layout
25438 <cell alignment="center" valignment="top" usebox="none">
25441 \begin_layout Plain Layout
25449 <cell alignment="left" valignment="top" usebox="none">
25452 \begin_layout Plain Layout
25458 <cell alignment="left" valignment="top" usebox="none">
25461 \begin_layout Plain Layout
25467 <cell alignment="left" valignment="top" usebox="none">
25470 \begin_layout Plain Layout
25476 <cell alignment="left" valignment="top" usebox="none">
25479 \begin_layout Plain Layout
25485 <cell alignment="center" valignment="top" usebox="none">
25488 \begin_layout Plain Layout
25494 <cell alignment="center" valignment="top" usebox="none">
25497 \begin_layout Plain Layout
25503 <cell alignment="center" valignment="top" usebox="none">
25506 \begin_layout Plain Layout
25512 <cell alignment="center" valignment="top" usebox="none">
25515 \begin_layout Plain Layout
25523 <cell alignment="left" valignment="top" usebox="none">
25526 \begin_layout Plain Layout
25532 <cell alignment="left" valignment="top" usebox="none">
25535 \begin_layout Plain Layout
25541 <cell alignment="left" valignment="top" usebox="none">
25544 \begin_layout Plain Layout
25550 <cell alignment="left" valignment="top" usebox="none">
25553 \begin_layout Plain Layout
25559 <cell alignment="center" valignment="top" usebox="none">
25562 \begin_layout Plain Layout
25568 <cell alignment="center" valignment="top" usebox="none">
25571 \begin_layout Plain Layout
25577 <cell alignment="center" valignment="top" usebox="none">
25580 \begin_layout Plain Layout
25586 <cell alignment="center" valignment="top" usebox="none">
25589 \begin_layout Plain Layout
25597 <cell alignment="left" valignment="top" usebox="none">
25600 \begin_layout Plain Layout
25606 <cell alignment="left" valignment="top" usebox="none">
25609 \begin_layout Plain Layout
25615 <cell alignment="left" valignment="top" usebox="none">
25618 \begin_layout Plain Layout
25624 <cell alignment="left" valignment="top" usebox="none">
25627 \begin_layout Plain Layout
25633 <cell alignment="center" valignment="top" usebox="none">
25636 \begin_layout Plain Layout
25642 <cell alignment="center" valignment="top" usebox="none">
25645 \begin_layout Plain Layout
25651 <cell alignment="center" valignment="top" usebox="none">
25654 \begin_layout Plain Layout
25660 <cell alignment="center" valignment="top" usebox="none">
25663 \begin_layout Plain Layout
25671 <cell alignment="center" valignment="top" usebox="none">
25674 \begin_layout Plain Layout
25680 <cell alignment="center" valignment="top" usebox="none">
25683 \begin_layout Plain Layout
25689 <cell alignment="center" valignment="top" usebox="none">
25692 \begin_layout Plain Layout
25698 <cell alignment="center" valignment="top" usebox="none">
25701 \begin_layout Plain Layout
25707 <cell alignment="center" valignment="top" usebox="none">
25710 \begin_layout Plain Layout
25716 <cell alignment="center" valignment="top" usebox="none">
25719 \begin_layout Plain Layout
25725 <cell alignment="center" valignment="top" usebox="none">
25728 \begin_layout Plain Layout
25734 <cell alignment="center" valignment="top" usebox="none">
25737 \begin_layout Plain Layout
25751 \begin_layout Chapter
25754 Names of available colors to be used in layouts
25757 \begin_inset CommandInset label
25759 name "chap:Names-of-colors"
25766 \begin_layout Standard
25769 The colors listed here are the standard colors and the those that you can
25770 adjust in the \SpecialChar LyX
25774 \begin_layout Description
25789 No particular color – clear or default
25792 \begin_layout Description
25798 \begin_layout Description
25804 \begin_layout Description
25810 \begin_layout Description
25816 \begin_layout Description
25822 \begin_layout Description
25828 \begin_layout Description
25834 \begin_layout Description
25840 \begin_layout Description
25843 added_space Added space marker color
25846 \begin_layout Description
25849 addedtext Added text color
25852 \begin_layout Description
25855 appendix Appendix marker color
25858 \begin_layout Description
25861 background Background color
25864 \begin_layout Description
25867 bottomarea Bottom area color
25870 \begin_layout Description
25873 branchlabel Label color for branches
25876 \begin_layout Description
25879 buttonbg Color used for bottom background
25882 \begin_layout Description
25885 buttonhoverbg Color used for button background under focus
25888 \begin_layout Description
25891 buttonframe Color for inset button frames
25894 \begin_layout Description
25897 changebar Changebar color
25900 \begin_layout Description
25903 changedtextauthor1 Changed text color author 1
25906 \begin_layout Description
25909 changedtextauthor2 Changed text color author 2
25912 \begin_layout Description
25915 changedtextauthor3 Changed text color author 3
25918 \begin_layout Description
25921 changedtextauthor4 Changed text color author 4
25924 \begin_layout Description
25927 changedtextauthor5 Changed text color author 5
25930 \begin_layout Description
25933 collapsable_inset_frame Collapsable insets framecolor
25936 \begin_layout Description
25939 collapsable_inset_text Collapsable insets text color
25942 \begin_layout Description
25945 command Text color for command insets
25948 \begin_layout Description
25951 commandbg Background color for command insets
25954 \begin_layout Description
25957 commandframe Frame color for command insets
25960 \begin_layout Description
25963 comment color for comments
25966 \begin_layout Description
25969 commentbg Background color of comments
25972 \begin_layout Description
25975 cursor Cursor color
25978 \begin_layout Description
25981 deletedtext Deleted text color
25984 \begin_layout Description
25987 deletedtextmodifier Deleted text modifying color
25990 \begin_layout Description
25993 depthbar Color for the depth bars in the margin
25996 \begin_layout Description
25999 eolmarker End of line marker color
26002 \begin_layout Description
26005 error Color of the \SpecialChar LaTeX
26009 \begin_layout Description
26012 footlabel Label color for footnotes
26015 \begin_layout Description
26018 graphicsbg Graphics inset background color
26021 \begin_layout Description
26024 greyedout Label color for greyedout insets
26027 \begin_layout Description
26030 greyedoutbg Background color of greyedout inset
26033 \begin_layout Description
26036 greyedouttext Color for greyedout inset text
26039 \begin_layout Description
26042 indexlabel Label color for index insets
26045 \begin_layout Description
26048 ignore The color is ignored
26051 \begin_layout Description
26054 inherit The color is inherited
26057 \begin_layout Description
26060 inlinecompletion Inline completion color
26063 \begin_layout Description
26066 insetbg Inset marker background color
26069 \begin_layout Description
26072 insetframe Inset marker frame color
26075 \begin_layout Description
26078 language Color for marking foreign language words
26081 \begin_layout Description
26084 latex Text color in \SpecialChar LaTeX
26088 \begin_layout Description
26091 listingsbg Background color of listings inset
26094 \begin_layout Description
26097 marginlabel Label color for margin notes
26100 \begin_layout Description
26103 math Math inset text color
26106 \begin_layout Description
26109 mathbg Math inset background color
26112 \begin_layout Description
26115 mathcorners Math inset frame color not under focus
26118 \begin_layout Description
26121 mathframe Math inset frame color under focus
26124 \begin_layout Description
26127 mathline Math line color
26130 \begin_layout Description
26133 mathmacrobg Macro math inset background color
26136 \begin_layout Description
26139 mathmacroblend Macro math blended color
26142 \begin_layout Description
26145 mathmacroframe Macro math frame color
26148 \begin_layout Description
26151 mathmacrohoverbg Macro math inset background color hovered
26154 \begin_layout Description
26157 mathmacrolabel Macro math label color
26160 \begin_layout Description
26163 mathmacronewarg Macro template color for new parameters
26166 \begin_layout Description
26169 mathmacrooldarg Macro template color for old parameters
26172 \begin_layout Description
26175 newpage New page color
26178 \begin_layout Description
26181 nonunique_inlinecompletion Inline completion color for the non-unique part
26184 \begin_layout Description
26187 notebg Background color of notes
26190 \begin_layout Description
26193 notelabel Label color for notes
26196 \begin_layout Description
26199 pagebreak Page break/line break color
26202 \begin_layout Description
26205 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
26208 \begin_layout Description
26211 phantomtext Text color for phantom insets
26214 \begin_layout Description
26217 preview The color used for previews
26220 \begin_layout Description
26223 previewframe Preview frame color
26226 \begin_layout Description
26229 regexpframe Color for regexp frame
26232 \begin_layout Description
26235 selection Background color of selected text
26238 \begin_layout Description
26241 selectiontext Foreground color of selected text
26244 \begin_layout Description
26247 shadedbg Background color of shaded box
26250 \begin_layout Description
26253 special Special chars text color
26256 \begin_layout Description
26259 tabularline Table line color
26262 \begin_layout Description
26265 tabularonoffline Table line color
26268 \begin_layout Description
26271 urllabel Label color for URL insets
26274 \begin_layout Description
26277 urltext Color for URL inset text