]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Additional.lyx
Set inputenc for Spanish documentation to utf8
[lyx.git] / lib / doc / es / Additional.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the manual may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % the pages of the TOC are numbered roman
19 % and a PDF-bookmark for the TOC is added
20 \pagenumbering{roman}
21 \let\myTOC\tableofcontents
22 \renewcommand{\tableofcontents}{%
23  \pdfbookmark[1]{\contentsname}{}
24  \myTOC
25  \cleardoublepage
26  \pagenumbering{arabic}}
27
28 % extra space for tables
29 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 theorems-ams
36 theorems-ams-extended
37 multicol
38 shapepar
39 \end_modules
40 \maintain_unincluded_children false
41 \language spanish
42 \language_package default
43 \inputencoding utf8
44 \fontencoding global
45 \font_roman "lmodern" "default"
46 \font_sans "lmss" "default"
47 \font_typewriter "lmtt" "default"
48 \font_math "auto" "auto"
49 \font_default_family default
50 \use_non_tex_fonts false
51 \font_sc false
52 \font_osf false
53 \font_sf_scale 100 100
54 \font_tt_scale 100 100
55 \use_microtype false
56 \use_dash_ligatures false
57 \graphics default
58 \default_output_format pdf2
59 \output_sync 0
60 \bibtex_command default
61 \index_command default
62 \paperfontsize 12
63 \spacing single
64 \use_hyperref true
65 \pdf_title "Características adicionales de LyX"
66 \pdf_author "LyX Team"
67 \pdf_subject "Documentación Adicional LyX"
68 \pdf_keywords "LyX, Documentación, Adicional"
69 \pdf_bookmarks true
70 \pdf_bookmarksnumbered true
71 \pdf_bookmarksopen false
72 \pdf_bookmarksopenlevel 1
73 \pdf_breaklinks false
74 \pdf_pdfborder false
75 \pdf_colorlinks true
76 \pdf_backref false
77 \pdf_pdfusetitle false
78 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
79 \papersize a4paper
80 \use_geometry false
81 \use_package amsmath 1
82 \use_package amssymb 1
83 \use_package cancel 1
84 \use_package esint 1
85 \use_package mathdots 1
86 \use_package mathtools 1
87 \use_package mhchem 1
88 \use_package stackrel 1
89 \use_package stmaryrd 1
90 \use_package undertilde 1
91 \cite_engine basic
92 \cite_engine_type default
93 \biblio_style plain
94 \use_bibtopic false
95 \use_indices false
96 \paperorientation portrait
97 \suppress_date false
98 \justification true
99 \use_refstyle 0
100 \use_minted 0
101 \notefontcolor #0000ff
102 \index Índice
103 \shortcut idx
104 \color #008000
105 \end_index
106 \secnumdepth 3
107 \tocdepth 3
108 \paragraph_separation indent
109 \paragraph_indentation default
110 \is_math_indent 1
111 \math_indentation default
112 \math_numbering_side default
113 \quotes_style swiss
114 \dynamic_quotes 0
115 \papercolumns 1
116 \papersides 2
117 \paperpagestyle headings
118 \tracking_changes false
119 \output_changes false
120 \html_math_output 0
121 \html_css_as_file 0
122 \html_be_strict true
123 \end_header
124
125 \begin_body
126
127 \begin_layout Title
128 Características adicionales de \SpecialChar LyX
129
130 \end_layout
131
132 \begin_layout Subtitle
133 Version 2.3.x
134 \end_layout
135
136 \begin_layout Author
137 por el Equipo \SpecialChar LyX
138
139 \begin_inset Foot
140 status collapsed
141
142 \begin_layout Plain Layout
143 \noindent
144 El principal mantenedor de este archivo es 
145 \noun on
146 Richard Heck
147 \noun default
148 .
149  Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
150  correo de Documentación de \SpecialChar LyX
151
152 \begin_inset Flex Code
153 status collapsed
154
155 \begin_layout Plain Layout
156 \noindent
157 <lyx-docs@lists.lyx.org>
158 \end_layout
159
160 \end_inset
161
162 .
163 \end_layout
164
165 \end_inset
166
167
168 \end_layout
169
170 \begin_layout Standard
171 \begin_inset CommandInset toc
172 LatexCommand tableofcontents
173
174 \end_inset
175
176
177 \end_layout
178
179 \begin_layout Chapter
180 Introducción
181 \end_layout
182
183 \begin_layout Standard
184 Este manual es esencialmente la Parte II de la 
185 \emph on
186 Guía del Usuario
187 \emph default
188 .
189  La segregación de este documento obedece a una sencilla razón: la 
190 \emph on
191 Guía del Usuario
192 \emph default
193  es muy extensa, y contiene todas las características básicas que uno necesita
194  conocer para preparar la mayoría de documentos.
195  Sin embargo, el Equipo \SpecialChar LyX
196  ha tenido siempre el objetivo de extender las caracterí
197 sticas del programa mediante diversos archivos de configuración y paquetes
198  externos.
199  Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
200  
201 \family typewriter
202 Fizzwizzle
203 \family default
204 , puedes crear un archivo de formato (o módulo) para él sin tener que alterar
205  el propio \SpecialChar LyX
206 .
207  Ya hemos hecho de esta manera contribuciones a varias características nuevas.
208  Este es el documento donde se explican todas estas cosas.
209 \end_layout
210
211 \begin_layout Standard
212 En este manual se describen también algunas características especiales como
213  soporte de fax, control de versiones y soporte para SGML, que requieren
214  software adicional para funcionar bien.
215  Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
216 , muy útiles
217  para mejorar la presentación de los documentos usando directamente las
218  poderosas características de \SpecialChar LaTeX
219 .
220  Después de todo, \SpecialChar LyX
221  
222 \emph on
223 solo 
224 \emph default
225 es WYSIWYM y siempre será solo una interfaz para algunas, no todas, característi
226 cas de \SpecialChar LaTeX
227 .
228  
229 \end_layout
230
231 \begin_layout Standard
232 Si aún no has leído la 
233 \emph on
234 Introducción
235 \emph default
236 , no hay duda de que estás en el manual equivocado.
237  La 
238 \emph on
239 Introducción
240 \emph default
241  es el primer sitio al que acudir, porque ahí te remitimos al manual adecuado
242  y te explicamos los criterios y el formato de todos los manuales.
243  También deberías estar familiarizado con la 
244 \emph on
245 Guía del usuario
246 \emph default
247  y con las características fundamentales de \SpecialChar LyX
248  antes de leer éste.
249  
250 \end_layout
251
252 \begin_layout Standard
253 Puesto que todos los temas tratados en este manual dependen estrechamente
254  de la interacción entre \SpecialChar LyX
255  y \SpecialChar LaTeX
256 , el siguiente capítulo trata sobre el trabajo
257  interno de \SpecialChar LyX
258  y la forma de usar \SpecialChar LyX
259  para generar exactamente el código \SpecialChar LaTeX
260  adecuado.
261  Obviamente, es para usuarios experimentados en \SpecialChar LyX
262 .
263 \end_layout
264
265 \begin_layout Chapter
266 \SpecialChar LyX
267  y \SpecialChar LaTeX
268
269 \end_layout
270
271 \begin_layout Section
272 Uso de \SpecialChar LaTeX
273  en \SpecialChar LyX
274
275 \end_layout
276
277 \begin_layout Standard
278 Este capítulo es tanto para 
279 \begin_inset Quotes cld
280 \end_inset
281
282 \SpecialChar TeX
283 -nicos
284 \begin_inset Quotes crd
285 \end_inset
286
287  como para curiosos de \SpecialChar LaTeX
288 .
289  En él explicaremos cómo trabajan juntos \SpecialChar LyX
290  y \SpecialChar LaTeX
291  para generar salida imprimible.
292  Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
293 .
294 \end_layout
295
296 \begin_layout Standard
297 Una vez llamamos a \SpecialChar LyX
298  
299 \begin_inset Quotes cld
300 \end_inset
301
302 interfaz WYSIWYM para \SpecialChar LaTeX
303
304 \begin_inset Quotes crd
305 \end_inset
306
307 , pero ya no es cierto.
308  Hay otros programas que también lo son.
309 \begin_inset Foot
310 status collapsed
311
312 \begin_layout Plain Layout
313 Algunos habituales son \SpecialChar TeX
314 maker y kile para Linux y \SpecialChar TeX
315 shop para OSX.
316  Están además los modos \SpecialChar LaTeX
317  de vi y emacs, por supuesto.
318 \end_layout
319
320 \end_inset
321
322  Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
323  y marcar los errores
324  en el archivo que se está editando.
325  Aunque \SpecialChar LyX
326  
327 \emph on
328 es
329 \emph default
330  un editor, y 
331 \emph on
332 hace
333 \emph default
334  correr a \SpecialChar LaTeX
335 , y también marca los errores en el archivo, hace mucho, mucho
336  más.
337  Gracias al concepto WYSIWYM, no necesitas \SpecialChar LaTeX
338  para usar \SpecialChar LyX
339  eficazmente.
340  Además, \SpecialChar LyX
341  ha añadido algunas extensiones a \SpecialChar LaTeX
342 .
343  Prueba esto en alguna ocasión: selecciona 
344 \begin_inset Flex Noun
345 status collapsed
346
347 \begin_layout Plain Layout
348 Exportar\SpecialChar menuseparator
349 LaTeX
350 \end_layout
351
352 \end_inset
353
354
355 \family sans
356  
357 \family default
358 desde el menú 
359 \begin_inset Flex Noun
360 status collapsed
361
362 \begin_layout Plain Layout
363 Archivo
364 \end_layout
365
366 \end_inset
367
368 , (o 
369 \begin_inset Flex Noun
370 status collapsed
371
372 \begin_layout Plain Layout
373 Ver\SpecialChar menuseparator
374 Panel de código fuente
375 \end_layout
376
377 \end_inset
378
379 ), y luego mira el preámbulo del archivo
380 \family sans
381  
382 \family typewriter
383
384 \begin_inset Flex Code
385 status collapsed
386
387 \begin_layout Plain Layout
388
389 \family typewriter
390 .tex
391 \end_layout
392
393 \end_inset
394
395  
396 \family default
397 resultante.
398  Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
399 .
400  Estas macros se definen automáticamente, de acuerdo con las características
401  elegidas para el documento.
402 \end_layout
403
404 \begin_layout Standard
405 Hay varios comandos que ejecutan \SpecialChar LaTeX
406  automáticamente.
407  Son:
408 \end_layout
409
410 \begin_layout Itemize
411 \begin_inset Flex Noun
412 status collapsed
413
414 \begin_layout Plain Layout
415
416 \family sans
417 Documento\SpecialChar menuseparator
418 Ver
419 \end_layout
420
421 \end_inset
422
423
424 \end_layout
425
426 \begin_layout Itemize
427 \begin_inset Flex Noun
428 status collapsed
429
430 \begin_layout Plain Layout
431
432 \family sans
433 Documento\SpecialChar menuseparator
434
435 \family default
436 A
437 \family sans
438 ctualizar
439 \end_layout
440
441 \end_inset
442
443
444 \end_layout
445
446 \begin_layout Standard
447 Solo llaman a \SpecialChar LaTeX
448  si el archivo ha cambiado desde la última vez que se ejecutó.
449  
450 \end_layout
451
452 \begin_layout Standard
453 Cuando \SpecialChar LyX
454  ejecuta \SpecialChar LaTeX
455  sobre el archivo que estás editando, lleva a cabo los siguiente
456 s pasos:
457 \end_layout
458
459 \begin_layout Enumerate
460 Convierte el documento a \SpecialChar LaTeX
461  y guarda un archivo con extensión 
462 \begin_inset Flex Code
463 status collapsed
464
465 \begin_layout Plain Layout
466
467 \family typewriter
468 .tex
469 \end_layout
470
471 \end_inset
472
473 .
474 \end_layout
475
476 \begin_layout Enumerate
477 Ejecuta
478 \family typewriter
479  
480 \family default
481 \SpecialChar LaTeX
482  sobre el archivo
483 \family typewriter
484  
485 \family default
486
487 \begin_inset Flex Code
488 status collapsed
489
490 \begin_layout Plain Layout
491
492 \family typewriter
493 .tex
494 \end_layout
495
496 \end_inset
497
498
499 \family typewriter
500  
501 \family default
502 (quizá varias veces) y cualesquiera otros comandos (como 
503 \begin_inset Flex Code
504 status collapsed
505
506 \begin_layout Plain Layout
507 bibtex
508 \end_layout
509
510 \end_inset
511
512  o 
513 \begin_inset Flex Code
514 status collapsed
515
516 \begin_layout Plain Layout
517 makeindex
518 \end_layout
519
520 \end_inset
521
522 ) necesarios para compilar el archivo.
523 \end_layout
524
525 \begin_layout Enumerate
526 Si hay errores, muestra el registro de errores.
527 \end_layout
528
529 \begin_layout Standard
530 Si has ejecutado \SpecialChar LaTeX
531  con
532 \family sans
533  
534 \family default
535
536 \begin_inset Flex Noun
537 status collapsed
538
539 \begin_layout Plain Layout
540
541 \family sans
542 Ver
543 \begin_inset space ~
544 \end_inset
545
546 DVI
547 \end_layout
548
549 \end_inset
550
551 , \SpecialChar LyX
552  ejecuta un visor DVI para mostrar la salida.
553  Si has usado
554 \family sans
555  
556 \family default
557
558 \begin_inset Flex Noun
559 status collapsed
560
561 \begin_layout Plain Layout
562
563 \family sans
564 Ver
565 \begin_inset space ~
566 \end_inset
567
568 PostScript
569 \end_layout
570
571 \end_inset
572
573 , \SpecialChar LyX
574  hace dos pasos más:
575 \end_layout
576
577 \begin_layout Itemize
578 Ejecuta 
579 \family typewriter
580 dvips
581 \family default
582  para convertir el archivo DVI a PostScript.
583 \end_layout
584
585 \begin_layout Itemize
586 Ejecuta un visor PostScript, como 
587 \family typewriter
588
589 \begin_inset Flex Code
590 status collapsed
591
592 \begin_layout Plain Layout
593
594 \family typewriter
595 ghostview
596 \end_layout
597
598 \end_inset
599
600
601 \family default
602  para mostrar la salida.
603 \end_layout
604
605 \begin_layout Standard
606 \SpecialChar LyX
607  procede de forma parecida cuando ves o exportas otros formatos.
608 \end_layout
609
610 \begin_layout Section
611 Convertir archivos \SpecialChar LaTeX
612  en \SpecialChar LyX
613
614 \end_layout
615
616 \begin_layout Standard
617 Puedes importar un archivo \SpecialChar LaTeX
618  en \SpecialChar LyX
619  usando el comando
620 \family sans
621  
622 \begin_inset Flex Noun
623 status collapsed
624
625 \begin_layout Plain Layout
626
627 \family sans
628 Archivo\SpecialChar menuseparator
629 Importar\SpecialChar menuseparator
630 LaTeX
631 \end_layout
632
633 \end_inset
634
635
636 \family default
637 .
638  Esto llamará al programa llamado 
639 \begin_inset Flex Code
640 status collapsed
641
642 \begin_layout Plain Layout
643 tex2lyx
644 \end_layout
645
646 \end_inset
647
648  que generará un archivo 
649 \begin_inset Flex Code
650 status collapsed
651
652 \begin_layout Plain Layout
653 foo.lyx
654 \end_layout
655
656 \end_inset
657
658  a partir del archivo 
659 \begin_inset Flex Code
660 status collapsed
661
662 \begin_layout Plain Layout
663 foo.tex
664 \end_layout
665
666 \end_inset
667
668  y luego lo abrirá.
669 \begin_inset Foot
670 status collapsed
671
672 \begin_layout Plain Layout
673 \begin_inset Flex Code
674 status collapsed
675
676 \begin_layout Plain Layout
677 tex2lyx
678 \end_layout
679
680 \end_inset
681
682  también se puede ejecutar en línea de comandos, por supuesto.
683 \end_layout
684
685 \end_inset
686
687
688 \end_layout
689
690 \begin_layout Standard
691 \begin_inset Flex Code
692 status collapsed
693
694 \begin_layout Plain Layout
695 tex2lyx
696 \end_layout
697
698 \end_inset
699
700  traducirá casi todo el \SpecialChar LaTeX
701  legal, pero no todo.
702  Dejará en código \SpecialChar TeX
703  cosas que no comprende, así que después de importar un
704  archivo con 
705 \begin_inset Flex Code
706 status collapsed
707
708 \begin_layout Plain Layout
709
710 \family typewriter
711 tex2lyx
712 \end_layout
713
714 \end_inset
715
716 , puedes buscar texto en rojo y editarlo a mano para que funcione bien.
717 \end_layout
718
719 \begin_layout Standard
720 Si no sabes qué es código \SpecialChar TeX
721  lee la sección siguiente.
722 \end_layout
723
724 \begin_layout Section
725 Insertar código \SpecialChar TeX
726  en documentos \SpecialChar LyX
727  
728 \begin_inset CommandInset label
729 LatexCommand label
730 name "sec:Insertar-Código-TeX"
731
732 \end_inset
733
734
735 \end_layout
736
737 \begin_layout Standard
738 Todo lo que se puede hacer en \SpecialChar LaTeX
739  se puede hacer en \SpecialChar LyX
740 , por una razón muy simple:
741  en cualquier momento puedes insertar código \SpecialChar LaTeX
742  en un documento \SpecialChar LyX
743 .
744  \SpecialChar LyX
745  no puede, y nunca podrá, mostrar cada una de las posibles estructuras
746  de \SpecialChar LaTeX
747 .
748  Si necesitas incluir comandos \SpecialChar LaTeX
749  en tu documento, puedes usar los marcos
750  de 
751 \begin_inset Flex Code
752 status collapsed
753
754 \begin_layout Plain Layout
755 código \SpecialChar TeX
756
757 \end_layout
758
759 \end_inset
760
761 , con el menú 
762 \begin_inset Flex Noun
763 status collapsed
764
765 \begin_layout Plain Layout
766
767 \family sans
768 Insertar\SpecialChar menuseparator
769 Código TeX
770 \end_layout
771
772 \end_inset
773
774 .
775 \end_layout
776
777 \begin_layout Standard
778 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
779  en un documento \SpecialChar LyX
780 .
781  El código se ve así:
782 \end_layout
783
784 \begin_layout LyX-Code
785
786 \backslash
787 begin{tabular}{ll}
788 \begin_inset Newline newline
789 \end_inset
790
791
792 \backslash
793 begin{minipage}{5cm}
794 \begin_inset Newline newline
795 \end_inset
796
797 Este es un ejemplo para un entorno minipágina.
798  En él 
799 \begin_inset Newline newline
800 \end_inset
801
802 puedes poner prácticamente todo, incluso figuras y 
803 \begin_inset Newline newline
804 \end_inset
805
806 cuadros (no flotantes).
807  
808 \begin_inset Newline newline
809 \end_inset
810
811
812 \backslash
813 end{minipage}
814 \begin_inset Newline newline
815 \end_inset
816
817 &
818 \begin_inset Newline newline
819 \end_inset
820
821
822 \backslash
823 begin{minipage}{5cm}
824 \begin_inset Newline newline
825 \end_inset
826
827
828 \backslash
829 begin{verbatim}
830 \begin_inset Newline newline
831 \end_inset
832
833
834 \backslash
835 begin{minipage}{5cm}
836 \begin_inset Newline newline
837 \end_inset
838
839 Esto...
840  
841 \begin_inset Newline newline
842 \end_inset
843
844
845 \backslash
846 end{minipage}
847 \begin_inset Newline newline
848 \end_inset
849
850
851 \backslash
852 end{verbatim}
853 \begin_inset Newline newline
854 \end_inset
855
856
857 \backslash
858 end{minipage}
859 \begin_inset Newline newline
860 \end_inset
861
862
863 \backslash
864 end{tabular}
865 \end_layout
866
867 \begin_layout Standard
868 El recuadro en 
869 \begin_inset Flex Code
870 status collapsed
871
872 \begin_layout Plain Layout
873 código \SpecialChar TeX
874
875 \end_layout
876
877 \end_inset
878
879  que contiene ese texto está tras este párrafo.
880  Si estás leyendo este manual en \SpecialChar LyX
881  solo verás el código insertado en rojo.
882  Si estás leyendo una versión impresa verás los resultados reales:
883 \begin_inset Newline newline
884 \end_inset
885
886
887 \end_layout
888
889 \begin_layout Standard
890 \begin_inset ERT
891 status open
892
893 \begin_layout Plain Layout
894
895
896 \backslash
897 begin{tabular}{ll}
898 \end_layout
899
900 \begin_layout Plain Layout
901
902
903 \backslash
904 begin{minipage}{5cm}
905 \end_layout
906
907 \begin_layout Plain Layout
908
909 Este es un ejemplo para un entorno minipágina.
910  En él puedes poner prácticamente todo, incluso figuras y cuadros (no flotantes).
911 \end_layout
912
913 \begin_layout Plain Layout
914
915
916 \backslash
917 end{minipage}
918 \end_layout
919
920 \begin_layout Plain Layout
921
922 &
923 \end_layout
924
925 \begin_layout Plain Layout
926
927
928 \backslash
929 begin{minipage}{5cm}
930 \end_layout
931
932 \begin_layout Plain Layout
933
934
935 \backslash
936 begin{verbatim}
937 \end_layout
938
939 \begin_layout Plain Layout
940
941
942 \backslash
943 begin{minipage}{5cm}
944 \end_layout
945
946 \begin_layout Plain Layout
947
948 Esto ...
949  
950 \end_layout
951
952 \begin_layout Plain Layout
953
954
955 \backslash
956 end{minipage}
957 \end_layout
958
959 \begin_layout Plain Layout
960
961
962 \backslash
963 end{verbatim}
964 \end_layout
965
966 \begin_layout Plain Layout
967
968
969 \backslash
970 end{minipage}
971 \end_layout
972
973 \begin_layout Plain Layout
974
975
976 \backslash
977 end{tabular}
978 \end_layout
979
980 \end_inset
981
982
983 \begin_inset Newline newline
984 \end_inset
985
986
987 \end_layout
988
989 \begin_layout Standard
990 Además de estos métodos,
991 \emph on
992  
993 \emph default
994 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
995  complejas y
996  usar después el menú
997 \family sans
998  
999 \family default
1000
1001 \begin_inset Flex Noun
1002 status collapsed
1003
1004 \begin_layout Plain Layout
1005
1006 \family sans
1007 Insert
1008 \family default
1009 ar
1010 \family sans
1011 \SpecialChar menuseparator
1012 Archivo\SpecialChar menuseparator
1013 Documento
1014 \begin_inset space ~
1015 \end_inset
1016
1017 hijo
1018 \end_layout
1019
1020 \end_inset
1021
1022
1023 \family sans
1024  
1025 \family default
1026 para incluir ese archivo (deberías seleccionar el tipo 
1027 \family sans
1028
1029 \begin_inset Flex Code
1030 status collapsed
1031
1032 \begin_layout Plain Layout
1033
1034 \family sans
1035 Entrada
1036 \end_layout
1037
1038 \end_inset
1039
1040
1041 \family default
1042 ).
1043  Recomendamos hacer esto solo si dispones de un archivo 
1044 \family typewriter
1045
1046 \begin_inset Flex Code
1047 status collapsed
1048
1049 \begin_layout Plain Layout
1050
1051 \family typewriter
1052 .tex
1053 \end_layout
1054
1055 \end_inset
1056
1057  
1058 \family default
1059 que 
1060 \emph on
1061 sepas
1062 \emph default
1063  que funciona.
1064  Si no, te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1065 \SpecialChar ldots
1066
1067 \end_layout
1068
1069 \begin_layout Standard
1070 Hay unas últimas observaciones que hacer:
1071 \end_layout
1072
1073 \begin_layout Itemize
1074 \SpecialChar LyX
1075  
1076 \emph on
1077 no
1078 \emph default
1079  comprueba si el código \SpecialChar LaTeX
1080  es correcto.
1081 \end_layout
1082
1083 \begin_layout Itemize
1084 Abstente de reinventar la rueda.
1085 \end_layout
1086
1087 \begin_layout Standard
1088 Respecto al último punto, \SpecialChar LyX
1089  tiene bastantes características incorporadas,
1090  y más que vienen.
1091  Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1092  no dispone
1093  de tal o cual función antes de hacerlo a mano.
1094  Además, hay por ahí multitud de paquetes \SpecialChar LaTeX
1095  para hacer toda clase de cosas,
1096  desde etiquetas o sobres a fantásticos cuadros multipágina.
1097  Investiga en 
1098 \begin_inset CommandInset href
1099 LatexCommand href
1100 name "CTAN"
1101 target "http://www.ctan.org/"
1102 literal "false"
1103
1104 \end_inset
1105
1106  para detalles.
1107 \end_layout
1108
1109 \begin_layout Standard
1110 Si necesitas hacer algunas cosas fantásticas en tu documento, asegúrate
1111  de investigar en un buen libro sobre \SpecialChar LaTeX
1112  para obtener ayuda.
1113  Hay unos cuantos de ellos recogidos en la bibliografía de la 
1114 \emph on
1115 Guía del Usuario
1116 \emph default
1117 .
1118 \end_layout
1119
1120 \begin_layout Section
1121 \SpecialChar LyX
1122  y el Preámbulo \SpecialChar LaTeX
1123
1124 \end_layout
1125
1126 \begin_layout Subsection
1127 Sobre el preámbulo \SpecialChar LaTeX
1128
1129 \end_layout
1130
1131 \begin_layout Standard
1132 Si conoces \SpecialChar LaTeX
1133 , no es necesario explicar para qué sirve el preámbulo.
1134  Si no lo sabes, lo que sigue te dará algunas ideas —de nuevo recomendamos
1135  consultar un libro sobre \SpecialChar LaTeX
1136  para información adicional—.
1137  En cualquier caso, deberías leer los puntos siguientes porque detallan
1138  lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1139  de un
1140  documento \SpecialChar LyX
1141 .
1142 \end_layout
1143
1144 \begin_layout Standard
1145 El preámbulo \SpecialChar LaTeX
1146  se encuentra en el principio de un documento, 
1147 \emph on
1148 antes
1149 \emph default
1150  del texto.
1151  Sirve para:
1152 \end_layout
1153
1154 \begin_layout Itemize
1155 Declarar la clase de documento.
1156 \begin_inset Newline newline
1157 \end_inset
1158
1159 \SpecialChar LyX
1160  ya lo hace por ti.
1161  Si eres un avezado 
1162 \begin_inset Quotes cld
1163 \end_inset
1164
1165 \SpecialChar LaTeX
1166 -nico
1167 \begin_inset Quotes crd
1168 \end_inset
1169
1170 , y dispones de alguna clase personalizada de documento que deseas usar,
1171  busca información sobre cómo incluirlo en \SpecialChar LyX
1172  en el manual 
1173 \emph on
1174 Personalización
1175 \emph default
1176 .
1177  
1178 \end_layout
1179
1180 \begin_layout Itemize
1181 Declarar el empleo de paquetes.
1182 \begin_inset Newline newline
1183 \end_inset
1184
1185 Los paquetes \SpecialChar LaTeX
1186  suministran comandos especiales, que solo estarán disponibles
1187  para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1188  Por ejemplo, el paquete 
1189 \family typewriter
1190
1191 \begin_inset Flex Code
1192 status collapsed
1193
1194 \begin_layout Plain Layout
1195
1196 \family typewriter
1197 indentfirst
1198 \end_layout
1199
1200 \end_inset
1201
1202  
1203 \family default
1204 fuerza el sangrado en todos los párrafos.
1205  Hay otros paquetes para etiquetas, sobres, márgenes, etc.
1206 \end_layout
1207
1208 \begin_layout Itemize
1209 Configurar contadores, variables, longitudes y anchuras.
1210 \begin_inset Newline newline
1211 \end_inset
1212
1213 Hay varios contadores \SpecialChar LaTeX
1214  y variables que 
1215 \emph on
1216 deben 
1217 \emph default
1218 configurarse globalmente desde dentro del preámbulo para conseguir el efecto
1219  deseado.
1220  (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1221  Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1222  Otro ejemplo es el formato de las etiquetas para las listas.
1223  En realidad, puedes configurarlas donde quieras, pero es mejor hacerlo
1224  de una vez en el preámbulo.
1225 \end_layout
1226
1227 \begin_layout Itemize
1228 Declarar comandos definidos por el usuario (con 
1229 \family typewriter
1230
1231 \begin_inset Flex Code
1232 status collapsed
1233
1234 \begin_layout Plain Layout
1235
1236 \family typewriter
1237
1238 \backslash
1239 newcommand
1240 \end_layout
1241
1242 \end_inset
1243
1244
1245 \family default
1246  o 
1247 \family typewriter
1248
1249 \begin_inset Flex Code
1250 status collapsed
1251
1252 \begin_layout Plain Layout
1253
1254 \family typewriter
1255
1256 \backslash
1257 renewcommand
1258 \end_layout
1259
1260 \end_inset
1261
1262
1263 \family default
1264 )
1265 \begin_inset Newline newline
1266 \end_inset
1267
1268 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1269  que aparecen muy a menudo en
1270  un documento.
1271  Aunque el preámbulo es un buen sitio para declarar dichos comandos, 
1272 \emph on
1273 pueden
1274 \emph default
1275  ser definidos en cualquier sitio (por supuesto, 
1276 \emph on
1277 antes
1278 \emph default
1279  de que se vayan a usar por vez primera).
1280  Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1281  en el documento, lo que normalment
1282 e no debería suceder.
1283 \end_layout
1284
1285 \begin_layout Standard
1286 \SpecialChar LyX
1287  añade su propio conjunto de definiciones al preámbulo del archivo 
1288 \family typewriter
1289
1290 \begin_inset Flex Code
1291 status collapsed
1292
1293 \begin_layout Plain Layout
1294
1295 \family typewriter
1296 .tex
1297 \end_layout
1298
1299 \end_inset
1300
1301
1302 \family default
1303  que genera.
1304  Esto hace que los archivos \SpecialChar LaTeX
1305  generados por \SpecialChar LyX
1306  sean portables.
1307 \end_layout
1308
1309 \begin_layout Subsection
1310 Cambiar el preámbulo
1311 \end_layout
1312
1313 \begin_layout Standard
1314 Los comandos que \SpecialChar LyX
1315  añade al preámbulo de un archivo \SpecialChar LaTeX
1316  son fijos; no puedes
1317  cambiarlos sin parchear el propio \SpecialChar LyX
1318 .
1319  Sin embargo, puedes añadir tus cosas al preámbulo seleccionando 
1320 \family sans
1321
1322 \begin_inset Flex Noun
1323 status collapsed
1324
1325 \begin_layout Plain Layout
1326
1327 \family sans
1328 Preámbulo
1329 \begin_inset space ~
1330 \end_inset
1331
1332 \SpecialChar LaTeX
1333
1334 \end_layout
1335
1336 \end_inset
1337
1338  
1339 \family default
1340 en el diálogo
1341 \begin_inset Flex Noun
1342 status collapsed
1343
1344 \begin_layout Plain Layout
1345
1346 \family sans
1347  Document
1348 \family default
1349 o\SpecialChar menuseparator
1350
1351 \family sans
1352 Configuración
1353 \end_layout
1354
1355 \end_inset
1356
1357 .
1358  \SpecialChar LyX
1359  añade todo lo del diálogo a su propio preámbulo incorporado.
1360  Antes de añadir tus declaraciones en el preámbulo, deberías verificar que
1361  \SpecialChar LyX
1362  no dispone ya de soporte para lo que quieres hacer.
1363  (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además, 
1364 \emph on
1365 asegúrate de que el código del preámbulo es correcto
1366 \emph default
1367 .
1368
1369 \emph on
1370  
1371 \emph default
1372 \SpecialChar LyX
1373  no comprueba esto por ti.
1374  Si hay un error, probablemente obtendrás un mensaje como 
1375 \begin_inset Quotes cld
1376 \end_inset
1377
1378
1379 \begin_inset Flex Code
1380 status collapsed
1381
1382 \begin_layout Plain Layout
1383 Missing 
1384 \backslash
1385 begin{document}
1386 \end_layout
1387
1388 \end_inset
1389
1390
1391 \begin_inset Quotes crd
1392 \end_inset
1393
1394 .
1395  Si ves este error comprueba tu preámbulo.
1396 \end_layout
1397
1398 \begin_layout Subsection
1399 Ejemplos
1400 \end_layout
1401
1402 \begin_layout Standard
1403 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del
1404  efecto que produce:
1405 \end_layout
1406
1407 \begin_layout Subsubsection
1408 Ejemplo 1: Ajustes del área de impresión
1409 \end_layout
1410
1411 \begin_layout Standard
1412 Hay dos variables en \SpecialChar LaTeX
1413
1414 \family typewriter
1415
1416 \begin_inset Flex Code
1417 status collapsed
1418
1419 \begin_layout Plain Layout
1420
1421 \family typewriter
1422
1423 \backslash
1424 hoffset
1425 \end_layout
1426
1427 \end_inset
1428
1429
1430 \family default
1431  y 
1432 \family typewriter
1433
1434 \begin_inset Flex Code
1435 status collapsed
1436
1437 \begin_layout Plain Layout
1438
1439 \family typewriter
1440
1441 \backslash
1442 voffset
1443 \end_layout
1444
1445 \end_inset
1446
1447
1448 \family default
1449 , que controlan la composición de la página, es decir, el desplazamiento
1450  horizontal y vertical del área de impresión.
1451  Estas variables son útiles para casos como, por ejemplo, la impresión de
1452  etiquetas.
1453  A veces, el tamaño de un soporte de impresión y el área realmente imprimible
1454  no coinciden.
1455  Entonces intervienen 
1456 \family typewriter
1457
1458 \begin_inset Flex Code
1459 status collapsed
1460
1461 \begin_layout Plain Layout
1462
1463 \family typewriter
1464
1465 \backslash
1466 hoffset
1467 \end_layout
1468
1469 \end_inset
1470
1471
1472 \family default
1473  y 
1474 \family typewriter
1475
1476 \begin_inset Flex Code
1477 status collapsed
1478
1479 \begin_layout Plain Layout
1480
1481 \family typewriter
1482
1483 \backslash
1484 voffset
1485 \end_layout
1486
1487 \end_inset
1488
1489
1490 \family default
1491 .
1492  
1493 \end_layout
1494
1495 \begin_layout Standard
1496
1497 \family typewriter
1498 El
1499 \family default
1500  valor predeterminado para 
1501 \family typewriter
1502
1503 \begin_inset Flex Code
1504 status collapsed
1505
1506 \begin_layout Plain Layout
1507
1508 \family typewriter
1509
1510 \backslash
1511 hoffset
1512 \end_layout
1513
1514 \end_inset
1515
1516
1517 \family default
1518  y 
1519 \family typewriter
1520
1521 \begin_inset Flex Code
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525
1526 \family typewriter
1527
1528 \backslash
1529 voffset
1530 \end_layout
1531
1532 \end_inset
1533
1534
1535 \family default
1536  es 0
1537 \begin_inset space \thinspace{}
1538 \end_inset
1539
1540 pt., no cambia la composición de la página.
1541  Desafortunadamente, algunos controladores DVI siempre parecen alterar la
1542  paginación.
1543  No tenemos ni idea de la causa de esto ni de por qué el administrador del
1544  sistema no lo arregla.
1545  Si estás usando \SpecialChar LyX
1546  en un sistema que no administras personalmente y el responsabl
1547 e es un inepto, 
1548 \family typewriter
1549
1550 \begin_inset Flex Code
1551 status collapsed
1552
1553 \begin_layout Plain Layout
1554
1555 \family typewriter
1556
1557 \backslash
1558 hoffset
1559 \family default
1560  
1561 \end_layout
1562
1563 \end_inset
1564
1565
1566 \family default
1567
1568 \family typewriter
1569
1570 \begin_inset Flex Code
1571 status collapsed
1572
1573 \begin_layout Plain Layout
1574
1575 \family typewriter
1576
1577 \backslash
1578 voffset
1579 \end_layout
1580
1581 \end_inset
1582
1583
1584 \family default
1585  pueden salvar el día.
1586  Supongamos que los márgenes superior e izquierdo siempre son 0.5
1587 \begin_inset space \thinspace{}
1588 \end_inset
1589
1590 in (pulgadas) demasiado grandes.
1591  Puedes añadir lo siguiente al preámbulo:
1592 \end_layout
1593
1594 \begin_layout LyX-Code
1595
1596 \backslash
1597 setlength{
1598 \backslash
1599 hoffset}{-0.5 in}
1600 \end_layout
1601
1602 \begin_layout LyX-Code
1603
1604 \backslash
1605 setlength{
1606 \backslash
1607 voffset}{-0.5 in}
1608 \end_layout
1609
1610 \begin_layout Standard
1611 ahora los márgenes deberían ser correctos.
1612 \end_layout
1613
1614 \begin_layout Subsubsection
1615 Ejemplo 2: Etiquetas
1616 \end_layout
1617
1618 \begin_layout Standard
1619 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1620  Hay un paquete estupendo disponible en CTAN, llamado 
1621 \family typewriter
1622
1623 \begin_inset Flex Code
1624 status collapsed
1625
1626 \begin_layout Plain Layout
1627
1628 \family typewriter
1629 labels.sty
1630 \end_layout
1631
1632 \end_inset
1633
1634 ,
1635 \family default
1636  para imprimir hojas con etiquetas.
1637  Es posible que tu sistema no disponga de este paquete, compruébalo.
1638  Necesitarás también leer su documentación, porque nosotros no te lo vamos
1639  a explicar, pero sí te daremos un ejemplo de su empleo.
1640 \end_layout
1641
1642 \begin_layout Standard
1643 Primero, comprueba que estás utilizando la clase de documento 
1644 \family sans
1645
1646 \begin_inset Flex Code
1647 status collapsed
1648
1649 \begin_layout Plain Layout
1650
1651 \family sans
1652 article
1653 \end_layout
1654
1655 \end_inset
1656
1657 .
1658  
1659 \family default
1660 Después, debes poner en el preámbulo lo siguiente:
1661 \end_layout
1662
1663 \begin_layout LyX-Code
1664
1665 \backslash
1666 usepackage{labels}
1667 \end_layout
1668
1669 \begin_layout LyX-Code
1670
1671 \backslash
1672 LabelCols=3
1673 \end_layout
1674
1675 \begin_layout LyX-Code
1676
1677 \backslash
1678 LabelRows=7
1679 \end_layout
1680
1681 \begin_layout LyX-Code
1682
1683 \backslash
1684 LeftBorder=8mm
1685 \end_layout
1686
1687 \begin_layout LyX-Code
1688
1689 \backslash
1690 RightBorder=8mm
1691 \end_layout
1692
1693 \begin_layout LyX-Code
1694
1695 \backslash
1696 TopBorder=9mm
1697 \end_layout
1698
1699 \begin_layout LyX-Code
1700
1701 \backslash
1702 BottomBorder=2mm
1703 \end_layout
1704
1705 \begin_layout Standard
1706 Esta es la configuración para hojas de etiquetas Avery, stock #5360.
1707  Ahora estás preparado para imprimirlas, pero necesitarás insertar código
1708  \SpecialChar LaTeX
1709 , poniendo los comandos 
1710 \family typewriter
1711
1712 \begin_inset Flex Code
1713 status collapsed
1714
1715 \begin_layout Plain Layout
1716
1717 \family typewriter
1718
1719 \backslash
1720 begin{labels}
1721 \end_layout
1722
1723 \end_inset
1724
1725
1726 \family default
1727  y 
1728 \family typewriter
1729
1730 \begin_inset Flex Code
1731 status collapsed
1732
1733 \begin_layout Plain Layout
1734
1735 \family typewriter
1736
1737 \backslash
1738 end{labels}
1739 \end_layout
1740
1741 \end_inset
1742
1743
1744 \family default
1745  antes y después, respectivamente, del texto de cada etiqueta.
1746  Esto y otras características de 
1747 \family typewriter
1748 labels.sty
1749 \family default
1750  se explican en su documentación.
1751  
1752 \end_layout
1753
1754 \begin_layout Standard
1755 Algún día, alguien escribirá un archivo de formato (
1756 \family typewriter
1757
1758 \begin_inset Flex Code
1759 status collapsed
1760
1761 \begin_layout Plain Layout
1762
1763 \family typewriter
1764 .layout
1765 \end_layout
1766
1767 \end_inset
1768
1769
1770 \family default
1771 ) para soportar directamente este paquete en \SpecialChar LyX
1772 .
1773  Puede que ese alguien seas tú.
1774 \end_layout
1775
1776 \begin_layout Subsubsection
1777 Ejemplo 3: Sangrado de párrafos
1778 \end_layout
1779
1780 \begin_layout Standard
1781 Los americanos están acostumbrados a sangrar la primera línea de 
1782 \emph on
1783 todos
1784 \emph default
1785  los párrafos.
1786 \begin_inset Foot
1787 status open
1788
1789 \begin_layout Plain Layout
1790 Por omisión, el estilo 
1791 \family typewriter
1792 spanish (babel)
1793 \family default
1794  también sangra la primera línea de todos los párrafos.
1795  Se puede cambiar con el comando 
1796 \family typewriter
1797
1798 \backslash
1799 def
1800 \backslash
1801 spanishoptions{es-noindentfirst}
1802 \family default
1803  en el preámbulo.
1804  (Las opciones de 
1805 \family typewriter
1806 spanish
1807 \family default
1808  
1809 \emph on
1810 no
1811 \emph default
1812  funcionan si se usa soporte 
1813 \family typewriter
1814 hyperref
1815 \family default
1816 ).
1817  (
1818 \emph on
1819 N.
1820  del T)
1821 \emph default
1822 .
1823 \end_layout
1824
1825 \end_inset
1826
1827
1828 \emph on
1829  
1830 \emph default
1831 Igual que con otras de sus peculiares manías, casi todos ellos se lamentarán
1832  y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar
1833  la primera línea de todos los párrafos.
1834  (Sí, estamos de guasa.
1835  ¿Lo estamos? ¡Oh, yes!)
1836 \end_layout
1837
1838 \begin_layout Standard
1839 Por supuesto, este ajuste no es el estándar en tipografía.
1840  En los libros, habitualmente solo se sangra la primera línea de un párrafo
1841  
1842 \emph on
1843 si 
1844 \emph default
1845 sigue a otro.
1846  La idea que subyace tras el hecho de sangrar la primera línea de un párrafo
1847  es distinguir entre párrafos vecinos.
1848  Si no hay párrafo previo, porque sigue a una figura, por ejemplo, o es
1849  el primer párrafo de una sección, entonces no tiene sentido el sangrado.
1850 \end_layout
1851
1852 \begin_layout Standard
1853 Si eres un típico americano (¡otra vez de guasa!), no obstante, no te preocupes
1854  por estos esotéricos asuntos; ¡quieres tu sangrado! Pues añade esto al
1855  preámbulo:
1856 \end_layout
1857
1858 \begin_layout LyX-Code
1859
1860 \backslash
1861 usepackage{indentfirst}
1862 \end_layout
1863
1864 \begin_layout Standard
1865 Si tu distribución de \SpecialChar TeX
1866  no está descerebrada, tendrás este paquete, y todos
1867  tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que
1868  deberían tener.
1869 \end_layout
1870
1871 \begin_layout Subsubsection
1872 Ejemplo 4: Este documento
1873 \end_layout
1874
1875 \begin_layout Standard
1876 Puedes explorar el preámbulo de este documento para hacerte una idea de
1877  algunas de las cosas avanzadas que se pueden hacer.
1878  
1879 \end_layout
1880
1881 \begin_layout Section
1882 \SpecialChar LyX
1883  y errores de \SpecialChar LaTeX
1884
1885 \end_layout
1886
1887 \begin_layout Standard
1888 Cuando \SpecialChar LyX
1889  llama a \SpecialChar LaTeX
1890 , le indica que ignore alegremente los errores y que siga
1891  adelante.
1892  Después de la ejecución de \SpecialChar LaTeX
1893  se genera un informe 
1894 \begin_inset Quotes cld
1895 \end_inset
1896
1897 post-mortem
1898 \begin_inset Quotes crd
1899 \end_inset
1900
1901 .
1902  Tras analizarlo, \SpecialChar LyX
1903  muestra una ventana con la lista de errores.
1904  Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del
1905  archivo donde está el error.
1906 \begin_inset Foot
1907 status open
1908
1909 \begin_layout Plain Layout
1910 Generalmente.
1911  El análisis del archivo log es una dura tarea, y \SpecialChar LyX
1912  no siempre acierta con
1913  el lugar correcto.
1914  Además hay casos en que \SpecialChar LaTeX
1915  informa del error en una línea, pero el error
1916  preciso es anterior.
1917  Esto no es como olvidar una llave de cierre en un programa; obtendrás error
1918  pero más tarde.
1919 \end_layout
1920
1921 \end_inset
1922
1923
1924 \end_layout
1925
1926 \begin_layout Standard
1927 A algunos les gusta mirar directamente en el archivo 
1928 \family typewriter
1929 log
1930 \family default
1931 , que es accesible con el menú
1932 \family sans
1933  
1934 \begin_inset Flex Noun
1935 status collapsed
1936
1937 \begin_layout Plain Layout
1938
1939 \family sans
1940 Document
1941 \family default
1942 o
1943 \family sans
1944 \SpecialChar menuseparator
1945 Registro
1946 \begin_inset space ~
1947 \end_inset
1948
1949 de
1950 \begin_inset space ~
1951 \end_inset
1952
1953 LaTeX
1954 \end_layout
1955
1956 \end_inset
1957
1958 .
1959  
1960 \family default
1961 Hay algunos mensajes de error y alertas que son frecuentes.
1962  Los trataremos a continuación.
1963  Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
1964 .
1965  
1966 \end_layout
1967
1968 \begin_layout Itemize
1969
1970 \family typewriter
1971 \begin_inset Flex Code
1972 status collapsed
1973
1974 \begin_layout Plain Layout
1975
1976 \family typewriter
1977 LaTeX Warning
1978 \end_layout
1979
1980 \end_inset
1981
1982
1983 \family default
1984
1985 \begin_inset Newline newline
1986 \end_inset
1987
1988 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito
1989  de 
1990 \begin_inset Quotes cld
1991 \end_inset
1992
1993 depurar
1994 \begin_inset Quotes crd
1995 \end_inset
1996
1997  el propio código \SpecialChar LaTeX
1998 .
1999  Tendrás avisos como este si añades o cambias referencias cruzadas o entradas
2000  de bibliografía, en cuyo caso \SpecialChar LaTeX
2001  intenta decirte que debes ejecutarlo de
2002  nuevo.
2003  En general los puedes ignorar.
2004 \end_layout
2005
2006 \begin_layout Itemize
2007
2008 \family typewriter
2009 \begin_inset Flex Code
2010 status collapsed
2011
2012 \begin_layout Plain Layout
2013
2014 \family typewriter
2015 LaTeX Font Warning
2016 \end_layout
2017
2018 \end_inset
2019
2020
2021 \family default
2022
2023 \begin_inset Newline newline
2024 \end_inset
2025
2026 Otro mensaje de aviso, esta vez sobre tipografías que \SpecialChar LaTeX
2027  no encuentra.
2028  El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho
2029  \SpecialChar LaTeX
2030 .
2031  Puedes ignorarlos sin problema.
2032 \end_layout
2033
2034 \begin_layout Itemize
2035
2036 \family typewriter
2037 \begin_inset Flex Code
2038 status collapsed
2039
2040 \begin_layout Plain Layout
2041
2042 \family typewriter
2043 Overfull 
2044 \backslash
2045 hbox
2046 \end_layout
2047
2048 \end_inset
2049
2050
2051 \family default
2052
2053 \begin_inset Newline newline
2054 \end_inset
2055
2056 A \SpecialChar LaTeX
2057  le 
2058 \emph on
2059 encanta 
2060 \emph default
2061 vomitar esto.
2062
2063 \lang english
2064  It seems to generate at least one of these messages for just about any
2065  document you write.
2066
2067 \lang spanish
2068  Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2069  
2070 \lang english
2071 This happens if \SpecialChar LaTeX
2072  does not find a reasonable way to break the lines (notoriously
2073  often with typewriter font, since this does not allow for automatic break
2074  points).
2075  In many cases,
2076 \lang spanish
2077  será inapreciable en la salida (suele ser solo uno o dos puntos).
2078  
2079 \lang english
2080 Sometimes, however, the lines run rather visibly into the margin; something
2081  you will not want to have in your final print.There are several global ways
2082  to try to minimize the overfull lines.
2083  Clicking 
2084 \family sans
2085 Enable micro-typographic extensions
2086 \family default
2087  in 
2088 \family sans
2089 Document\SpecialChar menuseparator
2090 Settings\SpecialChar menuseparator
2091 Fonts
2092 \family default
2093  might already improve things a lot.
2094  Furthermore, \SpecialChar LaTeX
2095  code such as the following in 
2096 \family sans
2097 Document\SpecialChar menuseparator
2098 Settings\SpecialChar menuseparator
2099 Preamble
2100 \family default
2101  usually reduces the overfull lines drastically (we use this in the preamble
2102  of this document):
2103 \end_layout
2104
2105 \begin_deeper
2106 \begin_layout LyX-Code
2107
2108 \lang english
2109
2110 \backslash
2111 tolerance 1414
2112 \begin_inset Newline newline
2113 \end_inset
2114
2115
2116 \backslash
2117 hbadness 1414
2118 \begin_inset Newline newline
2119 \end_inset
2120
2121
2122 \backslash
2123 emergencystretch 1.5em
2124 \begin_inset Newline newline
2125 \end_inset
2126
2127
2128 \backslash
2129 hfuzz 0.3pt
2130 \end_layout
2131
2132 \begin_layout Standard
2133
2134 \lang english
2135 In some cases, however, you eventually have to rewrite the text to get the
2136  line breaking right.
2137 \begin_inset Foot
2138 status collapsed
2139
2140 \begin_layout Plain Layout
2141
2142 \lang english
2143 For more information, see 
2144 \begin_inset Flex URL
2145 status open
2146
2147 \begin_layout Plain Layout
2148
2149 http://www.tex.ac.uk/FAQ-overfull.html
2150 \end_layout
2151
2152 \end_inset
2153
2154
2155 \end_layout
2156
2157 \end_inset
2158
2159
2160 \end_layout
2161
2162 \begin_layout Standard
2163
2164 \lang english
2165 In any case, you should check the respective lines, at least for the final
2166  version of your document.
2167  Your eyes will tell you if there's a problem with something that's too
2168  wide.
2169 \begin_inset Foot
2170 status collapsed
2171
2172 \begin_layout Plain Layout
2173
2174 \lang english
2175 You can also enable the `draft' option in 
2176 \begin_inset Flex Noun
2177 status collapsed
2178
2179 \begin_layout Plain Layout
2180
2181 \lang english
2182 Document\SpecialChar menuseparator
2183 Settings
2184 \end_layout
2185
2186 \end_inset
2187
2188 , and then \SpecialChar LaTeX
2189  will draw a black box in the margin of lines that are overfull.
2190 \end_layout
2191
2192 \end_inset
2193
2194  
2195 \end_layout
2196
2197 \end_deeper
2198 \begin_layout Itemize
2199
2200 \family typewriter
2201 \begin_inset Flex Code
2202 status collapsed
2203
2204 \begin_layout Plain Layout
2205
2206 \family typewriter
2207 Underfull 
2208 \backslash
2209 hbox
2210 \end_layout
2211
2212 \end_inset
2213
2214
2215 \family default
2216
2217 \begin_inset Newline newline
2218 \end_inset
2219
2220 No tan común como su primo.
2221  
2222 \lang english
2223 This happens again if \SpecialChar LaTeX
2224  does not find a reasonable break point and consequently
2225  generates too loose lines.
2226  As with the overfull lines, you should check if this is a visible problem.
2227 \end_layout
2228
2229 \begin_layout Itemize
2230
2231 \family typewriter
2232 \begin_inset Flex Code
2233 status collapsed
2234
2235 \begin_layout Plain Layout
2236
2237 \family typewriter
2238 Overfull 
2239 \backslash
2240 vbox
2241 \end_layout
2242
2243 \end_inset
2244
2245
2246 \family default
2247  y 
2248 \family typewriter
2249
2250 \begin_inset Flex Code
2251 status collapsed
2252
2253 \begin_layout Plain Layout
2254
2255 \family typewriter
2256 Underfull 
2257 \backslash
2258 vbox
2259 \end_layout
2260
2261 \end_inset
2262
2263
2264 \family default
2265
2266 \begin_inset Newline newline
2267 \end_inset
2268
2269 Avisos sobre problemas
2270 \family typewriter
2271  
2272 \family default
2273 al saltar página.
2274  Una vez más, comprueba la salida para ver si algo ha ido mal.
2275 \end_layout
2276
2277 \begin_layout Itemize
2278
2279 \family typewriter
2280 \begin_inset Flex Code
2281 status collapsed
2282
2283 \begin_layout Plain Layout
2284
2285 \family typewriter
2286 LaTeX Error: File 
2287 \begin_inset Quotes els
2288 \end_inset
2289
2290 Xxxx
2291 \begin_inset Quotes ers
2292 \end_inset
2293
2294  not found
2295 \end_layout
2296
2297 \end_inset
2298
2299
2300 \family default
2301
2302 \begin_inset Newline newline
2303 \end_inset
2304
2305 El archivo 
2306 \begin_inset Quotes cld
2307 \end_inset
2308
2309 Xxxx
2310 \begin_inset Quotes crd
2311 \end_inset
2312
2313  no está instalado en el sistema.
2314  Generalmente esto aparece porque algún paquete requerido por el documento
2315  no está instalado.
2316  Si no has tocado el preámbulo o no has usado el comando 
2317 \family typewriter
2318
2319 \begin_inset Flex Code
2320 status collapsed
2321
2322 \begin_layout Plain Layout
2323
2324 \family typewriter
2325
2326 \backslash
2327 usepackage{}
2328 \end_layout
2329
2330 \end_inset
2331
2332
2333 \family default
2334 , entonces alguno de los paquetes que \SpecialChar LyX
2335  ha de cargar se ha perdido.
2336  Utiliza
2337 \family sans
2338  
2339 \begin_inset Flex Noun
2340 status collapsed
2341
2342 \begin_layout Plain Layout
2343
2344 \family sans
2345 Ayuda\SpecialChar menuseparator
2346 Configuración
2347 \family default
2348
2349 \begin_inset space ~
2350 \end_inset
2351
2352
2353 \family sans
2354 de
2355 \begin_inset space ~
2356 \end_inset
2357
2358 Latex
2359 \end_layout
2360
2361 \end_inset
2362
2363  
2364 \family default
2365 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2366 .
2367  Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2368  (con
2369 \family sans
2370  
2371 \begin_inset Flex Noun
2372 status collapsed
2373
2374 \begin_layout Plain Layout
2375
2376 \family sans
2377 Herramientas\SpecialChar menuseparator
2378 Reconfigurar
2379 \end_layout
2380
2381 \end_inset
2382
2383
2384 \family default
2385 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2386 \begin_inset Newline newline
2387 \end_inset
2388
2389 Si has utilizado el comando 
2390 \family typewriter
2391
2392 \begin_inset Flex Code
2393 status collapsed
2394
2395 \begin_layout Plain Layout
2396
2397 \family typewriter
2398
2399 \backslash
2400 usepackage{}
2401 \end_layout
2402
2403 \end_inset
2404
2405  
2406 \family default
2407 pero el paquete en cuestión no está instalado, deberás instalarlo.
2408
2409 \family typewriter
2410  
2411 \end_layout
2412
2413 \begin_layout Itemize
2414
2415 \family typewriter
2416 \begin_inset Flex Code
2417 status collapsed
2418
2419 \begin_layout Plain Layout
2420
2421 \family typewriter
2422 LaTeX Error: Unknown option
2423 \end_layout
2424
2425 \end_inset
2426
2427
2428 \family default
2429
2430 \begin_inset Newline newline
2431 \end_inset
2432
2433 Los mensajes de error que comienzan así te informan de que has especificado
2434  una opción errónea o no definida en algún paquete.
2435  Consulta la documentación del paquete.
2436 \end_layout
2437
2438 \begin_layout Itemize
2439
2440 \family typewriter
2441 \begin_inset Flex Code
2442 status collapsed
2443
2444 \begin_layout Plain Layout
2445 Undefined control sequence
2446 \end_layout
2447
2448 \end_inset
2449
2450
2451 \family default
2452
2453 \begin_inset Newline newline
2454 \end_inset
2455
2456 Si has insertado código \SpecialChar LaTeX
2457  con errores de tipografía tendrás un aviso de estos.
2458  También puedes haber olvidado cargar un paquete.
2459  En todo caso, este aviso suele indicar el uso de un comando no definido
2460  o mal definido.
2461 \end_layout
2462
2463 \begin_layout Standard
2464 Hay otros mensajes de aviso y de error.
2465  Algunos se explican por sí mismos.
2466  Estos son generalmente mensajes de \SpecialChar LaTeX
2467 .
2468  Otros son francamente crípticos.
2469  Estos realmente son mensajes de error de \SpecialChar TeX
2470 , y no tenemos pistas sobre su
2471  significado o sobre cómo descifrarlos.
2472  
2473 \end_layout
2474
2475 \begin_layout Standard
2476 Si recibes mensajes de error, deberías seguir la siguiente secuencia general:
2477 \end_layout
2478
2479 \begin_layout Enumerate
2480 Revisa el código \SpecialChar LaTeX
2481  que hayas insertado y busca errores tipográficos.
2482 \end_layout
2483
2484 \begin_layout Enumerate
2485 Si no los hay, comprueba que has usado correctamente el (los) comando(s).
2486 \end_layout
2487
2488 \begin_layout Enumerate
2489 Si observas un puñado de cuadros de error amontonados muy al principio del
2490  documento, —especialmente si ves un 
2491 \begin_inset Quotes cld
2492 \end_inset
2493
2494
2495 \begin_inset Flex Code
2496 status collapsed
2497
2498 \begin_layout Plain Layout
2499 Missing 
2500 \backslash
2501 begin{document}
2502 \end_layout
2503
2504 \end_inset
2505
2506
2507 \begin_inset Quotes crd
2508 \end_inset
2509
2510 — significa que los errores están en el preámbulo.
2511  Empieza por depurar el preámbulo.
2512 \end_layout
2513
2514 \begin_layout Enumerate
2515 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2516 , la primera sospecha
2517  recae en tu propia distribución de \SpecialChar LaTeX
2518 .
2519  Comprueba si faltan paquetes e instálalos.
2520 \end_layout
2521
2522 \begin_layout Enumerate
2523 De acuerdo, no faltan paquetes.
2524  ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2525 ? Concretamente,
2526  ¿has hecho un mal uso de alguna de ellas, como insertar manualmente montones
2527  de 
2528 \family sans
2529
2530 \begin_inset Flex Code
2531 status collapsed
2532
2533 \begin_layout Plain Layout
2534
2535 \family sans
2536 Espacios
2537 \family default
2538
2539 \begin_inset space ~
2540 \end_inset
2541
2542
2543 \family sans
2544 protegidos
2545 \end_layout
2546
2547 \end_inset
2548
2549
2550 \begin_inset Flex Code
2551 status collapsed
2552
2553 \begin_layout Plain Layout
2554
2555 \family sans
2556 Saltos
2557 \family default
2558
2559 \begin_inset space ~
2560 \end_inset
2561
2562
2563 \family sans
2564 de
2565 \family default
2566
2567 \begin_inset space ~
2568 \end_inset
2569
2570
2571 \family sans
2572 línea
2573 \end_layout
2574
2575 \end_inset
2576
2577  
2578 \family default
2579
2580 \family sans
2581
2582 \begin_inset Flex Code
2583 status collapsed
2584
2585 \begin_layout Plain Layout
2586
2587 \family sans
2588 Saltos
2589 \family default
2590
2591 \begin_inset space ~
2592 \end_inset
2593
2594
2595 \family sans
2596 de
2597 \family default
2598
2599 \begin_inset space ~
2600 \end_inset
2601
2602
2603 \family sans
2604 página
2605 \end_layout
2606
2607 \end_inset
2608
2609
2610 \family default
2611 ? ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo
2612  adecuado? 
2613 \end_layout
2614
2615 \begin_layout Enumerate
2616 Todo es correcto, no has utilizado ninguna de las opciones de ajuste fino,
2617  y has cumplido las reglas.
2618  ¿Has intentado hacer una fantástica maniobra? ¿Quizá has hecho algo 
2619 \emph on
2620 funky
2621 \emph default
2622  en una ecuación o en un cuadro, como insertar un gráfico en una celda?
2623  
2624 \end_layout
2625
2626 \begin_layout Enumerate
2627 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2628  no encuentra dónde quebrar una
2629  línea? Por omisión, \SpecialChar LaTeX
2630  es más bien estricto en relación al espacio extra
2631  entre palabras que añadirá para romper una línea.
2632  Preferiblemente, deberías rehacer el párrafo para evitar el problema.
2633 \end_layout
2634
2635 \begin_layout Enumerate
2636 ¿Te has pasado con la anidación? \SpecialChar LyX
2637 , actualmente, no comprueba si estás dentro
2638  de los límites para los entornos anidables.
2639  Si anidas un puñado de entornos hasta el nivel 17, ahí está el problema.
2640  (El límite en \SpecialChar LaTeX
2641  es cinco).
2642 \end_layout
2643
2644 \begin_layout Enumerate
2645 Vale, no recibes ningún mensaje de error, pero la salida es horrorosa.
2646  Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2647  tienes que:
2648 \end_layout
2649
2650 \begin_deeper
2651 \begin_layout Enumerate
2652 ajustar el tamaño de la figura a la página.
2653 \end_layout
2654
2655 \begin_layout Enumerate
2656 ajustar el cuadro para que quepa.
2657 \end_layout
2658
2659 \end_deeper
2660 \begin_layout Enumerate
2661 Si la salida sigue dando problemas, y no has probado nada raro ni has empleado
2662  mal opciones de ajuste fino, no estamos seguros de lo que está equivocado.
2663 \end_layout
2664
2665 \begin_layout Standard
2666 Si todo esto no ayuda, bueno, 
2667 \emph on
2668 quizá
2669 \emph default
2670  has encontrado un 
2671 \emph on
2672 bug
2673 \emph default
2674  (fallo) en \SpecialChar LyX
2675 \SpecialChar ldots
2676
2677 \end_layout
2678
2679 \begin_layout Chapter
2680 Herramientas suplementarias
2681 \end_layout
2682
2683 \begin_layout Section
2684 Personalizar bibliografías con Bib\SpecialChar TeX
2685
2686 \lang english
2687  or Biblatex
2688 \end_layout
2689
2690 \begin_layout Standard
2691 Los fundamentos del uso de Bib\SpecialChar TeX
2692
2693 \lang english
2694  or 
2695 \family sans
2696 Biblatex
2697 \family default
2698 \lang spanish
2699  se explican en la sección 
2700 \emph on
2701 Bases de datos bibliográficos
2702 \emph default
2703 de la 
2704 \emph on
2705 Guía del Usuario
2706 \emph default
2707 .
2708  Las siguientes subsecciones describen características especiales de bibliografí
2709 a soportadas por \SpecialChar LyX
2710 .
2711 \end_layout
2712
2713 \begin_layout Subsection
2714 Estilos alternativos de cita
2715 \end_layout
2716
2717 \begin_layout Standard
2718 El estilo normal de Bib\SpecialChar TeX
2719  usa números (p.
2720 \begin_inset space \thinspace{}
2721 \end_inset
2722
2723 ej.
2724 \begin_inset space \space{}
2725 \end_inset
2726
2727
2728 \begin_inset Quotes cld
2729 \end_inset
2730
2731 [12]
2732 \begin_inset Quotes crd
2733 \end_inset
2734
2735 ) para referir una cita bibliográfica.
2736  Sin embargo, en muchas disciplinas científicas se emplean otros estilos.
2737  El más común es el estilo autor-año (p.
2738 \begin_inset space \thinspace{}
2739 \end_inset
2740
2741 ej.
2742 \begin_inset space \space{}
2743 \end_inset
2744
2745
2746 \begin_inset Quotes cld
2747 \end_inset
2748
2749 Knuth 1984a
2750 \begin_inset Quotes crd
2751 \end_inset
2752
2753 ).
2754  \SpecialChar LyX
2755  soportathree paquetes que suministra este estilo,
2756 \lang english
2757  
2758 \begin_inset Flex Code
2759 status collapsed
2760
2761 \begin_layout Plain Layout
2762
2763 \lang english
2764 biblatex
2765 \end_layout
2766
2767 \end_inset
2768
2769 ,
2770 \lang spanish
2771  
2772 \family typewriter
2773
2774 \begin_inset Flex Code
2775 status collapsed
2776
2777 \begin_layout Plain Layout
2778
2779 \family typewriter
2780 natbib
2781 \end_layout
2782
2783 \end_inset
2784
2785
2786 \family default
2787  y 
2788 \family typewriter
2789
2790 \begin_inset Flex Code
2791 status collapsed
2792
2793 \begin_layout Plain Layout
2794
2795 \family typewriter
2796 jurabib
2797 \end_layout
2798
2799 \end_inset
2800
2801
2802 \family default
2803 .
2804  
2805 \lang english
2806 Each of these 
2807 \lang spanish
2808 paquetes 
2809 \lang english
2810 have
2811 \lang spanish
2812  sus pros y sus contras, que no podemos detallar aquí.
2813  Si solo necesitas un estilo sencillo autor-año (o numérico)
2814 \family typewriter
2815  
2816 \family default
2817 o si quieres
2818 \family typewriter
2819  
2820 \family default
2821 emplear un archivo de estilo sin contador, probablemente tu elección debería
2822  ser 
2823 \family typewriter
2824
2825 \begin_inset Flex Code
2826 status collapsed
2827
2828 \begin_layout Plain Layout
2829
2830 \family typewriter
2831 natbib
2832 \end_layout
2833
2834 \end_inset
2835
2836
2837 \family default
2838 .
2839  
2840 \lang english
2841 If you look for specific citation styles common in law studies
2842 \lang spanish
2843  deberías considerar el nuevo paquete 
2844 \family typewriter
2845
2846 \begin_inset Flex Code
2847 status collapsed
2848
2849 \begin_layout Plain Layout
2850
2851 \family typewriter
2852 jurabib
2853 \end_layout
2854
2855 \end_inset
2856
2857
2858 \family default
2859 .
2860
2861 \lang english
2862  If you want to have full control over the formatting or look for advanced
2863  features such as ibidem, footnote citations, full title citations, advanced
2864  date formats (such as 400 BC) or full localization to other languages than
2865  English, you should definitely consider 
2866 \begin_inset Flex Code
2867 status collapsed
2868
2869 \begin_layout Plain Layout
2870
2871 \lang english
2872 biblatex
2873 \end_layout
2874
2875 \end_inset
2876
2877 , which exceeds all other packages in terms of features, but is also quite
2878  heavy and more resource-hungry.
2879 \end_layout
2880
2881 \begin_layout Standard
2882 El manejo de 
2883 \lang english
2884 these
2885 \lang spanish
2886  paquetes es básicamente el mismo.
2887  Ve al submenú
2888 \family sans
2889  
2890 \begin_inset Flex Noun
2891 status collapsed
2892
2893 \begin_layout Plain Layout
2894
2895 \family sans
2896 Documento\SpecialChar menuseparator
2897
2898 \family default
2899 C
2900 \family sans
2901 onfiguración
2902 \end_layout
2903
2904 \end_inset
2905
2906
2907 \family default
2908  y selecciona en el panel
2909 \begin_inset Flex Noun
2910 status collapsed
2911
2912 \begin_layout Plain Layout
2913
2914 \family sans
2915  Bibliografía
2916 \end_layout
2917
2918 \end_inset
2919
2920  
2921 \begin_inset Flex Noun
2922 status collapsed
2923
2924 \begin_layout Plain Layout
2925
2926 \lang english
2927 \begin_inset Flex Noun
2928 status collapsed
2929
2930 \begin_layout Plain Layout
2931
2932 \lang english
2933 Style Format
2934 \end_layout
2935
2936 \end_inset
2937
2938  
2939 \begin_inset Flex Noun
2940 status collapsed
2941
2942 \begin_layout Plain Layout
2943
2944 \lang english
2945 Biblatex
2946 \end_layout
2947
2948 \end_inset
2949
2950
2951 \begin_inset Flex Noun
2952 status collapsed
2953
2954 \begin_layout Plain Layout
2955
2956 \lang english
2957 Biblatex (Natbib mode)
2958 \end_layout
2959
2960 \end_inset
2961
2962 ,
2963 \family sans
2964 \lang spanish
2965  Natbib
2966 \family default
2967 \lang english
2968 (BibTeX)
2969 \end_layout
2970
2971 \end_inset
2972
2973  o
2974 \family sans
2975  
2976 \begin_inset Flex Noun
2977 status collapsed
2978
2979 \begin_layout Plain Layout
2980
2981 \family sans
2982 Jurabib
2983 \family default
2984 \lang english
2985  (BibTeX)
2986 \end_layout
2987
2988 \end_inset
2989
2990
2991 \family default
2992 \lang english
2993  (see sec.
2994 \begin_inset space ~
2995 \end_inset
2996
2997 6.5.3 in the User's Guide for more information on these choices)
2998 \lang spanish
2999 .
3000  Con 
3001 \lang english
3002 all these
3003 \lang spanish
3004  paquetes dispondrás de algunas características extras en el diálogo y podrás
3005  elegir el estilo de las citas (
3006 \begin_inset Quotes cld
3007 \end_inset
3008
3009 Knuth 1984
3010 \begin_inset Quotes crd
3011 \end_inset
3012
3013
3014 \begin_inset Quotes cld
3015 \end_inset
3016
3017 Knuth (1984)
3018 \begin_inset Quotes crd
3019 \end_inset
3020
3021
3022 \begin_inset Quotes cld
3023 \end_inset
3024
3025 Knuth, 1984
3026 \begin_inset Quotes crd
3027 \end_inset
3028
3029
3030 \begin_inset Quotes cld
3031 \end_inset
3032
3033 1984
3034 \begin_inset Quotes crd
3035 \end_inset
3036
3037  etc.).
3038  Ten en cuenta que los 
3039 \lang english
3040 either
3041 \lang spanish
3042  paquete necesitan archivos de estilo específicamente diseñados (all incluyen
3043  el suyo propio, pero hay muchos otros archivos de estilo disponibles e
3044  incluso un programa interactivo
3045 \begin_inset Foot
3046 status collapsed
3047
3048 \begin_layout Plain Layout
3049 Véase 
3050 \begin_inset Flex URL
3051 status collapsed
3052
3053 \begin_layout Plain Layout
3054
3055 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3056 \end_layout
3057
3058 \end_inset
3059
3060
3061 \end_layout
3062
3063 \end_inset
3064
3065  para confeccionar estilos para 
3066 \family typewriter
3067 natbib
3068 \family default
3069 ).
3070 \end_layout
3071
3072 \begin_layout Subsection
3073
3074 \lang english
3075 Subdivided
3076 \lang spanish
3077 Bibliografía
3078 \end_layout
3079
3080 \begin_layout Standard
3081 En ocasiones, es posible que necesites dividir la bibliografía en secciones.
3082  Por ejemplo, si eres un historiador, la posibilidad de separar fuentes
3083  y trabajos científicos es probablemente un imperativo.
3084  Desafortunadamente, Bib\SpecialChar TeX
3085  no permite hacer esto por sí solo.
3086  Pero la buena noticia es que, con la ayuda de ciertos paquetes \SpecialChar LaTeX
3087 , Bib\SpecialChar TeX
3088  puede
3089  ampliar su cometido para conseguirlo.
3090 \end_layout
3091
3092 \begin_layout Standard
3093 \SpecialChar LyX
3094  provee soporte nativo para uno de estos paquetes, 
3095 \family typewriter
3096
3097 \begin_inset Flex Code
3098 status collapsed
3099
3100 \begin_layout Plain Layout
3101
3102 \family typewriter
3103 bibtopic
3104 \end_layout
3105
3106 \end_inset
3107
3108
3109 \family default
3110 .
3111 \begin_inset Foot
3112 status collapsed
3113
3114 \begin_layout Plain Layout
3115 Disponible en 
3116 \begin_inset Flex URL
3117 status collapsed
3118
3119 \begin_layout Plain Layout
3120
3121 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3122 \end_layout
3123
3124 \end_inset
3125
3126
3127 \end_layout
3128
3129 \end_inset
3130
3131  La ventaja de este paquete (comparado con otros como 
3132 \family typewriter
3133
3134 \begin_inset Flex Code
3135 status collapsed
3136
3137 \begin_layout Plain Layout
3138
3139 \family typewriter
3140 multibib
3141 \end_layout
3142
3143 \end_inset
3144
3145
3146 \family default
3147 ) es que no necesitas definir nuevos comandos de cita.
3148  Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos
3149  que incluyen las entradas para las distintas secciones de la bibliografía.
3150  Por ejemplo: si quieres dividir tu bibliografía en las secciones 
3151 \begin_inset Quotes cld
3152 \end_inset
3153
3154 Fuentes
3155 \begin_inset Quotes crd
3156 \end_inset
3157
3158  y 
3159 \begin_inset Quotes cld
3160 \end_inset
3161
3162 Trabajos científicos
3163 \begin_inset Quotes crd
3164 \end_inset
3165
3166 , primero debes crear dos bases de datos, p.
3167 \begin_inset space \thinspace{}
3168 \end_inset
3169
3170 ej.
3171 \begin_inset space ~
3172 \end_inset
3173
3174
3175 \family typewriter
3176
3177 \begin_inset Flex Code
3178 status collapsed
3179
3180 \begin_layout Plain Layout
3181
3182 \family typewriter
3183 fuentes.bib
3184 \end_layout
3185
3186 \end_inset
3187
3188
3189 \family default
3190  y 
3191 \family typewriter
3192
3193 \begin_inset Flex Code
3194 status collapsed
3195
3196 \begin_layout Plain Layout
3197
3198 \family typewriter
3199 trabajos.bib
3200 \end_layout
3201
3202 \end_inset
3203
3204
3205 \family default
3206 .
3207 \end_layout
3208
3209 \begin_layout Standard
3210 Ve a
3211 \family sans
3212  
3213 \begin_inset Flex Noun
3214 status collapsed
3215
3216 \begin_layout Plain Layout
3217
3218 \family sans
3219 Documento\SpecialChar menuseparator
3220 Configuración
3221 \end_layout
3222
3223 \end_inset
3224
3225
3226 \family default
3227  y selecciona en el panel
3228 \family sans
3229  
3230 \begin_inset Flex Noun
3231 status collapsed
3232
3233 \begin_layout Plain Layout
3234
3235 \family sans
3236 Bibliografía
3237 \end_layout
3238
3239 \end_inset
3240
3241  
3242 \family default
3243 la opción
3244 \family sans
3245  
3246 \begin_inset Flex Noun
3247 status collapsed
3248
3249 \begin_layout Plain Layout
3250
3251 \lang english
3252 Subdivided bibliography
3253 \end_layout
3254
3255 \end_inset
3256
3257
3258 \family default
3259 .
3260  Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3261 , una para cada sección
3262  de la bibliografía.
3263  Volviendo a nuestro ejemplo: Inserta una bibliografía Bib\SpecialChar TeX
3264  para la base
3265  de datos 
3266 \family typewriter
3267
3268 \begin_inset Flex Code
3269 status collapsed
3270
3271 \begin_layout Plain Layout
3272
3273 \family typewriter
3274 fuentes.bib
3275 \end_layout
3276
3277 \end_inset
3278
3279
3280 \family default
3281  y otra para la base de datos 
3282 \family typewriter
3283
3284 \begin_inset Flex Code
3285 status collapsed
3286
3287 \begin_layout Plain Layout
3288
3289 \family typewriter
3290 trabajos.bib
3291 \end_layout
3292
3293 \end_inset
3294
3295
3296 \family default
3297 .
3298  Eres libre de usar estilos diferentes o iguales para cada sección.
3299  Por otra parte, puedes elegir si la sección bibliográfica debe contener
3300  
3301 \begin_inset Quotes cld
3302 \end_inset
3303
3304 todas las referencias citadas
3305 \begin_inset Quotes crd
3306 \end_inset
3307
3308  de la base de datos especificada (así es por omisión), 
3309 \begin_inset Quotes cld
3310 \end_inset
3311
3312 todas las referencias no citadas
3313 \begin_inset Quotes crd
3314 \end_inset
3315
3316  o incluso 
3317 \begin_inset Quotes cld
3318 \end_inset
3319
3320 todas las referencias
3321 \begin_inset Quotes crd
3322 \end_inset
3323
3324 .
3325  Esto podría ser útil para separar la bibliografía en tres secciones: 
3326 \begin_inset Quotes cld
3327 \end_inset
3328
3329 Fuentes citadas
3330 \begin_inset Quotes crd
3331 \end_inset
3332
3333
3334 \begin_inset Quotes cld
3335 \end_inset
3336
3337 Fuentes no citadas
3338 \begin_inset Quotes crd
3339 \end_inset
3340
3341  y 
3342 \begin_inset Quotes cld
3343 \end_inset
3344
3345 Trabajos científicos
3346 \begin_inset Quotes crd
3347 \end_inset
3348
3349 .
3350  Los títulos para las secciones pueden añadirse como secciones ordinarias
3351  o como subsecciones.
3352  Como 
3353 \family typewriter
3354
3355 \begin_inset Flex Code
3356 status collapsed
3357
3358 \begin_layout Plain Layout
3359
3360 \family typewriter
3361 bibtopic
3362 \end_layout
3363
3364 \end_inset
3365
3366
3367 \family default
3368  quita el título de la bibliografía, debes reañadirlo manualmente (como
3369  un capítulo* o sección*, por ejemplo).
3370 \end_layout
3371
3372 \begin_layout Standard
3373
3374 \lang english
3375 With 
3376 \family sans
3377 Biblatex
3378 \family default
3379 , the procedure is a bit different.
3380  Since 
3381 \family typewriter
3382 bibtopic
3383 \family default
3384  does not work with 
3385 \family sans
3386 Biblatex
3387 \family default
3388 , the aforementioned 
3389 \begin_inset Flex Noun
3390 status collapsed
3391
3392 \begin_layout Plain Layout
3393
3394 \lang english
3395 Subdivided bibliography
3396 \end_layout
3397
3398 \end_inset
3399
3400  option is disabled if you use 
3401 \family sans
3402 Biblatex
3403 \family default
3404 .
3405  However, 
3406 \family sans
3407 Biblatex
3408 \family default
3409  provides its own means to generate subdivided bibliographies.
3410  You can either add keywords to bibliography entries via the 
3411 \begin_inset Flex Code
3412 status collapsed
3413
3414 \begin_layout Plain Layout
3415
3416 \lang english
3417 keywords
3418 \end_layout
3419
3420 \end_inset
3421
3422  entry option and then filter bibliography sections by keyword (by adding
3423  
3424 \begin_inset Flex Code
3425 status collapsed
3426
3427 \begin_layout Plain Layout
3428
3429 \lang english
3430 keyword=mykeyword
3431 \end_layout
3432
3433 \end_inset
3434
3435  to the 
3436 \begin_inset Flex Noun
3437 status collapsed
3438
3439 \begin_layout Plain Layout
3440
3441 \lang english
3442 Options
3443 \end_layout
3444
3445 \end_inset
3446
3447  field of the dialog that opens if you right-click on the 
3448 \begin_inset Flex Noun
3449 status collapsed
3450
3451 \begin_layout Plain Layout
3452
3453 \lang english
3454 Biblatex Generated Bibliography
3455 \end_layout
3456
3457 \end_inset
3458
3459  button), or you can filter by entry types (such as 
3460 \emph on
3461 book
3462 \emph default
3463  or 
3464 \emph on
3465 article
3466 \emph default
3467 ) by entering e.
3468 \begin_inset space \thinspace{}
3469 \end_inset
3470
3471 g.
3472  
3473 \begin_inset Flex Code
3474 status collapsed
3475
3476 \begin_layout Plain Layout
3477
3478 \lang english
3479 type=book
3480 \end_layout
3481
3482 \end_inset
3483
3484  or 
3485 \begin_inset Flex Code
3486 status collapsed
3487
3488 \begin_layout Plain Layout
3489
3490 \lang english
3491 nottype=collection
3492 \end_layout
3493
3494 \end_inset
3495
3496  to the mentioned 
3497 \begin_inset Flex Noun
3498 status collapsed
3499
3500 \begin_layout Plain Layout
3501
3502 \lang english
3503 Options
3504 \end_layout
3505
3506 \end_inset
3507
3508  field, or you can create so-called 
3509 \begin_inset Quotes eld
3510 \end_inset
3511
3512 Bibliography Categories
3513 \begin_inset Quotes erd
3514 \end_inset
3515
3516  to which you can assign individual entries.
3517  Please refer to the Biblatex manual, section 
3518 \emph on
3519 Subdivided Bibliographies
3520 \emph default
3521 , for details.
3522 \end_layout
3523
3524 \begin_layout Subsection
3525 Bibliografías múltiples
3526 \begin_inset CommandInset label
3527 LatexCommand label
3528 name "subsec:Bibliografías-múltiples"
3529
3530 \end_inset
3531
3532
3533 \end_layout
3534
3535 \begin_layout Standard
3536 Bib\SpecialChar TeX
3537  no soporta por sí mismo bibliografías múltiples, p.
3538 \begin_inset space \thinspace{}
3539 \end_inset
3540
3541 ej.
3542 \begin_inset space \space{}
3543 \end_inset
3544
3545 una bibliografía para cada 
3546 \lang english
3547 part, chapter, 
3548 \lang spanish
3549 sección o 
3550 \lang english
3551 subsection or child (sub-document)
3552 \lang spanish
3553  del documento,
3554 \lang english
3555  are also supported by \SpecialChar LyX
3556 .
3557  In order to enable it, go to 
3558 \begin_inset Flex Noun
3559 status collapsed
3560
3561 \begin_layout Plain Layout
3562
3563 \lang english
3564 Document\SpecialChar menuseparator
3565 Settings\SpecialChar menuseparator
3566 Bibliography
3567 \end_layout
3568
3569 \end_inset
3570
3571  and select the relevant unit (e.
3572 \begin_inset space \thinspace{}
3573 \end_inset
3574
3575 g., 
3576 \begin_inset Quotes eld
3577 \end_inset
3578
3579 per section
3580 \begin_inset Quotes erd
3581 \end_inset
3582
3583 ) in the 
3584 \begin_inset Flex Noun
3585 status collapsed
3586
3587 \begin_layout Plain Layout
3588
3589 \lang english
3590 Multiple Bibliographies
3591 \end_layout
3592
3593 \end_inset
3594
3595  combo box.
3596  Then add a Bib(la)\SpecialChar TeX
3597  bibliography to each unit (e.
3598 \begin_inset space \thinspace{}
3599 \end_inset
3600
3601 g., section) of your document.
3602  In the output, a separate bibliography, containing only the references
3603  done in the current unit is generated.
3604 \end_layout
3605
3606 \begin_layout Standard
3607
3608 \lang english
3609 If you use Bib\SpecialChar TeX
3610 , either the 
3611 \begin_inset Flex Code
3612 status collapsed
3613
3614 \begin_layout Plain Layout
3615
3616 \lang english
3617 chapterbib
3618 \end_layout
3619
3620 \end_inset
3621
3622  or the 
3623 \begin_inset Flex Code
3624 status collapsed
3625
3626 \begin_layout Plain Layout
3627
3628 \lang english
3629 bibtopic
3630 \end_layout
3631
3632 \end_inset
3633
3634  package is used to create multiple bibliographies.
3635  The former package is used if you select 
3636 \begin_inset Quotes eld
3637 \end_inset
3638
3639 per child document
3640 \begin_inset Quotes erd
3641 \end_inset
3642
3643  and do 
3644 \emph on
3645 not
3646 \emph default
3647  check 
3648 \begin_inset Flex Noun
3649 status collapsed
3650
3651 \begin_layout Plain Layout
3652
3653 \lang english
3654 Sectioned Bibliography
3655 \end_layout
3656
3657 \end_inset
3658
3659 .
3660  In all other cases, 
3661 \begin_inset Flex Code
3662 status collapsed
3663
3664 \begin_layout Plain Layout
3665
3666 \lang english
3667 bibtopic
3668 \end_layout
3669
3670 \end_inset
3671
3672  is used.
3673 \begin_inset Foot
3674 status collapsed
3675
3676 \begin_layout Plain Layout
3677
3678 \lang english
3679 An alternative approach, if you are willing to use some 
3680 \begin_inset Flex Noun
3681 status collapsed
3682
3683 \begin_layout Plain Layout
3684
3685 \lang english
3686 \SpecialChar TeX
3687  Code
3688 \end_layout
3689
3690 \end_inset
3691
3692  (see section
3693 \begin_inset space ~
3694 \end_inset
3695
3696
3697 \lang spanish
3698
3699 \begin_inset CommandInset ref
3700 LatexCommand ref
3701 reference "sec:Insertar-Código-TeX"
3702
3703 \end_inset
3704
3705
3706 \lang english
3707 ), is to use the 
3708 \begin_inset Flex Code
3709 status collapsed
3710
3711 \begin_layout Plain Layout
3712
3713 \lang english
3714 bibunits
3715 \end_layout
3716
3717 \end_inset
3718
3719  package.
3720 \end_layout
3721
3722 \end_inset
3723
3724  If 
3725 \begin_inset Flex Code
3726 status collapsed
3727
3728 \begin_layout Plain Layout
3729
3730 \lang english
3731 bibtopic
3732 \end_layout
3733
3734 \end_inset
3735
3736  is used, \SpecialChar LyX
3737  encloses the specified units in 
3738 \begin_inset Flex Code
3739 status collapsed
3740
3741 \begin_layout Plain Layout
3742
3743 \lang english
3744 bibtopic
3745 \end_layout
3746
3747 \end_inset
3748
3749 's 
3750 \begin_inset Flex Code
3751 status collapsed
3752
3753 \begin_layout Plain Layout
3754
3755 \lang english
3756
3757 \backslash
3758 begin{btUnit}
3759 \end_layout
3760
3761 \end_inset
3762
3763  and 
3764 \begin_inset Flex Code
3765 status collapsed
3766
3767 \begin_layout Plain Layout
3768
3769 \lang english
3770
3771 \backslash
3772 end{btUnit}
3773 \end_layout
3774
3775 \end_inset
3776
3777  in order to create the units.
3778  Note that this approach has some limitations.
3779  First, every citation reference has to be inside some 
3780 \begin_inset Flex Code
3781 status collapsed
3782
3783 \begin_layout Plain Layout
3784
3785 \lang english
3786 btUnit
3787 \end_layout
3788
3789 \end_inset
3790
3791 .
3792  So citations outside a defined unit (e.
3793 \begin_inset space \thinspace{}
3794 \end_inset
3795
3796 g., before the first section if you use 
3797 \begin_inset Quotes eld
3798 \end_inset
3799
3800 by section
3801 \begin_inset Quotes erd
3802 \end_inset
3803
3804 ) will appear as 
3805 \begin_inset Quotes eld
3806 \end_inset
3807
3808 ???
3809 \begin_inset Quotes erd
3810 \end_inset
3811
3812 .
3813  You can also create your own units by entering 
3814 \begin_inset Flex Code
3815 status collapsed
3816
3817 \begin_layout Plain Layout
3818
3819 \lang english
3820
3821 \backslash
3822 begin{btUnit}
3823 \end_layout
3824
3825 \end_inset
3826
3827  and 
3828 \begin_inset Flex Code
3829 status collapsed
3830
3831 \begin_layout Plain Layout
3832
3833 \lang english
3834
3835 \backslash
3836 end{btUnit}
3837 \end_layout
3838
3839 \end_inset
3840
3841  as \SpecialChar TeX
3842  code (for instance to work around the mentioned limitation).
3843  Note, though, that 
3844 \begin_inset Flex Code
3845 status collapsed
3846
3847 \begin_layout Plain Layout
3848
3849 \lang english
3850 btUnit
3851 \end_layout
3852
3853 \end_inset
3854
3855 s cannot be nested.
3856  A second limitation is that 
3857 \begin_inset Flex Code
3858 status collapsed
3859
3860 \begin_layout Plain Layout
3861
3862 \lang english
3863 bibtopic
3864 \end_layout
3865
3866 \end_inset
3867
3868  always processes all references of a bibliography database, even if they
3869  are not cited.
3870  This can result in odd labels (e.
3871 \begin_inset space \thinspace{}
3872 \end_inset
3873
3874 g.
3875  
3876 \begin_inset Quotes eld
3877 \end_inset
3878
3879 Miller 2014b
3880 \begin_inset Quotes erd
3881 \end_inset
3882
3883  if two works of this author from 2014 are in the database, even if only
3884  one is cited).
3885 \end_layout
3886
3887 \begin_layout Standard
3888
3889 \lang english
3890 If you use 
3891 \family sans
3892 Biblatex
3893 \family default
3894 , the 
3895 \begin_inset Flex Code
3896 status collapsed
3897
3898 \begin_layout Plain Layout
3899
3900 \lang english
3901 refsection
3902 \end_layout
3903
3904 \end_inset
3905
3906  option is used instead.
3907  If you need specific units, you can start them with the \SpecialChar TeX
3908  code 
3909 \begin_inset Flex Code
3910 status collapsed
3911
3912 \begin_layout Plain Layout
3913
3914 \lang english
3915
3916 \backslash
3917 newrefsection
3918 \end_layout
3919
3920 \end_inset
3921
3922  or 
3923 \begin_inset Flex Code
3924 status collapsed
3925
3926 \begin_layout Plain Layout
3927
3928 \lang english
3929
3930 \backslash
3931 newrefsegment
3932 \end_layout
3933
3934 \end_inset
3935
3936 , respectively.
3937  If you also want to control the end of the unit, use the environment 
3938 \begin_inset Flex Code
3939 status collapsed
3940
3941 \begin_layout Plain Layout
3942
3943 \lang english
3944
3945 \backslash
3946 begin{refsection}
3947 \end_layout
3948
3949 \end_inset
3950
3951  \SpecialChar ldots
3952  
3953 \begin_inset Flex Code
3954 status collapsed
3955
3956 \begin_layout Plain Layout
3957
3958 \lang english
3959
3960 \backslash
3961 end{refsection}
3962 \end_layout
3963
3964 \end_inset
3965
3966  instead.
3967  Note, though, that 
3968 \begin_inset Flex Code
3969 status collapsed
3970
3971 \begin_layout Plain Layout
3972
3973 \lang english
3974 refsection
3975 \end_layout
3976
3977 \end_inset
3978
3979 s cannot be nested.
3980  In addition to the individual bibliography of the current unit, 
3981 \family sans
3982 Biblatex
3983 \family default
3984  also provides an easy way to output all bibliographies, subsequently, at
3985  one place (e.
3986 \begin_inset space \thinspace{}
3987 \end_inset
3988
3989 g., at the end of the document).
3990  Select 
3991 \begin_inset Quotes eld
3992 \end_inset
3993
3994 all reference units
3995 \begin_inset Quotes erd
3996 \end_inset
3997
3998  from the Content combo box of the Bib(la)TeX inset dialog in order to achieve
3999  this.
4000  Please refer to the 
4001 \family sans
4002 Biblatex
4003 \family default
4004  manual for more information on this topic.
4005 \end_layout
4006
4007 \begin_layout Section
4008 Documentos con varias partes
4009 \end_layout
4010
4011 \begin_layout Subsection
4012 Operación general
4013 \end_layout
4014
4015 \begin_layout Standard
4016 Cuando trabajas en un extenso documento con muchas secciones, o si tienes
4017  una parte en la que un cuadro puede cambiar de vez en cuando pero no el
4018  texto precedente, suele ser conveniente dividir el documento en varios
4019  archivos.
4020  En estos casos, deberías considerar seriamente el uso de documentos hijo.
4021  Por ejemplo, los artículos científicos suelen tener cinco secciones principales
4022 : introducción, observaciones, resultados, discusión y conclusiones.
4023  Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4024 .
4025  Por otra parte un archivo 
4026 \begin_inset Quotes cld
4027 \end_inset
4028
4029 maestro
4030 \begin_inset Quotes crd
4031 \end_inset
4032
4033  contendría el título, los autores, el resumen, las referencias, etc., e
4034  incluiría los cinco archivos.
4035  Es importante tener en cuenta que cada uno de estos es un completo archivo
4036  \SpecialChar LyX
4037  que puede ser diseñado e impreso de forma independiente, además de estar
4038  incluido en el maestro.
4039  Sin embargo, todos deben ser de la misma clase de documento —no intentes
4040  mezclar, p.
4041 \begin_inset space \thinspace{}
4042 \end_inset
4043
4044 ej., libro y artículo—.
4045  También puedes incluir archivos \SpecialChar LaTeX
4046 ; pero no deben tener su propio preámbulo
4047  (es decir, debe eliminarse todo lo que precede a 
4048 \family typewriter
4049
4050 \begin_inset Flex Code
4051 status collapsed
4052
4053 \begin_layout Plain Layout
4054
4055 \family typewriter
4056
4057 \backslash
4058 begin{document}
4059 \end_layout
4060
4061 \end_inset
4062
4063
4064 \family default
4065 , así como esta misma línea y también
4066 \family typewriter
4067  
4068 \begin_inset Flex Code
4069 status collapsed
4070
4071 \begin_layout Plain Layout
4072
4073 \family typewriter
4074
4075 \backslash
4076 end{document}
4077 \end_layout
4078
4079 \end_inset
4080
4081
4082 \family default
4083 ), de lo contrario se generarán errores al procesar el archivo.
4084 \end_layout
4085
4086 \begin_layout Standard
4087 \SpecialChar LyX
4088  facilita la inclusión de archivos con la opción de menú
4089 \family sans
4090  
4091 \begin_inset Flex Noun
4092 status collapsed
4093
4094 \begin_layout Plain Layout
4095
4096 \family sans
4097 Insertar\SpecialChar menuseparator
4098 Archivo\SpecialChar menuseparator
4099 Documento
4100 \begin_inset space ~
4101 \end_inset
4102
4103 hijo
4104 \end_layout
4105
4106 \end_inset
4107
4108
4109 \family default
4110 .
4111  Surge entonces una ventana que permite seleccionar el archivo a incluir
4112  y el método de inclusión, y en la posición actual del cursor se inserta
4113  un cuadro gris con el nombre del archivo, que se puede desplegar con un
4114  clic para hacer modificaciones.
4115
4116 \family sans
4117  
4118 \end_layout
4119
4120 \begin_layout Standard
4121 Los métodos de inclusión de un archivo son 
4122 \begin_inset Quotes cld
4123 \end_inset
4124
4125 Anexar
4126 \begin_inset Quotes crd
4127 \end_inset
4128
4129
4130 \begin_inset Quotes cld
4131 \end_inset
4132
4133 Incorporar
4134 \begin_inset Quotes crd
4135 \end_inset
4136
4137  y 
4138 \begin_inset Quotes cld
4139 \end_inset
4140
4141 Literal
4142 \begin_inset Quotes crd
4143 \end_inset
4144
4145 .
4146  Los métodos 
4147 \begin_inset Quotes cld
4148 \end_inset
4149
4150 Anexar
4151 \begin_inset Quotes crd
4152 \end_inset
4153
4154  e 
4155 \begin_inset Quotes cld
4156 \end_inset
4157
4158 Incorporar
4159 \begin_inset Quotes crd
4160 \end_inset
4161
4162  
4163 \lang english
4164 are similar in many ways, but there are also some notable differences:
4165 \lang spanish
4166  
4167 \end_layout
4168
4169 \begin_layout Enumerate
4170 los archivos 
4171 \begin_inset Quotes cld
4172 \end_inset
4173
4174 anexados
4175 \begin_inset Quotes crd
4176 \end_inset
4177
4178  se imprimen en una página independiente, mientras que los archivos 
4179 \begin_inset Quotes cld
4180 \end_inset
4181
4182 incorporados
4183 \begin_inset Quotes crd
4184 \end_inset
4185
4186  se imprimen en la página en la que estén insertados.
4187 \end_layout
4188
4189 \begin_layout Enumerate
4190
4191 \lang english
4192 \begin_inset Quotes eld
4193 \end_inset
4194
4195 Included
4196 \begin_inset Quotes erd
4197 \end_inset
4198
4199  files cannot themselves 
4200 \begin_inset Quotes eld
4201 \end_inset
4202
4203 include
4204 \begin_inset Quotes erd
4205 \end_inset
4206
4207  further files (
4208 \begin_inset Quotes eld
4209 \end_inset
4210
4211 grandchilds
4212 \begin_inset Quotes erd
4213 \end_inset
4214
4215 ).
4216  With 
4217 \begin_inset Quotes eld
4218 \end_inset
4219
4220 input
4221 \begin_inset Quotes erd
4222 \end_inset
4223
4224 , on the other hand, infinite sub-inputting is possible.
4225 \end_layout
4226
4227 \begin_layout Enumerate
4228
4229 \lang english
4230 \begin_inset Quotes eld
4231 \end_inset
4232
4233 Include
4234 \begin_inset Quotes erd
4235 \end_inset
4236
4237  allow for the output of only selected 
4238 \begin_inset Quotes eld
4239 \end_inset
4240
4241 included
4242 \begin_inset Quotes erd
4243 \end_inset
4244
4245  files, while maintaining the actual counters (pagination etc.) and references
4246  (please refer to the section 
4247 \emph on
4248 Child
4249 \begin_inset space ~
4250 \end_inset
4251
4252 Documents
4253 \emph default
4254  of the 
4255 \emph on
4256 Embedded
4257 \begin_inset space ~
4258 \end_inset
4259
4260 Objects
4261 \emph default
4262  manual for details).
4263 \end_layout
4264
4265 \begin_layout Standard
4266
4267 \lang english
4268 Hence, 
4269 \begin_inset Quotes eld
4270 \end_inset
4271
4272 include
4273 \begin_inset Quotes erd
4274 \end_inset
4275
4276  is the preferred method for chapters that are outsourced to child documents,
4277  while 
4278 \begin_inset Quotes eld
4279 \end_inset
4280
4281 input
4282 \begin_inset Quotes erd
4283 \end_inset
4284
4285  is more suitable for arbitrary file inheritance.
4286 \end_layout
4287
4288 \begin_layout Standard
4289 La inserción de un archivo 
4290 \begin_inset Quotes cld
4291 \end_inset
4292
4293 Literal
4294 \begin_inset Quotes crd
4295 \end_inset
4296
4297  permite incluirlo tal cual es, de forma literal, con los caracteres en
4298  tipografía de 
4299 \family typewriter
4300 ancho fijo
4301 \family default
4302 .
4303  Normalmente los espacios en este tipo de inclusión son invisibles, aunque
4304  se conservan dos espacios consecutivos, a diferencia del normal tratamiento
4305  de los espacios en \SpecialChar LyX
4306 .
4307  Sin embargo, si se marca en
4308 \family sans
4309  
4310 \begin_inset Flex Noun
4311 status collapsed
4312
4313 \begin_layout Plain Layout
4314
4315 \family sans
4316 Mar
4317 \family default
4318 car
4319 \family sans
4320
4321 \begin_inset space ~
4322 \end_inset
4323
4324 espacios
4325 \begin_inset space ~
4326 \end_inset
4327
4328 en
4329 \begin_inset space ~
4330 \end_inset
4331
4332 la
4333 \begin_inset space ~
4334 \end_inset
4335
4336 salida
4337 \end_layout
4338
4339 \end_inset
4340
4341
4342 \family default
4343 , se imprime una marca que señala sin ambigüedad la presencia de espacios.
4344 \end_layout
4345
4346 \begin_layout Standard
4347
4348 \lang english
4349 Generally, the master file is converted into a full \SpecialChar LaTeX
4350  file before typesetting,
4351  while the included files are converted to \SpecialChar LaTeX
4352  files that do not have all the
4353  preamble information.
4354 \end_layout
4355
4356 \begin_layout Subsection
4357 Referencias cruzadas entre archivos
4358 \end_layout
4359
4360 \begin_layout Standard
4361 \begin_inset Box Shadowbox
4362 position "t"
4363 hor_pos "c"
4364 has_inner_box 1
4365 inner_pos "t"
4366 use_parbox 0
4367 use_makebox 0
4368 width "100col%"
4369 special "none"
4370 height "1in"
4371 height_special "totalheight"
4372 thickness "0.4pt"
4373 separation "3pt"
4374 shadowsize "4pt"
4375 framecolor "black"
4376 backgroundcolor "none"
4377 status collapsed
4378
4379 \begin_layout Plain Layout
4380 Esta sección está algo anticuada.
4381  Es preciso describir los documentos maestros predeterminados y cómo son
4382  abiertos los hijos cuando está el maestro.
4383  [[PENDIENTE]]
4384 \end_layout
4385
4386 \end_inset
4387
4388
4389 \end_layout
4390
4391 \begin_layout Standard
4392 Se pueden configurar referencias cruzadas entre los distintos archivos.
4393  Primero, abre todos los archivos en cuestión: digamos A y B por ejemplo,
4394  donde B está incluido en A.
4395  Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4396  Abre el diálogo de referencias cruzadas en B y selecciona el 
4397 \begin_inset Quotes cld
4398 \end_inset
4399
4400 buffer
4401 \begin_inset Quotes crd
4402 \end_inset
4403
4404  a usar.
4405 \end_layout
4406
4407 \begin_layout Subsection
4408 Listas de bibliografía en todos los subdocumentos
4409 \end_layout
4410
4411 \begin_layout Standard
4412 \begin_inset Box Frameless
4413 position "t"
4414 hor_pos "c"
4415 has_inner_box 1
4416 inner_pos "t"
4417 use_parbox 0
4418 use_makebox 0
4419 width "100col%"
4420 special "none"
4421 height "1in"
4422 height_special "totalheight"
4423 thickness "0.4pt"
4424 separation "3pt"
4425 shadowsize "4pt"
4426 framecolor "black"
4427 backgroundcolor "none"
4428 status collapsed
4429
4430 \begin_layout Plain Layout
4431 Esta sección también requiere actualización.
4432  Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4433 \end_layout
4434
4435 \end_inset
4436
4437
4438 \end_layout
4439
4440 \begin_layout Standard
4441
4442 \lang english
4443 If you work with child documents, you might want to have only one main bibliogra
4444 phy at the end, but still be able to have a selected bibliography for the
4445  child if you output it on its own.
4446  Here is how to achieve this.
4447 \end_layout
4448
4449 \begin_layout Standard
4450
4451 \lang english
4452 For the main document, you just insert a bibliography inset at the place
4453  where the main bibliography has to appear (within the master file or within
4454  a child).
4455  If the bibliography inset is in the master file, the references will be
4456  inherited by all children, so they are available in the citation dialog
4457  within each child.
4458 \end_layout
4459
4460 \begin_layout Standard
4461
4462 \lang english
4463 For child-specific bibliographies, insert bibliography insets within the
4464  child documents, at the place where the bibliography should appear when
4465  the child is compiled separately.
4466  However, the trick is to insert them into a branch (
4467 \family sans
4468 Insert\SpecialChar menuseparator
4469 Branch\SpecialChar menuseparator
4470 Insert New Branch...
4471 \family default
4472 ), e.
4473 \begin_inset space \thinspace{}
4474 \end_inset
4475
4476 g.
4477  called 
4478 \begin_inset Quotes eld
4479 \end_inset
4480
4481 Childonly
4482 \begin_inset Quotes erd
4483 \end_inset
4484
4485 .
4486  Within the children, activate the branch (
4487 \family sans
4488 Document\SpecialChar menuseparator
4489 Settings...\SpecialChar menuseparator
4490 Branches
4491 \family default
4492 ).
4493  Within the master, deactivate the branch (
4494 \family sans
4495 Document\SpecialChar menuseparator
4496 Settings...\SpecialChar menuseparator
4497 Branches
4498 \family default
4499 ).
4500  Now the child's bibliography will be ignored by the master, but considered
4501  by the child.
4502 \end_layout
4503
4504 \begin_layout Standard
4505
4506 \lang english
4507 If you need multiple bibliographies (e.
4508 \begin_inset space \thinspace{}
4509 \end_inset
4510
4511 g., one per child in the 
4512 \emph on
4513 main document
4514 \emph default
4515 ), please refer to sec
4516 \lang spanish
4517 .
4518 \begin_inset space ~
4519 \end_inset
4520
4521
4522 \begin_inset CommandInset ref
4523 LatexCommand ref
4524 reference "subsec:Bibliografías-múltiples"
4525
4526 \end_inset
4527
4528 .
4529 \end_layout
4530
4531 \begin_layout Section
4532 Archivos \SpecialChar LyX
4533
4534 \end_layout
4535
4536 \begin_layout Standard
4537 A veces, los usuarios necesitan 
4538 \begin_inset Quotes cld
4539 \end_inset
4540
4541 empaquetar
4542 \begin_inset Quotes crd
4543 \end_inset
4544
4545  un archivo \SpecialChar LyX
4546  junto con las imágenes (y otros archivos) de los que depende,
4547  bien para enviarlo a un editor o para compartirlo con un co-autor.
4548  \SpecialChar LyX
4549  incluye un guión en Python (
4550 \begin_inset Flex Code
4551 status collapsed
4552
4553 \begin_layout Plain Layout
4554 lyxpak.py
4555 \end_layout
4556
4557 \end_inset
4558
4559 ) que automatiza el proceso.
4560  Para usarlo, deben estar instalados los módulos Python 
4561 \begin_inset Flex Code
4562 status collapsed
4563
4564 \begin_layout Plain Layout
4565 zipfile
4566 \end_layout
4567
4568 \end_inset
4569
4570  o 
4571 \begin_inset Flex Code
4572 status collapsed
4573
4574 \begin_layout Plain Layout
4575 tarfile
4576 \end_layout
4577
4578 \end_inset
4579
4580 .
4581  Por omisión, el guión prefiere el formato 
4582 \begin_inset Flex Code
4583 status collapsed
4584
4585 \begin_layout Plain Layout
4586 tar
4587 \end_layout
4588
4589 \end_inset
4590
4591  comprimido con 
4592 \begin_inset Flex Code
4593 status collapsed
4594
4595 \begin_layout Plain Layout
4596 gzip
4597 \end_layout
4598
4599 \end_inset
4600
4601  en sistemas tipo Unix y el formato 
4602 \begin_inset Flex Code
4603 status collapsed
4604
4605 \begin_layout Plain Layout
4606 zip
4607 \end_layout
4608
4609 \end_inset
4610
4611  en Windows.
4612 \end_layout
4613
4614 \begin_layout Standard
4615 El proceso de configuración de \SpecialChar LyX
4616  preparará el guión para exportar a 
4617 \begin_inset Quotes cld
4618 \end_inset
4619
4620 Archivo \SpecialChar LyX
4621
4622 \begin_inset Quotes crd
4623 \end_inset
4624
4625 , que estará disponible en el menú 
4626 \begin_inset Flex Code
4627 status collapsed
4628
4629 \begin_layout Plain Layout
4630 Archivo\SpecialChar menuseparator
4631 Exportar
4632 \end_layout
4633
4634 \end_inset
4635
4636 .
4637 \end_layout
4638
4639 \begin_layout Standard
4640 Independientemente de la plataforma, la generación de un formato determinado
4641  de archivo puede controlarse añadiendo el conmutador 
4642 \begin_inset Flex Code
4643 status collapsed
4644
4645 \begin_layout Plain Layout
4646 -t
4647 \end_layout
4648
4649 \end_inset
4650
4651  (para el formato 
4652 \begin_inset Flex Code
4653 status collapsed
4654
4655 \begin_layout Plain Layout
4656 tar
4657 \end_layout
4658
4659 \end_inset
4660
4661 ) o el conmutador 
4662 \begin_inset Flex Code
4663 status collapsed
4664
4665 \begin_layout Plain Layout
4666 -z
4667 \end_layout
4668
4669 \end_inset
4670
4671  (para el formato 
4672 \begin_inset Flex Code
4673 status collapsed
4674
4675 \begin_layout Plain Layout
4676 zip
4677 \end_layout
4678
4679 \end_inset
4680
4681 ) al convertidor 
4682 \begin_inset Flex Code
4683 status collapsed
4684
4685 \begin_layout Plain Layout
4686 \SpecialChar LyX
4687 \SpecialChar menuseparator
4688 \SpecialChar LyX
4689  Archive
4690 \end_layout
4691
4692 \end_inset
4693
4694  en 
4695 \begin_inset Flex Code
4696 status collapsed
4697
4698 \begin_layout Plain Layout
4699 Herramientas\SpecialChar menuseparator
4700 Preferencias\SpecialChar menuseparator
4701 Gestión de archivos\SpecialChar menuseparator
4702 Convertidores
4703 \end_layout
4704
4705 \end_inset
4706
4707 .
4708  (Asegúrate de añadir el conmutador tras el nombre del guión, no delante.)
4709 \end_layout
4710
4711 \begin_layout Section
4712 Encabezados y pies de página elaborados
4713 \end_layout
4714
4715 \begin_layout Standard
4716 El formato de página predeterminado es más bien simple; para la clase 
4717 \family sans
4718
4719 \begin_inset Flex Code
4720 status collapsed
4721
4722 \begin_layout Plain Layout
4723
4724 \family sans
4725 article
4726 \end_layout
4727
4728 \end_inset
4729
4730
4731 \family default
4732 , todo lo que obtienes es un número centrado al final de la página.
4733  El presente documento es de la clase 
4734 \family sans
4735
4736 \begin_inset Flex Code
4737 status collapsed
4738
4739 \begin_layout Plain Layout
4740
4741 \family sans
4742 book
4743 \family default
4744  (KOMA-script)
4745 \end_layout
4746
4747 \end_inset
4748
4749
4750 \family default
4751 , así que resulta un poco más elaborado.
4752  Pero para montar un show de verdad, has de elegir 
4753 \begin_inset Quotes cld
4754 \end_inset
4755
4756 elaborado
4757 \begin_inset Quotes crd
4758 \end_inset
4759
4760
4761 \emph on
4762  
4763 \emph default
4764 para el estilo de página del documento, como se comenta en la 
4765 \emph on
4766 Guía del Usuario
4767 \emph default
4768 .
4769  En esta sección se describe el código \SpecialChar LaTeX
4770  que debes introducir en el preámbulo
4771  \SpecialChar LaTeX
4772  para conseguir los resultados deseados.
4773 \end_layout
4774
4775 \begin_layout Standard
4776 El encabezado de página se divide en tres zonas, 
4777 \begin_inset Quotes cld
4778 \end_inset
4779
4780 izquierda
4781 \begin_inset Quotes crd
4782 \end_inset
4783
4784
4785 \begin_inset Quotes cld
4786 \end_inset
4787
4788 central
4789 \begin_inset Quotes crd
4790 \end_inset
4791
4792  y 
4793 \begin_inset Quotes cld
4794 \end_inset
4795
4796 derecha
4797 \begin_inset Quotes crd
4798 \end_inset
4799
4800 .
4801  Y el pie de página, pues igual.
4802  Los comandos \SpecialChar LaTeX
4803  para configurar estas zonas en su forma más simple son 
4804 \family typewriter
4805
4806 \begin_inset Flex Code
4807 status collapsed
4808
4809 \begin_layout Plain Layout
4810
4811 \family typewriter
4812
4813 \backslash
4814 lhead
4815 \end_layout
4816
4817 \end_inset
4818
4819
4820 \family default
4821
4822 \family typewriter
4823
4824 \begin_inset Flex Code
4825 status collapsed
4826
4827 \begin_layout Plain Layout
4828
4829 \family typewriter
4830
4831 \backslash
4832 chead
4833 \end_layout
4834
4835 \end_inset
4836
4837
4838 \family default
4839
4840 \family typewriter
4841
4842 \begin_inset Flex Code
4843 status collapsed
4844
4845 \begin_layout Plain Layout
4846
4847 \family typewriter
4848
4849 \backslash
4850 rhead
4851 \end_layout
4852
4853 \end_inset
4854
4855
4856 \family default
4857
4858 \family typewriter
4859
4860 \begin_inset Flex Code
4861 status collapsed
4862
4863 \begin_layout Plain Layout
4864
4865 \family typewriter
4866
4867 \backslash
4868 lfoot
4869 \end_layout
4870
4871 \end_inset
4872
4873
4874 \family default
4875 , etc.
4876  Supongamos que quieres poner un nombre en la parte superior izquierda de
4877  cada página.
4878  Pues inserta el siguiente comando en el preámbulo:
4879 \end_layout
4880
4881 \begin_layout Standard
4882
4883 \family typewriter
4884
4885 \backslash
4886 lhead{John Q.
4887  DocWriter}
4888 \end_layout
4889
4890 \begin_layout Standard
4891 Con este comando el nombre saldrá en la parte superior izquierda.
4892  Si una zona tiene asignada una entrada por omisión y quieres eliminarla
4893  (p.
4894 \begin_inset space \thinspace{}
4895 \end_inset
4896
4897 ej.
4898 \begin_inset space ~
4899 \end_inset
4900
4901 el número de página en el pie central), pon un comando con el argumento
4902  vacío, p.
4903 \begin_inset space \thinspace{}
4904 \end_inset
4905
4906 ej.:
4907 \end_layout
4908
4909 \begin_layout Standard
4910
4911 \family typewriter
4912
4913 \backslash
4914 cfoot{}
4915 \end_layout
4916
4917 \begin_layout Standard
4918 Vamos ahora con algunos adornos: vamos a poner el número de sección con
4919  la palabra 
4920 \begin_inset Quotes cld
4921 \end_inset
4922
4923 Sección
4924 \begin_inset Quotes crd
4925 \end_inset
4926
4927  (p.
4928 \begin_inset space \thinspace{}
4929 \end_inset
4930
4931 ej.
4932 \begin_inset space ~
4933 \end_inset
4934
4935 Sección
4936 \begin_inset space ~
4937 \end_inset
4938
4939 3) en la superior izquierda, el número de página (p.
4940 \begin_inset space \thinspace{}
4941 \end_inset
4942
4943 ej.
4944 \begin_inset space ~
4945 \end_inset
4946
4947 Página
4948 \begin_inset space ~
4949 \end_inset
4950
4951 4) en la superior derecha, el nombre en la inferior izquierda y la fecha
4952  en la inferior derecha.
4953  Para ello deberíamos escribir las siguientes líneas en el preámbulo: 
4954 \end_layout
4955
4956 \begin_layout Standard
4957
4958 \family typewriter
4959
4960 \backslash
4961 lhead{Sección 
4962 \backslash
4963 thesection}
4964 \end_layout
4965
4966 \begin_layout Standard
4967
4968 \family typewriter
4969
4970 \backslash
4971 chead{}
4972 \end_layout
4973
4974 \begin_layout Standard
4975
4976 \family typewriter
4977
4978 \backslash
4979 rhead{Página 
4980 \backslash
4981 thepage}
4982 \end_layout
4983
4984 \begin_layout Standard
4985
4986 \family typewriter
4987
4988 \backslash
4989 lfoot{John Q.
4990  DocWriter}
4991 \end_layout
4992
4993 \begin_layout Standard
4994
4995 \family typewriter
4996
4997 \backslash
4998 cfoot{}
4999 \end_layout
5000
5001 \begin_layout Standard
5002
5003 \family typewriter
5004
5005 \backslash
5006 rfoot{
5007 \backslash
5008 today}
5009 \end_layout
5010
5011 \begin_layout Standard
5012 Los comandos 
5013 \family typewriter
5014
5015 \begin_inset Flex Code
5016 status collapsed
5017
5018 \begin_layout Plain Layout
5019
5020 \family typewriter
5021
5022 \backslash
5023 thesection
5024 \end_layout
5025
5026 \end_inset
5027
5028
5029 \family default
5030  y 
5031 \family typewriter
5032
5033 \begin_inset Flex Code
5034 status collapsed
5035
5036 \begin_layout Plain Layout
5037
5038 \family typewriter
5039
5040 \backslash
5041 thepage
5042 \end_layout
5043
5044 \end_inset
5045
5046
5047 \family default
5048  aluden a los contadores de sección y de página de \SpecialChar LaTeX
5049 , que se encargan de
5050  imprimir los números de la sección y la página actuales.
5051  
5052 \family typewriter
5053
5054 \begin_inset Flex Code
5055 status collapsed
5056
5057 \begin_layout Plain Layout
5058
5059 \family typewriter
5060
5061 \backslash
5062 today
5063 \end_layout
5064
5065 \end_inset
5066
5067
5068 \family default
5069  imprime la fecha de hoy.
5070 \end_layout
5071
5072 \begin_layout Standard
5073 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre
5074  el pie se puede modificar.
5075  Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5076  Por omisión, la línea de encabezado tiene 0.4
5077 \begin_inset space \thinspace{}
5078 \end_inset
5079
5080 pt de grosor y la de pie 0
5081 \begin_inset space \thinspace{}
5082 \end_inset
5083
5084 pt.
5085  Para cambiar estos valores se pueden usar los comandos 
5086 \family typewriter
5087
5088 \backslash
5089 renewcommand{
5090 \backslash
5091 headrulewidth}{0.4pt} 
5092 \family default
5093
5094 \family typewriter
5095
5096 \backslash
5097 renewcommand{
5098 \backslash
5099 footrulewidth}{0.4pt}
5100 \end_layout
5101
5102 \begin_layout Standard
5103 La configuración del encabezado y/o el pie para páginas individuales se
5104  puede alterar con comandos como
5105 \family typewriter
5106  
5107 \begin_inset Flex Code
5108 status collapsed
5109
5110 \begin_layout Plain Layout
5111
5112 \family typewriter
5113
5114 \backslash
5115 thispagestyle{empty}
5116 \end_layout
5117
5118 \end_inset
5119
5120
5121 \begin_inset Flex Code
5122 status collapsed
5123
5124 \begin_layout Plain Layout
5125
5126 \family typewriter
5127
5128 \backslash
5129 thispagestyle{plain}
5130 \end_layout
5131
5132 \end_inset
5133
5134
5135 \family default
5136  y
5137 \begin_inset Newline linebreak
5138 \end_inset
5139
5140  
5141 \family typewriter
5142
5143 \begin_inset Flex Code
5144 status collapsed
5145
5146 \begin_layout Plain Layout
5147
5148 \family typewriter
5149
5150 \backslash
5151 thispagestyle{fancy}
5152 \end_layout
5153
5154 \end_inset
5155
5156
5157 \family default
5158 .
5159  Simplemente se inserta en 
5160 \begin_inset Flex Code
5161 status collapsed
5162
5163 \begin_layout Plain Layout
5164 código \SpecialChar TeX
5165
5166 \end_layout
5167
5168 \end_inset
5169
5170  en la página que se quiere cambiar.
5171  De hecho las páginas de título tienen estilo simple por omisión, mientras
5172  que las páginas siguientes se marcan en estilo elaborado si este es el
5173  formato establecido globalmente.
5174  
5175 \end_layout
5176
5177 \begin_layout Standard
5178 Por último, veamos cómo incluir una imagen en el encabezado o en el pie;
5179  por ejemplo, un logotipo en la esquina superior izquierda.
5180  Prueba algo como esto:
5181 \end_layout
5182
5183 \begin_layout Standard
5184
5185 \family typewriter
5186
5187 \backslash
5188 lhead{
5189 \backslash
5190 resizebox{1in}{!}{
5191 \backslash
5192 includegraphics{logo.eps}}}
5193 \end_layout
5194
5195 \begin_layout Standard
5196 (quizá sea necesario anteponer 
5197 \family typewriter
5198
5199 \begin_inset Flex Code
5200 status collapsed
5201
5202 \begin_layout Plain Layout
5203
5204 \family typewriter
5205
5206 \backslash
5207 usepackage{graphics}
5208 \end_layout
5209
5210 \end_inset
5211
5212
5213 \family default
5214  si tu documento no incluye otros gráficos).
5215  
5216 \end_layout
5217
5218 \begin_layout Section
5219 Selección de marcas de listas
5220 \begin_inset CommandInset label
5221 LatexCommand label
5222 name "sec:Marcas"
5223
5224 \end_inset
5225
5226
5227 \end_layout
5228
5229 \begin_layout Standard
5230 por
5231 \noun on
5232  Allan Rae
5233 \end_layout
5234
5235 \begin_layout Subsection
5236 Introducción
5237 \end_layout
5238
5239 \begin_layout Standard
5240 \SpecialChar LyX
5241  suministra 216 símbolos de marcas a los que se accede mediante un simple
5242  diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5243  Esta elección es aplicable a la totalidad del documento, no es posible
5244  escoger distintos conjuntos de marcas para distintos párrafos.
5245 \begin_inset Foot
5246 status collapsed
5247
5248 \begin_layout Plain Layout
5249 Bien, en realidad sí se puede hacer, pero a mano.
5250 \end_layout
5251
5252 \end_inset
5253
5254  
5255 \end_layout
5256
5257 \begin_layout Subsection
5258 Cómo se ve
5259 \end_layout
5260
5261 \begin_layout Standard
5262 Abre el diálogo siguiendo el camino de menú 
5263 \family sans
5264 Document
5265 \family default
5266 o
5267 \family sans
5268 \SpecialChar menuseparator
5269 Configuración\SpecialChar menuseparator
5270 Marcas
5271 \family default
5272 .
5273 \end_layout
5274
5275 \begin_layout Standard
5276 El diálogo suministra un cuadro de símbolos para las marcas.
5277  En el cuadro 
5278 \family sans
5279 Tipografía 
5280 \family default
5281 hay una lista desplegable con seis paneles de símbolos.
5282  La lista 
5283 \family sans
5284 Nivel
5285 \family default
5286  permite elegir el nivel para el que elegimos la marca.
5287  Un campo de texto bajo el cuadro permite escoger un símbolo personalizado
5288  poniendo su código \SpecialChar LaTeX
5289 .
5290 \end_layout
5291
5292 \begin_layout Standard
5293 Los seis paneles de
5294 \family sans
5295  Tipografía
5296 \family default
5297  corresponden a los distintos paquetes requeridos.
5298  El cuadro siguiente recoge los nombres y sus paquetes asociados:
5299 \end_layout
5300
5301 \begin_layout Standard
5302 \align center
5303 \begin_inset Tabular
5304 <lyxtabular version="3" rows="7" columns="2">
5305 <features tabularvalignment="middle">
5306 <column alignment="center" valignment="top" width="0pt">
5307 <column alignment="center" valignment="top" width="0pt">
5308 <row>
5309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5310 \begin_inset Text
5311
5312 \begin_layout Plain Layout
5313
5314 \family roman
5315 \series medium
5316 \shape up
5317 \size normal
5318 \emph off
5319 \bar no
5320 \noun off
5321 \color none
5322 Tipografía
5323 \end_layout
5324
5325 \end_inset
5326 </cell>
5327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5328 \begin_inset Text
5329
5330 \begin_layout Plain Layout
5331
5332 \family roman
5333 \series medium
5334 \shape up
5335 \size normal
5336 \emph off
5337 \bar no
5338 \noun off
5339 \color none
5340 Paquete requerido
5341 \end_layout
5342
5343 \end_inset
5344 </cell>
5345 </row>
5346 <row>
5347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5348 \begin_inset Text
5349
5350 \begin_layout Plain Layout
5351
5352 \family sans
5353 \series medium
5354 \shape up
5355 \size normal
5356 \emph off
5357 \bar no
5358 \noun off
5359 \color none
5360 Normal
5361 \end_layout
5362
5363 \end_inset
5364 </cell>
5365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5366 \begin_inset Text
5367
5368 \begin_layout Plain Layout
5369
5370 \series medium
5371 \shape up
5372 \size normal
5373 \emph off
5374 \bar no
5375 \noun off
5376 \color none
5377 base \SpecialChar LaTeX
5378
5379 \end_layout
5380
5381 \end_inset
5382 </cell>
5383 </row>
5384 <row>
5385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5386 \begin_inset Text
5387
5388 \begin_layout Plain Layout
5389
5390 \family sans
5391 \series medium
5392 \shape up
5393 \size normal
5394 \emph off
5395 \bar no
5396 \noun off
5397 \color none
5398 Ecuaciones
5399 \end_layout
5400
5401 \end_inset
5402 </cell>
5403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5404 \begin_inset Text
5405
5406 \begin_layout Plain Layout
5407
5408 \family typewriter
5409 \series medium
5410 \shape up
5411 \size normal
5412 \emph off
5413 \bar no
5414 \noun off
5415 \color none
5416 amssymb.sty
5417 \end_layout
5418
5419 \end_inset
5420 </cell>
5421 </row>
5422 <row>
5423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5424 \begin_inset Text
5425
5426 \begin_layout Plain Layout
5427
5428 \family sans
5429 \series medium
5430 \shape up
5431 \size normal
5432 \emph off
5433 \bar no
5434 \noun off
5435 \color none
5436 Ding1
5437 \end_layout
5438
5439 \end_inset
5440 </cell>
5441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5442 \begin_inset Text
5443
5444 \begin_layout Plain Layout
5445
5446 \family typewriter
5447 \series medium
5448 \shape up
5449 \size normal
5450 \emph off
5451 \bar no
5452 \noun off
5453 \color none
5454 pifont.sty
5455 \end_layout
5456
5457 \end_inset
5458 </cell>
5459 </row>
5460 <row>
5461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5462 \begin_inset Text
5463
5464 \begin_layout Plain Layout
5465
5466 \family sans
5467 \series medium
5468 \shape up
5469 \size normal
5470 \emph off
5471 \bar no
5472 \noun off
5473 \color none
5474 Ding2
5475 \end_layout
5476
5477 \end_inset
5478 </cell>
5479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5480 \begin_inset Text
5481
5482 \begin_layout Plain Layout
5483
5484 \family typewriter
5485 \series medium
5486 \shape up
5487 \size normal
5488 \emph off
5489 \bar no
5490 \noun off
5491 \color none
5492 pifont.sty
5493 \end_layout
5494
5495 \end_inset
5496 </cell>
5497 </row>
5498 <row>
5499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5500 \begin_inset Text
5501
5502 \begin_layout Plain Layout
5503
5504 \family sans
5505 \series medium
5506 \shape up
5507 \size normal
5508 \emph off
5509 \bar no
5510 \noun off
5511 \color none
5512 Ding3
5513 \end_layout
5514
5515 \end_inset
5516 </cell>
5517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5518 \begin_inset Text
5519
5520 \begin_layout Plain Layout
5521
5522 \family typewriter
5523 \series medium
5524 \shape up
5525 \size normal
5526 \emph off
5527 \bar no
5528 \noun off
5529 \color none
5530 pifont.sty
5531 \end_layout
5532
5533 \end_inset
5534 </cell>
5535 </row>
5536 <row>
5537 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5538 \begin_inset Text
5539
5540 \begin_layout Plain Layout
5541
5542 \family sans
5543 \series medium
5544 \shape up
5545 \size normal
5546 \emph off
5547 \bar no
5548 \noun off
5549 \color none
5550 Ding4
5551 \end_layout
5552
5553 \end_inset
5554 </cell>
5555 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5556 \begin_inset Text
5557
5558 \begin_layout Plain Layout
5559
5560 \family typewriter
5561 \series medium
5562 \shape up
5563 \size normal
5564 \emph off
5565 \bar no
5566 \noun off
5567 \color none
5568 pifont.sty
5569 \end_layout
5570
5571 \end_inset
5572 </cell>
5573 </row>
5574 </lyxtabular>
5575
5576 \end_inset
5577
5578
5579 \end_layout
5580
5581 \begin_layout Standard
5582 \SpecialChar LyX
5583  no se detiene si usas marcas de paquetes no disponibles.
5584  Pero si se producen errores de \SpecialChar LaTeX
5585  al intentar ver o imprimir el archivo,
5586  probablemente se debe a la falta de algún paquete.
5587 \begin_inset Foot
5588 status collapsed
5589
5590 \begin_layout Plain Layout
5591 \SpecialChar LyX
5592  no restringe su uso porque puede que estés editando localmente el archivo
5593  para procesarlo luego en otra máquina.
5594 \end_layout
5595
5596 \end_inset
5597
5598
5599 \end_layout
5600
5601 \begin_layout Subsection
5602 Cómo se emplea
5603 \end_layout
5604
5605 \begin_layout Standard
5606 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5607  Los cambios no serán visibles en \SpecialChar LyX
5608  pero sí lo serán en la salida procesada.
5609 \end_layout
5610
5611 \begin_layout Standard
5612 Se puede reiniciar una marca a su valor predeterminado con clic-derecha
5613  sobre el botón apropiado de nivel de profundidad.
5614 \begin_inset Foot
5615 status open
5616
5617 \begin_layout Plain Layout
5618 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de
5619  marcas en cada uno, tendrás que enfangarte con código \SpecialChar TeX
5620 .
5621  El diálogo de selección de marcas puede, no obstante, ayudarte porque te
5622  suministra el código \SpecialChar LaTeX
5623  para un amplio rango de símbolos de marcas.
5624  Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5625 \end_layout
5626
5627 \begin_layout Plain Layout
5628 \begin_inset ERT
5629 status collapsed
5630
5631 \begin_layout Plain Layout
5632
5633
5634 \backslash
5635 let
5636 \backslash
5637 savelabelitemi=
5638 \backslash
5639 labelitemi
5640 \end_layout
5641
5642 \end_inset
5643
5644
5645 \end_layout
5646
5647 \begin_layout Plain Layout
5648 \begin_inset ERT
5649 status collapsed
5650
5651 \begin_layout Plain Layout
5652
5653
5654 \backslash
5655 renewcommand
5656 \backslash
5657 labelitemi[0]{
5658 \backslash
5659 small
5660 \backslash
5661 (
5662 \backslash
5663 sharp
5664 \backslash
5665 )}
5666 \end_layout
5667
5668 \end_inset
5669
5670
5671 \end_layout
5672
5673 \begin_layout Itemize
5674 Usa el comando \SpecialChar LaTeX
5675  
5676 \begin_inset Flex Code
5677 status collapsed
5678
5679 \begin_layout Plain Layout
5680
5681 \backslash
5682 renewcommand{}{}
5683 \end_layout
5684
5685 \end_inset
5686
5687  para especificar un símbolo de marca para una profundidad determinada.
5688  Además tendrás que guardar la marca actual para que puedas recuperarla
5689  más adelante.
5690  En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5691  para cambiar
5692  la marca del primer nivel:
5693 \end_layout
5694
5695 \begin_deeper
5696 \begin_layout LyX-Code
5697
5698 \backslash
5699 let
5700 \backslash
5701 savelabelitemi=
5702 \backslash
5703 labelitemi 
5704 \end_layout
5705
5706 \begin_layout LyX-Code
5707
5708 \backslash
5709 renewcommand
5710 \backslash
5711 labelitemi[0]{
5712 \backslash
5713 small
5714 \backslash
5715 (
5716 \backslash
5717 sharp
5718 \backslash
5719 )}
5720 \end_layout
5721
5722 \end_deeper
5723 \begin_layout Itemize
5724 Observa que el nivel de profundidad se especifica en números romanos como
5725  parte del comando 
5726 \family typewriter
5727
5728 \begin_inset Flex Code
5729 status collapsed
5730
5731 \begin_layout Plain Layout
5732
5733 \family typewriter
5734
5735 \backslash
5736 labelitem
5737 \end_layout
5738
5739 \end_inset
5740
5741
5742 \end_layout
5743
5744 \begin_layout Itemize
5745 \begin_inset Argument item:1
5746 status open
5747
5748 \begin_layout Plain Layout
5749 \begin_inset ERT
5750 status open
5751
5752 \begin_layout Plain Layout
5753
5754
5755 \backslash
5756 (
5757 \backslash
5758 star
5759 \backslash
5760 )
5761 \end_layout
5762
5763 \end_inset
5764
5765
5766 \end_layout
5767
5768 \end_inset
5769
5770  Especifica cada entrada individual empezando cada ítem con el símbolo escogido
5771  encerrado entre a 
5772 \begin_inset Quotes eld
5773 \end_inset
5774
5775 Custom Item
5776 \begin_inset Quotes erd
5777 \end_inset
5778
5779  inset (available at 
5780 \family sans
5781 Insert\SpecialChar menuseparator
5782 Custom Item
5783 \family default
5784 ) y en 
5785 \begin_inset Flex Code
5786 status collapsed
5787
5788 \begin_layout Plain Layout
5789 código \SpecialChar TeX
5790
5791 \end_layout
5792
5793 \end_inset
5794
5795 .
5796  Por ejemplo, este ítem se inicia con 
5797 \begin_inset Flex Code
5798 status collapsed
5799
5800 \begin_layout Plain Layout
5801
5802 \backslash
5803 (
5804 \backslash
5805 star
5806 \backslash
5807 )
5808 \end_layout
5809
5810 \end_inset
5811
5812 .
5813 \end_layout
5814
5815 \begin_layout Plain Layout
5816 \begin_inset ERT
5817 status collapsed
5818
5819 \begin_layout Plain Layout
5820
5821
5822 \backslash
5823 renewcommand
5824 \backslash
5825 labelitemi[0]{
5826 \backslash
5827 savelabelitemi}
5828 \end_layout
5829
5830 \end_inset
5831
5832
5833 \end_layout
5834
5835 \begin_layout Plain Layout
5836 Además tendrás que volver a la configuración inicial global de marcas para
5837  que esta vuelva a funcionar.
5838  Así hemos hecho con:
5839 \end_layout
5840
5841 \begin_layout LyX-Code
5842
5843 \backslash
5844 renewcommand
5845 \backslash
5846 labelitemi[0]{
5847 \backslash
5848 savelabelitemi}
5849 \end_layout
5850
5851 \begin_layout LyX-Code
5852
5853 \end_layout
5854
5855 \end_inset
5856
5857
5858 \end_layout
5859
5860 \begin_layout Chapter
5861 \SpecialChar LyX
5862  y World Wide Web
5863 \end_layout
5864
5865 \begin_layout Standard
5866 \SpecialChar LyX
5867  soporta desde hace tiempo la exportación de documentos a varios formatos
5868  adecuados para la web, como HTML.
5869  Sin embargo, antes de la versión 2.0, la exportación a HTML siempre se hacía
5870  mediante el uso de convertidores externos.
5871 \begin_inset Foot
5872 status open
5873
5874 \begin_layout Plain Layout
5875 Véase la sección 
5876 \size normal
5877 \emph on
5878 Convertidores
5879 \emph default
5880  del manual 
5881 \emph on
5882 Personalización
5883 \emph default
5884 .
5885 \end_layout
5886
5887 \end_inset
5888
5889  Pueden actuar de dos maneras: usando \SpecialChar LaTeX
5890  como formato intermedio, como 
5891 \family typewriter
5892 htlatex
5893 \family default
5894
5895 \family typewriter
5896 html2latex
5897 \family default
5898  y 
5899 \family typewriter
5900 plastex
5901 \family default
5902 , encargándose \SpecialChar LyX
5903  de la generación del \SpecialChar LaTeX
5904 , o trabajando directamente sobre archivos
5905  \SpecialChar LyX
5906 , como 
5907 \family typewriter
5908 e\SpecialChar LyX
5909 er
5910 \family default
5911 .
5912  Cada método tiene distintas ventajas e inconvenientes.
5913  
5914 \end_layout
5915
5916 \begin_layout Standard
5917 Los convertidores basados en \SpecialChar LaTeX
5918  tienen la ventaja de que, en principio, lo
5919  saben todo sobre el documento que exporta \SpecialChar LaTeX
5920 .
5921  Estos convertidores no se preocupan, por ejemplo, de si determinado bloque
5922  de código fue generado por \SpecialChar LyX
5923  o si era código \SpecialChar TeX
5924  (o ERT, 
5925 \emph on
5926 Evil Red Text
5927 \emph default
5928 ).
5929  Saben manejar archivos 
5930 \family typewriter
5931 aux
5932 \family default
5933 , contadores, referencias, y generalmente pueden manejar archivos 
5934 \family typewriter
5935 bbl
5936 \family default
5937  generados por Bib\SpecialChar TeX
5938 .
5939  Por otra parte, \SpecialChar LaTeX
5940  es un lenguaje complejo de analizar —a veces se comenta
5941  que solo \SpecialChar TeX
5942  comprende a \SpecialChar TeX
5943 — y los convertidores basados en \SpecialChar LaTeX
5944  se atascan a menudo
5945  con estructuras aparentemente simples; las complejas pueden ahogarlos totalment
5946 e; en el momento de escribir esto, por ejemplo, el manual 
5947 \emph on
5948 Objetos insertados
5949 \emph default
5950  no se puede exportar con 
5951 \family typewriter
5952 htlatex
5953 \family default
5954 , sí con los otros.
5955  Las matemáticas son otro tema: estos convertidores suelen convertir las
5956  ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento
5957  HTML.
5958  Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
5959 , son correctas.
5960  Pero no redimensionan bien su tamaño, y ajustar su aspecto al que debería
5961  tener en el documento —de forma que los tamaños de los caracteres parezcan
5962  aproximadamente iguales— puede ser un reto.
5963  
5964 \end_layout
5965
5966 \begin_layout Standard
5967
5968 \family typewriter
5969 \begin_inset Flex Code
5970 status collapsed
5971
5972 \begin_layout Plain Layout
5973
5974 \family typewriter
5975 e\SpecialChar LyX
5976 er
5977 \end_layout
5978
5979 \end_inset
5980
5981
5982 \family default
5983 , de Alex Fernández, (
5984 \begin_inset CommandInset href
5985 LatexCommand href
5986 name "http://pinchito.es/elyxer/"
5987 target "http://pinchito.es/elyxer/"
5988 literal "false"
5989
5990 \end_inset
5991
5992 ) resuelve algunos de estos problemas.
5993  En particular, las ecuaciones generadas redimensionan el tamaño perfectamente,
5994  ya que las procesa usando una combinación de HTML y CSS en lugar de convertirla
5995 s a imágenes.
5996  Pero incluso expresiones moderadamente complejas tienen un aspecto no tan
5997  bueno como con 
5998 \family typewriter
5999 htlatex
6000 \family default
6001 ; esto refleja las limitaciones de HTML.
6002 \begin_inset Foot
6003 status collapsed
6004
6005 \begin_layout Plain Layout
6006 Dicho esto, 
6007 \family typewriter
6008 e\SpecialChar LyX
6009 er
6010 \family default
6011  también puede usar jsMath y MathJax, pero estas opciones solo están disponibles
6012  globalmente y requieren acceso al servidor que ejecuta el entorno.
6013 \end_layout
6014
6015 \end_inset
6016
6017  Y más importante (al menos desde la versión 1.1.1), 
6018 \begin_inset Flex Code
6019 status collapsed
6020
6021 \begin_layout Plain Layout
6022 e\SpecialChar LyX
6023 er
6024 \end_layout
6025
6026 \end_inset
6027
6028  tiene soporte limitado para macros de ecuación y no lo tiene para párrafos
6029  o estilos de texto definidos por el usuario.
6030  Estas limitaciones hacen a 
6031 \begin_inset Flex Code
6032 status collapsed
6033
6034 \begin_layout Plain Layout
6035 e\SpecialChar LyX
6036 er
6037 \end_layout
6038
6039 \end_inset
6040
6041  inadecuado para muchos documentos de \SpecialChar LyX
6042 .
6043  En principio, por supuesto, estos problemas se podrían resolver, pero los
6044  desarrolladores de \SpecialChar LyX
6045  han decidido seguir una vía diferente y hacer al propio
6046  \SpecialChar LyX
6047  capaz de escribir XHTML, igual que es capaz de escribir \SpecialChar LaTeX
6048 , DocBook o texto
6049  simple.
6050 \end_layout
6051
6052 \begin_layout Standard
6053 En el momento de escribir esto, La salida XHTML está en desarrollo y debería
6054  considerarse como 
6055 \begin_inset Quotes cld
6056 \end_inset
6057
6058 experimental
6059 \begin_inset Quotes crd
6060 \end_inset
6061
6062 .
6063 \begin_inset Foot
6064 status open
6065
6066 \begin_layout Plain Layout
6067 El archivo 
6068 \begin_inset Flex Code
6069 status collapsed
6070
6071 \begin_layout Plain Layout
6072 development/HTML/HTML.notes
6073 \end_layout
6074
6075 \end_inset
6076
6077  que está en el código fuente de \SpecialChar LyX
6078  o 
6079 \begin_inset CommandInset href
6080 LatexCommand href
6081 name "accessed online"
6082 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6083 literal "false"
6084
6085 \end_inset
6086
6087 , contiene información actualizada sobre el estado de XHTML.
6088  Véase también la lista de fallos en XHTML en 
6089 \begin_inset CommandInset href
6090 LatexCommand href
6091 name "the bug tracker"
6092 target "https://www.lyx.org/trac/query?status=reopened&status=assigned&status=new&max=0&component=xhtml+export&order=id&col=id&col=summary&col=reporter&col=keywords&keywords=%21%7Efixedintrunk&desc=1"
6093 literal "false"
6094
6095 \end_inset
6096
6097 .
6098 \end_layout
6099
6100 \end_inset
6101
6102  Aún así, los desarrolladores han escogido este camino porque tiene ventajas
6103  potenciales sobre los otros dos.
6104 \end_layout
6105
6106 \begin_layout Standard
6107 Estas ventajas se deben, en primer lugar, al hecho de que las rutinas para
6108  exportar XHTML, ya que son parte de \SpecialChar LyX
6109 , conocen todo lo que \SpecialChar LyX
6110  sabe sobre el
6111  documento a exportar.
6112 \begin_inset Foot
6113 status collapsed
6114
6115 \begin_layout Plain Layout
6116 Otra ventaja es que, puesto que estas rutinas son internas de \SpecialChar LyX
6117 , son inmunes
6118  a los cambios en el formato de los archivos de \SpecialChar LyX
6119  o en la semántica de los
6120  recuadros insertados.
6121  
6122 \end_layout
6123
6124 \end_inset
6125
6126  Así pues, conocen sobre los índices (mostrados en el contorno), sobre los
6127  contadores asociados a estilos de párrafo, y sobre estilos personalizados.
6128  Las rutinas XHTML también saben sobre internacionalización lo mismo que
6129  \SpecialChar LyX
6130 , de modo que la salida dirá 
6131 \begin_inset Quotes cld
6132 \end_inset
6133
6134 Capítulo 1
6135 \begin_inset Quotes crd
6136 \end_inset
6137
6138  o 
6139 \begin_inset Quotes cld
6140 \end_inset
6141
6142 Kapitel 1
6143 \begin_inset Quotes crd
6144 \end_inset
6145
6146  según el idioma activo.
6147 \end_layout
6148
6149 \begin_layout Standard
6150 En general, las rutinas de salida saben lo mismo que \SpecialChar LyX
6151  sobre el formato del
6152  documento, es decir, sobre cómo se mostrará el documento en pantalla.
6153  Usamos esta información cuando exportamos a XHTML.
6154  En particular, \SpecialChar LyX
6155  genera 
6156 \emph on
6157 automáticamente
6158 \emph default
6159  la información de estilo CSS correspondiente a la información que maneja
6160  para mostrar el documento en pantalla: si los encabezados de sección son
6161  palo seco en negrita en pantalla, entonces también (por omisión) serán
6162  palo seco negrita en un navegador web.
6163  Y esto es cierto no solo para estilos predefinidos, como una sección, sino
6164  para cualquier estilo, incluyendo los definidos por el usuario.
6165  En realidad, las rutinas XHTML no distinguen entre estilos de texto y de
6166  párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6167 : en cada caso
6168  todo lo que \SpecialChar LyX
6169  sabe sobre estilos está contenido en los archivos de formato.
6170  Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6171  como notas al pie y varios recuadros personalizados.
6172 \end_layout
6173
6174 \begin_layout Standard
6175 El resultado es que la salida XHTML se puede personalizar y extender de
6176  igual forma que se puede hacer con la salida \SpecialChar LaTeX
6177 : mediante archivos de formato
6178  y módulos.
6179  Véase el capítulo 5 del manual 
6180 \emph on
6181 Personalización
6182 \emph default
6183  para más detalles.
6184 \end_layout
6185
6186 \begin_layout Standard
6187 El resto de este capítulo contiene información más detallada sobre la salida
6188  XHTML, sus limitaciones y formas de evitarlas.
6189 \end_layout
6190
6191 \begin_layout Section
6192 Las ecuaciones en XHTML
6193 \end_layout
6194
6195 \begin_layout Standard
6196 \SpecialChar LyX
6197  ofrece cuatro posibilidades para el procesamiento de matemáticas.
6198  Cada una tiene sus ventajas y sus inconvenientes.
6199 \end_layout
6200
6201 \begin_layout Itemize
6202 MathML
6203 \begin_inset Newline newline
6204 \end_inset
6205
6206 MathML es un dialecto de XML diseñado específicamente para matemáticas en
6207  la web, y habitualmente rinde muy bien en los navegadores que lo soportan.
6208  La desventaja es que no todos los navegadores soportan MathML, y el soporte
6209  no es completo en navegadores basados en Gecko, como Firefox.
6210 \begin_inset Newline newline
6211 \end_inset
6212
6213 Si \SpecialChar LyX
6214  no es capaz de procesar una fórmula como MathML —por ejemplo, si la
6215  ecuación usa el paquete 
6216 \begin_inset Flex Code
6217 status collapsed
6218
6219 \begin_layout Plain Layout
6220 xymatrix
6221 \end_layout
6222
6223 \end_inset
6224
6225  o código \SpecialChar TeX
6226 — la transformará en imagen.
6227 \end_layout
6228
6229 \begin_layout Itemize
6230 HTML
6231 \begin_inset Newline newline
6232 \end_inset
6233
6234 Como se ha dicho antes, 
6235 \begin_inset Flex Code
6236 status collapsed
6237
6238 \begin_layout Plain Layout
6239 e\SpecialChar LyX
6240 er
6241 \end_layout
6242
6243 \end_inset
6244
6245  procesa las matemáticas como HTML usando estilos CSS.
6246 \begin_inset Foot
6247 status collapsed
6248
6249 \begin_layout Plain Layout
6250 \SpecialChar LyX
6251  ha tomado de 
6252 \begin_inset Flex Code
6253 status collapsed
6254
6255 \begin_layout Plain Layout
6256 e\SpecialChar LyX
6257 er
6258 \end_layout
6259
6260 \end_inset
6261
6262  parte del CSS para su salida HTML.
6263 \end_layout
6264
6265 \end_inset
6266
6267  Para ecuaciones simple funciona bastante bien, aunque con expresiones más
6268  complejas tiende a fallar.
6269  Aún así, este método tiene la ventaja de que es ampliamente soportado y
6270  puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6271 \begin_inset Newline newline
6272 \end_inset
6273
6274 Si \SpecialChar LyX
6275  es incapaz de procesar una ecuación como HTML —por ejemplo, si la ecuación
6276  usa el paquete 
6277 \begin_inset Flex Code
6278 status collapsed
6279
6280 \begin_layout Plain Layout
6281 xymatrix
6282 \end_layout
6283
6284 \end_inset
6285
6286  o código \SpecialChar TeX
6287 — la transformará en imagen.
6288 \end_layout
6289
6290 \begin_layout Itemize
6291 Imágenes
6292 \begin_inset Newline newline
6293 \end_inset
6294
6295 Como 
6296 \begin_inset Flex Code
6297 status collapsed
6298
6299 \begin_layout Plain Layout
6300 htlatex
6301 \end_layout
6302
6303 \end_inset
6304
6305 , \SpecialChar LyX
6306  transformará las ecuaciones en imágenes, las mismas, de hecho, que se
6307  usan para la visualización instantánea.
6308 \begin_inset Foot
6309 status open
6310
6311 \begin_layout Plain Layout
6312
6313 \emph on
6314 No
6315 \emph default
6316  es preciso que esté activa la previsualización instantánea para ver las
6317  imágenes en la salida.
6318 \end_layout
6319
6320 \end_inset
6321
6322  La ventaja de este método es que las imágenes son simplemente generadas
6323  por \SpecialChar LaTeX
6324 , por lo que son muy precisas.
6325  La desventaja, como ya hemos dicho, es que son imágenes mapa de bits, por
6326  lo que no se redimensionan nada bien y no se pueden copiar, etc.
6327  
6328 \begin_inset Newline newline
6329 \end_inset
6330
6331 El tamaño de las imágenes se puede controlar estableciendo el parámetro
6332  
6333 \begin_inset Quotes cld
6334 \end_inset
6335
6336 Escala de imágenes de ecuaciones
6337 \begin_inset Quotes crd
6338 \end_inset
6339
6340  en 
6341 \begin_inset Flex Noun
6342 status collapsed
6343
6344 \begin_layout Plain Layout
6345 Documento\SpecialChar menuseparator
6346 Configuración\SpecialChar menuseparator
6347 Formats
6348 \end_layout
6349
6350 \end_inset
6351
6352 .
6353  
6354 \begin_inset Foot
6355 status collapsed
6356
6357 \begin_layout Plain Layout
6358 Por si interesa: esto controla la resolución de la imagen en puntos por
6359  pulgada, y se basa en un valor inicial de 75 ppp.
6360 \end_layout
6361
6362 \end_inset
6363
6364
6365 \begin_inset Newline newline
6366 \end_inset
6367
6368 Si, por alguna razón, \SpecialChar LyX
6369  falla al crear una imagen para una ecuación (p.
6370 \begin_inset space ~
6371 \end_inset
6372
6373 ej., si no está instalado un paquete \SpecialChar LaTeX
6374  requerido), generará la salida en \SpecialChar LaTeX
6375
6376  puro.
6377 \end_layout
6378
6379 \begin_layout Itemize
6380 \SpecialChar LaTeX
6381
6382 \begin_inset Newline newline
6383 \end_inset
6384
6385 Para acabar, \SpecialChar LyX
6386  generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6387 .
6388  Siendo la solución de último recurso, este método puede usarse con herramientas
6389  como 
6390 \begin_inset CommandInset href
6391 LatexCommand href
6392 name "jsMath"
6393 target "http://www.math.union.edu/~dpvc/jsMath/"
6394 literal "false"
6395
6396 \end_inset
6397
6398 , que usa JavaScript para insertar \SpecialChar LaTeX
6399  en documentos HTML.
6400  \SpecialChar LyX
6401  envuelve el \SpecialChar LaTeX
6402  en un 
6403 \begin_inset Flex Code
6404 status collapsed
6405
6406 \begin_layout Plain Layout
6407 span
6408 \end_layout
6409
6410 \end_inset
6411
6412  (para fórmulas en línea) o en un 
6413 \begin_inset Flex Code
6414 status collapsed
6415
6416 \begin_layout Plain Layout
6417 div
6418 \end_layout
6419
6420 \end_inset
6421
6422  (para fórmulas presentadas) con 
6423 \begin_inset Flex Code
6424 status collapsed
6425
6426 \begin_layout Plain Layout
6427 class='math'
6428 \end_layout
6429
6430 \end_inset
6431
6432 , tal como requiere jsMath.
6433 \end_layout
6434
6435 \begin_layout Standard
6436 Debemos seleccionar uno de estos métodos en 
6437 \begin_inset Flex Noun
6438 status collapsed
6439
6440 \begin_layout Plain Layout
6441 Documento\SpecialChar menuseparator
6442 Configuración\SpecialChar menuseparator
6443 Formats
6444 \end_layout
6445
6446 \end_inset
6447
6448 .
6449  Por omisión, \SpecialChar LyX
6450  genera MathML.
6451  Se trata de una configuración para todo el documento.
6452 \end_layout
6453
6454 \begin_layout Standard
6455 Eventualmente, \SpecialChar LyX
6456  ofrecerá al usuario la opción de seleccionar un método alternati
6457 vo para algún recuadro en particular, en el caso de que no se procese adecuadame
6458 nte con MathML.
6459 \begin_inset Foot
6460 status collapsed
6461
6462 \begin_layout Plain Layout
6463 Dicho esto, como \SpecialChar LyX
6464  recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6465 , es
6466  posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6467  inocuo en la
6468  ecuación, por ejemplo 
6469 \begin_inset Formula $a=b\relax$
6470 \end_inset
6471
6472 .
6473 \end_layout
6474
6475 \end_inset
6476
6477
6478 \end_layout
6479
6480 \begin_layout Section
6481 Bibliografía y citas
6482 \end_layout
6483
6484 \begin_layout Standard
6485 XHTML soporta totalmente bibliografías y citas.
6486 \end_layout
6487
6488 \begin_layout Standard
6489 Las etiquetas de citas se generan con el mismo mecanismo que genera las
6490  etiquetas en la pantalla de \SpecialChar LyX
6491 , así que las etiquetas tendrán el mismo aspecto
6492  que en \SpecialChar LyX
6493 , o incluso mejor.
6494  Si se usan citas numeradas, \SpecialChar LyX
6495  generará etiquetas numeradas, como [1], [17],
6496  en vez de mostrar las claves de las citas entre corchetes, como hace en
6497  pantalla.
6498  Si se usan citas autor-año, \SpecialChar LyX
6499  añadirá letras minúsculas a los años, como
6500  hace Bib\SpecialChar TeX
6501 , si encuentra más de una cita para una combinación dada autor-año.
6502  Las etiquetas se imprimirán con las entradas bibliográficas.
6503  Hay que advertir que, por el momento, no hay forma de personalizar el aspecto
6504  de las etiquetas, por ejemplo para elegir entre corchetes o paréntesis.
6505 \end_layout
6506
6507 \begin_layout Standard
6508 Para la salida de la bibliografía interviene el mismo mecanismo que maneja
6509  la presentación de la información de las referencias en el diálogo de citas,
6510  de modo que se verán en XHTML como se ven en el diálogo de citas.
6511  El formato se puede personalizar en un archivo de usuario o, preferiblemente,
6512  en un módulo.
6513  Véase el manual 
6514 \emph on
6515 Personalización
6516 \emph default
6517  para más detalles.
6518 \end_layout
6519
6520 \begin_layout Standard
6521 El defecto principal en estos momentos es que la información de las referencias
6522  cruzadas se imprime junto con cada entrada con la que está asociada.
6523  Entonces, puedes ver cosas como estas:
6524 \end_layout
6525
6526 \begin_layout Quote
6527 Jason Stanley, 
6528 \begin_inset Quotes eld
6529 \end_inset
6530
6531 Context and Logical Form
6532 \begin_inset Quotes erd
6533 \end_inset
6534
6535 , in 
6536 \emph on
6537 Language in Context: Selected Essays
6538 \emph default
6539  (Oxford: Oxford University Press, 2007), pp.
6540  30–68.
6541 \end_layout
6542
6543 \begin_layout Quote
6544 Jason Stanley, 
6545 \begin_inset Quotes eld
6546 \end_inset
6547
6548 Semantics in Context
6549 \begin_inset Quotes erd
6550 \end_inset
6551
6552 , in 
6553 \emph on
6554 Language in Context: Selected Essays
6555 \emph default
6556  (Oxford: Oxford University Press, 2007), pp.
6557  201–30.
6558 \end_layout
6559
6560 \begin_layout Standard
6561 Esto debería estar pronto solucionado.
6562 \end_layout
6563
6564 \begin_layout Standard
6565 De momento no hay soporte para bibliografías por secciones.
6566  Si tienes múltiples bibliografías, \SpecialChar LyX
6567  imprimirá la misma una y otra vez.
6568 \end_layout
6569
6570 \begin_layout Section
6571 Índices
6572 \end_layout
6573
6574 \begin_layout Standard
6575 Afortunadamente, \SpecialChar LyX
6576  exportará los índices como XHTML, aunque con ciertas limitacio
6577 nes, por el momento.
6578 \end_layout
6579
6580 \begin_layout Standard
6581 La exportación de índices será más fiable si no intentas usar las elegantes
6582  estructuras que se describen en la sección sobre índices de ls 
6583 \emph on
6584 Guía del usuario
6585 \emph default
6586 .
6587 \begin_inset Foot
6588 status collapsed
6589
6590 \begin_layout Plain Layout
6591 La cuestión principal es que \SpecialChar LyX
6592  no maneja esto por sí mismo.
6593  Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6594  puro.
6595 \end_layout
6596
6597 \end_inset
6598
6599  Describiremos cómo se manejan usando los encabezados de subsección de esta
6600  sección.
6601 \end_layout
6602
6603 \begin_layout Itemize
6604 Agrupación de entradas de índice (subentradas): \SpecialChar LyX
6605  se esfuerza en soportar
6606  esto, pero las entradas deben separarse por 
6607 \begin_inset Quotes cld
6608 \end_inset
6609
6610  ! 
6611 \begin_inset Quotes crd
6612 \end_inset
6613
6614 , es decir, debe haber espacios alrededor del signo de exclamación.
6615  Esto es porque de otra manera sería complicado comprobar puntos de exclamación
6616  escapados en matemáticas, etc.
6617 \end_layout
6618
6619 \begin_layout Itemize
6620 Rangos de páginas: no hay soporte para rangos de páginas, puesto que esto
6621  no tiene sentido en XHTML.
6622  En su lugar, solo se mostrarán dos entradas de índice, uno en cada extremo.
6623 \end_layout
6624
6625 \begin_layout Itemize
6626 Referencias cruzadas: no hay soporte para esto.
6627  Si \SpecialChar LyX
6628  encuentra una entrada de la forma 
6629 \begin_inset Quotes cld
6630 \end_inset
6631
6632 |see...
6633 \begin_inset Quotes crd
6634 \end_inset
6635
6636  la ignora y el resto lo considera como una entrada de índice ordinaria.
6637 \end_layout
6638
6639 \begin_layout Itemize
6640 Orden de las entradas de índice: \SpecialChar LyX
6641  no soporta maniobras para fijar el orden
6642  de las entradas.
6643  Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6644  tomando lo que sigue a @ como la entrada real.
6645  Por el momento \SpecialChar LyX
6646  no identifica la @ escapada, por tanto no intentes indexar
6647  direcciones de correo.
6648 \end_layout
6649
6650 \begin_layout Itemize
6651 Formato de entradas de índice: Se pueden formatear entradas mediante el
6652  diálogo de estilo del texto, o con otro método disponible en \SpecialChar LyX
6653 .
6654  No hay soporte para estructuras como 
6655 \begin_inset Quotes cld
6656 \end_inset
6657
6658 entrada|textbf
6659 \begin_inset Quotes crd
6660 \end_inset
6661
6662 .
6663  Si \SpecialChar LyX
6664  encuentra un símbolo de tubería, '|' en una entrada lo borrará, y todo
6665  lo que sigue.
6666 \end_layout
6667
6668 \begin_layout Itemize
6669 Índices múltiples: no hay soporte para esto.
6670  Todas las entradas de estos índices se imprimirán como un solo índice.
6671  Para evitar la impresión de varias versiones del índice, imprimiremos solo
6672  el índice principal, de modo que asegúrate de tener uno.
6673 \end_layout
6674
6675 \begin_layout Section
6676 Nomenclatura y glosario
6677 \end_layout
6678
6679 \begin_layout Standard
6680 Por ahora no hay soporte para glosarios.
6681  Añadirlo debería ser bastante trivial, y bienvenido.
6682 \end_layout
6683
6684 \begin_layout Chapter
6685 El servidor \SpecialChar LyX
6686
6687 \end_layout
6688
6689 \begin_layout Section
6690 Introducción
6691 \end_layout
6692
6693 \begin_layout Standard
6694 El 'servidor \SpecialChar LyX
6695 ' permite a otros programas comunicarse con \SpecialChar LyX
6696 , ejecutar comandos
6697  \SpecialChar LyX
6698  y recabar información sobre el estado interno de \SpecialChar LyX
6699 .
6700  Esto está dirigido solo a usuarios avanzados, quienes descubrirán su utilidad.
6701  Escribiendo al servidor, por ejemplo, los administradores de bibliografía,
6702  como JabRef, pueden dar 
6703 \begin_inset Quotes cld
6704 \end_inset
6705
6706 empuje
6707 \begin_inset Quotes crd
6708 \end_inset
6709
6710  a las citas en \SpecialChar LyX
6711 .
6712 \end_layout
6713
6714 \begin_layout Section
6715 Iniciar el servidor \SpecialChar LyX
6716
6717 \begin_inset CommandInset label
6718 LatexCommand label
6719 name "sec:Iniciar-el-servidor"
6720
6721 \end_inset
6722
6723
6724 \end_layout
6725
6726 \begin_layout Standard
6727 El servidor \SpecialChar LyX
6728  funciona mediante el uso de un par de las denominadas tuberías.
6729  Estas se encuentran generalmente en 
6730 \begin_inset Flex Code
6731 status collapsed
6732
6733 \begin_layout Plain Layout
6734 UserDir
6735 \end_layout
6736
6737 \end_inset
6738
6739  (no en Windows, en donde las tuberías 
6740 \emph on
6741 locales 
6742 \emph default
6743 se ubican en 
6744 \begin_inset Flex Code
6745 status collapsed
6746
6747 \begin_layout Plain Layout
6748
6749 \backslash
6750
6751 \backslash
6752 .
6753 \backslash
6754 pipe
6755 \end_layout
6756
6757 \end_inset
6758
6759 ) con los nombres 
6760 \begin_inset Flex Code
6761 status collapsed
6762
6763 \begin_layout Plain Layout
6764 lyxpipe.in
6765 \end_layout
6766
6767 \end_inset
6768
6769  y 
6770 \begin_inset Flex Code
6771 status collapsed
6772
6773 \begin_layout Plain Layout
6774 lyxpipe.out
6775 \end_layout
6776
6777 \end_inset
6778
6779 .
6780  Los programas externos escriben en 
6781 \begin_inset Flex Code
6782 status collapsed
6783
6784 \begin_layout Plain Layout
6785 lyxpipe.in
6786 \end_layout
6787
6788 \end_inset
6789
6790  y leen datos de 
6791 \begin_inset Flex Code
6792 status collapsed
6793
6794 \begin_layout Plain Layout
6795 lyxpipe.out
6796 \end_layout
6797
6798 \end_inset
6799
6800 .
6801  La raíz de los nombres de las tuberías se puede definir en el diálogo 
6802 \family sans
6803 Herramientas\SpecialChar menuseparator
6804 Preferencias
6805 \family default
6806 , por ejemplo, 
6807 \begin_inset Flex Code
6808 status collapsed
6809
6810 \begin_layout Plain Layout
6811 "/home/myhome/lyxpipe"
6812 \end_layout
6813
6814 \end_inset
6815
6816  o 
6817 \begin_inset Flex Code
6818 status collapsed
6819
6820 \begin_layout Plain Layout
6821 "
6822 \backslash
6823
6824 \backslash
6825 .
6826 \backslash
6827 pipe
6828 \backslash
6829 lyxpipe"
6830 \end_layout
6831
6832 \end_inset
6833
6834  en Windows (donde se puede usar cualquier ruta en vez de lyxpipe, por ejemplo
6835  
6836 \begin_inset Flex Code
6837 status collapsed
6838
6839 \begin_layout Plain Layout
6840 "
6841 \backslash
6842
6843 \backslash
6844 .
6845 \backslash
6846 pipe
6847 \backslash
6848 my
6849 \backslash
6850 lyx
6851 \backslash
6852 pipe"
6853 \end_layout
6854
6855 \end_inset
6856
6857  debería funcionar).
6858  
6859 \emph on
6860 Debes
6861 \emph default
6862  configurar esto a mano para que arranque el servidor.
6863 \end_layout
6864
6865 \begin_layout Standard
6866 \SpecialChar LyX
6867  añadirá las extensiones '
6868 \begin_inset Flex Code
6869 status collapsed
6870
6871 \begin_layout Plain Layout
6872 .in
6873 \end_layout
6874
6875 \end_inset
6876
6877 ' y '
6878 \begin_inset Flex Code
6879 status collapsed
6880
6881 \begin_layout Plain Layout
6882 .out
6883 \end_layout
6884
6885 \end_inset
6886
6887 ' para crear las tuberías.
6888  Si alguna de ellas ya existe, \SpecialChar LyX
6889  asumirá que se está ejecutando otro proceso
6890  y no iniciará el servidor.
6891  Esto significa que si \SpecialChar LyX
6892  se bloquea, o si por alguna otra razón queda una
6893  tubería 
6894 \begin_inset Quotes cld
6895 \end_inset
6896
6897 vieja
6898 \begin_inset Quotes crd
6899 \end_inset
6900
6901  cuando \SpecialChar LyX
6902  se cierra, entonces \SpecialChar LyX
6903  no iniciará el servidor.
6904  (Bug 641).
6905  Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
6906 .
6907 \end_layout
6908
6909 \begin_layout Standard
6910 Para tener al mismo tiempo varios procesos con servidores hay que usar diferente
6911 s configuraciones, quizás usando distintos directorios de usuario, cada
6912  uno con su propio archivo 
6913 \begin_inset Flex Code
6914 status collapsed
6915
6916 \begin_layout Plain Layout
6917 preferences
6918 \end_layout
6919
6920 \end_inset
6921
6922  para cada proceso.
6923 \end_layout
6924
6925 \begin_layout Standard
6926 Si estás desarrollando un programa cliente, podría ser útil activar la informaci
6927 ón de depuración del servidor de \SpecialChar LyX
6928 .
6929  Esto se hace iniciando \SpecialChar LyX
6930  con 
6931 \begin_inset Flex Code
6932 status collapsed
6933
6934 \begin_layout Plain Layout
6935 lyx -dbg lyxserver
6936 \end_layout
6937
6938 \end_inset
6939
6940 .
6941 \end_layout
6942
6943 \begin_layout Standard
6944 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribució
6945 n fuente como 
6946 \begin_inset Flex Code
6947 status collapsed
6948
6949 \begin_layout Plain Layout
6950 development/lyxserver/server_monitor.cpp
6951 \end_layout
6952
6953 \end_inset
6954
6955 .
6956 \end_layout
6957
6958 \begin_layout Standard
6959 Otra herramienta útil es el cliente en línea de comandos 
6960 \begin_inset Flex Code
6961 status collapsed
6962
6963 \begin_layout Plain Layout
6964 src/client/lyxclient
6965 \end_layout
6966
6967 \end_inset
6968
6969 .
6970 \end_layout
6971
6972 \begin_layout Section
6973 Comunicación normal
6974 \end_layout
6975
6976 \begin_layout Standard
6977 Para emitir una llamada a \SpecialChar LyX
6978 , el cliente escribe una línea de texto ASCII
6979  en la tubería de entrada.
6980  Esta línea tiene el siguiente formato:
6981 \end_layout
6982
6983 \begin_layout Quote
6984 LYXCMD:
6985 \emph on
6986 clientname
6987 \emph default
6988 :
6989 \emph on
6990 function
6991 \emph default
6992 :
6993 \emph on
6994 argument
6995 \end_layout
6996
6997 \begin_layout Description
6998 clientname es un nombre que el cliente puede escoger arbitrariamente.
6999  Su única función es que \SpecialChar LyX
7000  lo repetirá si envía una respuesta —así un cliente
7001  puede enviar resultados desde diferentes solicitantes.
7002 \end_layout
7003
7004 \begin_layout Description
7005 function es la función que quieres que \SpecialChar LyX
7006  lleve a cabo.
7007  Es lo mismo que los comandos que usarías en el minibúfer.
7008 \end_layout
7009
7010 \begin_layout Description
7011 argument es un argumento opcional que solo es significativo para ciertas
7012  funciones (por ejemplo, la función LFUN 
7013 \begin_inset Quotes cld
7014 \end_inset
7015
7016 self-insert
7017 \begin_inset Quotes crd
7018 \end_inset
7019
7020  insertará el argumento como texto en la posición del cursor).
7021 \end_layout
7022
7023 \begin_layout Standard
7024 La respuesta de \SpecialChar LyX
7025  llegará en la tubería de salida y será de la forma
7026 \end_layout
7027
7028 \begin_layout Quote
7029 INFO:
7030 \emph on
7031 clientname
7032 \emph default
7033 :
7034 \emph on
7035 function
7036 \emph default
7037 :
7038 \emph on
7039 data
7040 \end_layout
7041
7042 \begin_layout Standard
7043 donde 
7044 \emph on
7045 clientname
7046 \emph default
7047  y 
7048 \emph on
7049 function
7050 \emph default
7051  solo son respuestas del comando solicitante, mientras que 
7052 \emph on
7053 data
7054 \emph default
7055  es información más o menos útil sobre cómo ha funcionado la ejecución del
7056  comando.
7057  Algunos comandos, tales como 
7058 \begin_inset Quotes cld
7059 \end_inset
7060
7061 font-state
7062 \begin_inset Quotes crd
7063 \end_inset
7064
7065 , devolverán información sobre el estado interno de \SpecialChar LyX
7066 , mientras que otros
7067  devolverán una respuesta vacía.
7068  Esto significa que la ejecución del comando fue correcta.
7069 \end_layout
7070
7071 \begin_layout Standard
7072 En caso de errores la respuesta de \SpecialChar LyX
7073  será de la forma
7074 \end_layout
7075
7076 \begin_layout Quote
7077 ERROR:
7078 \emph on
7079 clientname
7080 \emph default
7081 :
7082 \emph on
7083 function
7084 \emph default
7085 :
7086 \emph on
7087 error message
7088 \end_layout
7089
7090 \begin_layout Standard
7091 donde el 
7092 \emph on
7093 error message
7094 \emph default
7095  debería contener una explicación de por qué falló el comando.
7096 \end_layout
7097
7098 \begin_layout Standard
7099 Ejemplos:
7100 \end_layout
7101
7102 \begin_layout LyX-Code
7103 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7104 \end_layout
7105
7106 \begin_layout LyX-Code
7107 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7108 \begin_inset Newline newline
7109 \end_inset
7110
7111 read a <~/.lyxpipe.out
7112 \begin_inset Newline newline
7113 \end_inset
7114
7115 echo $a
7116 \end_layout
7117
7118 \begin_layout Subsection
7119 AppleScript (Mac OS X)
7120 \end_layout
7121
7122 \begin_layout Standard
7123 Desde \SpecialChar LyX
7124  2.1, \SpecialChar LyX
7125  soporta interacciones básicas con AppleScript para comunicación
7126  normal mediante el comando run.
7127  Este comando toma un argumento directo (la 
7128 \series bold
7129 function
7130 \series default
7131  a realizar) y un argumento opcional.
7132  Devuelve la salida de la función o desencadena un error con un mensaje
7133  y el código.
7134 \end_layout
7135
7136 \begin_layout Standard
7137 Ejemplo:
7138 \end_layout
7139
7140 \begin_layout LyX-Code
7141 tell application "\SpecialChar LyX
7142 "
7143 \end_layout
7144
7145 \begin_layout LyX-Code
7146   try
7147 \end_layout
7148
7149 \begin_layout LyX-Code
7150     -- Stores the current file name into f
7151 \end_layout
7152
7153 \begin_layout LyX-Code
7154     set f to (run "server-get-filename" with argument "")
7155 \end_layout
7156
7157 \begin_layout LyX-Code
7158     on error the error_message number the error_number
7159 \end_layout
7160
7161 \begin_layout LyX-Code
7162       display dialog "Error: " & the error_number & ".
7163  " ¬
7164 \end_layout
7165
7166 \begin_layout LyX-Code
7167               & the error_message buttons {"OK"} default button 1
7168 \end_layout
7169
7170 \begin_layout LyX-Code
7171   end try
7172 \end_layout
7173
7174 \begin_layout LyX-Code
7175 end tell
7176 \end_layout
7177
7178 \begin_layout Section
7179 Notificación
7180 \end_layout
7181
7182 \begin_layout Standard
7183 \SpecialChar LyX
7184  puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7185  Actualmente solo lo hará si el usuario liga una secuencia de teclas a la
7186  función 
7187 \begin_inset Quotes cld
7188 \end_inset
7189
7190 notify
7191 \begin_inset Quotes crd
7192 \end_inset
7193
7194 .
7195  El formato de la cadena que envía \SpecialChar LyX
7196  es como sigue:
7197 \end_layout
7198
7199 \begin_layout Quote
7200 \begin_inset Flex Code
7201 status collapsed
7202
7203 \begin_layout Plain Layout
7204 NOTIFY:
7205 \end_layout
7206
7207 \end_inset
7208
7209
7210 \emph on
7211 key-sequence
7212 \end_layout
7213
7214 \begin_layout Standard
7215 donde 
7216 \emph on
7217 key-sequence
7218 \emph default
7219  es la representación impresa de la secuencia de teclas que fue realmente
7220  tecleada por el usuario.
7221 \end_layout
7222
7223 \begin_layout Standard
7224 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de
7225  \SpecialChar LyX
7226  e implementar macros.
7227  Asocia alguna secuencia de teclas a 
7228 \begin_inset Quotes cld
7229 \end_inset
7230
7231 notify
7232 \begin_inset Quotes crd
7233 \end_inset
7234
7235 .
7236  Después inicia un cliente que escucha en la tubería de salida, envía el
7237  comando acorde con la secuencia e inicia una función que pueda usar llamadas
7238  y solicitudes a \SpecialChar LyX
7239  para emitir un comando o una serie de comandos a \SpecialChar LyX
7240 .
7241 \end_layout
7242
7243 \begin_layout Section
7244 El sencillo protocolo del servidor \SpecialChar LyX
7245
7246 \end_layout
7247
7248 \begin_layout Standard
7249 \SpecialChar LyX
7250  implementa un protocolo sencillo que puede utilizarse para administrar
7251  sesiones.
7252  Todos los mensajes son de la forma
7253 \end_layout
7254
7255 \begin_layout Quote
7256 LYXSRV:
7257 \emph on
7258 clientname
7259 \emph default
7260 :
7261 \emph on
7262 protocol message
7263 \end_layout
7264
7265 \begin_layout Standard
7266 donde 
7267 \emph on
7268 protocol message
7269 \emph default
7270  puede ser 
7271 \begin_inset Quotes cld
7272 \end_inset
7273
7274 hello
7275 \begin_inset Quotes crd
7276 \end_inset
7277
7278  o 
7279 \begin_inset Quotes cld
7280 \end_inset
7281
7282 bye
7283 \begin_inset Quotes crd
7284 \end_inset
7285
7286 .
7287  Si se recibe 
7288 \begin_inset Quotes cld
7289 \end_inset
7290
7291 hello
7292 \begin_inset Quotes crd
7293 \end_inset
7294
7295  de un cliente, \SpecialChar LyX
7296  devolverá información al cliente de que está escuchando
7297  sus mensajes, mientras que 
7298 \begin_inset Quotes cld
7299 \end_inset
7300
7301 bye
7302 \begin_inset Quotes crd
7303 \end_inset
7304
7305  enviado desde \SpecialChar LyX
7306  informará a los clientes que \SpecialChar LyX
7307  se ha cerrado.
7308 \end_layout
7309
7310 \begin_layout Section
7311 Búsqueda inversa DVI/PDF
7312 \end_layout
7313
7314 \begin_layout Standard
7315 Algunos visores DVI/PDF
7316 \begin_inset Foot
7317 status collapsed
7318
7319 \begin_layout Plain Layout
7320 Okular en KDE/Linux, Qpdfview en Unix, Skim en Mac OSX y SumatraPDF en Windows.
7321 \end_layout
7322
7323 \end_inset
7324
7325  ofrecen la posibilidad de 
7326 \emph on
7327 búsqueda inversa
7328 \emph default
7329 .
7330  Esto quiere decir que puedes indicar a \SpecialChar LyX
7331  que coloque el cursor en una línea
7332  determinada en el documento haciendo clic en la posición correspondiente
7333  en la salida DVI/PDF.
7334  Para ello, el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7335 .
7336  Esto se consigue mediante el servidor \SpecialChar LyX
7337  usando la tubería (
7338 \emph on
7339 lyxpipe
7340 \emph default
7341 ) o el zócalo de dominio UNIX (
7342 \emph on
7343 lyxsocket
7344 \emph default
7345 ) que \SpecialChar LyX
7346  crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7347  se comunica
7348  con el programa 
7349 \begin_inset Flex Code
7350 status collapsed
7351
7352 \begin_layout Plain Layout
7353 lyxclient
7354 \end_layout
7355
7356 \end_inset
7357
7358 .
7359  En algunos casos, hará falta un guión de apoyo que medie entre el visor
7360  y \SpecialChar LyX
7361 , en otros, el visor se podrá comunicar directamente con \SpecialChar LyX
7362 .
7363  Esto depende del visor seleccionado y del sistema operativo.
7364  Lo mismo es aplicable a la forma en que los visores deben configurarse
7365  y la forma en que la búsqueda inversa se lleva a cabo realmente.
7366  En lo que sigue, describiremos cómo se configura la búsqueda en visores
7367  determinados.
7368  Antes, sin embargo, explicamos lo que hay que hacer en general para habilitar
7369  la búsqueda inversa en el DVI/PDF.
7370 \end_layout
7371
7372 \begin_layout Subsection
7373 Activación automática
7374 \begin_inset CommandInset label
7375 LatexCommand label
7376 name "subsec:Activación-automática"
7377
7378 \end_inset
7379
7380
7381 \end_layout
7382
7383 \begin_layout Standard
7384 En la mayoría de los casos \SpecialChar LyX
7385  funcionará 
7386 \lang english
7387 pressing the following button in the toolbar: 
7388 \begin_inset Info
7389 type  "icon"
7390 arg   "buffer-toggle-output-sync"
7391 \end_inset
7392
7393 .
7394  Alternatively, you can also enable the feature by checking 
7395 \family sans
7396 Synchronize with Output
7397 \family default
7398  in 
7399 \begin_inset Flex Noun
7400 status collapsed
7401
7402 \begin_layout Plain Layout
7403
7404 \lang english
7405 Document\SpecialChar menuseparator
7406 Settings\SpecialChar menuseparator
7407 Formats
7408 \end_layout
7409
7410 \end_inset
7411
7412
7413 \lang spanish
7414 En estos casos \SpecialChar LyX
7415  insertará automáticamente la macro 
7416 \begin_inset Flex Code
7417 status collapsed
7418
7419 \begin_layout Plain Layout
7420 Sync\SpecialChar TeX
7421
7422 \end_layout
7423
7424 \end_inset
7425
7426  (para PDF) o el paquete 
7427 \begin_inset Flex Code
7428 status collapsed
7429
7430 \begin_layout Plain Layout
7431 srcltx
7432 \end_layout
7433
7434 \end_inset
7435
7436  (para DVI).
7437  Esta opción está fácilmente disponible, además, en la barra de herramientas
7438  
7439 \begin_inset Flex Noun
7440 status collapsed
7441
7442 \begin_layout Plain Layout
7443 Ver/Actualizar
7444 \end_layout
7445
7446 \end_inset
7447
7448 .
7449 \end_layout
7450
7451 \begin_layout Standard
7452 Si necesitas una configuración diferente, puedes seleccionar o introducir
7453  una macro personalizada desde el cuadro desplegable bajo 
7454 \begin_inset Flex Noun
7455 status collapsed
7456
7457 \begin_layout Plain Layout
7458 Documento\SpecialChar menuseparator
7459 Configuración\SpecialChar menuseparator
7460 Salidas\SpecialChar menuseparator
7461 Sincronizar con salida
7462 \end_layout
7463
7464 \end_inset
7465
7466 .
7467 \end_layout
7468
7469 \begin_layout Standard
7470 El método 
7471 \begin_inset Flex Code
7472 status collapsed
7473
7474 \begin_layout Plain Layout
7475
7476 \backslash
7477 synctex=1
7478 \end_layout
7479
7480 \end_inset
7481
7482  activa compresión gzip.
7483  Si el visor no lo soporta, sería mejor usar 
7484 \begin_inset Flex Code
7485 status collapsed
7486
7487 \begin_layout Plain Layout
7488
7489 \backslash
7490 synctex=-1
7491 \end_layout
7492
7493 \end_inset
7494
7495 .
7496 \end_layout
7497
7498 \begin_layout Standard
7499 Advirtamos que la inclusión de los paquetes 
7500 \begin_inset Flex Code
7501 status collapsed
7502
7503 \begin_layout Plain Layout
7504 srcltx
7505 \end_layout
7506
7507 \end_inset
7508
7509  o 
7510 \begin_inset Flex Code
7511 status collapsed
7512
7513 \begin_layout Plain Layout
7514 src-specials
7515 \end_layout
7516
7517 \end_inset
7518
7519  puede tener a veces un impacto no deseado en la tipografía; entonces, si
7520  se usa alguno de dichos paquetes habría que desactivar la sincronización
7521  para la composición final.
7522 \end_layout
7523
7524 \begin_layout Standard
7525 En caso de necesitar otros ajustes más específicos no cubiertos por la configura
7526 ción automática, lee la sección siguiente sobre activación manual.
7527  Si la configuración automática cubre tus necesidades, puedes pasar directamente
7528  a la sección 
7529 \begin_inset CommandInset ref
7530 LatexCommand ref
7531 reference "subsec:Configuración-y-uso-de-visores"
7532
7533 \end_inset
7534
7535 , en la que se describen los pasos necesarios para configurar el visor —necesari
7536 os tanto para configuración automática como manual.
7537 \end_layout
7538
7539 \begin_layout Subsection
7540 Activación manual
7541 \end_layout
7542
7543 \begin_layout Standard
7544 \SpecialChar LaTeX
7545  proporciona varios métodos para la búsqueda inversa.
7546  Algunos son parte del programa 
7547 \begin_inset Flex Code
7548 status collapsed
7549
7550 \begin_layout Plain Layout
7551 latex/pdflatex
7552 \end_layout
7553
7554 \end_inset
7555
7556 , otros forman parte de paquetes externos.
7557  La elección depende de si la distribución \SpecialChar LaTeX
7558  instalada ya proporciona un
7559  método (los métodos incorporados son bastante nuevos) y si el visor a usar
7560  puede enfrentarse a este.
7561  Describimos a continuación los métodos disponibles.
7562 \end_layout
7563
7564 \begin_layout Subsubsection*
7565 Buscador DVI incorporado vía src-specials (solo DVI)
7566 \end_layout
7567
7568 \begin_layout Standard
7569 Este método proporciona el archivo DVI con la información necesaria para
7570  realizar búsqueda inversa.
7571  Está disponible en \SpecialChar LaTeX
7572  desde hace tiempo (cualquier distribución reciente
7573  lo debe incluir) y es fiable.
7574  Para habilitarlo, cambia el convertidor 
7575 \begin_inset Flex Code
7576 status collapsed
7577
7578 \begin_layout Plain Layout
7579 LaTeX (plain)->DVI
7580 \end_layout
7581
7582 \end_inset
7583
7584  o 
7585 \begin_inset Flex Code
7586 status collapsed
7587
7588 \begin_layout Plain Layout
7589 LaTeX (plain)->DraftDVI
7590 \end_layout
7591
7592 \end_inset
7593
7594  en 
7595 \begin_inset Flex Noun
7596 status collapsed
7597
7598 \begin_layout Plain Layout
7599 Herramientas\SpecialChar menuseparator
7600 Preferencias\SpecialChar menuseparator
7601 Gestión de archivos\SpecialChar menuseparator
7602 Convertidores
7603 \end_layout
7604
7605 \end_inset
7606
7607  por 
7608 \begin_inset Flex Code
7609 status collapsed
7610
7611 \begin_layout Plain Layout
7612 latex -src-specials $$i
7613 \end_layout
7614
7615 \end_inset
7616
7617 .
7618  Si no funciona, comprueba si tu maquinaria \SpecialChar TeX
7619  necesita opciones diferentes
7620  (la sintaxis podría diferir en algunas distribuciones).
7621 \end_layout
7622
7623 \begin_layout Subsubsection*
7624 Paquetes externos (PDFSync y srcltx)
7625 \end_layout
7626
7627 \begin_layout Standard
7628 Los paquetes 
7629 \begin_inset Flex Code
7630 status collapsed
7631
7632 \begin_layout Plain Layout
7633 PDFSync
7634 \end_layout
7635
7636 \end_inset
7637
7638  y 
7639 \begin_inset Flex Code
7640 status collapsed
7641
7642 \begin_layout Plain Layout
7643 srcltx
7644 \end_layout
7645
7646 \end_inset
7647
7648  proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7649  respectivamente.
7650  Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7651 :
7652 \end_layout
7653
7654 \begin_layout Itemize
7655 \begin_inset Flex Code
7656 status collapsed
7657
7658 \begin_layout Plain Layout
7659
7660 \backslash
7661 usepackage{pdfsync}
7662 \end_layout
7663
7664 \end_inset
7665
7666  para búsqueda inversa en PDF
7667 \end_layout
7668
7669 \begin_layout Itemize
7670 \begin_inset Flex Code
7671 status collapsed
7672
7673 \begin_layout Plain Layout
7674
7675 \backslash
7676 usepackage[active]{srcltx}
7677 \end_layout
7678
7679 \end_inset
7680
7681  para búsqueda inversa en DVI
7682 \end_layout
7683
7684 \begin_layout Standard
7685 Para habilitar el uso de ambos inserta las siguientes líneas:
7686 \end_layout
7687
7688 \begin_layout LyX-Code
7689
7690 \backslash
7691 usepackage{ifpdf}
7692 \begin_inset Newline newline
7693 \end_inset
7694
7695
7696 \backslash
7697 ifpdf
7698 \begin_inset Newline newline
7699 \end_inset
7700
7701   
7702 \backslash
7703 usepackage{pdfsync}
7704 \begin_inset Newline newline
7705 \end_inset
7706
7707
7708 \backslash
7709 else
7710 \begin_inset Newline newline
7711 \end_inset
7712
7713   
7714 \backslash
7715 usepackage[active]{srcltx}
7716 \begin_inset Newline newline
7717 \end_inset
7718
7719
7720 \backslash
7721 fi
7722 \end_layout
7723
7724 \begin_layout Standard
7725 Así, el archivo se puede ver tanto como DVI como PDF (pdflatex), usando
7726  el paquete adecuado.
7727 \end_layout
7728
7729 \begin_layout Standard
7730 Advirtamos que PDFSync podría afectar el formato de salida del documento.
7731  Por eso es conveniente deshabilitar PDFSync para componer el documento
7732  final.
7733 \end_layout
7734
7735 \begin_layout Subsubsection*
7736 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
7737  (DVI y PDF)
7738 \end_layout
7739
7740 \begin_layout Standard
7741 Las recientes versiones de 
7742 \begin_inset Flex Code
7743 status collapsed
7744
7745 \begin_layout Plain Layout
7746 (pdf)latex
7747 \end_layout
7748
7749 \end_inset
7750
7751  incorporan soporte para búsqueda inversa en PDF y DVI.
7752  La instalación llamada 
7753 \emph on
7754 Sync\SpecialChar TeX
7755
7756 \emph default
7757  es básicamente el resultado de integrar el paquete PDFSync en pdftex y
7758  su fusión con el enfoque 
7759 \emph on
7760 src-specials
7761 \emph default
7762 .
7763  Para usarla hace falta al menos \SpecialChar TeX
7764 Live 2008 o una distribución Mik\SpecialChar TeX
7765  reciente.
7766  Además, solo unos pocos visores PDF (
7767 \lang english
7768 such as 
7769 \lang spanish
7770 Okular y Qpdfview en Unix, Skim en Mac, SumatraPDF en Windows
7771 \lang english
7772 ; see the next section for details
7773 \lang spanish
7774 ) proporcionan por ahora soporte para Sync\SpecialChar TeX
7775 .
7776 \end_layout
7777
7778 \begin_layout Standard
7779 Para activar Sync\SpecialChar TeX
7780  en DVI, cambia el convertidor 
7781 \begin_inset Flex Code
7782 status collapsed
7783
7784 \begin_layout Plain Layout
7785 LaTeX (plain) -> DVI
7786 \end_layout
7787
7788 \end_inset
7789
7790  o 
7791 \begin_inset Flex Code
7792 status collapsed
7793
7794 \begin_layout Plain Layout
7795 LaTeX (plain) -> DraftDVI
7796 \end_layout
7797
7798 \end_inset
7799
7800  en 
7801 \begin_inset Flex Noun
7802 status collapsed
7803
7804 \begin_layout Plain Layout
7805 Herramientas\SpecialChar menuseparator
7806 Preferencias\SpecialChar menuseparator
7807 Gestión de archivos\SpecialChar menuseparator
7808 Convertidores
7809 \end_layout
7810
7811 \end_inset
7812
7813  por 
7814 \begin_inset Flex Code
7815 status collapsed
7816
7817 \begin_layout Plain Layout
7818 latex -synctex=1 $$i
7819 \end_layout
7820
7821 \end_inset
7822
7823 , y para PDF cambia 
7824 \begin_inset Flex Code
7825 status collapsed
7826
7827 \begin_layout Plain Layout
7828 LaTeX (pdflatex) -> PDF (pdflatex)
7829 \end_layout
7830
7831 \end_inset
7832
7833  por 
7834 \begin_inset Flex Code
7835 status collapsed
7836
7837 \begin_layout Plain Layout
7838 pdflatex -synctex=1 $$i
7839 \end_layout
7840
7841 \end_inset
7842
7843 .
7844  
7845 \lang english
7846 Should your viewer not be considered in the following description, or in
7847  case of missing success, please 
7848 \lang spanish
7849 consulta en la documentación de tu visor si necesita ser configurado para
7850  usarlo con Sync\SpecialChar TeX
7851 .
7852 \begin_inset Foot
7853 status collapsed
7854
7855 \begin_layout Plain Layout
7856 La opción 
7857 \begin_inset Flex Code
7858 status collapsed
7859
7860 \begin_layout Plain Layout
7861 -synctex=1
7862 \end_layout
7863
7864 \end_inset
7865
7866  permite compresión gzip.
7867  Si el visor no lo soporta, entonces usa 
7868 \begin_inset Flex Code
7869 status collapsed
7870
7871 \begin_layout Plain Layout
7872 -synctex=-1
7873 \end_layout
7874
7875 \end_inset
7876
7877 .
7878 \end_layout
7879
7880 \end_inset
7881
7882
7883 \end_layout
7884
7885 \begin_layout Subsection
7886 Configuración y uso de visores específicos
7887 \begin_inset CommandInset label
7888 LatexCommand label
7889 name "subsec:Configuración-y-uso-de-visores"
7890
7891 \end_inset
7892
7893
7894 \end_layout
7895
7896 \begin_layout Subsubsection*
7897 Xdvi (todas las plataformas)
7898 \end_layout
7899
7900 \begin_layout Standard
7901 Si usas 
7902 \begin_inset Flex Code
7903 status collapsed
7904
7905 \begin_layout Plain Layout
7906 xdvi
7907 \end_layout
7908
7909 \end_inset
7910
7911  no necesitas hacer nada para utilizar la búsqueda inversa en DVI, ya que
7912  \SpecialChar LyX
7913  proporciona los ganchos necesarios para usar automáticamente el programa
7914  
7915 \begin_inset Flex Code
7916 status collapsed
7917
7918 \begin_layout Plain Layout
7919 lyxclient
7920 \end_layout
7921
7922 \end_inset
7923
7924 .
7925  Basta con configurar tu documento como se describió antes (la búsqueda
7926  inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
7927 \end_layout
7928
7929 \begin_layout Standard
7930 Sin embargo, si por la razón que sea quieres usar la tubería en vez del
7931  zócalo para comunicar con \SpecialChar LyX
7932 , simplemente cambia el visor DVI en 
7933 \begin_inset Flex Noun
7934 status collapsed
7935
7936 \begin_layout Plain Layout
7937 Herramientas\SpecialChar menuseparator
7938 Preferencias\SpecialChar menuseparator
7939 Gestión de archivos\SpecialChar menuseparator
7940 Formatos de archivo
7941 \end_layout
7942
7943 \end_inset
7944
7945  a 
7946 \begin_inset Flex Code
7947 status collapsed
7948
7949 \begin_layout Plain Layout
7950 xdvi -editor "lyxeditor.sh %f %l"
7951 \end_layout
7952
7953 \end_inset
7954
7955 ,
7956 \begin_inset Foot
7957 status collapsed
7958
7959 \begin_layout Plain Layout
7960 En Mac OSX hay que usar 
7961 \begin_inset Flex Code
7962 status collapsed
7963
7964 \begin_layout Plain Layout
7965 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
7966 \end_layout
7967
7968 \end_inset
7969
7970
7971 \end_layout
7972
7973 \end_inset
7974
7975  donde 
7976 \begin_inset Flex Code
7977 status collapsed
7978
7979 \begin_layout Plain Layout
7980 lyxeditor.sh
7981 \end_layout
7982
7983 \end_inset
7984
7985  es un guión apropiado.
7986  Por ejemplo, un mínimo guión de shell es el siguiente:
7987 \end_layout
7988
7989 \begin_layout LyX-Code
7990 #!/bin/sh
7991 \begin_inset Newline newline
7992 \end_inset
7993
7994 LYXPIPE="/ruta/a/lyxpipe"
7995 \begin_inset Newline newline
7996 \end_inset
7997
7998 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
7999 \begin_inset Newline newline
8000 \end_inset
8001
8002 echo "$COMMAND" > "${LYXPIPE}".in || exit
8003 \begin_inset Newline newline
8004 \end_inset
8005
8006 read TMP < "${LYXPIPE}".out || exit
8007 \end_layout
8008
8009 \begin_layout Standard
8010 donde 
8011 \begin_inset Flex Code
8012 status collapsed
8013
8014 \begin_layout Plain Layout
8015 /ruta/a/lyxpipe
8016 \end_layout
8017
8018 \end_inset
8019
8020  es la ruta de la tubería \SpecialChar LyX
8021 Server especificada en 
8022 \begin_inset Flex Noun
8023 status collapsed
8024
8025 \begin_layout Plain Layout
8026 Herramientas\SpecialChar menuseparator
8027 Preferencias\SpecialChar menuseparator
8028 Rutas
8029 \end_layout
8030
8031 \end_inset
8032
8033 .
8034 \begin_inset Foot
8035 status collapsed
8036
8037 \begin_layout Plain Layout
8038 En la carpeta 
8039 \begin_inset Flex Code
8040 status collapsed
8041
8042 \begin_layout Plain Layout
8043 development/tools
8044 \end_layout
8045
8046 \end_inset
8047
8048  de una distribución fuente puedes encontrar un guión 
8049 \begin_inset Flex Code
8050 status collapsed
8051
8052 \begin_layout Plain Layout
8053 lyxeditor
8054 \end_layout
8055
8056 \end_inset
8057
8058  que puede localizar 
8059 \size normal
8060 \emph on
8061 lyxpipe
8062 \emph default
8063  basado en tus preferencias.
8064 \end_layout
8065
8066 \end_inset
8067
8068
8069 \end_layout
8070
8071 \begin_layout Subsubsection*
8072 MacDviX (Mac OSX)
8073 \end_layout
8074
8075 \begin_layout Standard
8076 Al final de 
8077 \begin_inset Flex Code
8078 status collapsed
8079
8080 \begin_layout Plain Layout
8081 /Applications/MacDviX_Folder/calleditor.script
8082 \end_layout
8083
8084 \end_inset
8085
8086 , añade las líneas:
8087 \end_layout
8088
8089 \begin_layout LyX-Code
8090 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8091 \begin_inset Newline newline
8092 \end_inset
8093
8094 exit 1
8095 \end_layout
8096
8097 \begin_layout Standard
8098 Modifica las líneas si \SpecialChar LyX
8099  está instalado en algún otro lugar distinto de la
8100  carpeta 'Applications'.
8101 \end_layout
8102
8103 \begin_layout Standard
8104 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8105 \end_layout
8106
8107 \begin_layout Subsubsection*
8108 Skim (Mac OSX)
8109 \end_layout
8110
8111 \begin_layout Standard
8112 Introduce 
8113 \begin_inset Flex Code
8114 status collapsed
8115
8116 \begin_layout Plain Layout
8117 open -a Skim.app $$i
8118 \end_layout
8119
8120 \end_inset
8121
8122  en la configuración del visor en 
8123 \begin_inset Flex Noun
8124 status collapsed
8125
8126 \begin_layout Plain Layout
8127 Herramientas\SpecialChar menuseparator
8128 Preferencias\SpecialChar menuseparator
8129 Gestión de archivos\SpecialChar menuseparator
8130 PDF (pdflatex)
8131 \end_layout
8132
8133 \end_inset
8134
8135 , y luego en 
8136 \begin_inset Flex Code
8137 status collapsed
8138
8139 \begin_layout Plain Layout
8140 Skim\SpecialChar menuseparator
8141 Preferences\SpecialChar menuseparator
8142 Sync
8143 \end_layout
8144
8145 \end_inset
8146
8147  selecciona \SpecialChar LyX
8148 .
8149 \end_layout
8150
8151 \begin_layout Standard
8152 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8153 \end_layout
8154
8155 \begin_layout Subsubsection*
8156 Okular (KDE)
8157 \end_layout
8158
8159 \begin_layout Standard
8160 En 
8161 \begin_inset Flex Noun
8162 status collapsed
8163
8164 \begin_layout Plain Layout
8165 Configurar\SpecialChar menuseparator
8166 Configurar Okular\SpecialChar menuseparator
8167 Editor
8168 \end_layout
8169
8170 \end_inset
8171
8172 , selecciona 
8173 \lang english
8174 yX
8175 \begin_inset Quotes erd
8176 \end_inset
8177
8178  as editor.
8179  This inserts the appropriate
8180 \lang spanish
8181 .
8182
8183 \lang english
8184  This inserts the appropriate
8185 \lang spanish
8186  comando 
8187 \begin_inset Flex Code
8188 status collapsed
8189
8190 \begin_layout Plain Layout
8191 lyxclient -g %f %l
8192 \end_layout
8193
8194 \end_inset
8195
8196 .
8197 \end_layout
8198
8199 \begin_layout Standard
8200 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8201 \end_layout
8202
8203 \begin_layout Subsubsection*
8204 Qpdfview (Unix)
8205 \end_layout
8206
8207 \begin_layout Standard
8208 Qpdfview soporta Sync\SpecialChar TeX
8209  desde la versión 0.3.5.
8210  En 
8211 \begin_inset Flex Noun
8212 status collapsed
8213
8214 \begin_layout Plain Layout
8215 Editar\SpecialChar menuseparator
8216 Configuración\SpecialChar menuseparator
8217 Comportamiento
8218 \end_layout
8219
8220 \end_inset
8221
8222 , clic en el campo de entrada del 
8223 \begin_inset Quotes eld
8224 \end_inset
8225
8226 Editor de fuente
8227 \begin_inset Quotes erd
8228 \end_inset
8229
8230  y añade el comando 
8231 \begin_inset Flex Code
8232 status collapsed
8233
8234 \begin_layout Plain Layout
8235 lyxclient -g %1 %2
8236 \end_layout
8237
8238 \end_inset
8239
8240 .
8241 \end_layout
8242
8243 \begin_layout Standard
8244 La búsqueda inversa se lanza con doble clic.
8245 \end_layout
8246
8247 \begin_layout Subsubsection*
8248 YAP (Windows)
8249 \end_layout
8250
8251 \begin_layout Standard
8252 En yap, en el menú Ver Opciones marca 
8253 \begin_inset Quotes cld
8254 \end_inset
8255
8256 Búsqueda inversa DVI
8257 \begin_inset Quotes crd
8258 \end_inset
8259
8260 .
8261  Botón 
8262 \begin_inset Quotes cld
8263 \end_inset
8264
8265 Nuevo
8266 \begin_inset Quotes crd
8267 \end_inset
8268
8269  e introduce 
8270 \begin_inset Quotes cld
8271 \end_inset
8272
8273 \SpecialChar LyX
8274  editor
8275 \begin_inset Quotes crd
8276 \end_inset
8277
8278  en 
8279 \begin_inset Quotes cld
8280 \end_inset
8281
8282 Nombre
8283 \begin_inset Quotes crd
8284 \end_inset
8285
8286 .
8287  Abre el diálogo 
8288 \begin_inset Quotes cld
8289 \end_inset
8290
8291 ...
8292 \begin_inset Quotes crd
8293 \end_inset
8294
8295  y busca el archivo 
8296 \begin_inset Flex Code
8297 status collapsed
8298
8299 \begin_layout Plain Layout
8300 lyxeditor.bat
8301 \end_layout
8302
8303 \end_inset
8304
8305  (véase abajo).
8306  Selecciona 
8307 \begin_inset Flex Code
8308 status collapsed
8309
8310 \begin_layout Plain Layout
8311 lyxeditor.bat
8312 \end_layout
8313
8314 \end_inset
8315
8316 , con los argumentos %f %l.
8317 \end_layout
8318
8319 \begin_layout LyX-Code
8320 @echo off
8321 \begin_inset Newline newline
8322 \end_inset
8323
8324 echo LYXCMD:revdvi:server-goto-file-row:%1 %2> 
8325 \backslash
8326
8327 \backslash
8328 .
8329 \backslash
8330 pipe
8331 \backslash
8332 lyxpipe.in
8333 \begin_inset Newline newline
8334 \end_inset
8335
8336 type 
8337 \backslash
8338
8339 \backslash
8340 .
8341 \backslash
8342 pipe
8343 \backslash
8344 lyxpipe.out
8345 \end_layout
8346
8347 \begin_layout Standard
8348 Se lanza con doble clic.
8349 \end_layout
8350
8351 \begin_layout Subsubsection*
8352 SumatraPDF (Windows)
8353 \end_layout
8354
8355 \begin_layout Standard
8356 Introduce 
8357 \family typewriter
8358 SumatraPDF -inverse-search "lyxeditor.bat %f %l" 
8359 \family default
8360 en
8361 \family typewriter
8362  
8363 \family default
8364
8365 \begin_inset Flex Noun
8366 status collapsed
8367
8368 \begin_layout Plain Layout
8369 Herramientas\SpecialChar menuseparator
8370 Preferencias\SpecialChar menuseparator
8371 Gestión de archivos\SpecialChar menuseparator
8372 PDF (pdflatex)
8373 \end_layout
8374
8375 \end_inset
8376
8377 , donde 
8378 \family typewriter
8379 lyxeditor.bat es el anterior.
8380  Si SumatraPDF.exe
8381 \family default
8382  no está en la ruta de comandos usa su nombre completo.
8383 \end_layout
8384
8385 \begin_layout Standard
8386 Se inicia con doble clic.
8387 \end_layout
8388
8389 \begin_layout Subsubsection*
8390 YAP (Cygwin)
8391 \end_layout
8392
8393 \begin_layout Standard
8394 Si yap es el visor por defecto en Windows, ejecuta y elige 
8395 \family sans
8396 Ver Opciones
8397 \family default
8398  y 
8399 \begin_inset Quotes cld
8400 \end_inset
8401
8402 Búsqueda inversa DVI
8403 \begin_inset Quotes crd
8404 \end_inset
8405
8406 .
8407  En el botón 
8408 \begin_inset Quotes cld
8409 \end_inset
8410
8411 Nuevo...
8412 \begin_inset Quotes crd
8413 \end_inset
8414
8415  escribe 
8416 \begin_inset Quotes cld
8417 \end_inset
8418
8419 \SpecialChar LyX
8420  editor
8421 \begin_inset Quotes crd
8422 \end_inset
8423
8424  en el campo 
8425 \begin_inset Quotes cld
8426 \end_inset
8427
8428 Nombre
8429 \begin_inset Quotes crd
8430 \end_inset
8431
8432 .
8433  Ahora, en el botón 
8434 \begin_inset Quotes cld
8435 \end_inset
8436
8437 ...
8438 \begin_inset Quotes crd
8439 \end_inset
8440
8441  y navega hasta el directorio del ejecutable 
8442 \family typewriter
8443 lyxeditor.exe.
8444
8445 \family default
8446  Especifica los argumentos -g %f %l.
8447  Así, se usará el zócalo 
8448 \emph on
8449 lyxsocket
8450 \emph default
8451  para comunicar con \SpecialChar LyX
8452 .
8453  Si prefieres usar 
8454 \emph on
8455 lyxpipe
8456 \emph default
8457  omite -g y escribe la tubería \SpecialChar LyX
8458 Server en las preferencias de \SpecialChar LyX
8459 .
8460 \end_layout
8461
8462 \begin_layout Standard
8463 Se lanza con doble clic.
8464 \end_layout
8465
8466 \begin_layout Subsubsection*
8467 SumatraPDF (Cygwin)
8468 \end_layout
8469
8470 \begin_layout Standard
8471 En 
8472 \begin_inset Flex Noun
8473 status collapsed
8474
8475 \begin_layout Plain Layout
8476 Herramientas\SpecialChar menuseparator
8477 Preferencias\SpecialChar menuseparator
8478 Gestión de archivos\SpecialChar menuseparator
8479 PDF (pdflatex)
8480 \end_layout
8481
8482 \end_inset
8483
8484  introduce 
8485 \begin_inset Flex Code
8486 status collapsed
8487
8488 \begin_layout Plain Layout
8489 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8490 \end_layout
8491
8492 \end_inset
8493
8494  en la configuración del visor.
8495  Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa
8496  en el guión.
8497  La -g habilita comunicación vía 
8498 \emph on
8499 lyxsocket
8500 \emph default
8501 .
8502  Sin la -g, se usa 
8503 \emph on
8504 lyxpipe
8505 \emph default
8506 , y verifica la ruta de \SpecialChar LyX
8507 Server en las preferencias de \SpecialChar LyX
8508 .
8509 \end_layout
8510
8511 \begin_layout Standard
8512 Se inicia con doble clic.
8513 \end_layout
8514
8515 \begin_layout Section
8516 Búsqueda directa
8517 \end_layout
8518
8519 \begin_layout Standard
8520 La búsqueda directa, como su nombre indica, es en cierto sentido lo 
8521 \begin_inset Quotes cld
8522 \end_inset
8523
8524 opuesto
8525 \begin_inset Quotes crd
8526 \end_inset
8527
8528  a búsqueda inversa.
8529  Permite saltar a una posición determinada del documento en el visor desde
8530  dentro de \SpecialChar LyX
8531 .
8532  Si la búsqueda directa está habilitada (como se describe a continuación),
8533  puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8534  y, con el menú
8535  
8536 \family sans
8537 Navegar\SpecialChar menuseparator
8538 Búsqueda directa
8539 \family default
8540  (o seleccionando 
8541 \family sans
8542 Búsqueda directa
8543 \family default
8544  en el menú contextual mediante clic derecho), en el visor se mostrará esa
8545  misma posición.
8546  Esto implica, por supuesto, que el visor soporte esta función.
8547 \end_layout
8548
8549 \begin_layout Standard
8550 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF
8551  de salida información adicional sobre el código \SpecialChar TeX
8552 .
8553  Se puede hacer mediante los métodos descritos en la sección 
8554 \begin_inset CommandInset ref
8555 LatexCommand ref
8556 reference "subsec:Activación-automática"
8557
8558 \end_inset
8559
8560 .
8561 \end_layout
8562
8563 \begin_layout Standard
8564 Adicionalmente, hay que configurar \SpecialChar LyX
8565  para usar los visores en 
8566 \begin_inset Flex Noun
8567 status collapsed
8568
8569 \begin_layout Plain Layout
8570 Herramientas\SpecialChar menuseparator
8571 Preferencias\SpecialChar menuseparator
8572 Salidas\SpecialChar menuseparator
8573 General
8574 \end_layout
8575
8576 \end_inset
8577
8578 .
8579  Proporcionamos un conjunto de configuraciones comprobadas para algunos
8580  visores, que pueden seleccionarse en la lista desplegable.
8581  Si ninguna de estas configuraciones te satisface, tienes que introducir
8582  a mano una configuración adecuada.
8583  La sintaxis de las definiciones usa los siguientes marcadores:
8584 \end_layout
8585
8586 \begin_layout Itemize
8587 \noindent
8588 \begin_inset Flex Code
8589 status collapsed
8590
8591 \begin_layout Plain Layout
8592 $$n
8593 \end_layout
8594
8595 \end_inset
8596
8597 : número de fila
8598 \end_layout
8599
8600 \begin_layout Itemize
8601 \noindent
8602 \begin_inset Flex Code
8603 status collapsed
8604
8605 \begin_layout Plain Layout
8606 $$t
8607 \end_layout
8608
8609 \end_inset
8610
8611 : nombre del archivo .tex exportado (temporal)
8612 \end_layout
8613
8614 \begin_layout Itemize
8615 \noindent
8616 \begin_inset Flex Code
8617 status collapsed
8618
8619 \begin_layout Plain Layout
8620 $$o
8621 \end_layout
8622
8623 \end_inset
8624
8625 : nombre del archivo de salida exportado (dvi o pdf, según el que exista
8626  en el directorio temporal)
8627 \end_layout
8628
8629 \begin_layout Standard
8630 Solo algunos visores permiten completamente la búsqueda directa, entre ellos
8631  yap, xdvi, okular
8632 \lang english
8633
8634 \begin_inset Foot
8635 status collapsed
8636
8637 \begin_layout Plain Layout
8638
8639 \lang english
8640 You might want to set 
8641 \begin_inset Flex Code
8642 status collapsed
8643
8644 \begin_layout Plain Layout
8645
8646 \lang english
8647 okular --unique
8648 \end_layout
8649
8650 \end_inset
8651
8652  in 
8653 \lang spanish
8654
8655 \begin_inset Flex Noun
8656 status collapsed
8657
8658 \begin_layout Plain Layout
8659
8660 \lang english
8661 Tools\SpecialChar menuseparator
8662 Preferences\SpecialChar menuseparator
8663 File Handling\SpecialChar menuseparator
8664 File
8665 \begin_inset space ~
8666 \end_inset
8667
8668 Formats
8669 \end_layout
8670
8671 \end_inset
8672
8673
8674 \end_layout
8675
8676 \end_inset
8677
8678
8679 \lang spanish
8680 , qpdfview y SumatraPDF
8681 \lang english
8682
8683 \begin_inset Foot
8684 status collapsed
8685
8686 \begin_layout Plain Layout
8687
8688 \lang english
8689 SumatraPDF can also use DDE commands through the external program CMCDDE
8690  — downloadable from 
8691 \begin_inset CommandInset href
8692 LatexCommand href
8693 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
8694 literal "false"
8695
8696 \end_inset
8697
8698
8699 \end_layout
8700
8701 \end_inset
8702
8703
8704 \lang spanish
8705 .
8706  Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no
8707  soportan búsqueda directa, otros (como evince y pdf) permiten al menos
8708  recargar el documento y mostrar una página determinada, por lo que al menos
8709  permiten una navegación 
8710 \begin_inset Quotes cld
8711 \end_inset
8712
8713 cercana
8714 \begin_inset Quotes crd
8715 \end_inset
8716
8717 .
8718  Esta última funcionalidad es facilitada mediante una llamada externa a
8719  synctex (consulta los ejemplos predefinidos en Preferencias).
8720  
8721 \end_layout
8722
8723 \begin_layout Standard
8724 La búsqueda directa funciona con DVI y PDF.
8725  \SpecialChar LyX
8726  comprueba qué formato de vista preliminar has usado antes (o sea, el que
8727  ya está en el directorio temporal) y elige dinámicamente la configuración
8728  adecuada para el formato en cuestión.
8729 \end_layout
8730
8731 \begin_layout Chapter
8732 Clases especiales de documentos 
8733 \end_layout
8734
8735 \begin_layout Section
8736 A&A Paper
8737 \end_layout
8738
8739 \begin_layout Standard
8740 por 
8741 \noun on
8742 Peter Sütterlin
8743 \end_layout
8744
8745 \begin_layout Subsection
8746 Introducción
8747 \end_layout
8748
8749 \begin_layout Standard
8750 Esta sección describe el uso de \SpecialChar LyX
8751  para escribir artículos destinados a la
8752  revista científica 
8753 \emph on
8754 Astronomy and Astrophysics
8755 \emph default
8756  (
8757 \begin_inset Flex URL
8758 status collapsed
8759
8760 \begin_layout Plain Layout
8761
8762 https://www.aanda.org/
8763 \end_layout
8764
8765 \end_inset
8766
8767 ), usando la versión
8768 \begin_inset space ~
8769 \end_inset
8770
8771 5.01 de la clase de documento 
8772 \family typewriter
8773 aa.cls
8774 \family default
8775 .
8776  Este paquete se puede descargar del sitio ftp
8777 \end_layout
8778
8779 \begin_layout Standard
8780 \begin_inset VSpace medskip
8781 \end_inset
8782
8783
8784 \end_layout
8785
8786 \begin_layout Standard
8787 \align center
8788 \begin_inset Flex URL
8789 status collapsed
8790
8791 \begin_layout Plain Layout
8792
8793 ftp://ftp.edpsciences.org/pub/aa/readme.html
8794 \end_layout
8795
8796 \end_inset
8797
8798
8799 \end_layout
8800
8801 \begin_layout Standard
8802 \begin_inset VSpace medskip
8803 \end_inset
8804
8805
8806 \end_layout
8807
8808 \begin_layout Standard
8809 El paquete contiene un manual, y este texto no aspira a reemplazar al original,
8810  se trata solo de una breve guía de uso.
8811 \end_layout
8812
8813 \begin_layout Standard
8814 Ten en cuenta que el editor de la revista ha cambiado de 
8815 \emph on
8816 Springer
8817 \emph default
8818  a 
8819 \emph on
8820 EDP Sciences
8821 \emph default
8822  desde 1 de enero de 2001.
8823  Este cambio implica ligeros cambios en los archivos de estilo, a saber,
8824  la eliminación del comando 
8825 \family typewriter
8826 thesaurus
8827 \family default
8828 .
8829  La clase \SpecialChar LyX
8830  
8831 \family sans
8832 aa
8833 \family default
8834  soporta las versiones más nuevas de estos archivos de estilo, V 5.01.
8835  Si tienes instalada una versión más antigua, actualízala, por favor.
8836  Por compatibilidad, el antiguo formato (versión 4) se ha mantenido como
8837  
8838 \family sans
8839 article (A&A V4)
8840 \family default
8841 .
8842  Puedes acudir a los comentarios en el archivo 
8843 \family typewriter
8844 \SpecialChar LyX
8845 Dir/layouts/aapaper.layout
8846 \family default
8847 .
8848 \end_layout
8849
8850 \begin_layout Subsection
8851 Cómo empezar
8852 \end_layout
8853
8854 \begin_layout Standard
8855 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
8856 .
8857  Si no es así, observa los siguientes aspectos:
8858 \end_layout
8859
8860 \begin_layout Itemize
8861 Selecciona 
8862 \family sans
8863 article (A&A)
8864 \family default
8865  en el diálogo 
8866 \family sans
8867 Documento\SpecialChar menuseparator
8868 Configuración
8869 \family default
8870  (vale, esto era obvio).
8871 \end_layout
8872
8873 \begin_layout Itemize
8874 No cambies la opción 
8875 \family sans
8876 Estilo
8877 \begin_inset space ~
8878 \end_inset
8879
8880 de
8881 \begin_inset space ~
8882 \end_inset
8883
8884
8885 \family default
8886 página: déjala en 
8887 \family sans
8888 predeterminado
8889 \family default
8890 .
8891  Todo el formato está hecho por macros y no deberías cambiar nada.
8892 \end_layout
8893
8894 \begin_layout Subsection
8895 El bloque del encabezado
8896 \end_layout
8897
8898 \begin_layout Standard
8899 Lo primero que hay que introducir es la información del encabezado.
8900  Consta de siete entradas, de las que algunas son opcionales.
8901  Son:
8902 \end_layout
8903
8904 \begin_layout Itemize
8905
8906 \family sans
8907 Título
8908 \family default
8909 : (requerido) 
8910 \end_layout
8911
8912 \begin_layout Itemize
8913
8914 \family sans
8915 Subtítulo
8916 \family default
8917 : (opcional) 
8918 \end_layout
8919
8920 \begin_layout Itemize
8921
8922 \family sans
8923 Autor
8924 \family default
8925 : (requerido)
8926 \end_layout
8927
8928 \begin_layout Itemize
8929
8930 \family sans
8931 Dirección
8932 \family default
8933 : (requerido)
8934 \end_layout
8935
8936 \begin_layout Itemize
8937 Separatas: (opcional) si hay más de un autor: a quien dirigirse.
8938 \end_layout
8939
8940 \begin_layout Itemize
8941 Correo: (opcional) dirección de contacto.
8942 \end_layout
8943
8944 \begin_layout Itemize
8945
8946 \family sans
8947 Fecha
8948 \family default
8949 : (requerido).
8950  El formato sugerido es 
8951 \family typewriter
8952 Recibido: <fecha>; Aceptado <fecha> 
8953 \end_layout
8954
8955 \begin_layout Standard
8956 No es necesario poner el comando 
8957 \family typewriter
8958
8959 \backslash
8960 maketitle
8961 \family default
8962 , \SpecialChar LyX
8963  lo hace automáticamente cuando se termina el encabezado.
8964  Aunque el orden de las entradas del encabezado no importa, es conveniente
8965  mantener la secuencia de arriba, solo por conseguir un mejor aspecto y
8966  respetar el formato del documento real.
8967 \end_layout
8968
8969 \begin_layout Standard
8970 Si quieres poner notas al pie en el encabezado, p.
8971 \begin_inset space \thinspace{}
8972 \end_inset
8973
8974 e.
8975 \begin_inset space ~
8976 \end_inset
8977
8978 para consignar tu actual dirección, usa la nota al pie estándar con 
8979 \family sans
8980 Insertar\SpecialChar menuseparator
8981 Nota
8982 \begin_inset space ~
8983 \end_inset
8984
8985 al
8986 \begin_inset space ~
8987 \end_inset
8988
8989 pie.
8990
8991 \family default
8992  \SpecialChar LyX
8993
8994 \begin_inset Quotes cld
8995 \end_inset
8996
8997 automágicamente
8998 \begin_inset Quotes crd
8999 \end_inset
9000
9001 , usará el término 
9002 \family typewriter
9003
9004 \backslash
9005 thanks{}
9006 \family default
9007  en ese caso.
9008 \end_layout
9009
9010 \begin_layout Standard
9011
9012 \lang english
9013 Under 
9014 \family sans
9015 Edit\SpecialChar menuseparator
9016 Text Style
9017 \family default
9018 , you'll find two insets which are relevant for the titling:
9019 \end_layout
9020
9021 \begin_layout Itemize
9022
9023 \family sans
9024 \lang english
9025 Institute
9026 \family typewriter
9027  
9028 \family default
9029 to mark corresponding author\SpecialChar breakableslash
9030 institute pairs.
9031  The institutes are numbered sequentially as they appear in the 
9032 \family sans
9033 Address
9034 \family default
9035  field, so you have to put a marker to each author.
9036 \end_layout
9037
9038 \begin_layout Itemize
9039
9040 \family sans
9041 \lang english
9042 Email
9043 \family default
9044  to supply an email address for fast contact.
9045 \end_layout
9046
9047 \begin_layout Standard
9048 Además, las macros emplean one comando \SpecialChar LaTeX
9049  adicionalque no tien contrapartida
9050  en \SpecialChar LyX
9051 :
9052 \end_layout
9053
9054 \begin_layout Itemize
9055
9056 \family typewriter
9057
9058 \backslash
9059 and
9060 \family default
9061  para separar nombres diferentes de más de un autor e instituto, respectivamente.
9062 \end_layout
9063
9064 \begin_layout Standard
9065 El comando apropiado ha de introducirse en \SpecialChar LyX
9066  marcado como código \SpecialChar LaTeX
9067 .
9068  Véanse los ejemplos.
9069  
9070 \end_layout
9071
9072 \begin_layout Subsection
9073 El resumen
9074 \end_layout
9075
9076 \begin_layout Standard
9077 El resumen debería ir a continuación del encabezado.
9078  Con la versión 5 el resumen cambió de entorno a comando, y ahora hay una
9079  restricción a un único párrafo.
9080  Además, debería contener una entrada con las claves.
9081  Esto 
9082 \lang english
9083 done via the paragraph style 
9084 \family sans
9085 Keywords
9086 \family default
9087 .
9088
9089 \lang spanish
9090  Véase el ejemplo.
9091 \end_layout
9092
9093 \begin_layout Subsection
9094 Entornos soportados
9095 \end_layout
9096
9097 \begin_layout Standard
9098 El formato A&A soporta los entornos siguientes para estructurar el texto:
9099 \end_layout
9100
9101 \begin_layout Itemize
9102
9103 \family sans
9104 Normal
9105 \end_layout
9106
9107 \begin_layout Itemize
9108
9109 \family sans
9110 Sección
9111 \end_layout
9112
9113 \begin_layout Itemize
9114
9115 \family sans
9116 Subsección
9117 \end_layout
9118
9119 \begin_layout Itemize
9120
9121 \family sans
9122 Subsubsección
9123 \end_layout
9124
9125 \begin_layout Itemize
9126
9127 \family sans
9128 Enumeración*
9129 \end_layout
9130
9131 \begin_layout Itemize
9132
9133 \family sans
9134 Enumeración
9135 \end_layout
9136
9137 \begin_layout Itemize
9138
9139 \family sans
9140 Descripción
9141 \end_layout
9142
9143 \begin_layout Itemize
9144
9145 \family sans
9146 Leyenda
9147 \end_layout
9148
9149 \begin_layout Itemize
9150
9151 \family sans
9152 Resumen
9153 \end_layout
9154
9155 \begin_layout Itemize
9156
9157 \family sans
9158 Agradecimientos
9159 \end_layout
9160
9161 \begin_layout Itemize
9162
9163 \family sans
9164 Bibliografía
9165 \end_layout
9166
9167 \begin_layout Itemize
9168
9169 \family sans
9170 \SpecialChar LaTeX
9171
9172 \end_layout
9173
9174 \begin_layout Subsection
9175 Comandos no soportados por \SpecialChar LyX
9176
9177 \end_layout
9178
9179 \begin_layout Standard
9180 Algunos comandos aún no son soportados por el formato 
9181 \family sans
9182 paper (A&A)
9183 \family default
9184 .
9185  Algunos se han mencionado ya.
9186
9187 \family typewriter
9188  
9189 \family default
9190 Pero aquí están todos juntos:
9191 \end_layout
9192
9193 \begin_layout Itemize
9194
9195 \family typewriter
9196
9197 \backslash
9198 and
9199 \end_layout
9200
9201 \begin_layout Itemize
9202
9203 \family typewriter
9204
9205 \backslash
9206 authorrunning
9207 \end_layout
9208
9209 \begin_layout Itemize
9210
9211 \family typewriter
9212
9213 \backslash
9214 object{}
9215 \end_layout
9216
9217 \begin_layout Itemize
9218
9219 \family typewriter
9220
9221 \backslash
9222 titlerunning{}
9223 \end_layout
9224
9225 \begin_layout Standard
9226 Si quieres usar alguno de ellos tienes que introducirlos a mano, y 
9227 \series bold
9228 ¡no olvides marcarlos en código \SpecialChar LaTeX
9229 !
9230 \end_layout
9231
9232 \begin_layout Subsection
9233 Figuras y cuadros flotantes
9234 \end_layout
9235
9236 \begin_layout Standard
9237 \SpecialChar LyX
9238  proporciona soporte para poner figuras y cuadros flotantes, por tanto no
9239  queremos decir mucho más sobre ello.
9240  Acude a la 
9241 \emph on
9242 Guía del Usuario
9243 \emph default
9244 .
9245  Solo recordaremos que los cuadros deben alinearse a la izquierda.
9246  Para eso selecciona el cuadro y cambia la alineación en 
9247 \family sans
9248 Editar\SpecialChar menuseparator
9249 Configuración
9250 \begin_inset space ~
9251 \end_inset
9252
9253 del
9254 \begin_inset space ~
9255 \end_inset
9256
9257 párrafo.
9258 \end_layout
9259
9260 \begin_layout Standard
9261 Hay un apunte particular: las figuras que deben llevar el título del encabezado
9262  a un lado.
9263  Para insertar estas figuras has de hacer lo siguiente:
9264 \end_layout
9265
9266 \begin_layout Enumerate
9267 Crea un flotante de figura ancha:
9268 \family sans
9269  
9270 \family default
9271 selecciona 
9272 \family sans
9273 Insertar\SpecialChar menuseparator
9274 Flotante\SpecialChar menuseparator
9275 Figura
9276 \family default
9277 , después haz clic derecho en la figura y selecciona 
9278 \family sans
9279 Extender
9280 \begin_inset space ~
9281 \end_inset
9282
9283 columnas
9284 \family default
9285 .
9286 \end_layout
9287
9288 \begin_layout Enumerate
9289 Introduce el texto del encabezado.
9290 \end_layout
9291
9292 \begin_layout Enumerate
9293 Pulsa 
9294 \family sans
9295 Retorno
9296 \family default
9297  para mover el cursor sobre el encabezado.
9298 \end_layout
9299
9300 \begin_layout Enumerate
9301 Inserta la figura.
9302 \end_layout
9303
9304 \begin_layout Enumerate
9305 Coloca el cursor tras la figura e inserta un relleno horizontal: 
9306 \family sans
9307 Insertar\SpecialChar menuseparator
9308 Formato
9309 \begin_inset space ~
9310 \end_inset
9311
9312 especial\SpecialChar menuseparator
9313 Relleno
9314 \begin_inset space ~
9315 \end_inset
9316
9317 horizontal
9318 \family default
9319 .
9320 \end_layout
9321
9322 \begin_layout Enumerate
9323 Cambia a modo \SpecialChar LaTeX
9324
9325 \family sans
9326 C-l
9327 \family default
9328 .
9329 \end_layout
9330
9331 \begin_layout Enumerate
9332 Introduce 
9333 \family typewriter
9334
9335 \backslash
9336 parbox[b]{55mm}{
9337 \family default
9338 .
9339  
9340 \series bold
9341 ¡No cierres la llave!
9342 \end_layout
9343
9344 \begin_layout Enumerate
9345 Coloca el cursor tras el texto del encabezado, cambia a modo \SpecialChar LaTeX
9346  e inserta
9347  la llave de cierre: 
9348 \family sans
9349 C-l 
9350 \family typewriter
9351 }
9352 \family default
9353 .
9354 \end_layout
9355
9356 \begin_layout Standard
9357 Además, consulta el ejemplo de 
9358 \family sans
9359 paper
9360 \family default
9361 .
9362 \end_layout
9363
9364 \begin_layout Subsection
9365 Formato «referee»
9366 \end_layout
9367
9368 \begin_layout Standard
9369 Antes de remitir el artículo a los editores hay que darle un formato especial
9370  a doble espacio.
9371  Para eso hay que pasar la opción 
9372 \family typewriter
9373 referee
9374 \family default
9375  a la clase de documento
9376 \lang english
9377 This must be done using the custom class options field in the 
9378 \family sans
9379 Document\SpecialChar menuseparator
9380 Settings
9381 \family default
9382  dialog.
9383  Just enter the string 
9384 \family typewriter
9385 referee
9386 \family default
9387  there.
9388 \end_layout
9389
9390 \begin_layout Subsection
9391 El ejemplo «paper»
9392 \end_layout
9393
9394 \begin_layout Standard
9395 El directorio 
9396 \family sans
9397 Examples
9398 \family default
9399  contiene un ejemplo del formato 
9400 \family sans
9401 paper
9402 \family default
9403  escrito con \SpecialChar LyX
9404 .
9405  Es el ejemplo del paquete de macros original, traducido a \SpecialChar LyX
9406 .
9407  Puede servirte de inspiración, y para comparar el código \SpecialChar LaTeX
9408  original con
9409  el generado por \SpecialChar LyX
9410 .
9411 \end_layout
9412
9413 \begin_layout Section
9414 AAS\SpecialChar TeX
9415
9416 \end_layout
9417
9418 \begin_layout Standard
9419 por 
9420 \noun on
9421 Mike Ressler
9422 \end_layout
9423
9424 \begin_layout Subsection
9425 Introducción
9426 \end_layout
9427
9428 \begin_layout Standard
9429 AAS\SpecialChar TeX
9430  es un conjunto de macros producidas por la 
9431 \emph on
9432 American Astronomical Society
9433 \emph default
9434  para facilitar la remisión de manuscritos electrónicos a las tres revistas
9435  que publica: 
9436 \emph on
9437 Astrophysical Journal
9438 \emph default
9439  (incluyendo Cartas y Suplemento), 
9440 \emph on
9441 Astronomical Journal
9442 \emph default
9443 , y 
9444 \emph on
9445 Publications of the Astronomical Society of the Pacific
9446 \emph default
9447 .
9448  \SpecialChar LyX
9449  ha demostrado ser una herramienta excelente para generar estos documentos,
9450  especialmente por su capacidad para el manejo de ecuaciones, citas y figuras.
9451  \SpecialChar LyX
9452  requiere la versión 5.0 (o superior) de estas macros; preferiblemente 6.0,
9453  que es la versión aquí explicada, o mayor.
9454  Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9455 2.09 y son básicament
9456 e incompatibles con \SpecialChar LyX
9457 .
9458  El paquete AAS\SpecialChar TeX
9459  se puede obtener del sitio web de AAS\SpecialChar TeX
9460
9461 \end_layout
9462
9463 \begin_layout Standard
9464 \begin_inset VSpace medskip
9465 \end_inset
9466
9467
9468 \end_layout
9469
9470 \begin_layout Standard
9471 \align center
9472 \begin_inset Flex URL
9473 status collapsed
9474
9475 \begin_layout Plain Layout
9476
9477 https://aas.org/aastex/aastex-downloads
9478 \end_layout
9479
9480 \end_inset
9481
9482
9483 \end_layout
9484
9485 \begin_layout Standard
9486 \begin_inset VSpace medskip
9487 \end_inset
9488
9489
9490 \end_layout
9491
9492 \begin_layout Standard
9493 Contiene una completa guía del usuario con la que deberías familiarizarte
9494  antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9495 .
9496  \SpecialChar LyX
9497  no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9498 , pero disminuye
9499  la tediosa faena de teclearlo todo.
9500  Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9501  es completam
9502 ente conforme con los requerimientos de la revista a la que se remite.
9503 \end_layout
9504
9505 \begin_layout Subsection
9506 Empezar un artículo nuevo
9507 \end_layout
9508
9509 \begin_layout Standard
9510 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo
9511  de AAS\SpecialChar TeX
9512 .
9513  Clic en 
9514 \family sans
9515 Archivo\SpecialChar menuseparator
9516 Nuevo
9517 \begin_inset space ~
9518 \end_inset
9519
9520 desde
9521 \begin_inset space ~
9522 \end_inset
9523
9524 plantilla
9525 \family default
9526 , introduce el nombre del nuevo archivo, y luego escoge el archivo 
9527 \family typewriter
9528 aastex6.lyx
9529 \family default
9530 .
9531  Este contempla los campos más habituales presentes en un manuscrito.
9532  Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas
9533
9534 \family typewriter
9535 <>
9536 \family default
9537 ) con el texto personal.
9538  Muchos de los comandos y entornos AAS\SpecialChar TeX
9539  se pueden implementar directamente
9540  en \SpecialChar LyX
9541 , pero algunos no.
9542  Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9543 , (antes
9544  conocido por ERT, 
9545 \emph on
9546 Evil Red Text
9547 \emph default
9548 ).
9549  He intentado reducir la cantidad de código \SpecialChar TeX
9550  necesario en documentos AAS\SpecialChar TeX
9551 .
9552 \end_layout
9553
9554 \begin_layout Subsection
9555 Finalizar el artículo
9556 \end_layout
9557
9558 \begin_layout Standard
9559 Cuando has acabado satisfactoriamente el artículo, y se puede ver/imprimir
9560  correctamente, quedan pendientes algunas acciones de 
9561 \begin_inset Quotes cld
9562 \end_inset
9563
9564 posprocesamiento
9565 \begin_inset Quotes crd
9566 \end_inset
9567
9568  antes de remitir el trabajo.
9569 \end_layout
9570
9571 \begin_layout Enumerate
9572 Exporta el documento a archivo \SpecialChar LaTeX
9573  (
9574 \family sans
9575 Archivo\SpecialChar menuseparator
9576 Exportar\SpecialChar menuseparator
9577 LaTeX
9578 \family default
9579  (
9580 \family sans
9581 simple
9582 \family default
9583 )).
9584  
9585 \end_layout
9586
9587 \begin_layout Enumerate
9588 Edita el archivo resultante 
9589 \family typewriter
9590 .tex
9591 \family default
9592  con tu editor de textos favorito.
9593 \end_layout
9594
9595 \begin_deeper
9596 \begin_layout Enumerate
9597 quita las líneas de comentario antes del comando 
9598 \family typewriter
9599
9600 \backslash
9601 documentclass.
9602 \end_layout
9603
9604 \begin_layout Enumerate
9605 quita la línea 
9606 \family typewriter
9607
9608 \backslash
9609 usepackage...{fontenc}
9610 \family default
9611  si está (generalmente justo detrás de 
9612 \family typewriter
9613
9614 \backslash
9615 documentclass
9616 \family default
9617 }; quita también la línea 
9618 \family typewriter
9619
9620 \backslash
9621 secnumdepth
9622 \family default
9623 , si está.
9624 \end_layout
9625
9626 \begin_layout Enumerate
9627 quita todo entre los comandos 
9628 \family typewriter
9629
9630 \backslash
9631 makeatletter
9632 \family default
9633  y 
9634 \family typewriter
9635
9636 \backslash
9637 makeatother
9638 \family default
9639 , ambos incluidos, excepto comandos que hayas puesto específicamente en
9640  el preámbulo (que deberían aparecer inmediatamente después del comentario
9641  
9642 \begin_inset Quotes cld
9643 \end_inset
9644
9645 User specified \SpecialChar LaTeX
9646  commands
9647 \begin_inset Quotes crd
9648 \end_inset
9649
9650  en el archivo 
9651 \family typewriter
9652 .tex
9653 \family default
9654 ).
9655 \end_layout
9656
9657 \end_deeper
9658 \begin_layout Enumerate
9659 Ejecuta el archivo resultante con \SpecialChar LaTeX
9660  para asegurar que se procesa correctamente.
9661 \end_layout
9662
9663 \begin_layout Enumerate
9664 Relee los requerimientos del editor para comprobar que los nombres de los
9665  archivos y los formatos son correctos.
9666 \end_layout
9667
9668 \begin_layout Enumerate
9669 Remítelo.
9670 \end_layout
9671
9672 \begin_layout Subsection
9673 Comentarios sobre comandos específicos
9674 \end_layout
9675
9676 \begin_layout Standard
9677 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
9678 :
9679  la Guía del Usuario de AAS\SpecialChar TeX
9680  (
9681 \family typewriter
9682 aasguide.tex
9683 \family default
9684 ) da una buena descripción de ellos.
9685  Así que lo más fácil para mí es dar la lista tal como aparece en la guía
9686  y hacer comentarios donde proceda.
9687  Comencemos\SpecialChar ldots
9688
9689 \end_layout
9690
9691 \begin_layout Subsubsection
9692 Cosas que funcionan como es de esperar
9693 \end_layout
9694
9695 \begin_layout Standard
9696 Puesto que funcionan como es de esperar, solo las enumero con la sección
9697  donde se encuentran: 
9698 \family typewriter
9699
9700 \backslash
9701 documentclass
9702 \family default
9703  (2.1.1), 
9704 \family typewriter
9705
9706 \backslash
9707 begin{document}
9708 \family default
9709  (2.2), 
9710 \family typewriter
9711
9712 \backslash
9713 title
9714 \family default
9715  (2.3), 
9716 \family typewriter
9717
9718 \backslash
9719 author
9720 \family default
9721  (2.3), 
9722 \family typewriter
9723
9724 \backslash
9725 affil
9726 \family default
9727  (2.3), 
9728 \family typewriter
9729
9730 \backslash
9731 abstract
9732 \family default
9733  (2.4), 
9734 \family typewriter
9735
9736 \backslash
9737 keywords
9738 \family default
9739  (2.5), 
9740 \family typewriter
9741
9742 \backslash
9743 section
9744 \family default
9745  (2.7), 
9746 \family typewriter
9747
9748 \backslash
9749 subsection
9750 \family default
9751  (2.7), 
9752 \family typewriter
9753
9754 \backslash
9755 subsubsection
9756 \family default
9757  (2.7), 
9758 \family typewriter
9759
9760 \backslash
9761 paragraph
9762 \family default
9763  (2.7), 
9764 \family typewriter
9765
9766 \backslash
9767 facility
9768 \family default
9769  (2.10), 
9770 \family typewriter
9771
9772 \backslash
9773 begin{displaymath}
9774 \family default
9775  (2.12), 
9776 \family typewriter
9777
9778 \backslash
9779 begin{equation}
9780 \family default
9781  (2.12), 
9782 \family typewriter
9783
9784 \backslash
9785 begin{eqnarray}
9786 \family default
9787  (2.12), 
9788 \family typewriter
9789
9790 \backslash
9791 begin{mathletters}
9792 \family default
9793  (2.12), 
9794 \family typewriter
9795
9796 \backslash
9797 begin{thebibliography}
9798 \family default
9799  (2.13.1), 
9800 \family typewriter
9801
9802 \backslash
9803 bibitem
9804 \family default
9805  (2.13.2), todos los comandos de citas y sus variantes (2.13.2), los comandos
9806  genéricos de figuras, 
9807 \family sans
9808 graphicx
9809 \family default
9810  (2.14.1), 
9811 \family typewriter
9812
9813 \backslash
9814 begin{table}
9815 \family default
9816  (2.15.4), 
9817 \family typewriter
9818
9819 \backslash
9820 begin{tabular}
9821 \family default
9822  (2.15.4), 
9823 \family typewriter
9824
9825 \backslash
9826 caption
9827 \family default
9828  (2.15.4), 
9829 \family typewriter
9830
9831 \backslash
9832 label
9833 \family default
9834  (2.15.4, entre otros sitios), 
9835 \family typewriter
9836
9837 \backslash
9838 tablerefs
9839 \family default
9840  (2.15.5), 
9841 \family typewriter
9842
9843 \backslash
9844 tablecomments
9845 \family default
9846  (2.15.5), 
9847 \family typewriter
9848
9849 \backslash
9850 url
9851 \family default
9852  (2.17.4), 
9853 \family typewriter
9854
9855 \backslash
9856 end{document}
9857 \family default
9858  (2.18).
9859 \end_layout
9860
9861 \begin_layout Standard
9862 Las siguientes opciones de estilo también funcionan: 
9863 \family typewriter
9864 longabstract
9865 \family default
9866  (2.4), 
9867 \family typewriter
9868 preprint
9869 \family default
9870  (3.2.1), 
9871 \family typewriter
9872 preprint2
9873 \family default
9874  (3.2.2), 
9875 \family typewriter
9876 eqsecnum
9877 \family default
9878  (3.3), 
9879 \family typewriter
9880 flushrt
9881 \family default
9882  (3.4).
9883  Simplemente pónlos en el cuadro de 
9884 \family sans
9885 Opciones
9886 \family default
9887  de 
9888 \family sans
9889 Documento
9890 \family default
9891 \SpecialChar menuseparator
9892
9893 \family sans
9894 Configuración
9895 \family default
9896 .
9897 \end_layout
9898
9899 \begin_layout Subsubsection
9900 Cosas que funcionan, pero\SpecialChar ldots
9901
9902 \end_layout
9903
9904 \begin_layout Standard
9905 Las siguientes opciones funcionan, pero requieren algunas aclaraciones:
9906 \end_layout
9907
9908 \begin_layout Itemize
9909 Las siguientes se reservan para los editores, pero puedes ponerlas en el
9910  preámbulo \SpecialChar LaTeX
9911  si fuera preciso: 
9912 \family typewriter
9913
9914 \backslash
9915 received
9916 \family default
9917
9918 \family typewriter
9919
9920 \backslash
9921 revised
9922 \family default
9923
9924 \family typewriter
9925
9926 \backslash
9927 accepted
9928 \family default
9929
9930 \family typewriter
9931
9932 \backslash
9933 ccc
9934 \family default
9935
9936 \family typewriter
9937
9938 \backslash
9939 cpright
9940 \family default
9941  (todas desde 2.1.3)
9942 \end_layout
9943
9944 \begin_layout Itemize
9945 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
9946 , y se incluyen en blanco
9947  en la plantilla: 
9948 \family typewriter
9949
9950 \backslash
9951 slugcomment
9952 \family default
9953  (2.1.4), 
9954 \family typewriter
9955
9956 \backslash
9957 shorttitle
9958 \family default
9959  (2.1.5), 
9960 \family typewriter
9961
9962 \backslash
9963 shortauthors
9964 \family default
9965  (2.1.5)
9966 \end_layout
9967
9968 \begin_layout Itemize
9969
9970 \family typewriter
9971
9972 \backslash
9973 email
9974 \family default
9975  (2.3) solo se puede poner separado, no en mitad de un párrafo.
9976  Usa código \SpecialChar TeX
9977  si necesitas empotrarlo.
9978 \end_layout
9979
9980 \begin_layout Itemize
9981
9982 \family typewriter
9983
9984 \backslash
9985 and
9986 \family default
9987  (2.3) tendrá {} extra tras él.
9988  Esto no debería producir error.
9989 \end_layout
9990
9991 \begin_layout Itemize
9992
9993 \family typewriter
9994
9995 \backslash
9996 notetoeditor
9997 \family default
9998  (2.6) solo se puede poner separado, no en mitad de un párrafo.
9999  Usa código \SpecialChar TeX
10000  si necesitas empotrarlo.
10001 \end_layout
10002
10003 \begin_layout Itemize
10004
10005 \family typewriter
10006
10007 \backslash
10008 placetable
10009 \family default
10010  (2.8) no puede insertar etiquetas de referencias cruzadas, hay que introducirlo
10011  a mano.
10012 \end_layout
10013
10014 \begin_layout Itemize
10015
10016 \family typewriter
10017
10018 \backslash
10019 placefigure
10020 \family default
10021  (2.8) igual que para 
10022 \family typewriter
10023
10024 \backslash
10025 placetable
10026 \end_layout
10027
10028 \begin_layout Itemize
10029
10030 \family typewriter
10031
10032 \backslash
10033 acknowledgements
10034 \family default
10035  (2.9) tendrá {} extra tras él.
10036  Esto no debería producir error.
10037 \end_layout
10038
10039 \begin_layout Itemize
10040
10041 \family typewriter
10042
10043 \backslash
10044 appendix
10045 \family default
10046  (2.11) tendrá {} extra tras él.
10047  Esto no debería producir error.
10048 \end_layout
10049
10050 \begin_layout Itemize
10051
10052 \family typewriter
10053
10054 \backslash
10055 figcaption
10056 \family default
10057  (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor
10058  al inicio del texto y seleccionando 
10059 \family sans
10060 Insertar\SpecialChar menuseparator
10061 Título breve
10062 \family default
10063 .
10064  
10065 \begin_inset Quotes cld
10066 \end_inset
10067
10068 Título breve
10069 \begin_inset Quotes crd
10070 \end_inset
10071
10072  inserta un argumento opcional del tipo necesitado por 
10073 \family typewriter
10074
10075 \backslash
10076 figcaption
10077 \family default
10078 .
10079  Debería ser renombrado algún día.
10080  
10081 \end_layout
10082
10083 \begin_layout Itemize
10084
10085 \family typewriter
10086
10087 \backslash
10088 objectname
10089 \family default
10090  (2.17.1) lo mismo que en
10091 \family typewriter
10092  
10093 \backslash
10094 figcaption
10095 \family default
10096  para el parámetro opcional de catálogo ID.
10097 \end_layout
10098
10099 \begin_layout Itemize
10100
10101 \family typewriter
10102
10103 \backslash
10104 dataset
10105 \family default
10106  (2.17.1) lo mismo que en
10107 \family typewriter
10108  
10109 \backslash
10110 figcaption
10111 \family default
10112  para el parámetro opcional de catálogo ID.
10113 \end_layout
10114
10115 \begin_layout Subsubsection
10116 Cosas no implementadas, código \SpecialChar TeX
10117  necesario
10118 \end_layout
10119
10120 \begin_layout Standard
10121
10122 \family typewriter
10123
10124 \backslash
10125 eqnum
10126 \family default
10127  (2.12), 
10128 \family typewriter
10129
10130 \backslash
10131 setcounter{equation}
10132 \family default
10133  (2.12), Journal abreviaciones (2.13.4), 
10134 \family typewriter
10135
10136 \backslash
10137 figurenum
10138 \family default
10139  (2.14.1), 
10140 \family typewriter
10141
10142 \backslash
10143 epsscale
10144 \family default
10145  (2.14.1), 
10146 \family typewriter
10147
10148 \backslash
10149 plotone
10150 \family default
10151  (2.14.1), 
10152 \family typewriter
10153
10154 \backslash
10155 plottwo
10156 \family default
10157  (2.14.1), 
10158 \family typewriter
10159
10160 \backslash
10161 tablenum
10162 \family default
10163  (2.15.4), 
10164 \family typewriter
10165
10166 \backslash
10167 tableline
10168 \family default
10169  (2.15.4, insertar como primer elemento en la celda izquierda y después donde
10170  se quiera.
10171  No uses ninguna regla de \SpecialChar LyX
10172  en el cuadro), 
10173 \family typewriter
10174
10175 \backslash
10176 tablenotemark
10177 \family default
10178  (2.15.5), 
10179 \family typewriter
10180
10181 \backslash
10182 tablenotetext
10183 \family default
10184  (2.15.5), mucho de Misc (2.17, excepto 
10185 \family typewriter
10186
10187 \backslash
10188 objectname
10189 \family default
10190
10191 \family typewriter
10192
10193 \backslash
10194 dataset
10195 \family default
10196
10197 \family typewriter
10198
10199 \backslash
10200 url
10201 \family default
10202 , y 
10203 \family typewriter
10204
10205 \backslash
10206 email
10207 \family default
10208 ; véase arriba), 
10209 \family typewriter
10210
10211 \backslash
10212 singlespace
10213 \family default
10214  (3.1), 
10215 \family typewriter
10216
10217 \backslash
10218 doublespace
10219 \family default
10220  (3.1), 
10221 \family typewriter
10222
10223 \backslash
10224 onecolumn
10225 \family default
10226  (3.2), 
10227 \family typewriter
10228
10229 \backslash
10230 twocolumn
10231 \family default
10232  (3.2)
10233 \end_layout
10234
10235 \begin_layout Subsubsection
10236 Cosas que no pueden implementarse
10237 \end_layout
10238
10239 \begin_layout Standard
10240 \SpecialChar ldots
10241  al menos de forma significativa, así que sugiero ignorarlas.
10242  Están los entornos 
10243 \family sans
10244 references
10245 \family default
10246  (2.13.3) y 
10247 \family sans
10248 deluxetable
10249 \family default
10250  (2.15).
10251  Si de verdad necesitas usar 
10252 \family sans
10253 deluxetable
10254 \family default
10255 , sugiero editar un archivo aparte con un editor de textos, y luego incluirlo
10256  en el documento \SpecialChar LyX
10257  con 
10258 \family sans
10259 Insertar\SpecialChar menuseparator
10260 Documento
10261 \family default
10262
10263 \begin_inset space ~
10264 \end_inset
10265
10266
10267 \family sans
10268 hijo
10269 \family default
10270 .
10271  Véase el archivo 
10272 \family typewriter
10273 aas_sample.lyx
10274 \family default
10275  como ejemplo.
10276 \end_layout
10277
10278 \begin_layout Subsection
10279 FAQs, consejos, trucos, y otras reflexiones
10280 \end_layout
10281
10282 \begin_layout Subsubsection
10283 Conseguir que \SpecialChar LyX
10284  y AAS\SpecialChar TeX
10285  cooperen
10286 \end_layout
10287
10288 \begin_layout Standard
10289 Puede ser un poco complicado hacer que \SpecialChar LyX
10290  reconozca un nuevo formato y una
10291  nueva clase.
10292  Si todo lo demás falla, haz lo siguiente:
10293 \end_layout
10294
10295 \begin_layout Enumerate
10296 Comprueba que \SpecialChar LaTeX
10297  encuentra a AAS\SpecialChar TeX
10298 .
10299  Copia 
10300 \family typewriter
10301 sample.tex
10302 \family default
10303  (y quizá 
10304 \family typewriter
10305 table.tex
10306 \family default
10307 ) de la distribución de AAS\SpecialChar TeX
10308  en un directorio totalmente independiente de
10309  \SpecialChar LaTeX
10310  y
10311 \family typewriter
10312  de
10313 \family default
10314  AAS\SpecialChar TeX
10315  y ejecuta \SpecialChar LaTeX
10316  sobre 
10317 \family typewriter
10318 sample.tex
10319 \family default
10320 .
10321 \end_layout
10322
10323 \begin_layout Enumerate
10324 Comprueba que 
10325 \family typewriter
10326 aastex.layout
10327 \family default
10328  está en 
10329 \family typewriter
10330 /usr/.../share/lyx/layouts
10331 \family default
10332  o en 
10333 \family typewriter
10334 ~/.lyx/layouts
10335 \family default
10336 .
10337 \end_layout
10338
10339 \begin_layout Enumerate
10340 Ejecuta 
10341 \family sans
10342 Herramientas\SpecialChar menuseparator
10343 Reconfigurar
10344 \family default
10345  en \SpecialChar LyX
10346 , y reinicia \SpecialChar LyX
10347 .
10348 \end_layout
10349
10350 \begin_layout Enumerate
10351 Abre un archivo nuevo normal, no desde plantilla.
10352  ¿Aparece AAS\SpecialChar TeX
10353  en la lista desplegable de clases en 
10354 \family sans
10355 Documento\SpecialChar menuseparator
10356 Configuración
10357 \family default
10358 ?
10359 \end_layout
10360
10361 \begin_layout Standard
10362 Si al abrir un documento AAS\SpecialChar TeX
10363  recibes un aviso de que no se encuentra la
10364  clase AAS\SpecialChar TeX
10365 , o un mensaje como 
10366 \begin_inset Quotes cld
10367 \end_inset
10368
10369 You should not mix title layouts with normal ones
10370 \begin_inset Quotes crd
10371 \end_inset
10372
10373 , la instalación no ha sido correcta.
10374 \end_layout
10375
10376 \begin_layout Subsubsection
10377 Error de \SpecialChar LaTeX
10378  al procesar un cuadro
10379 \end_layout
10380
10381 \begin_layout Standard
10382 \SpecialChar LyX
10383 , por omisión, intenta centrar el encabezado/título del cuadro.
10384  Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10385 ; entonces debes hacer
10386  clic en algún sitio del encabezado/título, después abrir la 
10387 \family sans
10388 Configuración
10389 \family default
10390
10391 \begin_inset space ~
10392 \end_inset
10393
10394
10395 \family sans
10396 del
10397 \family default
10398
10399 \begin_inset space ~
10400 \end_inset
10401
10402
10403 \family sans
10404 párrafo
10405 \family default
10406 , y elegir 
10407 \family sans
10408 Alineación
10409 \family default
10410 :
10411 \family sans
10412  Centro
10413 \family default
10414 .
10415  En mi caso, esto ha resuelto el problema.
10416 \end_layout
10417
10418 \begin_layout Subsubsection
10419 Referencias
10420 \end_layout
10421
10422 \begin_layout Standard
10423 Un par de cosas: 1) He observado algunos espacios raros en las entradas
10424  de la bibliografía.
10425  Cuando introduzcas los datos de los ítems de la bibliografía, cuida que
10426  
10427 \emph on
10428 no
10429 \emph default
10430  haya espacio entre el último autor y el paréntesis que contiene el año;
10431  p.
10432 \begin_inset space \thinspace{}
10433 \end_inset
10434
10435 ej., escribe 
10436 \family typewriter
10437 Ressler(1992)
10438 \family default
10439 , no 
10440 \family typewriter
10441 Ressler (1992)
10442 \family default
10443 .
10444  2) Introducir las referencias no es nada obvio.
10445  La cosa más fácil es empezar escribiendo tu primera cita al final del documento
10446 , y después marcarla como 
10447 \family sans
10448 Referencia
10449 \family default
10450 .
10451  Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10452  Clic en el recuadro para rellenar el resto de la información.
10453  Para nuevas referencias, ve al final de una referencia existente y pulsa
10454  
10455 \family typewriter
10456 Return
10457 \family default
10458 .
10459  Esto creará una línea nueva con su propio recuadro, etc.
10460 \end_layout
10461
10462 \begin_layout Subsubsection
10463 Incluir archivos EPS
10464 \end_layout
10465
10466 \begin_layout Standard
10467 Aunque AAS\SpecialChar TeX
10468  provee sus propios comandos de gráficos (
10469 \family typewriter
10470
10471 \backslash
10472 plotone
10473 \family default
10474 , por ejemplo), prefiero los comandos estándar de \SpecialChar LaTeX
10475  (con el predeterminado
10476  
10477 \family typewriter
10478 graphicx
10479 \family default
10480 ).
10481  Puedes insertar los comandos 
10482 \family typewriter
10483
10484 \backslash
10485 plotone
10486 \family default
10487 , etc.
10488 \begin_inset space ~
10489 \end_inset
10490
10491 como código \SpecialChar TeX
10492  en una Figura Flotante si lo deseas, pero yo nunca he tenido
10493  la suerte de conseguir un formato correcto.
10494  Con los gráficos estándar, \SpecialChar LyX
10495  inserta el comando 
10496 \family typewriter
10497
10498 \backslash
10499 usepackage{graphicx}
10500 \family default
10501  en el preámbulo \SpecialChar LaTeX
10502  y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10503 , intercalando
10504  las figuras en el texto.
10505  Recuerdo que ApJ acepta ahora figuras exactamente de esta forma; AJ podría
10506  usar todavía la técnica 
10507 \begin_inset Quotes cld
10508 \end_inset
10509
10510 apilar todo al final
10511 \begin_inset Quotes crd
10512 \end_inset
10513
10514 .
10515 \end_layout
10516
10517 \begin_layout Subsubsection
10518 Cosas que podría haber hecho, y no he hecho
10519 \end_layout
10520
10521 \begin_layout Standard
10522 Podría haber implementado unas pocas cosas 
10523 \begin_inset Quotes cld
10524 \end_inset
10525
10526 bonitas
10527 \begin_inset Quotes crd
10528 \end_inset
10529
10530 , pero decidí no hacerlo.
10531  Por ejemplo, no veía la utilidad en presentar doble espacio entre líneas
10532  en la ventana de \SpecialChar LyX
10533 , aunque lo tenga en la salida impresa.
10534  También decidí no hacer formatos separados para los estilos 
10535 \family typewriter
10536 preprint
10537 \family default
10538  y 
10539 \family typewriter
10540 preprint2
10541 \family default
10542 .
10543  Como supongo que pasas la mayor parte del tiempo en el modo manuscrito
10544  simple, he preferido no comer más espacio de disco con esto.
10545  
10546 \end_layout
10547
10548 \begin_layout Subsection
10549 Advertencia final
10550 \end_layout
10551
10552 \begin_layout Standard
10553 Tu recorrido puede variar.
10554  He escrito artículos publicados por ApJ y AJ en los que el 98
10555 \begin_inset space \thinspace{}
10556 \end_inset
10557
10558 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10559 ; el 2
10560 \begin_inset space \thinspace{}
10561 \end_inset
10562
10563 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
10564  y un poco de limpieza
10565  final.
10566  No he tenido problemas con el procedimiento de envío, y estoy seguro de
10567  que los editores no notaron diferencias.
10568  Así pues, ¡adelante, a publicar!
10569 \end_layout
10570
10571 \begin_layout Section
10572 AMS \SpecialChar LaTeX
10573
10574 \end_layout
10575
10576 \begin_layout Standard
10577 por 
10578 \noun on
10579 David Johnson; 
10580 \noun default
10581 actualizado por 
10582 \noun on
10583 Richard Heck
10584 \end_layout
10585
10586 \begin_layout Standard
10587 \begin_inset VSpace bigskip
10588 \end_inset
10589
10590
10591 \end_layout
10592
10593 \begin_layout Standard
10594 \noindent
10595 Los formatos AMS \SpecialChar LaTeX
10596  están configurados para adaptarse a los estilos recomendados
10597  por la 
10598 \emph on
10599 American Mathematical Society
10600 \emph default
10601  para sus publicaciones.
10602  Estos formatos no están definidos para una revista en particular, pero
10603  se pueden adaptar fácilmente.
10604  En la documentación de AMS (disponible en 
10605 \begin_inset Flex URL
10606 status collapsed
10607
10608 \begin_layout Plain Layout
10609
10610 http://www.ams.org
10611 \end_layout
10612
10613 \end_inset
10614
10615  o 
10616 \begin_inset Flex URL
10617 status collapsed
10618
10619 \begin_layout Plain Layout
10620
10621 ftp://ftp.ams.org/pub/tex/amslatex/
10622 \end_layout
10623
10624 \end_inset
10625
10626 ) encontrarás instrucciones específicas para cada publicación (generalmente
10627  será cuestión de cambiar una simple línea).
10628  Estos formatos son apropiados, y útiles, para cualquier escrito de matemáticas.
10629 \end_layout
10630
10631 \begin_layout Standard
10632 \noindent
10633 Hay dos formatos básicos AMS \SpecialChar LaTeX
10634
10635 \end_layout
10636
10637 \begin_layout Itemize
10638 amsart: formato estándar de artículo AMS
10639 \end_layout
10640
10641 \begin_layout Itemize
10642 amsbook: formato estándar de libro AMS (en realidad, monografía) 
10643 \end_layout
10644
10645 \begin_layout Standard
10646 Los formatos por sí mismos solo contienen el mínimo necesario para usar
10647  las clases AMS.
10648  En particular, no contienen ninguno de los entornos 'teorema' utilizados
10649  para establecer teoremas, lemas y demás.
10650  Estos se encuentran, en cambio, en el módulo 
10651 \begin_inset Flex Code
10652 status collapsed
10653
10654 \begin_layout Plain Layout
10655 Teoremas (AMS)
10656 \end_layout
10657
10658 \end_inset
10659
10660 , que se carga por omisión cuando seleccionas una de las clases AMS.
10661  (Además se puede usar con otras clases y se puede quitar, si prefieres
10662  usar otra cosa).
10663  Hay entornos menos utilizados en el módulo 
10664 \begin_inset Flex Code
10665 status collapsed
10666
10667 \begin_layout Plain Layout
10668 Teoremas (AMS-Extendido)
10669 \end_layout
10670
10671 \end_inset
10672
10673 , que se debe cargar a mano.
10674 \end_layout
10675
10676 \begin_layout Standard
10677 Por omisión, los teoremas y demás se numeran consecutivamente a lo largo
10678  del documento, pero esto se puede modificar cargando el módulo 
10679 \begin_inset Flex Code
10680 status collapsed
10681
10682 \begin_layout Plain Layout
10683 Teoremas (por secciones)
10684 \end_layout
10685
10686 \end_inset
10687
10688  o, si estás usando 
10689 \begin_inset Flex Code
10690 status collapsed
10691
10692 \begin_layout Plain Layout
10693 book (AMS)
10694 \end_layout
10695
10696 \end_inset
10697
10698 , el módulo 
10699 \begin_inset Flex Code
10700 status collapsed
10701
10702 \begin_layout Plain Layout
10703 Teoremas (por capítulos)
10704 \end_layout
10705
10706 \end_inset
10707
10708 .
10709  Estos numerarán los resultados como 
10710 \begin_inset Formula $n.m$
10711 \end_inset
10712
10713 , donde el primer número se refiere a la sección (o capítulo) y el segundo
10714  al número total de resultados hasta ese momento en la sección (o capítulo).
10715  Muchos entornos también están disponibles sin numeración.
10716  Estos se indican mediante un asterisco al final.
10717  Si es el caso que quieres 
10718 \emph on
10719 solo
10720 \emph default
10721  resultados sin numerar, el módulo 
10722 \begin_inset Flex Code
10723 status collapsed
10724
10725 \begin_layout Plain Layout
10726 Teoremas (asterisco)
10727 \end_layout
10728
10729 \end_inset
10730
10731  proporciona esta opción.
10732 \end_layout
10733
10734 \begin_layout Standard
10735 Hay que tener en cuenta que estos módulos no
10736 \emph on
10737  deben 
10738 \emph default
10739 utilizarse con las clases AMS.
10740  Es perfectamente posible usar el módulo 
10741 \begin_inset Flex Code
10742 status collapsed
10743
10744 \begin_layout Plain Layout
10745 Teoremas (AMS)
10746 \end_layout
10747
10748 \end_inset
10749
10750  y los otros mencionados con otras clases, como 
10751 \begin_inset Flex Code
10752 status collapsed
10753
10754 \begin_layout Plain Layout
10755 article
10756 \end_layout
10757
10758 \end_inset
10759
10760
10761 \begin_inset Flex Code
10762 status collapsed
10763
10764 \begin_layout Plain Layout
10765 report
10766 \end_layout
10767
10768 \end_inset
10769
10770
10771 \begin_inset Flex Code
10772 status collapsed
10773
10774 \begin_layout Plain Layout
10775 book (KOMA-script)
10776 \end_layout
10777
10778 \end_inset
10779
10780 , etc.
10781 \end_layout
10782
10783 \begin_layout Subsection
10784 Qué proporcionan estos formatos
10785 \end_layout
10786
10787 \begin_layout Standard
10788 Estos formatos proporcionan una larga lista de entornos incluidos.
10789  En AMS-\SpecialChar LaTeX
10790  se puede definir, de hecho, una variedad ilimitada de entornos
10791  'teorema'.
10792  Sin embargo AMS recomienda utilizar los entornos que están disponibles
10793  en \SpecialChar LyX
10794 .
10795  
10796 \end_layout
10797
10798 \begin_layout Standard
10799 Los siguientes entornos —así como los entornos estándar como 
10800 \begin_inset Flex Noun
10801 status collapsed
10802
10803 \begin_layout Plain Layout
10804 sección
10805 \end_layout
10806
10807 \end_inset
10808
10809
10810 \begin_inset Flex Noun
10811 status collapsed
10812
10813 \begin_layout Plain Layout
10814 bibliografía
10815 \end_layout
10816
10817 \end_inset
10818
10819
10820 \begin_inset Flex Noun
10821 status collapsed
10822
10823 \begin_layout Plain Layout
10824 título
10825 \end_layout
10826
10827 \end_inset
10828
10829
10830 \begin_inset Flex Noun
10831 status collapsed
10832
10833 \begin_layout Plain Layout
10834 autor
10835 \end_layout
10836
10837 \end_inset
10838
10839 , y 
10840 \begin_inset Flex Noun
10841 status collapsed
10842
10843 \begin_layout Plain Layout
10844 Fecha
10845 \end_layout
10846
10847 \end_inset
10848
10849 — son suministrados por 
10850 \begin_inset Flex Code
10851 status collapsed
10852
10853 \begin_layout Plain Layout
10854 article (AMS)
10855 \end_layout
10856
10857 \end_inset
10858
10859  y 
10860 \begin_inset Flex Code
10861 status collapsed
10862
10863 \begin_layout Plain Layout
10864 book (AMS)
10865 \end_layout
10866
10867 \end_inset
10868
10869 :
10870 \end_layout
10871
10872 \begin_layout Description
10873 Dirección Esto debería ser la dirección permanente del autor.
10874 \end_layout
10875
10876 \begin_layout Description
10877 Dirección
10878 \begin_inset space ~
10879 \end_inset
10880
10881 actual Debería ser la dirección provisional del autor en el momento de la
10882  presentación, si es diferente de la Dirección.
10883 \end_layout
10884
10885 \begin_layout Description
10886 Correo
10887 \begin_inset space ~
10888 \end_inset
10889
10890 electrónico Dirección de correo electrónico del autor.
10891 \end_layout
10892
10893 \begin_layout Description
10894 URL Dirección de la página web del autor, si se quiere.
10895 \end_layout
10896
10897 \begin_layout Description
10898 Claves Palabras o frases claves usadas para identificar temas específicos
10899  tratados en el artículo.
10900 \end_layout
10901
10902 \begin_layout Description
10903 ClaseTema Se refiere a la Clasificación de temas de AMS, publicada y descrita
10904  en 
10905 \emph on
10906 Mathematical Reviews
10907 \emph default
10908 .
10909  También están disponibles en línea en los sitios AMS citados arriba.
10910 \end_layout
10911
10912 \begin_layout Description
10913 Agradecimientos
10914 \end_layout
10915
10916 \begin_layout Description
10917 Dedicatoria
10918 \end_layout
10919
10920 \begin_layout Description
10921 Traductor
10922 \end_layout
10923
10924 \begin_layout Standard
10925 Los siguientes entornos son suministrados por ambos módulos 
10926 \begin_inset Flex Code
10927 status collapsed
10928
10929 \begin_layout Plain Layout
10930 Teoremas
10931 \end_layout
10932
10933 \end_inset
10934
10935  y 
10936 \begin_inset Flex Code
10937 status collapsed
10938
10939 \begin_layout Plain Layout
10940 Teoremas (AMS)
10941 \end_layout
10942
10943 \end_inset
10944
10945 , en el segundo caso en ambas versiones no numerada (asterisco) y numerada
10946  (sin asterisco).
10947  Estos mismos entornos son suministrados solo en la versión con asterisco
10948  por el módulo 
10949 \begin_inset Flex Code
10950 status collapsed
10951
10952 \begin_layout Plain Layout
10953 Teoremas (asterisco)
10954 \end_layout
10955
10956 \end_inset
10957
10958 :
10959 \end_layout
10960
10961 \begin_layout Theorem
10962 Se usa típicamente para declaraciones fundamentales.
10963 \end_layout
10964
10965 \begin_layout Corollary*
10966 Se usa para declaraciones que se siguen justa y directamente de declaraciones
10967  previas.
10968  De nuevo, pueden ser resultados fundamentales.
10969  
10970 \end_layout
10971
10972 \begin_layout Lemma
10973 Resultados de menor importancia necesarios para probar otras declaraciones.
10974 \end_layout
10975
10976 \begin_layout Proposition
10977 Son resultados menos importantes que (es de esperar) se añaden a la teoría
10978  general en discusión.
10979 \end_layout
10980
10981 \begin_layout Conjecture
10982 Son afirmaciones propuestas sin justificación, que el autor no sabe como
10983  probar, pero que parecen ser ciertas (al menos para el autor).
10984 \end_layout
10985
10986 \begin_layout Definition*
10987 Adivina para qué es esto.
10988  La letra es distinta en este entorno que en los anteriores.
10989 \end_layout
10990
10991 \begin_layout Example*
10992 Se usa para ejemplos que ilustran resultados probados.
10993 \end_layout
10994
10995 \begin_layout Problem
10996 Realmente no se sabe para qué es esto.
10997  Imagínatelo.
10998 \end_layout
10999
11000 \begin_layout Exercise*
11001 Escribe una descripción para esto.
11002 \end_layout
11003
11004 \begin_layout Remark
11005 Este entorno es también un tipo de teorema, generalmente un tipo menor de
11006  observación.
11007 \end_layout
11008
11009 \begin_layout Claim*
11010 Usada a menudo en el curso de una demostración de un resultado más amplio.
11011 \end_layout
11012
11013 \begin_layout Case
11014 Generalmente se usan para interrumpir argumentos largos, usando casos específico
11015 s de alguna condición.
11016 \end_layout
11017
11018 \begin_layout Case
11019 El esquema de numeración de casos es propio, independiente de otras declaracione
11020 s numeradas.
11021 \end_layout
11022
11023 \begin_layout Proof
11024 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11025  aunque puede variar con estilos diferentes).
11026  Si quieres tener otros entornos dentro de este —por ejemplo, un entorno
11027  Caso— y quieres que el símbolo QED aparezca solo tras ellos, entonces los
11028  demás entornos tienen que anidarse dentro del entorno demostración.
11029  Véase la sección 
11030 \emph on
11031 Anidación de entornos
11032 \emph default
11033  de la 
11034 \emph on
11035 Guía del usuario
11036 \emph default
11037  para información sobre anidación.
11038 \end_layout
11039
11040 \begin_layout Standard
11041 Y estos son los entornos suministrados por 
11042 \begin_inset Flex Code
11043 status collapsed
11044
11045 \begin_layout Plain Layout
11046 Teoremas (AMS extendido)
11047 \end_layout
11048
11049 \end_inset
11050
11051 :
11052 \end_layout
11053
11054 \begin_layout Criterion*
11055 Una condición requerida.
11056 \end_layout
11057
11058 \begin_layout Algorithm*
11059 Un procedimiento general a utilizar.
11060 \end_layout
11061
11062 \begin_layout Axiom*
11063 Esto es una propiedad o declaración tomada como verdadera dentro del sistema
11064  en discusión.
11065 \end_layout
11066
11067 \begin_layout Condition*
11068 Utilizado a veces para establecer una condición asumida en el presente contexto
11069  de discusión.
11070 \end_layout
11071
11072 \begin_layout Note*
11073 Similar a Observación.
11074 \end_layout
11075
11076 \begin_layout Notation*
11077 Usado para la explicación de una notación, sí.
11078 \end_layout
11079
11080 \begin_layout Summary
11081 ¿Necesitamos explicarlo?
11082 \end_layout
11083
11084 \begin_layout Acknowledgement*
11085 Agradecimiento.
11086 \end_layout
11087
11088 \begin_layout Conclusion*
11089 Usado a veces al final de una larga cadena de argumentos.
11090 \end_layout
11091
11092 \begin_layout Fact
11093 Se usa en forma parecida a Proposición, aunque quizá a una menor escala.
11094 \end_layout
11095
11096 \begin_layout Standard
11097 Además, Las clases AMS suministran automáticamente los paquetes de tipografía
11098  AMS \SpecialChar LaTeX
11099  y AMS.
11100  Deben estar disponibles en tu sistema para usar estos entornos.
11101 \end_layout
11102
11103 \begin_layout Section
11104 Broadway
11105 \end_layout
11106
11107 \begin_layout Standard
11108 por 
11109 \shape smallcaps
11110 Garst Reese
11111 \end_layout
11112
11113 \begin_layout Subsection
11114 Introducción
11115 \end_layout
11116
11117 \begin_layout Standard
11118 Broadway se usa para escribir guiones teatrales.
11119  El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11120  Este formato debería ser adecuado para los lugares de trabajo.
11121 \end_layout
11122
11123 \begin_layout Subsection
11124 Problemas especiales
11125 \end_layout
11126
11127 \begin_layout Standard
11128 Los mismos que en el caso de 
11129 \family sans
11130 Hollywood
11131 \family default
11132 .
11133 \end_layout
11134
11135 \begin_layout Subsection
11136 Características especiales
11137 \end_layout
11138
11139 \begin_layout Standard
11140 Introduce los nombres de los personajes 
11141 \family sans
11142 (Portavoz)
11143 \family default
11144  como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11145  el nombre.
11146  El diálogo de referencia cruzada mostrará el conjunto de personajes.
11147 \end_layout
11148
11149 \begin_layout Subsection
11150 Tamaño del papel y márgenes
11151 \end_layout
11152
11153 \begin_layout Standard
11154 USLetter, izquierdo 1.6
11155 \begin_inset space \thinspace{}
11156 \end_inset
11157
11158 in, derecho 0.75
11159 \begin_inset space \thinspace{}
11160 \end_inset
11161
11162 in, superior 0.5
11163 \begin_inset space \thinspace{}
11164 \end_inset
11165
11166 in, inferior 0.75
11167 \begin_inset space \thinspace{}
11168 \end_inset
11169
11170 in
11171 \end_layout
11172
11173 \begin_layout Subsection
11174 Entornos
11175 \end_layout
11176
11177 \begin_layout Standard
11178 Están disponibles los entornos siguientes.
11179  Los atajos de teclado indicados a la derecha funcionan con el archivo
11180 \family typewriter
11181  broadway.bind
11182 \family default
11183 .
11184 \end_layout
11185
11186 \begin_layout Itemize
11187
11188 \family sans
11189 Normal
11190 \begin_inset Newline newline
11191 \end_inset
11192
11193
11194 \family default
11195 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11196  de los demás entornos.
11197 \end_layout
11198
11199 \begin_layout Itemize
11200
11201 \family sans
11202 Narrativa
11203 \begin_inset space \hfill{}
11204 \end_inset
11205
11206 M-z n
11207 \begin_inset Newline newline
11208 \end_inset
11209
11210
11211 \family default
11212 Se usa para la descripción del escenario y de la acción.
11213  La primera aparición de un personaje en MAYÚSCULAS.
11214 \end_layout
11215
11216 \begin_layout Itemize
11217
11218 \family sans
11219 ACTO
11220 \begin_inset space \hfill{}
11221 \end_inset
11222
11223 M-z a
11224 \begin_inset Newline newline
11225 \end_inset
11226
11227
11228 \family default
11229 Automáticamente numerado.
11230  En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11231 \end_layout
11232
11233 \begin_layout Itemize
11234
11235 \family sans
11236 ACTO*
11237 \begin_inset space \hfill{}
11238 \end_inset
11239
11240 M-z S at
11241 \begin_inset Newline newline
11242 \end_inset
11243
11244
11245 \family default
11246 Subtítulo para 
11247 \family sans
11248 ACTO.
11249
11250 \family default
11251  Es texto centrado.
11252 \end_layout
11253
11254 \begin_layout Itemize
11255
11256 \family sans
11257 ESCENA
11258 \begin_inset space \hfill{}
11259 \end_inset
11260
11261 M-z S-S
11262 \begin_inset Newline newline
11263 \end_inset
11264
11265
11266 \family default
11267 No es automáticamente numerado, debes ponerlo.
11268  Esto es porque no he sabido cómo hacerlo.
11269 \end_layout
11270
11271 \begin_layout Itemize
11272
11273 \family sans
11274 SUBIR_TELÓN:
11275 \begin_inset space \hfill{}
11276 \end_inset
11277
11278 M-z S-R
11279 \begin_inset Newline newline
11280 \end_inset
11281
11282
11283 \family default
11284 Un caso especial de 
11285 \family sans
11286 Narrativa
11287 \family default
11288  para describir el escenario y la acción cuando se levanta el telón.
11289 \end_layout
11290
11291 \begin_layout Itemize
11292
11293 \family sans
11294 Portavoz
11295 \begin_inset space \hfill{}
11296 \end_inset
11297
11298 M-z s
11299 \begin_inset Newline newline
11300 \end_inset
11301
11302
11303 \family default
11304 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11305 \end_layout
11306
11307 \begin_layout Itemize
11308
11309 \family sans
11310 Entre_Paréntesis
11311 \begin_inset space \hfill{}
11312 \end_inset
11313
11314 M-z p
11315 \begin_inset Newline newline
11316 \end_inset
11317
11318
11319 \family default
11320 Instrucciones para el portavoz.
11321  Los paréntesis se insertan automáticamente.
11322  Solo ( se muestra en pantalla, pero se imprimirán ambos.
11323  Este entorno solo se usa dentro del entorno 
11324 \family sans
11325 Diálogo
11326 \family default
11327 .
11328 \end_layout
11329
11330 \begin_layout Itemize
11331
11332 \family sans
11333 Diálogo
11334 \begin_inset space \hfill{}
11335 \end_inset
11336
11337 M-z d
11338 \begin_inset Newline newline
11339 \end_inset
11340
11341
11342 \family default
11343 Lo que dice el personaje portavoz.
11344 \end_layout
11345
11346 \begin_layout Itemize
11347
11348 \family sans
11349 CORTINA
11350 \begin_inset space \hfill{}
11351 \end_inset
11352
11353 M-z S-C
11354 \begin_inset Newline newline
11355 \end_inset
11356
11357
11358 \family default
11359 Cae el telón.
11360 \end_layout
11361
11362 \begin_layout Itemize
11363
11364 \family sans
11365 Título
11366 \begin_inset space \hfill{}
11367 \end_inset
11368
11369 M-z S-T
11370 \end_layout
11371
11372 \begin_layout Itemize
11373
11374 \family sans
11375 Autor
11376 \begin_inset space \hfill{}
11377 \end_inset
11378
11379 M-z S-A
11380 \end_layout
11381
11382 \begin_layout Itemize
11383
11384 \family sans
11385 Dirección_dcha
11386 \begin_inset space \hfill{}
11387 \end_inset
11388
11389 M-z r
11390 \end_layout
11391
11392 \begin_layout Standard
11393 Un saludo para todos.
11394 \end_layout
11395
11396 \begin_layout Section
11397 Dinbrief
11398 \end_layout
11399
11400 \begin_layout Standard
11401 La clase de documento 
11402 \family sans
11403 dinbrief
11404 \family default
11405  sirve para escribir cartas de acuerdo con las convenciones alemanas.
11406  Se incluye un archivo modelo como punto de partida, en 
11407 \family typewriter
11408 .../lyx/share/templates
11409 \family default
11410 .
11411 \end_layout
11412
11413 \begin_layout Section
11414 Publicaciones de Elsevier
11415 \end_layout
11416
11417 \begin_layout Standard
11418 Véase el archivo de plantilla de \SpecialChar LyX
11419  
11420 \family typewriter
11421 elsarticle.lyx
11422 \family default
11423 .
11424  Contiene la información necesaria.
11425 \end_layout
11426
11427 \begin_layout Section
11428 Foils (antes 
11429 \family sans
11430 Foil
11431 \family default
11432 \noun on
11433 \SpecialChar TeX
11434
11435 \noun default
11436 )
11437 \begin_inset CommandInset label
11438 LatexCommand label
11439 name "sec:foiltex"
11440
11441 \end_inset
11442
11443
11444 \end_layout
11445
11446 \begin_layout Standard
11447 por 
11448 \noun on
11449 Allan Rae
11450 \end_layout
11451
11452 \begin_layout Subsection
11453 Introducción
11454 \end_layout
11455
11456 \begin_layout Standard
11457 En esta sección se describe cómo hacer transparencias para proyectores con
11458  \SpecialChar LyX
11459 .
11460  Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11461  
11462 \family sans
11463 slides
11464 \family default
11465 \emph on
11466  
11467 \emph default
11468 y la clase 
11469 \family sans
11470 Foil
11471 \family default
11472 \SpecialChar TeX
11473 .
11474  Esta sección se ocupa de esta última.
11475 \end_layout
11476
11477 \begin_layout Standard
11478 Repito de nuevo alto y claro, para que no haya equívocos:
11479 \end_layout
11480
11481 \begin_layout Standard
11482 \begin_inset VSpace bigskip
11483 \end_inset
11484
11485
11486 \end_layout
11487
11488 \begin_layout Standard
11489 \align center
11490
11491 \size large
11492 Esta sección trata 
11493 \emph on
11494 solo
11495 \emph default
11496
11497 \begin_inset space ~
11498 \end_inset
11499
11500  la clase 
11501 \family sans
11502 FoilTeX
11503 \family default
11504 \emph on
11505 .
11506 \end_layout
11507
11508 \begin_layout Standard
11509 \begin_inset VSpace bigskip
11510 \end_inset
11511
11512
11513 \end_layout
11514
11515 \begin_layout Standard
11516 Si buscas la documentación para 
11517 \family sans
11518 slides (default)
11519 \family default
11520 , mira la sección
11521 \begin_inset space ~
11522 \end_inset
11523
11524
11525 \begin_inset CommandInset ref
11526 LatexCommand ref
11527 reference "sec:slitex"
11528
11529 \end_inset
11530
11531 .
11532  Si tu sistema no dispone de la clase 
11533 \family sans
11534 FoilTeX
11535 \family default
11536 , tendrás que usar la clase 
11537 \family sans
11538 slides
11539 \family default
11540 , que no es tan buena como 
11541 \family sans
11542 foils.
11543 \end_layout
11544
11545 \begin_layout Standard
11546 La clase 
11547 \family sans
11548 foils
11549 \family default
11550  está diseñada para usar con la versión
11551 \begin_inset space ~
11552 \end_inset
11553
11554 2.1 de la clase \SpecialChar LaTeX
11555  
11556 \family sans
11557 foils.cls
11558 \family default
11559 , que forma parte de \SpecialChar LaTeX2e
11560 .
11561 \end_layout
11562
11563 \begin_layout Subsection
11564 Para empezar
11565 \end_layout
11566
11567 \begin_layout Standard
11568 Obviamente, para usar esta clase, debes seleccionar 
11569 \family sans
11570 FoilTeX
11571 \family default
11572  en el diálogo 
11573 \family sans
11574 Documento\SpecialChar menuseparator
11575 Configuración
11576 \family default
11577 .
11578  Algunas de las configuraciones de este diálogo son específicas de esta
11579  clase y deberían quedar así:
11580 \end_layout
11581
11582 \begin_layout Itemize
11583 No cambies las opciones 
11584 \family sans
11585 Caras
11586 \family default
11587  y 
11588 \family sans
11589 Columnas
11590 \family default
11591 .
11592  No se tienen en cuenta por la clase 
11593 \family sans
11594 foils
11595 \family default
11596 .
11597 \end_layout
11598
11599 \begin_layout Itemize
11600 El tamaño de letra por omisión es 20
11601 \begin_inset space \thinspace{}
11602 \end_inset
11603
11604 pt, y las otras opciones son 17
11605 \begin_inset space \thinspace{}
11606 \end_inset
11607
11608 pt, 25
11609 \begin_inset space \thinspace{}
11610 \end_inset
11611
11612 pt y 30
11613 \begin_inset space \thinspace{}
11614 \end_inset
11615
11616 pt.
11617 \end_layout
11618
11619 \begin_layout Itemize
11620 La tipografía predeterminada es 
11621 \family sans
11622 sans
11623 \family default
11624  
11625 \family sans
11626 serif
11627 \family default
11628 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
11629 \end_layout
11630
11631 \begin_layout Itemize
11632
11633 \family sans
11634 Foil
11635 \family default
11636 \SpecialChar TeX
11637  soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
11638  trabajar con diapositivas de 35
11639 \begin_inset space \thinspace{}
11640 \end_inset
11641
11642 mm.
11643  No soporta los tamaños A5, B5, legal o executive.
11644 \end_layout
11645
11646 \begin_layout Itemize
11647 No enredes cambiando la colocación de flotantes porque se ignoran en todo
11648  caso.
11649  Los flotantes aparecen siempre en el lugar del texto donde se pongan.
11650 \end_layout
11651
11652 \begin_layout Itemize
11653 La configuración del 
11654 \family sans
11655 Diseño
11656 \begin_inset space ~
11657 \end_inset
11658
11659 de
11660 \begin_inset space ~
11661 \end_inset
11662
11663 página
11664 \family default
11665  funciona un poco distinto para esta clase.
11666  
11667 \family sans
11668 Foil
11669 \family default
11670 \SpecialChar TeX
11671  proporciona amplias capacidades para el encabezado y el pie, incluyendo
11672  el uso de logos personalizados.
11673  Véase la sección
11674 \begin_inset space ~
11675 \end_inset
11676
11677
11678 \begin_inset CommandInset ref
11679 LatexCommand ref
11680 reference "sec:foilfoot"
11681
11682 \end_inset
11683
11684  para más detalles.
11685  La página de título se trata de manera diferente a las demás páginas, 
11686 \emph on
11687 siempre 
11688 \emph default
11689 va sin numerar y 
11690 \emph on
11691 siempre 
11692 \emph default
11693 pone el logo, (si se define uno), centrado en la parte inferior de la página.
11694  Las opciones posibles de estilo de página son:
11695 \end_layout
11696
11697 \begin_deeper
11698 \begin_layout Labeling
11699 \labelwidthstring MMMMMMM
11700
11701 \family sans
11702 \series bold
11703 empty
11704 \family default
11705 \series default
11706  El documento de salida no contiene números de página, ni encabezados ni
11707  pies (excepto notas al pie, claro).
11708  
11709 \end_layout
11710
11711 \begin_layout Labeling
11712 \labelwidthstring MMMMMMM
11713
11714 \family sans
11715 \series bold
11716 plain
11717 \family default
11718 \series default
11719  La salida contiene números de página centrados en la parte inferior.
11720  No contiene encabezados ni pies (que no sean notas).
11721 \end_layout
11722
11723 \begin_layout Labeling
11724 \labelwidthstring MMMMMMM
11725
11726 \family sans
11727 \series bold
11728 foilheadings
11729 \family default
11730 \series default
11731  Números de página en la esquina inferior derecha.
11732  Además se muestran encabezados y pies.
11733  Esta es la opción por omisión.
11734 \end_layout
11735
11736 \begin_layout Labeling
11737 \labelwidthstring MMMMMMM
11738
11739 \family sans
11740 \series bold
11741 fancy
11742 \family default
11743 \series default
11744  Da acceso al paquete 
11745 \family sans
11746 fancyheadings
11747 \family default
11748  aunque el autor de 
11749 \family sans
11750 Foil
11751 \family default
11752 \SpecialChar TeX
11753  desaconseja su empleo a causa de potenciales conflictos con el diseño de
11754  la página.
11755 \end_layout
11756
11757 \end_deeper
11758 \begin_layout Subsubsection
11759 Opciones extras
11760 \end_layout
11761
11762 \begin_layout Standard
11763 En el diálogo 
11764 \family sans
11765 Documento\SpecialChar menuseparator
11766 Configuración
11767 \family default
11768  se pueden poner las siguientes opciones extras:
11769 \end_layout
11770
11771 \begin_layout Labeling
11772 \labelwidthstring MMMMMMx
11773
11774 \series bold
11775 35mmSlide
11776 \series default
11777  Establece el formato de papel en 7.33
11778 \begin_inset space \thinspace{}
11779 \end_inset
11780
11781 in por 11
11782 \begin_inset space \thinspace{}
11783 \end_inset
11784
11785 in, que es aproximadamente el aspecto de una diapositiva de 35
11786 \begin_inset space \thinspace{}
11787 \end_inset
11788
11789 mm, Haciendo algo más fácil trabajar con este soporte.
11790 \end_layout
11791
11792 \begin_layout Labeling
11793 \labelwidthstring MMMMMMx
11794
11795 \series bold
11796 headrule
11797 \series default
11798  Dibuja una línea bajo el encabezado en cada página excepto la de título.
11799 \end_layout
11800
11801 \begin_layout Labeling
11802 \labelwidthstring MMMMMMx
11803
11804 \series bold
11805 footrule
11806 \series default
11807  Dibuja una línea sobre el pie de cada página excepto la de título.
11808 \end_layout
11809
11810 \begin_layout Labeling
11811 \labelwidthstring MMMMMMx
11812
11813 \series bold
11814 dvips
11815 \series default
11816  Esto se configura automáticamente con cada nuevo documento 
11817 \family sans
11818 foils
11819 \family default
11820 .
11821  Indica a 
11822 \family sans
11823 Foil
11824 \family default
11825 \SpecialChar TeX
11826  que use el driver dvips para girar las páginas establecidas en modo apaisado.
11827 \end_layout
11828
11829 \begin_layout Labeling
11830 \labelwidthstring MMMMMMx
11831
11832 \series bold
11833 landscape
11834 \series default
11835  Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
11836  rotación.
11837  Por tanto si usas esta opción necesitas un programa externo para rotar
11838  las páginas y alimentar la impresora en modo apaisado.
11839  Ten en cuenta que esta opción invierte los comportamientos de los entornos
11840  
11841 \family sans
11842 Foilhead
11843 \family default
11844  y 
11845 \family sans
11846 Rotatefoilhead
11847 \family default
11848  (que se describen en la siguiente sección).
11849 \end_layout
11850
11851 \begin_layout Labeling
11852 \labelwidthstring MMMMMMx
11853
11854 \series bold
11855 leqno
11856 \series default
11857  Números de ecuación a la izquierda.
11858 \end_layout
11859
11860 \begin_layout Labeling
11861 \labelwidthstring MMMMMMx
11862
11863 \series bold
11864 fleqn
11865 \series default
11866  Ecuaciones ajustadas a la izquierda.
11867 \end_layout
11868
11869 \begin_layout Subsection
11870 Entornos soportados
11871 \end_layout
11872
11873 \begin_layout Standard
11874 La mayoría de los entornos habitualmente soportados en otras clases lo son
11875  también por la clase 
11876 \family sans
11877 foils
11878 \family default
11879 .
11880  Hay varios entornos adicionales suministrados por 
11881 \family sans
11882 Foil
11883 \family default
11884 \SpecialChar TeX
11885  así como un par añadidos por \SpecialChar LyX
11886 .
11887  Los entornos siguientes son compartidos con otras clases:
11888 \end_layout
11889
11890 \begin_layout Standard
11891 \begin_inset Flex Multiple Columns
11892 status open
11893
11894 \begin_layout Itemize
11895
11896 \family sans
11897 Normal
11898 \end_layout
11899
11900 \begin_layout Itemize
11901
11902 \family sans
11903 Enumeración*
11904 \end_layout
11905
11906 \begin_layout Itemize
11907
11908 \family sans
11909 Enumeración
11910 \end_layout
11911
11912 \begin_layout Itemize
11913
11914 \family sans
11915 Descripción
11916 \end_layout
11917
11918 \begin_layout Itemize
11919
11920 \family sans
11921 Lista
11922 \end_layout
11923
11924 \begin_layout Itemize
11925
11926 \family sans
11927 Código-\SpecialChar LyX
11928
11929 \end_layout
11930
11931 \begin_layout Itemize
11932
11933 \family sans
11934 Verso
11935 \end_layout
11936
11937 \begin_layout Itemize
11938
11939 \family sans
11940 Cita
11941 \end_layout
11942
11943 \begin_layout Itemize
11944
11945 \family sans
11946 Citar
11947 \end_layout
11948
11949 \begin_layout Itemize
11950
11951 \family sans
11952 Título
11953 \end_layout
11954
11955 \begin_layout Itemize
11956
11957 \family sans
11958 Autor
11959 \end_layout
11960
11961 \begin_layout Itemize
11962
11963 \family sans
11964 Fecha
11965 \end_layout
11966
11967 \begin_layout Itemize
11968
11969 \family sans
11970 Resumen
11971 \end_layout
11972
11973 \begin_layout Itemize
11974
11975 \family sans
11976 Bibliografía
11977 \end_layout
11978
11979 \begin_layout Itemize
11980
11981 \family sans
11982 Dirección
11983 \end_layout
11984
11985 \begin_layout Itemize
11986
11987 \family sans
11988 Dirección derecha
11989 \end_layout
11990
11991 \end_inset
11992
11993
11994 \end_layout
11995
11996 \begin_layout Standard
11997 Esto es, todos los entornos principales aparte de los entornos de secciones.
11998  Puesto que 
11999 \family sans
12000 foils
12001 \family default
12002  contiene sus propias secciones, con un título y un cuerpo, 
12003 \family sans
12004 Foil
12005 \family default
12006 \SpecialChar TeX
12007  proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12008 \end_layout
12009
12010 \begin_layout Itemize
12011
12012 \family sans
12013 Encabezado_Diapositiva
12014 \end_layout
12015
12016 \begin_layout Itemize
12017
12018 \family sans
12019 Encabezado_Diapositiva_Giro
12020 \end_layout
12021
12022 \begin_layout Standard
12023 Además, \SpecialChar LyX
12024  provee versiones ligeramente modificadas de estos dos entornos,
12025  llamados:
12026 \end_layout
12027
12028 \begin_layout Itemize
12029
12030 \family sans
12031 Encabezado_Diapositiva_Corto
12032 \end_layout
12033
12034 \begin_layout Itemize
12035
12036 \family sans
12037 Encabezado_Diapositiva_Giro_Corto
12038 \end_layout
12039
12040 \begin_layout Standard
12041 cuyas diferencias serán explicadas en la siguiente sección.
12042 \end_layout
12043
12044 \begin_layout Standard
12045 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12046  de ideas, teoremas y demás, 
12047 \family sans
12048 Foil
12049 \family default
12050 \SpecialChar TeX
12051  proporciona además una extensa colección de entornos para estas cosas:
12052 \end_layout
12053
12054 \begin_layout Standard
12055
12056 \family sans
12057 \begin_inset Flex Multiple Columns
12058 status open
12059
12060 \begin_layout Itemize
12061
12062 \family sans
12063 Teorema
12064 \end_layout
12065
12066 \begin_layout Itemize
12067
12068 \family sans
12069 Lema
12070 \end_layout
12071
12072 \begin_layout Itemize
12073
12074 \family sans
12075 Corolario
12076 \end_layout
12077
12078 \begin_layout Itemize
12079
12080 \family sans
12081 Proposición
12082 \end_layout
12083
12084 \begin_layout Itemize
12085
12086 \family sans
12087 Definición
12088 \end_layout
12089
12090 \begin_layout Itemize
12091
12092 \family sans
12093 Demostración
12094 \end_layout
12095
12096 \begin_layout Itemize
12097
12098 \family sans
12099 Teorema*
12100 \end_layout
12101
12102 \begin_layout Itemize
12103
12104 \family sans
12105 Lema*
12106 \end_layout
12107
12108 \begin_layout Itemize
12109
12110 \family sans
12111 Corolario*
12112 \end_layout
12113
12114 \begin_layout Itemize
12115
12116 \family sans
12117 Proposición*
12118 \end_layout
12119
12120 \begin_layout Itemize
12121
12122 \family sans
12123 Definición*
12124 \end_layout
12125
12126 \end_inset
12127
12128
12129 \end_layout
12130
12131 \begin_layout Standard
12132 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12133  Además hay dos entornos de lista añadidos por \SpecialChar LyX
12134 :
12135 \end_layout
12136
12137 \begin_layout Itemize
12138
12139 \family sans
12140 Lista_Marca
12141 \end_layout
12142
12143 \begin_layout Itemize
12144
12145 \family sans
12146 Lista_Cruzada
12147 \end_layout
12148
12149 \begin_layout Standard
12150
12151 \family sans
12152 Foil
12153 \family default
12154 \SpecialChar TeX
12155  proporciona algunas capacidades poderosas para encabezados y pies, que
12156  es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12157  lugar del documento.
12158  Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12159 va, justo detrás del encabezado de la misma.
12160 \end_layout
12161
12162 \begin_layout Standard
12163 Para este propósito se suministran los siguientes estilos [
12164 \shape smallcaps
12165 Martin Vermeer
12166 \shape default
12167 ]:
12168 \end_layout
12169
12170 \begin_layout Standard
12171 \begin_inset Flex Multiple Columns
12172 status open
12173
12174 \begin_layout Itemize
12175
12176 \family sans
12177 Mi_Logotipo
12178 \end_layout
12179
12180 \begin_layout Itemize
12181
12182 \family sans
12183 Restrición
12184 \end_layout
12185
12186 \begin_layout Itemize
12187
12188 \family sans
12189 Pie_Derecho
12190 \end_layout
12191
12192 \begin_layout Itemize
12193
12194 \family sans
12195 Encabezado_Derecho
12196 \end_layout
12197
12198 \begin_layout Itemize
12199
12200 \family sans
12201 Encabezado_Izquierdo
12202 \end_layout
12203
12204 \begin_deeper
12205 \begin_layout Plain Layout
12206 \begin_inset space ~
12207 \end_inset
12208
12209
12210 \end_layout
12211
12212 \end_deeper
12213 \end_inset
12214
12215
12216 \end_layout
12217
12218 \begin_layout Standard
12219 Hay algunos comandos de 
12220 \family sans
12221 Foil
12222 \family default
12223 \SpecialChar TeX
12224  que \SpecialChar LyX
12225  no soporta directamente, pero se explica su función y su empleo en
12226  la sección
12227 \begin_inset space ~
12228 \end_inset
12229
12230
12231 \begin_inset CommandInset ref
12232 LatexCommand ref
12233 reference "sec:unsuppfoils"
12234
12235 \end_inset
12236
12237 .
12238 \end_layout
12239
12240 \begin_layout Subsection
12241 Diseño de una colección de diapositivas
12242 \end_layout
12243
12244 \begin_layout Standard
12245 Esta sección da una simple introducción a los diferentes entornos para construir
12246  una colección de diapositivas.
12247  
12248 \family sans
12249 Para
12250 \family default
12251  ver un ejemplo echa un vistazo al archivo 
12252 \family typewriter
12253 Foils.lyx
12254 \family default
12255 , accesible desde el botón 
12256 \family sans
12257 Ejemplos
12258 \family default
12259  del diálogo 
12260 \family sans
12261 Archivo\SpecialChar menuseparator
12262 Abrir
12263 \end_layout
12264
12265 \begin_layout Subsubsection
12266 Página de título
12267 \end_layout
12268
12269 \begin_layout Standard
12270 A diferencia de otras clases que proporcionan los entornos 
12271 \family sans
12272 Título
12273 \family default
12274
12275 \family sans
12276 Autor
12277 \family default
12278
12279 \family sans
12280 Fecha
12281 \family default
12282  y 
12283 \family sans
12284 Resumen
12285 \family default
12286
12287 \family sans
12288 foils
12289 \family default
12290  crea el título en una página propia.
12291  Si no pones entorno 
12292 \family sans
12293 Fecha
12294 \family default
12295  \SpecialChar LaTeX
12296  pondrá la fecha actual (cada vez que generes salida).
12297 \end_layout
12298
12299 \begin_layout Subsubsection
12300 Comenzar una diapositiva
12301 \end_layout
12302
12303 \begin_layout Standard
12304 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12305  Para la portada deberías usar 
12306 \family sans
12307 Encabezado
12308 \begin_inset space ~
12309 \end_inset
12310
12311 Diapositiva
12312 \family default
12313  o 
12314 \family sans
12315 Encabezado
12316 \begin_inset space ~
12317 \end_inset
12318
12319 Diapositiva
12320 \begin_inset space ~
12321 \end_inset
12322
12323 Corto.
12324
12325 \family default
12326  La diferencia entre estos es la cantidad de espacio entre el título (el
12327  encabezado) y el cuerpo de la diapositiva.
12328 \end_layout
12329
12330 \begin_layout Standard
12331 Las diapositivas apaisadas se generan con los entornos 
12332 \family sans
12333 Encabezado
12334 \begin_inset space ~
12335 \end_inset
12336
12337 Diapositiva
12338 \begin_inset space ~
12339 \end_inset
12340
12341 Giro 
12342 \family default
12343
12344 \family sans
12345 Encabezado
12346 \begin_inset space ~
12347 \end_inset
12348
12349 Diapositiva
12350 \begin_inset space ~
12351 \end_inset
12352
12353 Giro
12354 \begin_inset space ~
12355 \end_inset
12356
12357 Corto
12358 \family default
12359 .
12360  De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12361  Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12362  
12363 \end_layout
12364
12365 \begin_layout Standard
12366 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12367  de que debes usar el driver 
12368 \family typewriter
12369 dvips
12370 \family default
12371  para generar la salida PostScript, si no las diapositivas no se giran.
12372  Es posible conseguir orientación apaisada incluso si no dispones de 
12373 \family typewriter
12374 dvips
12375 \family default
12376  driver al configurar la salida a través de la impresora ;-)
12377 \end_layout
12378
12379 \begin_layout Subsubsection
12380 Teoremas, lemas, demostraciones y más
12381 \end_layout
12382
12383 \begin_layout Standard
12384 No puedes poner seguidos dos de estos entornos del mismo tipo.
12385
12386 \lang english
12387  If you use a normal paragraph break, you will just be extending the previous
12388  environment as if you had merged the two environments together.
12389 \end_layout
12390
12391 \begin_layout Subsubsection
12392 Listas
12393 \end_layout
12394
12395 \begin_layout Standard
12396 Dispones de todos los tipos de listas habituales en otras clases más dos
12397  nuevas.
12398  Solo describiré estas últimas.
12399  Para más información sobre los demás entornos de listas mira la 
12400 \emph on
12401 Guía del usuario
12402 \emph default
12403 .
12404  Si piensas usar el entorno 
12405 \family sans
12406 Enumeración*
12407 \family default
12408 \emph on
12409  
12410 \emph default
12411 podrías mirar también en la sección
12412 \begin_inset space ~
12413 \end_inset
12414
12415
12416 \begin_inset CommandInset ref
12417 LatexCommand ref
12418 reference "sec:Marcas"
12419
12420 \end_inset
12421
12422  la descripción de la Selección de Marcas de Listas.
12423 \end_layout
12424
12425 \begin_layout Standard
12426 Los dos estilos nuevos de lista, 
12427 \family sans
12428 Lista
12429 \begin_inset space ~
12430 \end_inset
12431
12432 Marcas
12433 \family default
12434  y 
12435 \family sans
12436 Lista
12437 \family default
12438
12439 \begin_inset space ~
12440 \end_inset
12441
12442
12443 \family sans
12444 Cruzada
12445 \family default
12446 , están diseñadas para facilitar la creación de listas del tipo 
12447 \begin_inset Quotes cld
12448 \end_inset
12449
12450 Sí/No
12451 \begin_inset Quotes crd
12452 \end_inset
12453
12454  o 
12455 \begin_inset Quotes cld
12456 \end_inset
12457
12458 Verdadero/Falso
12459 \begin_inset Quotes crd
12460 \end_inset
12461
12462  suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12463  De hecho, estas listas son versiones particularizadas del entorno 
12464 \family sans
12465 Enumeración*
12466 \family default
12467 .
12468  El paquete 
12469 \family typewriter
12470 psnfss
12471 \family default
12472  debe estar instalado.
12473 \end_layout
12474
12475 \begin_layout Subsubsection
12476 Figuras y cuadros
12477 \end_layout
12478
12479 \begin_layout Standard
12480
12481 \family sans
12482 Foil
12483 \family default
12484 \SpecialChar TeX
12485  redefine los flotantes de figuras y cuadros para que aparezcan exactamente
12486  en su lugar en el texto más bien que al principio de la página o en alguna
12487  otra posición.
12488  De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
12489  en cuenta.
12490 \end_layout
12491
12492 \begin_layout Subsubsection
12493 Encabezados y pies de página
12494 \begin_inset CommandInset label
12495 LatexCommand label
12496 name "sec:foilfoot"
12497
12498 \end_inset
12499
12500
12501 \end_layout
12502
12503 \begin_layout Standard
12504
12505 \family sans
12506 Mi
12507 \begin_inset space ~
12508 \end_inset
12509
12510 Logotipo
12511 \family default
12512  y 
12513 \family sans
12514 Restricción
12515 \family default
12516  son comandos usados para controlar el texto del pie izquierdo de la página.
12517  El primero permite incluir un logotipo gráfico en las transparencias; por
12518  omisión se imprime el logotipo 
12519 \begin_inset Quotes cld
12520 \end_inset
12521
12522 -Typeset by 
12523 \family sans
12524 Foil
12525 \family default
12526 \SpecialChar TeX
12527 -
12528 \begin_inset Quotes crd
12529 \end_inset
12530
12531 .
12532  El segundo permite poner una clasificación para los asistentes, p.
12533 \begin_inset space \thinspace{}
12534 \end_inset
12535
12536 ej.
12537 \begin_inset space ~
12538 \end_inset
12539
12540 Confidencial.
12541  Está vacío por omisión.
12542 \end_layout
12543
12544 \begin_layout Standard
12545 Las restantes esquinas de la página se pueden completar con 
12546 \family sans
12547 Pie
12548 \begin_inset space ~
12549 \end_inset
12550
12551 derecho
12552 \family default
12553  (por omisión los números de página), 
12554 \family sans
12555 Encabezado
12556 \begin_inset space ~
12557 \end_inset
12558
12559 derecho
12560 \family default
12561  (arriba derecha) y 
12562 \family sans
12563 Encabezado
12564 \begin_inset space ~
12565 \end_inset
12566
12567 izquierdo
12568 \family default
12569  (arriba izquierda).
12570 \end_layout
12571
12572 \begin_layout Subsection
12573 Características de 
12574 \family sans
12575 Foil
12576 \family default
12577 \SpecialChar TeX
12578  no soportadas
12579 \begin_inset CommandInset label
12580 LatexCommand label
12581 name "sec:unsuppfoils"
12582
12583 \end_inset
12584
12585
12586 \end_layout
12587
12588 \begin_layout Standard
12589 Todos los comandos mencionados a continuación deben ponerse en un entorno
12590  \SpecialChar LaTeX
12591 , o en modo \SpecialChar TeX
12592  dentro de otro entorno.
12593 \end_layout
12594
12595 \begin_layout Subsubsection
12596 Longitudes
12597 \end_layout
12598
12599 \begin_layout Standard
12600 Todas las longitudes se ajustan con el comando:
12601 \end_layout
12602
12603 \begin_layout Standard
12604
12605 \family typewriter
12606
12607 \backslash
12608 setlength{
12609 \family default
12610 \emph on
12611 nombre_longitud
12612 \family typewriter
12613 \emph default
12614 }{
12615 \family default
12616 \emph on
12617 nueva_longitud
12618 \family typewriter
12619 \emph default
12620 },
12621 \family default
12622
12623 \begin_inset Newline newline
12624 \end_inset
12625
12626 donde 
12627 \emph on
12628 nombre_longitud
12629 \emph default
12630  es el nombre de la variable de longitud que se quiere cambiar y 
12631 \emph on
12632 nueva_longitud
12633 \emph default
12634  es el valor deseado para esa longitud.
12635  Las longitudes deben expresarse en unidades como pulgadas (
12636 \family typewriter
12637 in
12638 \family default
12639 ), milímetros (
12640 \family typewriter
12641 mm
12642 \family default
12643 ) o puntos (
12644 \family typewriter
12645 pt
12646 \family default
12647 )
12648 \family typewriter
12649 ,
12650 \family default
12651  o en unidades relativas a la dimensión de alguna parte del deocumento,
12652  tal como 
12653 \family typewriter
12654
12655 \backslash
12656 textwidth
12657 \family default
12658 .
12659  
12660 \end_layout
12661
12662 \begin_layout Standard
12663 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
12664 ia especificando una longitud con 
12665 \family typewriter
12666
12667 \backslash
12668 foilheadskip
12669 \family default
12670 .
12671  Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
12672  pon en el preámbulo: 
12673 \family typewriter
12674
12675 \backslash
12676 setlength{
12677 \backslash
12678 foilheadskip}{-0.5in}
12679 \end_layout
12680
12681 \begin_layout Standard
12682 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
12683  de longitud:
12684 \end_layout
12685
12686 \begin_layout Labeling
12687 \labelwidthstring MMMMMMMMMMM
12688
12689 \family typewriter
12690
12691 \backslash
12692 abovefloatskip
12693 \family default
12694  Separación entre el texto y la parte superior del flotante;
12695 \end_layout
12696
12697 \begin_layout Labeling
12698 \labelwidthstring MMMMMMMMMMM
12699
12700 \family typewriter
12701
12702 \backslash
12703 abovecaptionskip
12704 \family default
12705  Separación entre el flotante y el encabezado;
12706 \end_layout
12707
12708 \begin_layout Labeling
12709 \labelwidthstring MMMMMMMMMMM
12710
12711 \family typewriter
12712
12713 \backslash
12714 belowcaptionskip
12715 \family default
12716  Separación entre el encabezado y el texto siguiente;
12717 \end_layout
12718
12719 \begin_layout Labeling
12720 \labelwidthstring MMMMMMMMMMM
12721
12722 \family typewriter
12723
12724 \backslash
12725 captionwidth
12726 \family default
12727  Para poner encabezados más estrechos que el texto circundante.
12728  Lo mejor es definirlo en función de 
12729 \family typewriter
12730
12731 \backslash
12732 textwidth
12733 \family default
12734 .
12735 \end_layout
12736
12737 \begin_layout Standard
12738 Hay otras longitudes relativas a la página de título que te pueden ser útiles
12739  en el caso de títulos largos o de varios autores::
12740 \end_layout
12741
12742 \begin_layout Labeling
12743 \labelwidthstring MMMMMMMMMMM
12744
12745 \family typewriter
12746
12747 \backslash
12748 abovetitleskip
12749 \family default
12750  Separación entre los encabezamientos y el 
12751 \family sans
12752 Título;
12753 \end_layout
12754
12755 \begin_layout Labeling
12756 \labelwidthstring MMMMMMMMMMM
12757
12758 \family typewriter
12759
12760 \backslash
12761 titleauthorskip
12762 \family default
12763  entre los entornos 
12764 \family sans
12765 Título
12766 \family default
12767  y 
12768 \family sans
12769 Autor;
12770 \end_layout
12771
12772 \begin_layout Labeling
12773 \labelwidthstring MMMMMMMMMMM
12774
12775 \family typewriter
12776
12777 \backslash
12778 authorauthorskip
12779 \family default
12780  entre varias líneas de 
12781 \family sans
12782 Autor;
12783 \end_layout
12784
12785 \begin_layout Labeling
12786 \labelwidthstring MMMMMMMMMMM
12787
12788 \family typewriter
12789
12790 \backslash
12791 authordateskip
12792 \family default
12793  entre 
12794 \family sans
12795 Autor
12796 \family default
12797  y 
12798 \family sans
12799 Fecha;
12800 \end_layout
12801
12802 \begin_layout Labeling
12803 \labelwidthstring MMMMMMMMMMM
12804
12805 \family typewriter
12806
12807 \backslash
12808 dateabstractskip
12809 \family default
12810  entre 
12811 \family sans
12812 Fecha 
12813 \family default
12814
12815 \family sans
12816 Resumen.
12817 \end_layout
12818
12819 \begin_layout Standard
12820 Esta última variable de longitud afecta a todos los entornos de listas.
12821  Si pones 
12822 \family typewriter
12823
12824 \backslash
12825 zerolistvertdimens
12826 \family default
12827  
12828 \emph on
12829 dentro
12830 \emph default
12831  de un entorno de lista, se suprimen todos los espacios verticales entre
12832  los ítems de la lista.
12833  Ten en cuenta que este es un comando, no una variable de longitud, así
12834  que no requiere 
12835 \family typewriter
12836
12837 \backslash
12838 setlength
12839 \family default
12840  como las variables mencionadas antes.
12841 \end_layout
12842
12843 \begin_layout Subsubsection
12844 Encabezamientos y pies
12845 \end_layout
12846
12847 \begin_layout Standard
12848 Los comandos 
12849 \family typewriter
12850
12851 \backslash
12852 LogoOn
12853 \family default
12854  y 
12855 \family typewriter
12856
12857 \backslash
12858 LogoOff
12859 \family default
12860  controlan si el logotipo definido en 
12861 \family sans
12862 Mi_Logotipo
12863 \family default
12864  aparece o no en una página dada.
12865  Si pones 
12866 \family typewriter
12867
12868 \backslash
12869 LogoOff
12870 \family default
12871  en el preámbulo, ninguna de las transparencias tendrá logotipo.
12872  Si no quieres poner el logotipo en cierta página,
12873 \family sans
12874  
12875 \family default
12876 pon 
12877 \family typewriter
12878
12879 \backslash
12880 LogoOff
12881 \family default
12882  directamente detrás del principio de la página y 
12883 \family typewriter
12884
12885 \backslash
12886 LogoOn
12887 \family default
12888  directamente detrás del comienzo de la siguiente.
12889 \end_layout
12890
12891 \begin_layout Standard
12892 Si decides poner estilo de página 
12893 \family sans
12894 fancy
12895 \family default
12896  en el diálogo 
12897 \family sans
12898 Documento\SpecialChar menuseparator
12899 Configuración,
12900 \family default
12901  deberías seguramente añadir 
12902 \family typewriter
12903
12904 \backslash
12905 let
12906 \backslash
12907 headwidth
12908 \backslash
12909 textwidth
12910 \family default
12911  al preámbulo para que los encabezamientos y pies en páginas apaisadas se
12912  sitúen correctamente.
12913  Esto es debido a ciertas incompatibilidades entre el formato de página
12914  impuesto por el paquete que 
12915 \family sans
12916 fancyheadings
12917 \family default
12918  y la clase 
12919 \family sans
12920 foils
12921 \family default
12922 .
12923 \end_layout
12924
12925 \begin_layout Section
12926 Hollywood (Guiones de Hollywood)
12927 \end_layout
12928
12929 \begin_layout Standard
12930 por 
12931 \shape smallcaps
12932 Garst Reese
12933 \end_layout
12934
12935 \begin_layout Subsection
12936 Introducción
12937 \end_layout
12938
12939 \begin_layout Standard
12940 Dar formato a un guión de Hollywood es un 
12941 \begin_inset Quotes cld
12942 \end_inset
12943
12944 rito de trámite
12945 \begin_inset Quotes crd
12946 \end_inset
12947
12948 .
12949  Está diseñado para que los lectores se centren en el contenido y resulte
12950  familiar y fácil de leer por los actores.
12951  Cada página de un guión debería representar un minuto de película.
12952  En el guión no hay nada que no veas u oigas en la pantalla.
12953  Debe emplearse el tipo de letra courier 12
12954 \begin_inset space \thinspace{}
12955 \end_inset
12956
12957 pt en todo el guión.
12958  Sin cursivas.
12959 \end_layout
12960
12961 \begin_layout Subsection
12962 Detalles particulares
12963 \end_layout
12964
12965 \begin_layout Standard
12966 Las palabras de un diálogo NUNCA se cortan a final de línea.
12967  Si el texto de un 
12968 \family sans
12969 portavoz
12970 \family default
12971  debe continuar tras un salto de página, se repite el nombre del mismo (
12972 \family sans
12973 continuación
12974 \family default
12975 ).
12976 \end_layout
12977
12978 \begin_layout Subsection
12979 Características especiales
12980 \end_layout
12981
12982 \begin_layout Standard
12983 Introduce los nombres de los personajes 
12984 \family sans
12985 (Portavoz)
12986 \family default
12987  como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
12988  el nombre.
12989  El diálogo de referencia cruzada mostrará el conjunto de personajes.
12990  Esto lo puedes usar también para introducir el nombre de un personaje en
12991  las partes narrativas.
12992 \end_layout
12993
12994 \begin_layout Subsection
12995 Tamaño del papel y márgenes
12996 \end_layout
12997
12998 \begin_layout Standard
12999 USLetter, izquierdo 1.6
13000 \begin_inset space \thinspace{}
13001 \end_inset
13002
13003 in, derecho 0.75
13004 \begin_inset space \thinspace{}
13005 \end_inset
13006
13007 in, superior 0.5
13008 \begin_inset space \thinspace{}
13009 \end_inset
13010
13011 in, inferior 0.75
13012 \begin_inset space \thinspace{}
13013 \end_inset
13014
13015 in
13016 \end_layout
13017
13018 \begin_layout Subsection
13019 Entornos
13020 \end_layout
13021
13022 \begin_layout Standard
13023 Los siguientes entornos están disponibles.
13024  Puedes usar 
13025 \family typewriter
13026 hollywood.bind
13027 \family default
13028  para disponer de los atajos de teclado indicados a la derecha.
13029 \end_layout
13030
13031 \begin_layout Itemize
13032
13033 \family sans
13034 General
13035 \begin_inset Newline newline
13036 \end_inset
13037
13038
13039 \family default
13040 Para el caso de que no convenga ningún otro.
13041  Intenta evitarlo.
13042 \end_layout
13043
13044 \begin_layout Itemize
13045
13046 \family sans
13047 APARICIÓN_GRADUAL
13048 \family default
13049 :
13050 \begin_inset space \hfill{}
13051 \end_inset
13052
13053
13054 \family sans
13055 M-z S-I
13056 \family default
13057
13058 \begin_inset Newline newline
13059 \end_inset
13060
13061 Generalmente seguido de algo como 
13062 \begin_inset Quotes cld
13063 \end_inset
13064
13065 al levantarse Sally.
13066 \begin_inset Quotes crd
13067 \end_inset
13068
13069
13070 \end_layout
13071
13072 \begin_layout Itemize
13073
13074 \family sans
13075 INT
13076 \family default
13077 .
13078 \family sans
13079
13080 \begin_inset space \hfill{}
13081 \end_inset
13082
13083 M-z i
13084 \begin_inset Newline newline
13085 \end_inset
13086
13087
13088 \family default
13089 Introduce una nueva secuencia en INTERIOR.
13090  Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13091  requerida.
13092  Esta línea, toda en MAYÚSCULAS.
13093 \end_layout
13094
13095 \begin_layout Itemize
13096
13097 \family sans
13098 EXT
13099 \family default
13100 .
13101 \family sans
13102
13103 \begin_inset space \hfill{}
13104 \end_inset
13105
13106 M-z e
13107 \begin_inset Newline newline
13108 \end_inset
13109
13110
13111 \family default
13112 Introduce una nueva secuencia en EXTERIOR.
13113  Esta línea, toda en MAYÚSCULAS.
13114 \end_layout
13115
13116 \begin_layout Itemize
13117
13118 \family sans
13119 Portavoz
13120 \begin_inset space \hfill{}
13121 \end_inset
13122
13123 M-z s
13124 \begin_inset Newline newline
13125 \end_inset
13126
13127
13128 \family default
13129 El personaje que habla.
13130 \end_layout
13131
13132 \begin_layout Itemize
13133
13134 \family sans
13135 EntreParéntesis
13136 \begin_inset space \hfill{}
13137 \end_inset
13138
13139 M-z p
13140 \begin_inset Newline newline
13141 \end_inset
13142
13143
13144 \family default
13145 Instrucciones para el personaje portavoz.
13146  Los () se insertan automáticamente.
13147 \end_layout
13148
13149 \begin_layout Itemize
13150
13151 \family sans
13152 Di
13153 \family default
13154 á
13155 \family sans
13156 logo
13157 \begin_inset space \hfill{}
13158 \end_inset
13159
13160 M-z d
13161 \begin_inset Newline newline
13162 \end_inset
13163
13164
13165 \family default
13166 Lo que dice el personaje.
13167 \end_layout
13168
13169 \begin_layout Itemize
13170
13171 \family sans
13172 Transición
13173 \begin_inset space \hfill{}
13174 \end_inset
13175
13176 M-z t
13177 \begin_inset Newline newline
13178 \end_inset
13179
13180
13181 \family default
13182 Instrucciones para el movimiento de cámara, p.
13183 \begin_inset space \thinspace{}
13184 \end_inset
13185
13186 ej.
13187 \begin_inset space ~
13188 \end_inset
13189
13190 CAMBIA A:
13191 \end_layout
13192
13193 \begin_layout Itemize
13194
13195 \family sans
13196 DESAPARICIÓN_GRADUAL:
13197 \begin_inset space \hfill{}
13198 \end_inset
13199
13200 M-z S-I
13201 \end_layout
13202
13203 \begin_layout Itemize
13204
13205 \family sans
13206 Autor
13207 \begin_inset space \hfill{}
13208 \end_inset
13209
13210 M-z S-A
13211 \end_layout
13212
13213 \begin_layout Itemize
13214
13215 \family sans
13216 Título
13217 \begin_inset space \hfill{}
13218 \end_inset
13219
13220 M-z S-T
13221 \end_layout
13222
13223 \begin_layout Itemize
13224
13225 \family sans
13226 Dirección_dcha
13227 \begin_inset space \hfill{}
13228 \end_inset
13229
13230 M-z r
13231 \end_layout
13232
13233 \begin_layout Subsection
13234 Jerga de un guión
13235 \end_layout
13236
13237 \begin_layout Itemize
13238 (O.S) — off screen (fuera de pantalla)
13239 \end_layout
13240
13241 \begin_layout Itemize
13242 (V.0) — voice over (voz en off)
13243 \end_layout
13244
13245 \begin_layout Itemize
13246 b.g.
13247  — background
13248 \end_layout
13249
13250 \begin_layout Itemize
13251 C.U.
13252  — close-up (primer plano)
13253 \end_layout
13254
13255 \begin_layout Itemize
13256 PAN — movimiento de cámara
13257 \end_layout
13258
13259 \begin_layout Itemize
13260 INSERT — pasa a primer plano
13261 \end_layout
13262
13263 \begin_layout Section
13264 ijmpc e ijmpd
13265 \end_layout
13266
13267 \begin_layout Standard
13268 por 
13269 \noun on
13270 Panayotis Papasotiriou
13271 \end_layout
13272
13273 \begin_layout Subsection
13274 Visión previa
13275 \end_layout
13276
13277 \begin_layout Standard
13278 El paquete 
13279 \family sans
13280 ijmpc
13281 \family default
13282  es una colección de macros que facilitan la presentación de manuscritos
13283  electrónicos para 
13284 \emph on
13285 International Journal of Modern Physics C
13286 \emph default
13287 .
13288  Igualmente, el paquete 
13289 \family sans
13290 ijmpd
13291 \family default
13292  sirve para escribir artículos para 
13293 \emph on
13294 International Journal of Modern Physics D
13295 \emph default
13296 .
13297  Ambas revistas son editadas por 
13298 \emph on
13299 World Scientific
13300 \emph default
13301 .
13302  Las correspondientes clases de documento se llaman 
13303 \family typewriter
13304 ws-ijmpc.cls
13305 \family default
13306  y 
13307 \family typewriter
13308 ws-ijmpd.cls
13309 \family default
13310 , respectivamente.
13311  Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13312  de los sitios 
13313 \begin_inset Flex URL
13314 status collapsed
13315
13316 \begin_layout Plain Layout
13317
13318 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13319 \end_layout
13320
13321 \end_inset
13322
13323  y 
13324 \begin_inset Flex URL
13325 status collapsed
13326
13327 \begin_layout Plain Layout
13328
13329 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13330 \end_layout
13331
13332 \end_inset
13333
13334 .
13335  Ambos paquetes son versiones modificadas del paquete estándar 
13336 \family sans
13337 article
13338 \family default
13339 , y son casi idénticos.
13340  La mayor parte de sus características son soportadas en \SpecialChar LyX
13341 .
13342  He utilizado \SpecialChar LyX
13343  con éxito para escribir artículos para ambas revistas sin
13344  problemas.
13345 \end_layout
13346
13347 \begin_layout Subsection
13348 Escribir un artículo
13349 \end_layout
13350
13351 \begin_layout Standard
13352 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13353  de una plantilla.
13354  Clic en 
13355 \family sans
13356 Archivo\SpecialChar menuseparator
13357 Nuevo desde plantilla
13358 \family default
13359 , y elige una plantilla 
13360 \family typewriter
13361 ijmpc.lyx
13362 \family default
13363  o 
13364 \family typewriter
13365 ijmpd.lyx
13366 \family default
13367 .
13368  Así se muestra un documento casi vacío que incluye los campos más habituales
13369  en un documento.
13370  Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13371  Debes tener en cuenta los siguientes puntos:
13372 \end_layout
13373
13374 \begin_layout Enumerate
13375 \SpecialChar LyX
13376  no permite el cambio del tamaño de letra ni del estilo de página porque
13377  estos paquetes no lo permiten.
13378 \end_layout
13379
13380 \begin_layout Enumerate
13381 No debería cambiarse el lenguaje del documento.
13382  Antes de ver tu artículo, asegúrate 
13383 \family sans
13384 que no está cargado el paquete babel.
13385  
13386 \family default
13387 En
13388 \family sans
13389  Herramientas
13390 \family default
13391 \SpecialChar menuseparator
13392
13393 \family sans
13394 \lang english
13395 Language
13396 \lang spanish
13397  
13398 \family default
13399 selecciona
13400 \lang english
13401  
13402 \begin_inset Quotes eld
13403 \end_inset
13404
13405 None
13406 \begin_inset Quotes erd
13407 \end_inset
13408
13409  as 
13410 \family sans
13411 Language Package
13412 \family default
13413 .
13414 \end_layout
13415
13416 \begin_layout Enumerate
13417 El estilo 
13418 \begin_inset Quotes cld
13419 \end_inset
13420
13421 Keywords
13422 \begin_inset Quotes crd
13423 \end_inset
13424
13425  se debe utilizar para definir palabras-clave.
13426 \end_layout
13427
13428 \begin_layout Enumerate
13429 El paquete 
13430 \family sans
13431 ijmpc
13432 \family default
13433  provee un estilo llamado 
13434 \begin_inset Quotes cld
13435 \end_inset
13436
13437 Classification Codes
13438 \begin_inset Quotes crd
13439 \end_inset
13440
13441 , que se puede usar para definir códigos de clasificación, como números
13442  PACS.
13443  Esta facilidad no es soportada por el paquete 
13444 \family sans
13445 ijmpd
13446 \family default
13447 .
13448 \end_layout
13449
13450 \begin_layout Enumerate
13451 Hay varios entornos nuevos disponibles: 
13452 \begin_inset Quotes cld
13453 \end_inset
13454
13455 Definición
13456 \begin_inset Quotes crd
13457 \end_inset
13458
13459
13460 \begin_inset Quotes cld
13461 \end_inset
13462
13463 Paso
13464 \begin_inset Quotes crd
13465 \end_inset
13466
13467
13468 \begin_inset Quotes cld
13469 \end_inset
13470
13471 Ejemplo
13472 \begin_inset Quotes crd
13473 \end_inset
13474
13475
13476 \begin_inset Quotes cld
13477 \end_inset
13478
13479 Observación
13480 \begin_inset Quotes crd
13481 \end_inset
13482
13483
13484 \begin_inset Quotes cld
13485 \end_inset
13486
13487 Notación
13488 \begin_inset Quotes crd
13489 \end_inset
13490
13491
13492 \begin_inset Quotes cld
13493 \end_inset
13494
13495 Teorema
13496 \begin_inset Quotes crd
13497 \end_inset
13498
13499
13500 \begin_inset Quotes cld
13501 \end_inset
13502
13503 Demostración
13504 \begin_inset Quotes crd
13505 \end_inset
13506
13507
13508 \begin_inset Quotes cld
13509 \end_inset
13510
13511 Corolario
13512 \begin_inset Quotes crd
13513 \end_inset
13514
13515
13516 \begin_inset Quotes cld
13517 \end_inset
13518
13519 Lema
13520 \begin_inset Quotes crd
13521 \end_inset
13522
13523
13524 \begin_inset Quotes cld
13525 \end_inset
13526
13527 Proposición
13528 \begin_inset Quotes crd
13529 \end_inset
13530
13531
13532 \begin_inset Quotes cld
13533 \end_inset
13534
13535 Prop
13536 \begin_inset Quotes crd
13537 \end_inset
13538
13539
13540 \begin_inset Quotes cld
13541 \end_inset
13542
13543 Pregunta
13544 \begin_inset Quotes crd
13545 \end_inset
13546
13547
13548 \begin_inset Quotes cld
13549 \end_inset
13550
13551 Afirmación
13552 \begin_inset Quotes crd
13553 \end_inset
13554
13555  y 
13556 \begin_inset Quotes cld
13557 \end_inset
13558
13559 Conjetura
13560 \begin_inset Quotes crd
13561 \end_inset
13562
13563 .
13564  Su uso es más o menos obvio.
13565  \SpecialChar LyX
13566  soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
13567  esquema de numeración más apropiados para cada caso.
13568 \end_layout
13569
13570 \begin_layout Enumerate
13571 Ambos paquetes usan citas básicas; el paquete 
13572 \family sans
13573 natbib
13574 \family default
13575  no debería usarse.
13576  En \SpecialChar LyX
13577  las referencias a citas se ven normalmente; en la salida se ven como
13578  voladitas.
13579  Si quieres usar una cita como texto normal, debes emplear el comando 
13580 \family typewriter
13581 refcite
13582 \family default
13583 , p.
13584 \begin_inset space \thinspace{}
13585 \end_inset
13586
13587 e., 
13588 \begin_inset Quotes cld
13589 \end_inset
13590
13591 Véase Ref.
13592 \begin_inset space ~
13593 \end_inset
13594
13595
13596 \family typewriter
13597
13598 \backslash
13599 refcite{key}
13600 \family default
13601
13602 \begin_inset Quotes crd
13603 \end_inset
13604
13605 .
13606 \end_layout
13607
13608 \begin_layout Enumerate
13609 No hay 
13610 \begin_inset Quotes cld
13611 \end_inset
13612
13613 Agradecimientos
13614 \begin_inset Quotes crd
13615 \end_inset
13616
13617  en ninguno de estos paquetes.
13618  Para ponerlo usa el entorno 
13619 \begin_inset Quotes cld
13620 \end_inset
13621
13622 Sección*
13623 \begin_inset Quotes crd
13624 \end_inset
13625
13626 .
13627 \end_layout
13628
13629 \begin_layout Enumerate
13630 Se pueden añadir apéndices 
13631 \emph on
13632 después
13633 \emph default
13634  de los Agradecimientos y 
13635 \emph on
13636 antes
13637 \emph default
13638  de las Referencias.
13639  \SpecialChar LyX
13640  provee un entorno especial, llamado 
13641 \begin_inset Quotes cld
13642 \end_inset
13643
13644 Appendices Section
13645 \begin_inset Quotes crd
13646 \end_inset
13647
13648  que marca el inicio de los apéndices.
13649  Este entorno debería dejarse en blanco; lo único que hace es enviar un
13650  comando \SpecialChar LaTeX
13651  pero realmente no se imprime nada.
13652  En \SpecialChar LyX
13653 , la palabra 
13654 \begin_inset Quotes cld
13655 \end_inset
13656
13657 Apéndice
13658 \begin_inset Quotes crd
13659 \end_inset
13660
13661  se imprime con letras azules, para indicar que todas las secciones posteriores
13662  son apéndices.
13663  Para escribir un apéndice usa el entorno 
13664 \begin_inset Quotes cld
13665 \end_inset
13666
13667 Apéndice
13668 \begin_inset Quotes crd
13669 \end_inset
13670
13671 .
13672  \SpecialChar LyX
13673  ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
13674  Observa que 
13675 \begin_inset Quotes cld
13676 \end_inset
13677
13678 Appendices Section
13679 \begin_inset Quotes crd
13680 \end_inset
13681
13682  
13683 \emph on
13684 debe
13685 \emph default
13686  estar presente antes del primer apéndice; si no, los apéndices se numerarán
13687  como secciones normales.
13688 \end_layout
13689
13690 \begin_layout Enumerate
13691 Los paquetes 
13692 \family sans
13693 ijmpc
13694 \family default
13695  y 
13696 \family sans
13697 ijmpd
13698 \family default
13699  usan el comando 
13700 \family typewriter
13701 tbl
13702 \family default
13703  para implementar encabezados de cuadro.
13704  Como resultado, un cuadro creado por \SpecialChar LyX
13705  se imprime correctamente, pero se
13706  ignora su encabezado.
13707  Sin embargo puedes emplear código \SpecialChar TeX
13708  para sortear este problema, de forma
13709  que los encabezados se impriman como es de esperar.
13710  Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
13711  y reemplázalo por 
13712 \family typewriter
13713
13714 \backslash
13715 tbl{
13716 \emph on
13717 encabezado del cuadro
13718 \emph default
13719 }{
13720 \family default
13721  en código \SpecialChar TeX
13722  —atención a la llave de apertura 
13723 \begin_inset Quotes cld
13724 \end_inset
13725
13726 {
13727 \begin_inset Quotes crd
13728 \end_inset
13729
13730 —, y cierra inmediatamente detrás del contenido del cuadro con 
13731 \family typewriter
13732 }
13733 \family default
13734  en código \SpecialChar TeX
13735 .
13736  Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
13737  se realiza este procedimiento.
13738  Alternativamente, si necesitas encabezados de cuadro, podrías construir
13739  el cuadro flotante completo en un archivo 
13740 \family typewriter
13741 .tex
13742 \family default
13743 , que después puedes incluir mediante 
13744 \family sans
13745 Insertar\SpecialChar menuseparator
13746 Archivo\SpecialChar menuseparator
13747 Documento
13748 \begin_inset space ~
13749 \end_inset
13750
13751 hijo
13752 \family default
13753 .
13754  En los archivos 
13755 \family typewriter
13756 ws-ijmpc.tex
13757 \family default
13758  y 
13759 \family typewriter
13760 ws-ijmpd.tex
13761 \family default
13762  puedes ver más detalles sobre la creación de cuadros flotantes.
13763 \end_layout
13764
13765 \begin_layout Subsection
13766 Preparar un artículo para su remisión
13767 \end_layout
13768
13769 \begin_layout Standard
13770 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
13771  (
13772 \family sans
13773 Archivo\SpecialChar menuseparator
13774 Exportar\SpecialChar menuseparator
13775 La
13776 \family default
13777 T
13778 \family sans
13779 eX
13780 \family default
13781 )
13782 \begin_inset Foot
13783 status collapsed
13784
13785 \begin_layout Plain Layout
13786 Realmente dispones de las opciones \SpecialChar LaTeX
13787  (simple) y pdflatex.
13788  Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
13789  estarán en formato PDF.
13790 \end_layout
13791
13792 \end_inset
13793
13794 , después haz los cambios siguientes en el resultante archivo 
13795 \family typewriter
13796 .tex
13797 \family default
13798 .
13799 \end_layout
13800
13801 \begin_layout Enumerate
13802 Elimina las líneas de comentarios anteriores al comando 
13803 \family typewriter
13804
13805 \backslash
13806 documentclass
13807 \family default
13808 .
13809 \end_layout
13810
13811 \begin_layout Enumerate
13812 Elimina los comandos 
13813 \family typewriter
13814
13815 \backslash
13816 makeatletter
13817 \family default
13818  y 
13819 \family typewriter
13820
13821 \backslash
13822 makeatother 
13823 \family default
13824 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
13825  expresamente al preámbulo \SpecialChar LaTeX
13826 .
13827 \end_layout
13828
13829 \begin_layout Standard
13830 El archivo 
13831 \family typewriter
13832 .tex
13833 \family default
13834  modificado debe ser guardado y procesado con \SpecialChar LaTeX
13835  tantas veces como sea necesario.
13836  Comprueba después el documento 
13837 \family typewriter
13838 .dvi
13839 \family default
13840  resultante.
13841 \end_layout
13842
13843 \begin_layout Section
13844 iopart
13845 \end_layout
13846
13847 \begin_layout Standard
13848 por 
13849 \noun on
13850 Uwe Stöhr
13851 \end_layout
13852
13853 \begin_layout Subsection
13854 Visión previa
13855 \end_layout
13856
13857 \begin_layout Standard
13858 El paquete 
13859 \family sans
13860 iopart
13861 \family default
13862  suministra una clase de documento para remitir documentos electrónicos
13863  a publicaciones del 
13864 \emph on
13865 Institute of Physics
13866 \emph default
13867 .
13868  Las instrucciones para los autores que quieran crear documentos de esta
13869  clase y el paquete 
13870 \family sans
13871 iopart 
13872 \family default
13873 se pueden descargar del sitio 
13874 \begin_inset Flex URL
13875 status collapsed
13876
13877 \begin_layout Plain Layout
13878
13879 ftp://ftp.iop.org/pub/journals/latex2e
13880 \end_layout
13881
13882 \end_inset
13883
13884 .
13885 \end_layout
13886
13887 \begin_layout Subsection
13888 Escribir un documento
13889 \end_layout
13890
13891 \begin_layout Standard
13892 La forma más sencilla de escribir un documento es empezar con el 
13893 \lang english
13894 template
13895 \lang spanish
13896  
13897 \emph on
13898 IOP-article.lyx
13899 \emph default
13900 , disponible
13901 \lang english
13902 via 
13903 \family sans
13904 File\SpecialChar menuseparator
13905 New From Template
13906 \family default
13907 \lang spanish
13908 .
13909  El 
13910 \lang english
13911 template
13912 \lang spanish
13913  de ejemplo explica cómo usar los entornos especiales de texto.
13914  Aquí están los consejos más importantes:
13915 \end_layout
13916
13917 \begin_layout Itemize
13918 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que
13919 \lang english
13920  no AMS packages are loaded in 
13921 \family sans
13922 Document\SpecialChar menuseparator
13923 Settings\SpecialChar menuseparator
13924 Math Options
13925 \family default
13926 !
13927 \end_layout
13928
13929 \begin_layout Itemize
13930 El entorno de título define la clase de tu documento.
13931  Por tanto usa uno de los siguientes entornos para el título:
13932 \end_layout
13933
13934 \begin_deeper
13935 \begin_layout Itemize
13936
13937 \family sans
13938 Title
13939 \family default
13940  para un artículo
13941 \end_layout
13942
13943 \begin_layout Itemize
13944
13945 \family sans
13946 Review
13947 \family default
13948  para una revista
13949 \end_layout
13950
13951 \begin_layout Itemize
13952
13953 \family sans
13954 Topical
13955 \family default
13956  para una reseña de actualidad
13957 \end_layout
13958
13959 \begin_layout Itemize
13960
13961 \family sans
13962 Comment
13963 \family default
13964  para un comentario
13965 \end_layout
13966
13967 \begin_layout Itemize
13968
13969 \family sans
13970 Note
13971 \family default
13972  para una nota
13973 \end_layout
13974
13975 \begin_layout Itemize
13976
13977 \family sans
13978 Paper
13979 \family default
13980  para un artículo (igual que Title)
13981 \end_layout
13982
13983 \begin_layout Itemize
13984
13985 \family sans
13986 Prelim
13987 \family default
13988  para una comunicación preliminar
13989 \end_layout
13990
13991 \begin_layout Itemize
13992
13993 \family sans
13994 Rapid
13995 \family default
13996  para una comunicación rápida
13997 \end_layout
13998
13999 \begin_layout Itemize
14000
14001 \family sans
14002 Letter
14003 \family default
14004  para una carta al editor
14005 \end_layout
14006
14007 \end_deeper
14008 \begin_layout Itemize
14009 Todos los entornos de título excepto 
14010 \family sans
14011 Letter
14012 \family default
14013  pueden tener un título breve opcional.
14014 \end_layout
14015
14016 \begin_layout Itemize
14017 Hay un entorno general de título 
14018 \family sans
14019 Article
14020 \family default
14021  que no es soportado directamente por \SpecialChar LyX
14022 .
14023  Puede usarse en código \SpecialChar TeX
14024  si tu documento no se adecúa a ninguno de los otros
14025  tipos de título.
14026 \end_layout
14027
14028 \begin_layout Standard
14029 Para más información, como consejos para formatos especiales de ecuaciones
14030  y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14031 \end_layout
14032
14033 \begin_layout Section
14034 Kluwer
14035 \end_layout
14036
14037 \begin_layout Standard
14038 por 
14039 \noun on
14040 Panayotis Papasotiriou
14041 \end_layout
14042
14043 \begin_layout Subsection
14044 Visión previa
14045 \end_layout
14046
14047 \begin_layout Standard
14048 El paquete Kluwer es un conjunto de macros producido por 
14049 \emph on
14050 Kluwer Academic Publishers
14051 \emph default
14052  que facilita la confección de manuscritos electrónicos con destino a sus
14053  publicaciones.
14054  Las más conocidas (al menos en mi parcela de interés) son 
14055 \emph on
14056 Astrophysics and Space Science
14057 \emph default
14058  y 
14059 \emph on
14060 Solar Physics
14061 \emph default
14062 , aunque hay muchas otras (véase una lista completa en 
14063 \begin_inset Flex URL
14064 status collapsed
14065
14066 \begin_layout Plain Layout
14067
14068 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14069 \end_layout
14070
14071 \end_inset
14072
14073 ).
14074  El paquete Kluwer puede ser descargado del sitio 
14075 \begin_inset Flex URL
14076 status collapsed
14077
14078 \begin_layout Plain Layout
14079
14080 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14081 \end_layout
14082
14083 \end_inset
14084
14085 .
14086  Contiene una completa guía de uso, que también puede descargarse separadamente.
14087 \end_layout
14088
14089 \begin_layout Standard
14090 \SpecialChar LyX
14091  soporta muchas características del paquete pero no todas.
14092  No obstante, el código \SpecialChar TeX
14093  necesario se reduce a ciertos 
14094 \begin_inset Quotes cld
14095 \end_inset
14096
14097 peculiares
14098 \begin_inset Quotes crd
14099 \end_inset
14100
14101  comandos (véase
14102 \begin_inset space ~
14103 \end_inset
14104
14105
14106 \begin_inset CommandInset ref
14107 LatexCommand ref
14108 reference "subsec:kluwer_peculiaridades"
14109
14110 \end_inset
14111
14112 ).
14113  He usado \SpecialChar LyX
14114  recientemente para escribir un artículo para 
14115 \emph on
14116 Astrophysics and Space Science
14117 \emph default
14118  sin ningún problema.
14119 \end_layout
14120
14121 \begin_layout Subsection
14122 Escribir un artículo
14123 \end_layout
14124
14125 \begin_layout Standard
14126 La forma más sencilla de escribir un artículo es empezar con la plantilla
14127  de Kluwer.
14128  Abre 
14129 \family sans
14130 Archivo\SpecialChar menuseparator
14131 Nuevo
14132 \family default
14133
14134 \begin_inset space ~
14135 \end_inset
14136
14137
14138 \family sans
14139 desde
14140 \family default
14141
14142 \begin_inset space ~
14143 \end_inset
14144
14145
14146 \family sans
14147 plantilla
14148 \family default
14149 , y elige 
14150 \family typewriter
14151 kluwer.lyx
14152 \family default
14153 .
14154  Se trata de un documento casi vacío que incluye la mayoría de campos más
14155  habituales y una breve descripción de su uso.
14156  Como es habitual en las plantillas, simplemente debes sobreescribir el
14157  texto presente (incluidas las abrazaderas <>) con la información correcta.
14158 \end_layout
14159
14160 \begin_layout Subsection
14161 Preparar un artículo para su remisión
14162 \end_layout
14163
14164 \begin_layout Standard
14165 Como en el paquete AAS\SpecialChar TeX
14166 , antes de remitir tu trabajo a una publicación debes
14167  procesarlo como sigue:
14168 \end_layout
14169
14170 \begin_layout Enumerate
14171 Exporta tu documento a \SpecialChar LaTeX
14172
14173 \family sans
14174 Archivo\SpecialChar menuseparator
14175 Exportar\SpecialChar menuseparator
14176 LaTeX
14177 \family default
14178 .
14179  
14180 \end_layout
14181
14182 \begin_layout Enumerate
14183 Edita el archivo 
14184 \family typewriter
14185 .tex
14186 \family default
14187  resultante con un editor de texto y haz los siguientes cambios:
14188 \end_layout
14189
14190 \begin_deeper
14191 \begin_layout Enumerate
14192 borra las líneas de comentarios anteriores al comando 
14193 \family typewriter
14194
14195 \backslash
14196 documentclass
14197 \family default
14198 ,
14199 \end_layout
14200
14201 \begin_layout Enumerate
14202 quita todo entre los comandos 
14203 \family typewriter
14204
14205 \backslash
14206 makeatletter
14207 \family default
14208  y 
14209 \family typewriter
14210
14211 \backslash
14212 makeatother
14213 \family default
14214 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14215  \SpecialChar LaTeX
14216 .
14217 \end_layout
14218
14219 \begin_layout Standard
14220 Guarda el archivo 
14221 \family typewriter
14222 .tex
14223 \family default
14224  modificado.
14225 \end_layout
14226
14227 \end_deeper
14228 \begin_layout Enumerate
14229 Ejecuta el archivo 
14230 \family typewriter
14231 .tex
14232 \family default
14233  con \SpecialChar LaTeX
14234  tantas veces como sea necesario (generalmente hasta tres).
14235 \end_layout
14236
14237 \begin_layout Enumerate
14238 Mira el documento resultante 
14239 \family typewriter
14240 .dvi
14241 \family default
14242  , p.
14243 \begin_inset space \thinspace{}
14244 \end_inset
14245
14246 e., con 
14247 \family sans
14248 xdvi
14249 \family default
14250 , y comprueba si todo está bien (debería, si no has cometido algún error).
14251 \end_layout
14252
14253 \begin_layout Subsection
14254 «Peculiaridades» del paquete Kluwer
14255 \begin_inset CommandInset label
14256 LatexCommand label
14257 name "subsec:kluwer_peculiaridades"
14258
14259 \end_inset
14260
14261
14262 \end_layout
14263
14264 \begin_layout Standard
14265 El paquete Kluwer tiene algunas 
14266 \begin_inset Quotes cld
14267 \end_inset
14268
14269 peculiaridades
14270 \begin_inset Quotes crd
14271 \end_inset
14272
14273 .
14274 \end_layout
14275
14276 \begin_layout Enumerate
14277 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14278
14279 \begin_inset Foot
14280 status collapsed
14281
14282 \begin_layout Plain Layout
14283 No puedo imaginar una buena razón para hacer esto.
14284 \end_layout
14285
14286 \end_inset
14287
14288 .
14289  Cada artículo debe estar incluido en un entorno 
14290 \begin_inset Quotes cld
14291 \end_inset
14292
14293 article
14294 \begin_inset Quotes crd
14295 \end_inset
14296
14297 .
14298  Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14299  un solo artículo.
14300  Por esto, cada artículo empieza con el comando 
14301 \family typewriter
14302
14303 \backslash
14304 begin{article}
14305 \family default
14306  y, termina, obviamente, con el comando 
14307 \family typewriter
14308
14309 \backslash
14310 end{article}
14311 \family default
14312 .
14313  Aunque esto se puede implementar en \SpecialChar LyX
14314 , no lo he incluido, puesto que se
14315  ve feo y puede confundir al novato.
14316  Así pues hay que introducirlo en código \SpecialChar LaTeX
14317  (
14318 \begin_inset Quotes cld
14319 \end_inset
14320
14321 código \SpecialChar TeX
14322
14323 \begin_inset Quotes crd
14324 \end_inset
14325
14326 ).
14327 \end_layout
14328
14329 \begin_layout Enumerate
14330 La información dada al principio del artículo (p.
14331 \begin_inset space \thinspace{}
14332 \end_inset
14333
14334 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14335  resumen y palabras-clave) deben incluirse en un entorno llamado 
14336 \begin_inset Quotes cld
14337 \end_inset
14338
14339 opening
14340 \begin_inset Quotes crd
14341 \end_inset
14342
14343 .
14344  Esto no está implementado en \SpecialChar LyX
14345 , así que hay que introducir el título, subtítulo,
14346  etc., entre dos líneas en código \SpecialChar TeX
14347  (
14348 \family typewriter
14349
14350 \backslash
14351 begin{opening}
14352 \family default
14353  y 
14354 \family typewriter
14355
14356 \backslash
14357 end{opening}
14358 \family default
14359 ).
14360 \end_layout
14361
14362 \begin_layout Enumerate
14363 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14364  escribirse como 
14365 \family typewriter
14366
14367 \backslash
14368 protect
14369 \backslash
14370 citeauthoryear{
14371 \family default
14372 \emph on
14373 autor(es)
14374 \family typewriter
14375 \emph default
14376 }{
14377 \family default
14378 \emph on
14379 año
14380 \family typewriter
14381 \emph default
14382 }
14383 \family default
14384 .
14385 \end_layout
14386
14387 \begin_layout Standard
14388 La plantilla 
14389 \family typewriter
14390 kluwer.lyx
14391 \family default
14392  se cuida de todas estas 
14393 \begin_inset Quotes cld
14394 \end_inset
14395
14396 peculiaridades
14397 \begin_inset Quotes crd
14398 \end_inset
14399
14400 .
14401  Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14402  nada especial.
14403  Ten en cuenta: 
14404 \end_layout
14405
14406 \begin_layout Enumerate
14407 no borrar el código \SpecialChar TeX
14408  incluido en el modelo, y
14409 \end_layout
14410
14411 \begin_layout Enumerate
14412 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14413  como haga falta para introducir nuevas entradas.
14414 \end_layout
14415
14416 \begin_layout Section
14417 Koma-Script
14418 \end_layout
14419
14420 \begin_layout Standard
14421 por 
14422 \noun on
14423 Bernd Rellermeyer
14424 \end_layout
14425
14426 \begin_layout Subsection
14427 Visión previa
14428 \end_layout
14429
14430 \begin_layout Standard
14431 En \SpecialChar LyX
14432 , las clases de documento
14433 \family sans
14434 \emph on
14435  
14436 \emph default
14437 article (koma-script)
14438 \emph on
14439
14440 \emph default
14441 report (koma-script)
14442 \emph on
14443
14444 \emph default
14445 book
14446 \emph on
14447  
14448 \emph default
14449 (koma-script)
14450 \family default
14451 , y 
14452 \family sans
14453 letter
14454 \emph on
14455  
14456 \emph default
14457 (koma-script)
14458 \family default
14459  corresponden respectivamente a las clases de \SpecialChar LaTeX
14460  
14461 \family typewriter
14462 scrartcl.cls
14463 \family default
14464
14465 \family typewriter
14466 scrreprt.cls
14467 \family default
14468
14469 \family typewriter
14470 scrbook.cls
14471 \family default
14472 , y 
14473 \family typewriter
14474 scrlettr.cls
14475 \family default
14476 , de la familia Koma-Script.
14477  Son alternativas a las correspondientes clases estándar 
14478 \family typewriter
14479 article.cls
14480 \family default
14481
14482 \family typewriter
14483 report.cls
14484 \family default
14485
14486 \family typewriter
14487 book.cls
14488 \family default
14489  y 
14490 \family typewriter
14491 letter.cls
14492 \family default
14493 , y en ciertos aspectos
14494 \emph on
14495  
14496 \emph default
14497 se adaptan mejor a las convenciones tipográficas
14498 \family typewriter
14499  
14500 \family default
14501 europeas.
14502 \end_layout
14503
14504 \begin_layout Itemize
14505 El tamaño estándar de letra es 11
14506 \begin_inset space \thinspace{}
14507 \end_inset
14508
14509 pt en 
14510 \family sans
14511 article (koma-script)
14512 \emph on
14513
14514 \emph default
14515 report (koma-script)
14516 \family default
14517 , y 
14518 \family sans
14519 book (koma-script)
14520 \family default
14521 , y 12
14522 \begin_inset space \thinspace{}
14523 \end_inset
14524
14525 pt en 
14526 \family sans
14527 letter (koma-script)
14528 \family default
14529 .
14530 \end_layout
14531
14532 \begin_layout Itemize
14533 Los encabezados, los marcadores del entorno
14534 \family sans
14535  Descripción
14536 \family default
14537  y otros elementos de la clase 
14538 \family sans
14539 letter (koma-script)
14540 \family default
14541 \emph on
14542  
14543 \emph default
14544 se ponen en sans serif negrita.
14545 \begin_inset Foot
14546 status collapsed
14547
14548 \begin_layout Plain Layout
14549 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
14550  y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
14551  encabezados.
14552  En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
14553  El paquete \SpecialChar LaTeX
14554  
14555 \family typewriter
14556 cmsd.sty 
14557 \family default
14558 de 
14559 \shape smallcaps
14560 Walter Schmidt
14561 \shape default
14562  permite generar la apariencia 
14563 \begin_inset Quotes cld
14564 \end_inset
14565
14566 habitual
14567 \begin_inset Quotes crd
14568 \end_inset
14569
14570  cuando se emplean las tipografías ec.
14571 \end_layout
14572
14573 \end_inset
14574
14575  La numeración de los encabezados de capítulo se hace de la misma forma
14576  que la numeración de los encabezados de sección, o sea, sin la línea extra
14577  
14578 \begin_inset Quotes cld
14579 \end_inset
14580
14581 Capítulo\SpecialChar ldots
14582
14583 \begin_inset Quotes crd
14584 \end_inset
14585
14586 .
14587  Además, el aspecto de los encabezados se puede modificar mediante algunas
14588  opciones (en \SpecialChar LyX
14589  se introducen en el diálogo D
14590 \family sans
14591 ocumento\SpecialChar menuseparator
14592 Configuración
14593 \family default
14594 ).
14595  Se puede encontrar una completa descripción de estas opciones, en alemán,
14596  en la documentación de Koma-Script 
14597 \emph on
14598 scrguide
14599 \emph default
14600 .
14601 \end_layout
14602
14603 \begin_layout Itemize
14604 En las clases Koma-Script, los aspectos principales del diseño del área
14605  imprimible se controlan con las opciones 
14606 \family sans
14607 BCOR
14608 \family default
14609  y 
14610 \family sans
14611 DIV
14612 \family default
14613  (en \SpecialChar LyX
14614  se introducen en el campo de opciones de clase del diálogo 
14615 \family sans
14616 Documento\SpecialChar menuseparator
14617 Configuración
14618 \family default
14619 ).
14620  Dichas opciones permiten un ajuste más claro de los márgenes posibles de
14621  página.
14622  En la documentación de Koma-Script 
14623 \emph on
14624 scrguide
14625 \emph default
14626 , (en alemán), hay una detallada descripción de estas y otras opciones de
14627  configuración del área imprimible.
14628 \end_layout
14629
14630 \begin_layout Itemize
14631 Las clases \SpecialChar LaTeX
14632  de documentos de la familia Koma-Script definen un cierto número
14633  de comandos adicionales.
14634  Aquellos que tienen sentido en \SpecialChar LyX
14635  se implementan en los correspondientes
14636  tipos de párrafo.
14637 \end_layout
14638
14639 \begin_layout Standard
14640 En la documentación de Koma-Script, 
14641 \emph on
14642 scrguide
14643 \emph default
14644  (alemán) y 
14645 \emph on
14646 scrguien
14647 \emph default
14648  (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
14649  de la familia Koma-Scrip
14650 t.
14651 \end_layout
14652
14653 \begin_layout Subsection
14654 article (koma-script), report (koma-script), y book (koma-script)
14655 \end_layout
14656
14657 \begin_layout Standard
14658 Las clases de documento 
14659 \family sans
14660 article (koma-script)
14661 \emph on
14662
14663 \emph default
14664 report (koma-script)
14665 \family default
14666 , y 
14667 \family sans
14668 book
14669 \emph on
14670  
14671 \emph default
14672 (koma-script)
14673 \family default
14674  están implementadas en los archivos de formato 
14675 \family typewriter
14676 scrartcl.layout
14677 \family default
14678
14679 \family typewriter
14680 scrreprt.layout
14681 \family default
14682 , y 
14683 \family typewriter
14684 scrbook.layout
14685 \family default
14686 , respectivamente.
14687  Contienen todos los tipos de párrafo de las correspondientes clases estándar
14688  
14689 \family sans
14690 article
14691 \emph on
14692
14693 \emph default
14694 report
14695 \emph on
14696
14697 \family default
14698 \emph default
14699 y
14700 \family sans
14701 \emph on
14702  
14703 \emph default
14704 book
14705 \family default
14706 , parcialmente modificados, con la excepción del tipo 
14707 \family sans
14708 List
14709 \family default
14710 a, específico de \SpecialChar LyX
14711 , que es reemplazado por el nuevo tipo 
14712 \family sans
14713 Etiquetado
14714 \family default
14715 , que tiene la misma funcionalidad.
14716  Además del tipo 
14717 \family sans
14718 Etiquetado 
14719 \family default
14720 se han añadido otros nuevos tipos de párrafo.
14721  Pero 
14722 \emph on
14723 no 
14724 \emph default
14725 se encuentran en la clase 
14726 \family sans
14727 letter (koma-script)
14728 \family default
14729 .
14730 \end_layout
14731
14732 \begin_layout Itemize
14733
14734 \family sans
14735 Añadir_Parte, Añadir_Cap
14736 \family default
14737
14738 \family sans
14739 Añadir_Sec
14740 \family default
14741 : son los equivalentes respectivos a 
14742 \family sans
14743 Parte*, Capítulo*
14744 \family default
14745  y 
14746 \family sans
14747 Sección*
14748 \family default
14749 , pero además añaden una entrada en el índice general.
14750  
14751 \family sans
14752 Añadir_Parte
14753 \family default
14754  y 
14755 \family sans
14756 Añadir_Cap
14757 \family default
14758  no están en 
14759 \family sans
14760 article (koma-script)
14761 \family default
14762 .
14763 \end_layout
14764
14765 \begin_layout Itemize
14766
14767 \family sans
14768 Añadir_Cap
14769 \family default
14770 *, 
14771 \family sans
14772 Añadir_Sec*
14773 \family default
14774 : se comportan igual que 
14775 \family sans
14776 Añadir_Cap
14777 \family default
14778  y 
14779 \family sans
14780 Añadir_Sec
14781 \family default
14782  pero no indican la numeración del capítulo o sección.
14783  
14784 \family sans
14785 Añadir_Cap
14786 \family default
14787 * no está disponible en 
14788 \family sans
14789 article (koma-script)
14790 \family default
14791 .
14792 \begin_inset Foot
14793 status collapsed
14794
14795 \begin_layout Plain Layout
14796 En 
14797 \emph on
14798 book (koma-script)
14799 \emph default
14800  y en 
14801 \emph on
14802 report (koma-script)
14803 \emph default
14804 ,
14805 \emph on
14806  
14807 \emph default
14808 hay también un comando 
14809 \family typewriter
14810
14811 \backslash
14812 addpart*
14813 \family default
14814 , pero como es idéntico a 
14815 \family sans
14816 Parte*
14817 \family default
14818 , no ha sido implementado en \SpecialChar LyX
14819 .
14820 \end_layout
14821
14822 \end_inset
14823
14824
14825 \end_layout
14826
14827 \begin_layout Itemize
14828
14829 \family sans
14830 Mini
14831 \family default
14832 _S
14833 \family sans
14834 ec
14835 \family default
14836 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
14837  de carácter estándar sin afectar a la estructura del documento.
14838 \end_layout
14839
14840 \begin_layout Itemize
14841
14842 \family sans
14843 Encabezado_Arriba 
14844 \family default
14845
14846 \family sans
14847 Encabezado_Abajo
14848 \family default
14849  son encabezados especiales que respetan los espacios diferentes para encabezado
14850 s situados sobre y bajo un elemento (si sigues estrictamente las normas
14851  tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
14852  También puedes usar la opción de clase 
14853 \family typewriter
14854 tablecaptionsabove
14855 \family default
14856 , que cambiará 
14857 \family sans
14858 Encabezado
14859 \family default
14860  por 
14861 \family sans
14862 Encabezado_Arriba
14863 \family default
14864  para los cuadros y por 
14865 \family sans
14866 Encabezado_Abajo
14867 \family default
14868  para las figuras.
14869  Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
14870 \end_layout
14871
14872 \begin_layout Itemize
14873
14874 \family sans
14875 Sentencia
14876 \family default
14877 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
14878  un capítulo.
14879  Si utilizas el parámetro opcional 
14880 \family sans
14881 Insertar\SpecialChar menuseparator
14882
14883 \lang english
14884 Dictum
14885 \begin_inset space ~
14886 \end_inset
14887
14888 Author
14889 \family default
14890 \lang spanish
14891 , puedes insertar aquí el nombre del autor de la sentencia.
14892  La sentencia y su autor se separan con una línea.
14893  Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
14894  
14895 \family sans
14896 Sentencia
14897 \family default
14898  no está incluido en 
14899 \family sans
14900 article (koma-script)
14901 \family default
14902 .
14903 \end_layout
14904
14905 \begin_layout Standard
14906 Los entornos siguientes, junto con los habituales 
14907 \family sans
14908 Título
14909 \family default
14910
14911 \family sans
14912 Autor
14913 \family default
14914 , y 
14915 \family sans
14916 Fecha
14917 \family default
14918 , forman la zona de título del documento.
14919  Deben introducirse sobre el primer párrafo 
14920 \begin_inset Quotes cld
14921 \end_inset
14922
14923 normal
14924 \begin_inset Quotes crd
14925 \end_inset
14926
14927 .
14928 \begin_inset Foot
14929 status collapsed
14930
14931 \begin_layout Plain Layout
14932 Los comandos \SpecialChar LaTeX
14933  correspondientes deben aparecer antes de 
14934 \family typewriter
14935
14936 \backslash
14937 maketitle
14938 \family default
14939 .
14940 \end_layout
14941
14942 \end_inset
14943
14944  Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
14945  lo que implica que para cada tipo solo es válida la última entrada.
14946  El orden de los distintos entornos no influye en el documento final, lo
14947  mismo que sucede con 
14948 \family sans
14949 Título
14950 \family default
14951
14952 \family sans
14953 Autor
14954 \family default
14955 , y 
14956 \family sans
14957 Fecha
14958 \family default
14959 .
14960 \end_layout
14961
14962 \begin_layout Itemize
14963
14964 \family sans
14965 Tema
14966 \family default
14967 : genera un párrafo centrado sobre el título ordinario (
14968 \family sans
14969 Título
14970 \family default
14971
14972 \family sans
14973 Autor
14974 \family default
14975
14976 \family sans
14977 Fecha
14978 \family default
14979 ) para poner el tema del documento.
14980 \end_layout
14981
14982 \begin_layout Itemize
14983
14984 \family sans
14985 Editores
14986 \family default
14987 : genera un párrafo centrado bajo el título ordinario (
14988 \family sans
14989 Título
14990 \family default
14991
14992 \family sans
14993 Autor
14994 \family default
14995
14996 \family sans
14997 Fecha
14998 \family default
14999 ) para los nombres de los editores.
15000 \end_layout
15001
15002 \begin_layout Itemize
15003
15004 \family sans
15005 Dedicatoria
15006 \family default
15007 : en 
15008 \family sans
15009 report (koma-script)
15010 \family default
15011  y 
15012 \family sans
15013 book (koma-script)
15014 \family default
15015  produce un párrafo centrado en su propia página detrás de la de título,
15016  o en 
15017 \family sans
15018 article (koma-script)
15019 \family default
15020  produce un párrafo centrado bajo el título ordinario (
15021 \family sans
15022 Título
15023 \family default
15024
15025 \family sans
15026 Autor
15027 \family default
15028
15029 \family sans
15030 Fecha
15031 \family default
15032
15033 \family sans
15034 Editores
15035 \family default
15036 ).
15037 \end_layout
15038
15039 \begin_layout Itemize
15040
15041 \family sans
15042 Encabezado_Título
15043 \family default
15044 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15045 \family sans
15046 Título
15047 \family default
15048
15049 \family sans
15050 Autor
15051 \family default
15052
15053 \family sans
15054 Fecha
15055 \family default
15056
15057 \family sans
15058 Tema
15059 \family default
15060 ).
15061 \end_layout
15062
15063 \begin_layout Itemize
15064
15065 \family sans
15066 Reverso_Título_Superior
15067 \family default
15068 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15069  en la parte superior del reverso de la página titular en 
15070 \family sans
15071 report (koma-script)
15072 \family default
15073  y 
15074 \family sans
15075 book (koma-script)
15076 \family default
15077 ; no afecta a documentos a una cara ni a
15078 \family sans
15079 \emph on
15080  
15081 \emph default
15082 article (koma-script)
15083 \family default
15084 .
15085 \end_layout
15086
15087 \begin_layout Itemize
15088
15089 \family sans
15090 Reverso_Título_Inferior
15091 \family default
15092 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15093  en la parte inferior del reverso de la página titular en 
15094 \family sans
15095 report (koma-script)
15096 \family default
15097  y 
15098 \family sans
15099 book (koma-script)
15100 \family default
15101 ; no afecta a documentos a una cara ni a 
15102 \family sans
15103 article (koma-script)
15104 \family default
15105 .
15106 \end_layout
15107
15108 \begin_layout Itemize
15109
15110 \family sans
15111 Extra_T
15112 \family default
15113 ítulo: produce una página especial al principio del documento con un párrafo
15114  sin formato.
15115 \end_layout
15116
15117 \begin_layout Standard
15118 Los archivos de formato para las clases 
15119 \family sans
15120 article (koma-script)
15121 \emph on
15122
15123 \emph default
15124 report (koma-script)
15125 \family default
15126 , y 
15127 \family sans
15128 book (koma-script)
15129 \family default
15130  incluyen el archivo 
15131 \family typewriter
15132 scrmacros.inc
15133 \family default
15134 .
15135  Este está pensado como un lugar para definir tus propios tipos.
15136  ¡Copia s
15137 \family typewriter
15138 crmacros.inc
15139 \family default
15140  en tu directorio personal y edítalo!
15141 \end_layout
15142
15143 \begin_layout Subsection
15144 letter (koma-script)
15145 \end_layout
15146
15147 \begin_layout Description
15148 \noindent
15149
15150 \lang english
15151 Note: This section discusses the obsolete 
15152 \family sans
15153 KOMA-Script-Letter (v.
15154 \begin_inset space ~
15155 \end_inset
15156
15157 1)
15158 \family default
15159 , which is not even included anymore in recent KOMA releases.
15160  Please refer to the next section for the current KOMA-Script-Letter class
15161  (v.
15162 \begin_inset space ~
15163 \end_inset
15164
15165 2)!
15166 \end_layout
15167
15168 \begin_layout Standard
15169 \noindent
15170 La clase de documento 
15171 \family sans
15172 letter (koma-script)
15173 \family default
15174  se implementa en el archivo de formato 
15175 \family typewriter
15176 scrlettr.layout
15177 \family default
15178 .
15179  Contiene todos los tipos de párrafo de la clase 
15180 \family sans
15181 letter
15182 \family default
15183 \emph on
15184  
15185 \emph default
15186 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15187  
15188 \family sans
15189 Código-\SpecialChar LyX
15190
15191 \family default
15192  y 
15193 \family sans
15194 Comentario y el tipo
15195 \family default
15196  
15197 \family sans
15198 Lista
15199 \family default
15200 , que es reemplazado por el nuevo tipo 
15201 \family sans
15202 Etiquetado
15203 \family default
15204 .
15205  Además contiene, a diferencia de la clase estándar, los entornos estándar
15206  \SpecialChar LaTeX
15207
15208 \family sans
15209 Cita, Citar 
15210 \family default
15211 y
15212 \family sans
15213  Verso
15214 \family default
15215 , más un número de nuevos tipos específicos para cartas.
15216 \end_layout
15217
15218 \begin_layout Standard
15219 El aspecto de las cartas producidas por esta clase de documento se puede
15220  controlar mediante comandos \SpecialChar LaTeX
15221  que puedes poner en el preámbulo.
15222 \begin_inset Foot
15223 status collapsed
15224
15225 \begin_layout Plain Layout
15226 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15227  direcciones, se consigue con estos comandos \SpecialChar LaTeX
15228  en el preámbulo:
15229 \end_layout
15230
15231 \begin_layout LyX-Code
15232
15233 \backslash
15234 firsthead{
15235 \backslash
15236 parbox[b]{
15237 \backslash
15238 textwidth}
15239 \end_layout
15240
15241 \begin_layout LyX-Code
15242   {
15243 \backslash
15244 ignorespaces 
15245 \backslash
15246 fromname
15247 \backslash
15248
15249 \backslash
15250  
15251 \backslash
15252 ignorespaces 
15253 \backslash
15254 fromaddress}} 
15255 \end_layout
15256
15257 \begin_layout LyX-Code
15258
15259 \backslash
15260 nexthead{
15261 \backslash
15262 parbox[b]{
15263 \backslash
15264 textwidth}
15265 \end_layout
15266
15267 \begin_layout LyX-Code
15268   {
15269 \backslash
15270 ignorespaces 
15271 \backslash
15272 fromname 
15273 \backslash
15274 hfill 
15275 \backslash
15276 ignorespaces 
15277 \backslash
15278 pagename
15279 \backslash
15280  
15281 \backslash
15282 thepage}}
15283 \end_layout
15284
15285 \end_inset
15286
15287  Hay una detallada descripción de ellos en la documentación de Koma-Script,
15288  
15289 \emph on
15290 scrguide
15291 \emph default
15292  (en alemán).
15293  Con su ayuda puedes producir formatos personalizados de cartas.
15294 \end_layout
15295
15296 \begin_layout Standard
15297 Los entornos 
15298 \family sans
15299 Carta
15300 \family default
15301  y 
15302 \family sans
15303 Apertura
15304 \family default
15305  definen el comienzo de la carta y deben ponerse en todas ellas.
15306  Se pueden escribir varias
15307 \family sans
15308  
15309 \family default
15310 cartas en el mismo archivo.
15311  Un entorno 
15312 \family sans
15313 Apertura 
15314 \family default
15315 da comienzo a una nueva carta para el mismo destinatario mientras que un
15316  entorno 
15317 \family sans
15318 Carta
15319 \family default
15320  da lugar a una nueva carta para distinto destinatario.
15321  Los tipos 
15322 \family sans
15323 Cierre
15324 \family default
15325
15326 \family sans
15327 PS
15328 \family default
15329
15330 \family sans
15331 CC
15332 \family default
15333 , y 
15334 \family sans
15335 Encl
15336 \family default
15337  son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15338 \end_layout
15339
15340 \begin_layout Itemize
15341
15342 \family sans
15343 Carta
15344 \family default
15345 : produce un párrafo para poner el destinatario y define implícitamente
15346  el inicio de la carta.
15347 \end_layout
15348
15349 \begin_layout Itemize
15350
15351 \family sans
15352 Apertura
15353 \family default
15354 : produce un párrafo para poner el destinatario e inicia implícitamente
15355  una nueva carta.
15356 \end_layout
15357
15358 \begin_layout Itemize
15359
15360 \family sans
15361 Cierre
15362 \family default
15363 : da lugar a un párrafo para el cierre de la carta.
15364 \end_layout
15365
15366 \begin_layout Itemize
15367
15368 \family sans
15369 PS
15370 \family default
15371 : párrafo para poner una postdata.
15372 \end_layout
15373
15374 \begin_layout Itemize
15375
15376 \family sans
15377 CC
15378 \family default
15379 : párrafo para una lista de co-destinatarios.
15380 \end_layout
15381
15382 \begin_layout Itemize
15383
15384 \family sans
15385 Encl
15386 \family default
15387 : párrafo para documentos adjuntos.
15388 \end_layout
15389
15390 \begin_layout Standard
15391 Los tipos de entorno 
15392 \family sans
15393 Nombre
15394 \family default
15395
15396 \family sans
15397 Firma
15398 \family default
15399
15400 \family sans
15401 Dirección
15402 \family default
15403
15404 \family sans
15405 Teléfono
15406 \family default
15407
15408 \family sans
15409 Lugar
15410 \family default
15411
15412 \family sans
15413 Remite
15414 \family default
15415
15416 \family sans
15417 Correo
15418 \begin_inset space ~
15419 \end_inset
15420
15421 especial
15422 \family default
15423
15424 \family sans
15425 Localización
15426 \family default
15427
15428 \family sans
15429 Título
15430 \family default
15431 , y 
15432 \family sans
15433 Tema
15434 \family default
15435  son entradas provistas de una etiqueta para introducir información que
15436  será procesada por la clase de documento.
15437 \begin_inset Foot
15438 status collapsed
15439
15440 \begin_layout Plain Layout
15441 Podría ser inconsecuente que 
15442 \family sans
15443 Carta 
15444 \family default
15445
15446 \family sans
15447 Apertura
15448 \family default
15449 , descritos arriba, no sean también entornos con etiqueta de entrada.
15450  Sin embargo, debido al signifificado particular de estos tipos, los he
15451  implementado como párrafos ordinarios con una letra en el margen.
15452  Además, afectaría a mi sensación de simetría si los tipos 
15453 \family sans
15454 Apertura
15455 \family default
15456  y 
15457 \family sans
15458 Cierre
15459 \family default
15460  tuvieran aspectos muy distintos.
15461 \end_layout
15462
15463 \end_inset
15464
15465  Estos tipos deben ponerse antes de la 
15466 \family sans
15467 Apertura
15468 \family default
15469  correspondiente.
15470 \end_layout
15471
15472 \begin_layout Standard
15473 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
15474  el aspecto real de la carta no solo depende del uso de un tipo particular,
15475  sino también de otros factores.
15476  Por ejemplo, en el comportamiento predeterminado, una firma introducida
15477  en el tipo 
15478 \family sans
15479 Firma 
15480 \family default
15481 solo aparecerá en la carta si se usa, además, el tipo 
15482 \family sans
15483 Cierre
15484 \family default
15485 .
15486  El valor introducido en 
15487 \family sans
15488 Teléfono 
15489 \family default
15490 tampoco aparece en la carta.
15491  La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
15492  antes en una nota al pie.
15493 \end_layout
15494
15495 \begin_layout Standard
15496 Los entornos para introducir datos también se pueden usar como párrafos
15497  vacíos.
15498  Esto tiene sentido, p.
15499 \begin_inset space \thinspace{}
15500 \end_inset
15501
15502 e., para el entorno 
15503 \family sans
15504 Firma
15505 \family default
15506 .
15507  Si no se pone 
15508 \family sans
15509 Firma
15510 \family default
15511 , en el comportamiento estándar se usará el valor de 
15512 \family sans
15513 Nombre 
15514 \family default
15515 como firma, mientras que si se define una 
15516 \family sans
15517 Firma 
15518 \family default
15519 vacía no saldrá ninguna.
15520 \end_layout
15521
15522 \begin_layout Standard
15523 Los entornos para introducir datos también pueden servir para escribir una
15524  plantilla, que contenga campos cumplimentados con tus datos personales
15525  (nombre, dirección, etc.), y campos vacíos listos para ser completados con
15526  otros datos.
15527 \end_layout
15528
15529 \begin_layout Itemize
15530
15531 \family sans
15532 Nombre
15533 \family default
15534 : nombre del remitente, en el comportamiento normal aparece en versalitas,
15535  en un párrafo centrado en el encabezado de la carta.
15536 \end_layout
15537
15538 \begin_layout Itemize
15539
15540 \family sans
15541 Firma
15542 \family default
15543 : firma del remitente, en el comportamiento normal aparece bajo el 
15544 \family sans
15545 Cierre
15546 \family default
15547 .
15548  Si no se utiliza el párrafo 
15549 \family sans
15550 Firma
15551 \family default
15552 , se escribe en su lugar el valor del campo 
15553 \family sans
15554 Nombre
15555 \family default
15556 .
15557 \end_layout
15558
15559 \begin_layout Itemize
15560
15561 \family sans
15562 Dirección
15563 \family default
15564 : dirección del remitente, en el comportamiento normal aparece en un párrafo
15565  centrado, en el encabezado, bajo el 
15566 \family sans
15567 Nombre
15568 \family default
15569  del remitente.
15570 \end_layout
15571
15572 \begin_layout Itemize
15573
15574 \family sans
15575 Teléfon
15576 \family default
15577 o: teléfono del remitente, en el comportamiento normal corresponde a la
15578  variable 
15579 \family typewriter
15580
15581 \backslash
15582 telephonenum
15583 \family default
15584  de \SpecialChar LaTeX
15585 .
15586 \end_layout
15587
15588 \begin_layout Itemize
15589
15590 \family sans
15591 Lugar
15592 \family default
15593 : lugar donde se ha escrito la carta.
15594 \end_layout
15595
15596 \begin_layout Itemize
15597
15598 \family sans
15599 Fecha
15600 \family default
15601 : fecha de escritura de la carta.
15602  
15603 \family sans
15604 Lugar
15605 \family default
15606  y 
15607 \family sans
15608 Fecha
15609 \family default
15610 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
15611  Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
15612 mente del valor puesto en 
15613 \family sans
15614 Lugar
15615 \family default
15616 .
15617  Si no se pone párrafo de 
15618 \family sans
15619 Fecha
15620 \family default
15621 , se usará la fecha del día.
15622 \end_layout
15623
15624 \begin_layout Itemize
15625
15626 \family sans
15627 Remite
15628 \family default
15629 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
15630 io (
15631 \family sans
15632 Carta
15633 \family default
15634 ) en tipografía sans serif pequeña, subrayado.
15635 \end_layout
15636
15637 \begin_layout Itemize
15638
15639 \family sans
15640 Correo_Especial
15641 \family default
15642 : información especial de correo, en el comportamiento normal aparece subrayado
15643  sobre la dirección y bajo el remite.
15644 \end_layout
15645
15646 \begin_layout Itemize
15647
15648 \family sans
15649 Loca
15650 \family default
15651 lizació
15652 \family sans
15653 n
15654 \family default
15655 : información adicional, en el comportamiento normal aparece a la derecha
15656  bajo el campo del destinatario (
15657 \family sans
15658 Carta
15659 \family default
15660 ).
15661 \end_layout
15662
15663 \begin_layout Itemize
15664
15665 \family sans
15666 Título
15667 \family default
15668 : título de la carta, en el comportamiento normal aparece en letra sans
15669  serif grande, en negrita, sobre el 
15670 \family sans
15671 Tema
15672 \family default
15673 .
15674 \end_layout
15675
15676 \begin_layout Itemize
15677
15678 \family sans
15679 Tema
15680 \family default
15681 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
15682  el párrafo de 
15683 \family sans
15684 Apertura
15685 \family default
15686 .
15687 \end_layout
15688
15689 \begin_layout Standard
15690 Los tipos 
15691 \family sans
15692 Su_ref
15693 \family default
15694
15695 \family sans
15696 Su_Correo
15697 \family default
15698
15699 \family sans
15700 Mi_ref
15701 \family default
15702
15703 \family sans
15704 C
15705 \family default
15706 liente, y 
15707 \family sans
15708 Factura
15709 \family default
15710  generan, a la manera de las cartas comerciales, una línea sobre el 
15711 \family sans
15712 Título
15713 \family default
15714  con los campos 
15715 \begin_inset Quotes cld
15716 \end_inset
15717
15718 Su ref.
15719 \begin_inset Quotes crd
15720 \end_inset
15721
15722
15723 \begin_inset Quotes cld
15724 \end_inset
15725
15726 Su carta de
15727 \begin_inset Quotes crd
15728 \end_inset
15729
15730
15731 \begin_inset Quotes cld
15732 \end_inset
15733
15734 Nuestra ref.
15735 \begin_inset Quotes crd
15736 \end_inset
15737
15738
15739 \begin_inset Quotes cld
15740 \end_inset
15741
15742 Nº de Cliente
15743 \begin_inset Quotes crd
15744 \end_inset
15745
15746
15747 \begin_inset Quotes cld
15748 \end_inset
15749
15750 Nº de Factura:
15751 \begin_inset Quotes crd
15752 \end_inset
15753
15754 , y 
15755 \begin_inset Quotes cld
15756 \end_inset
15757
15758 Fecha
15759 \begin_inset Quotes crd
15760 \end_inset
15761
15762 .
15763  Para el campo 
15764 \begin_inset Quotes cld
15765 \end_inset
15766
15767 Fecha
15768 \begin_inset Quotes crd
15769 \end_inset
15770
15771  toma el valor del entorno 
15772 \family sans
15773 Fecha
15774 \family default
15775 .
15776  Si se utiliza uno de estos tipos para 
15777 \begin_inset Quotes cld
15778 \end_inset
15779
15780 cartas comerciales
15781 \begin_inset Quotes crd
15782 \end_inset
15783
15784 , el valor dado en 
15785 \family sans
15786 Lugar
15787 \family default
15788  no aparece, solo se define la variable \SpecialChar LaTeX
15789  
15790 \family typewriter
15791
15792 \backslash
15793 fromplace
15794 \family default
15795 .
15796  La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
15797  campo del destinatario se suprime.
15798  Los tipos se implementan para introducción de datos, provistos con una
15799  etiqueta, y deben utilizarse antes del correspondiente tipo 
15800 \family sans
15801 Apertura
15802 \family default
15803 .
15804 \end_layout
15805
15806 \begin_layout Itemize
15807
15808 \family sans
15809 Su_ref
15810 \family default
15811 : su ref.
15812 \end_layout
15813
15814 \begin_layout Itemize
15815 Su
15816 \family sans
15817 _
15818 \family default
15819 Correo: su carta de.
15820 \end_layout
15821
15822 \begin_layout Itemize
15823
15824 \family sans
15825 Mi
15826 \family default
15827 _
15828 \family sans
15829 ref
15830 \family default
15831 : mi ref.
15832 \end_layout
15833
15834 \begin_layout Itemize
15835
15836 \family sans
15837 Cliente
15838 \family default
15839 : Nº de cliente.
15840 \end_layout
15841
15842 \begin_layout Itemize
15843
15844 \family sans
15845 Factura
15846 \family default
15847 : Nº de factura.
15848 \end_layout
15849
15850 \begin_layout Subsection
15851 La nueva clase de carta: letter (koma-script v.2)
15852 \end_layout
15853
15854 \begin_layout Standard
15855 por 
15856 \noun on
15857 Jürgen Spitzmüller
15858 \end_layout
15859
15860 \begin_layout Standard
15861 \begin_inset VSpace medskip
15862 \end_inset
15863
15864
15865 \end_layout
15866
15867 \begin_layout Standard
15868 \noindent
15869 Koma-Script versión 2.8 ha introducido una clase nueva 
15870 \family sans
15871 de 
15872 \family default
15873 cartas, 
15874 \family typewriter
15875 scrlttr2
15876 \family default
15877 , que reemplaza a 
15878 \family typewriter
15879 scrlettr
15880 \family default
15881 , que ya no se desarrolla.
15882  Tiene, en lo que respecta a \SpecialChar LaTeX
15883 , una interfaz completamente nueva incompatible
15884  con la clase antigua.
15885  \SpecialChar LyX
15886  soporta las dos, pero se recomienda usar la nueva.
15887 \end_layout
15888
15889 \begin_layout Standard
15890 Esta clase cubre las mismas funciones que 
15891 \family sans
15892 letter (koma-script)
15893 \family default
15894 \emph on
15895 ,
15896 \emph default
15897  y algunas más.
15898  Las funciones básicas son 
15899 \family sans
15900 Dirección
15901 \family default
15902  (dirección del destinatario, como
15903 \family sans
15904  Carta
15905 \family default
15906  en el formato antiguo), 
15907 \family sans
15908 Apertura
15909 \family default
15910 , y 
15911 \family sans
15912 Cierre
15913 \family default
15914 .
15915  
15916 \family sans
15917 Dirección
15918 \family default
15919 _
15920 \family sans
15921 Siguiente
15922 \family default
15923  comenzará una carta nueva (o sea, que puedes escribir varias cartas en
15924  el mismo documento).
15925  Los elementos nuevos de remitente son 
15926 \family sans
15927 Correo_Electrónico
15928 \family default
15929
15930 \family sans
15931 URL
15932 \family default
15933
15934 \family sans
15935 Fax
15936 \family default
15937
15938 \family sans
15939 Bank
15940 \family default
15941  y la posibilidad de usar un 
15942 \family sans
15943 Logotipo
15944 \family default
15945  (vía 
15946 \family sans
15947 Insertar\SpecialChar menuseparator
15948 Imagen
15949 \family default
15950 ) en el encabezado.
15951 \end_layout
15952
15953 \begin_layout Standard
15954 La mejora más importante es, creo, que el formato de la carta es configurable
15955  para casi cualquier necesidad.
15956  Esto se puede hacer en el preámbulo o con un archivo de estilo especial
15957  (extensión 
15958 \family typewriter
15959 .lco
15960 \family default
15961 , Letter Class Option), que será leído como una opción de clase.
15962 \begin_inset Foot
15963 status collapsed
15964
15965 \begin_layout Plain Layout
15966 El paquete KOMA viene con algunos archivos 
15967 \family typewriter
15968 .lco
15969 \family default
15970  predefinidos.
15971  Hay, por ejemplo, un archivo 
15972 \family typewriter
15973 DIN.lco
15974 \family default
15975  que sigue las normas tipográficas alemanas, o 
15976 \family typewriter
15977 KOMAold.lco
15978 \family default
15979  que proporciona el formato predefinido de la antigua clase 
15980 \family typewriter
15981 scrlettr
15982 \family default
15983 .
15984  Esta última puede cargarse como opción de clase 
15985 \family typewriter
15986 KOMAold
15987 \family default
15988 , en el campo 
15989 \family sans
15990 Opciones 
15991 \family default
15992 de 
15993 \family sans
15994 Documento\SpecialChar menuseparator
15995 Configuración\SpecialChar menuseparator
15996 Clase
15997 \begin_inset space ~
15998 \end_inset
15999
16000 de
16001 \begin_inset space ~
16002 \end_inset
16003
16004 documento
16005 \family default
16006 .
16007 \end_layout
16008
16009 \end_inset
16010
16011  Echa una ojeada a la plantilla 
16012 \emph on
16013 koma-letter2
16014 \emph default
16015  que se incluye como ejemplo en \SpecialChar LyX
16016 .
16017  En la documentación de Koma-Script (
16018 \emph on
16019 scrguide
16020 \emph default
16021 ) hay una descripción detallada.
16022 \end_layout
16023
16024 \begin_layout Subsection
16025 Problemas
16026 \end_layout
16027
16028 \begin_layout Standard
16029 En \SpecialChar LyX
16030 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16031  problemas.
16032 \end_layout
16033
16034 \begin_layout Itemize
16035 El número de capítulo en un párrafo 
16036 \family sans
16037 Capítulo
16038 \family default
16039  aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16040  delante en la misma línea.
16041  La causa de esto es el comportamiento interno de \SpecialChar LyX
16042  en relación a los marcadores
16043  del tipo 
16044 \family sans
16045 Counter_Chapter 
16046 \family default
16047 en el archivo de formato.
16048 \end_layout
16049
16050 \begin_layout Itemize
16051 Los encabezados de los entornos 
16052 \family sans
16053 Añadir_Cap
16054 \family default
16055  y 
16056 \family sans
16057 Añadir_Sec
16058 \family default
16059  solo se ponen en el índice generado por \SpecialChar LaTeX
16060 , no en el índice de \SpecialChar LyX
16061  (
16062 \family sans
16063 Documento\SpecialChar menuseparator
16064 Índice
16065 \begin_inset space ~
16066 \end_inset
16067
16068 general
16069 \family default
16070 ).
16071 \end_layout
16072
16073 \begin_layout Itemize
16074 Los párrafos en documentos de la clase 
16075 \emph on
16076 letter
16077 \emph default
16078  aparecen separados con espacio adicional entre ellos, no con sangrado.
16079  Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16080  para eso.
16081  Sin embargo, en el diálogo 
16082 \family sans
16083 Documento\SpecialChar menuseparator
16084 Configuración
16085 \family default
16086  el botón que aparece marcado es 
16087 \family sans
16088 Sangrado
16089 \family default
16090 .
16091  Si se introduce un valor de 
16092 \family sans
16093 Espacio
16094 \begin_inset space ~
16095 \end_inset
16096
16097 vertical
16098 \family default
16099  se insertan en el documento comandos \SpecialChar LaTeX
16100  adicionales para dar ese espacio,
16101  lo que en este caso no es lo que queremos.
16102 \end_layout
16103
16104 \begin_layout Section
16105 Memoir
16106 \end_layout
16107
16108 \begin_layout Standard
16109 por 
16110 \noun on
16111 Jürgen Spitzmüller
16112 \end_layout
16113
16114 \begin_layout Subsection
16115 Visión previa
16116 \end_layout
16117
16118 \begin_layout Standard
16119 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16120  Se ha diseñado para escribir literatura de ficción y de no ficción.
16121  Su objetivo es dar al usuario el máximo control sobre su documento.
16122  Memoir está basada en la clase estándar 
16123 \family sans
16124 book
16125 \family default
16126 , pero también puede emular la clase 
16127 \family sans
16128 article 
16129 \family default
16130 (véase más adelante).
16131 \end_layout
16132
16133 \begin_layout Standard
16134 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16135  paquetes en el mundillo de \SpecialChar LaTeX
16136 .
16137  La mayoría de ellos se han combinado con Memoir.
16138  Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16139  y demás.
16140  \SpecialChar LyX
16141 , no obstante, no soporta por sí mismo todas sus características.
16142  Algunas se podrán añadir en futuras versiones
16143 \begin_inset Foot
16144 status collapsed
16145
16146 \begin_layout Plain Layout
16147 Estás invitado a enviar sugerencias a 
16148 \begin_inset Flex URL
16149 status collapsed
16150
16151 \begin_layout Plain Layout
16152
16153 lyx-devel@lists.lyx.org
16154 \end_layout
16155
16156 \end_inset
16157
16158 .
16159 \end_layout
16160
16161 \end_inset
16162
16163 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16164 .
16165  Por supuesto, puedes usar todas las características con ayuda de comandos
16166  \SpecialChar LaTeX
16167  (código \SpecialChar TeX
16168
16169 \begin_inset Foot
16170 status collapsed
16171
16172 \begin_layout Plain Layout
16173 Consulta la sección
16174 \begin_inset space ~
16175 \end_inset
16176
16177
16178 \begin_inset CommandInset ref
16179 LatexCommand ref
16180 reference "sec:Insertar-Código-TeX"
16181
16182 \end_inset
16183
16184  para más detalles.
16185 \end_layout
16186
16187 \end_inset
16188
16189 ).
16190  En esta sección solo trataremos las características soportadas directamente
16191  por \SpecialChar LyX
16192 .
16193  Para una decripción más completa (y para el resto de características) recomenda
16194 mos la consulta del manual de Memoir
16195 \begin_inset Foot
16196 status collapsed
16197
16198 \begin_layout Plain Layout
16199 \begin_inset Flex URL
16200 status collapsed
16201
16202 \begin_layout Plain Layout
16203
16204 CTAN:/macros/latex/memoir/memman.pdf
16205 \end_layout
16206
16207 \end_inset
16208
16209 .
16210 \end_layout
16211
16212 \end_inset
16213
16214 , que es, no solo una guía de usuario, sino también una completa guía sobre
16215  normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16216 \end_layout
16217
16218 \begin_layout Subsection
16219 Características básicas y restricciones
16220 \end_layout
16221
16222 \begin_layout Standard
16223 Memoir soporta básicamente todas las características de las clases estándar
16224  de 
16225 \family sans
16226 book
16227 \family default
16228 .
16229  Pero hay algunas diferencias:
16230 \end_layout
16231
16232 \begin_layout Description
16233 Tamaños
16234 \begin_inset space ~
16235 \end_inset
16236
16237 de
16238 \begin_inset space ~
16239 \end_inset
16240
16241 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16242  11, 12, 14, 17
16243 \end_layout
16244
16245 \begin_layout Description
16246 Estilo
16247 \begin_inset space ~
16248 \end_inset
16249
16250 de
16251 \begin_inset space ~
16252 \end_inset
16253
16254 página: El estilo 
16255 \begin_inset Quotes cld
16256 \end_inset
16257
16258 fancy
16259 \begin_inset Quotes crd
16260 \end_inset
16261
16262  no está soportado, debido a un conflicto entre Memoir y el paquete 
16263 \family sans
16264 fancyhdr
16265 \family default
16266  (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16267 ).
16268  En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16269  
16270 \family sans
16271 \lang english
16272 Document\SpecialChar menuseparator
16273 Settings\SpecialChar menuseparator
16274 Page
16275 \begin_inset space ~
16276 \end_inset
16277
16278 Style
16279 \family default
16280 \lang spanish
16281 ).
16282  Si quieres usar estos para las páginas de capítulos, tienes que usar el
16283  comando 
16284 \family typewriter
16285
16286 \backslash
16287 chapterstyle
16288 \family default
16289  en el texto o en el preámbulo (p.
16290 \begin_inset space \thinspace{}
16291 \end_inset
16292
16293 ej.
16294 \begin_inset space ~
16295 \end_inset
16296
16297
16298 \family typewriter
16299
16300 \backslash
16301 chapterstyle{companion}
16302 \family default
16303 ).
16304 \end_layout
16305
16306 \begin_layout Description
16307 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16308  subsección, etc.) van con un argumento opcional con el que puedes especificar
16309  una versión alternativa del título de la sección para el índice y para
16310  los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16311  largo).
16312  En \SpecialChar LyX
16313 , puedes hacerlo con la opción de menú 
16314 \family sans
16315 Insertar\SpecialChar menuseparator
16316 Título
16317 \begin_inset space ~
16318 \end_inset
16319
16320 breve
16321 \family default
16322  al principio de un capítulo/sección.
16323  
16324 \family sans
16325 Memoir
16326 \family default
16327  suministra un segundo argumento opcional para separar el índice del encabezamie
16328 nto.
16329  Con esto puedes definir tres variantes de un título: una para el texto
16330  principal, otra para el índice general y otra para los encabezamientos.
16331  
16332 \lang english
16333 \SpecialChar LyX
16334  makes these available in form of specific 
16335 \family sans
16336 Short Title
16337 \family default
16338  variants in the 
16339 \family sans
16340 Insert
16341 \family default
16342  menu.
16343 \end_layout
16344
16345 \begin_layout Description
16346 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16347  (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16348  en página nueva.
16349  
16350 \family sans
16351 Memoir
16352 \family default
16353  no sigue esta regla.
16354  Si lo quieres, tienes que insertar a mano el salto de página.
16355 \end_layout
16356
16357 \begin_layout Description
16358 Página
16359 \begin_inset space ~
16360 \end_inset
16361
16362 de
16363 \begin_inset space ~
16364 \end_inset
16365
16366 Título: Por razones desconocidas, 
16367 \family sans
16368 Memoir
16369 \family default
16370  usa paginación en la página del título (en las clases estándar, las páginas
16371  de título van en estilo 
16372 \begin_inset Quotes cld
16373 \end_inset
16374
16375
16376 \family sans
16377 empty
16378 \family default
16379
16380 \begin_inset Quotes crd
16381 \end_inset
16382
16383 , sin número).
16384  Si quieres una página de título en dicho estilo, pon 
16385 \family typewriter
16386
16387 \backslash
16388 aliaspagestyle{title}{empty}
16389 \family default
16390  en el preámbulo.
16391 \end_layout
16392
16393 \begin_layout Description
16394 Article: Con la opción de clase 
16395 \emph on
16396 article
16397 \emph default
16398  (que se debe introducir en 
16399 \family sans
16400 Documento\SpecialChar menuseparator
16401 Configuración\SpecialChar menuseparator
16402 Clase
16403 \begin_inset space ~
16404 \end_inset
16405
16406 de
16407 \begin_inset space ~
16408 \end_inset
16409
16410 documento\SpecialChar menuseparator
16411
16412 \lang english
16413 Custom
16414 \begin_inset space ~
16415 \end_inset
16416
16417
16418 \lang spanish
16419 Opciones
16420 \family default
16421 ), puedes emular algunos comportamientos de estilo de la clase 
16422 \family sans
16423 article
16424 \family default
16425 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16426  al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16427  (aunque, a diferencia de las clases 
16428 \family sans
16429 article 
16430 \family default
16431
16432 \begin_inset Quotes cld
16433 \end_inset
16434
16435 de verdad
16436 \begin_inset Quotes crd
16437 \end_inset
16438
16439 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16440  en las clases 
16441 \family sans
16442 book
16443 \family default
16444 .
16445 \end_layout
16446
16447 \begin_layout Description
16448 Comandos
16449 \begin_inset space ~
16450 \end_inset
16451
16452 de
16453 \begin_inset space ~
16454 \end_inset
16455
16456 tipografía
16457 \begin_inset space ~
16458 \end_inset
16459
16460 antiguos: por omisión, 
16461 \family sans
16462 Memoir
16463 \family default
16464  no permite el uso de los comandos de tipografía obsoletos que se usaban
16465  en la antigua versión de \SpecialChar LaTeX
16466 , 2.09 (p.
16467 \begin_inset space \thinspace{}
16468 \end_inset
16469
16470 ej.
16471 \family typewriter
16472
16473 \begin_inset space ~
16474 \end_inset
16475
16476
16477 \backslash
16478 rm
16479 \family default
16480 ,
16481 \begin_inset space ~
16482 \end_inset
16483
16484
16485 \family typewriter
16486
16487 \backslash
16488 it
16489 \family default
16490 ).
16491  Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
16492 .
16493  La opción de clase 
16494 \emph on
16495 oldfontcommands
16496 \emph default
16497  readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
16498  al menos no detiene a \SpecialChar LaTeX
16499 ).
16500  Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
16501  en sus archivos de estilo,
16502  todavía utilizan estos comandos, hemos decidido mantener esta opción como
16503  predeterminada.
16504 \end_layout
16505
16506 \begin_layout Subsection
16507 Características adicionales
16508 \end_layout
16509
16510 \begin_layout Standard
16511 Solo indicaremos las soportadas por \SpecialChar LyX
16512  (que actualmente no son muchas).
16513  Consulta el manual de 
16514 \family sans
16515 Memoir
16516 \family default
16517  para más detalles.
16518 \begin_inset Foot
16519 status collapsed
16520
16521 \begin_layout Plain Layout
16522 \begin_inset Flex URL
16523 status collapsed
16524
16525 \begin_layout Plain Layout
16526
16527 CTAN:/macros/latex/memoir/memman.pdf
16528 \end_layout
16529
16530 \end_inset
16531
16532 .
16533 \end_layout
16534
16535 \end_inset
16536
16537
16538 \end_layout
16539
16540 \begin_layout Description
16541 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
16542  Bien, lo es en la clase 
16543 \family sans
16544 book
16545 \family default
16546 .
16547  Usualmente los libros no tienen resúmenes.
16548  
16549 \family sans
16550 Memoir
16551 \family default
16552 , sin embargo, sí.
16553  Puedes usarlo donde, como y cuantas veces quieras.
16554 \end_layout
16555
16556 \begin_layout Description
16557 Capítulo
16558 \begin_inset space ~
16559 \end_inset
16560
16561 conciso: Quizá conozcas esto de 
16562 \begin_inset Quotes cld
16563 \end_inset
16564
16565 belletristic
16566 \begin_inset Quotes crd
16567 \end_inset
16568
16569
16570 \begin_inset Foot
16571 status collapsed
16572
16573 \begin_layout Plain Layout
16574 Estilo de escritura en que se da más importancia a la bella apariencia que
16575  al contenido.
16576
16577 \emph on
16578  (N.
16579  del t.)
16580 \end_layout
16581
16582 \end_inset
16583
16584 : El contenido de un capítulo es brevemente descrito debajo del título y
16585  también en el índice general (p.
16586 \begin_inset space \thinspace{}
16587 \end_inset
16588
16589 ej.
16590 \begin_inset space ~
16591 \end_inset
16592
16593
16594 \emph on
16595 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
16596 \emph default
16597 ).
16598  Capítulo_Conciso hace precisamente eso.
16599  Por tanto solo tiene sentido bajo un título de un capítulo.
16600 \end_layout
16601
16602 \begin_layout Description
16603 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
16604  El entorno epígrafe lo presenta de manera elegante.
16605  El propio lema (texto) y su autor (origen) se separan con una línea corta.
16606  
16607 \lang english
16608 The author (source) can be inserted via 
16609 \family sans
16610 Insert\SpecialChar menuseparator
16611 Epigraph Source
16612 \family default
16613 \emph on
16614 .
16615 \end_layout
16616
16617 \begin_layout Description
16618 Título
16619 \begin_inset space ~
16620 \end_inset
16621
16622 poema: 
16623 \family sans
16624 Memoir
16625 \family default
16626  ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
16627  figurativos).
16628  Lyx solo soporta unas pocas de ellas.
16629  Una es 
16630 \family sans
16631 Título_Poema
16632 \family default
16633 , que pone un título centrado para el poema y que también se añade al índice
16634  general.
16635  (
16636 \family sans
16637 Verso
16638 \family default
16639  es el entorno estándar para poesía.
16640  
16641 \family sans
16642 Memoir
16643 \family default
16644  dispone de algunas versiones mejoradas de 
16645 \family sans
16646 verse
16647 \family default
16648 , pero necesitas usar código \SpecialChar TeX
16649 , porque tienen que anidarse en entornos regulares
16650  de verso, lo que no es posible en \SpecialChar LyX
16651 ).
16652 \end_layout
16653
16654 \begin_layout Description
16655 Título
16656 \begin_inset space ~
16657 \end_inset
16658
16659 poema*: Igual que 
16660 \family sans
16661 Título
16662 \begin_inset space ~
16663 \end_inset
16664
16665 poema
16666 \family default
16667 , pero no añade entrada al índice general.
16668 \end_layout
16669
16670 \begin_layout Section
16671 Article (mwart), book (mwbk) y report (mwrep)
16672 \begin_inset Argument 1
16673 status collapsed
16674
16675 \begin_layout Plain Layout
16676 Las clases 
16677 \family typewriter
16678 mw
16679 \end_layout
16680
16681 \end_inset
16682
16683
16684 \end_layout
16685
16686 \begin_layout Standard
16687 por 
16688 \noun on
16689 Tomasz Luczak
16690 \end_layout
16691
16692 \begin_layout Standard
16693 Las clases de documento 
16694 \family sans
16695 article (mwart)
16696 \emph on
16697
16698 \emph default
16699 report (mwrep)
16700 \family default
16701  y 
16702 \family sans
16703 book
16704 \emph on
16705  
16706 \emph default
16707 (mwbk)
16708 \family default
16709  de \SpecialChar LyX
16710  corresponden a las clases de documentos \SpecialChar LaTeX
16711  
16712 \family typewriter
16713 mwart.cls
16714 \family default
16715
16716 \family typewriter
16717 mwrep.cls
16718 \family default
16719  y 
16720 \family typewriter
16721 mwbk.cls
16722 \family default
16723 , respectivamente.
16724  Son remodelaciones de las clases estándar de documentos 
16725 \family typewriter
16726 article.cls
16727 \family default
16728
16729 \family typewriter
16730 report.cls
16731 \family default
16732  y 
16733 \family typewriter
16734 book.cls
16735 \family default
16736 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
16737  en varios aspectos.
16738  
16739 \end_layout
16740
16741 \begin_layout Standard
16742 Las diferencias fundamentales son:
16743 \end_layout
16744
16745 \begin_layout Itemize
16746 Encabezados no numerados (con asterisco, p.
16747 \begin_inset space \thinspace{}
16748 \end_inset
16749
16750 ej.
16751  
16752 \family sans
16753 Sección*
16754 \family default
16755 ) en el índice.
16756 \end_layout
16757
16758 \begin_layout Itemize
16759 Estilos de página adicionales:
16760 \end_layout
16761
16762 \begin_deeper
16763 \begin_layout Description
16764 uheadings encabezados en líneas separadas,
16765 \end_layout
16766
16767 \begin_layout Description
16768 myheadings encabezados personalizados con 
16769 \family typewriter
16770
16771 \backslash
16772 markright
16773 \family default
16774  y 
16775 \family typewriter
16776
16777 \backslash
16778 markboth
16779 \family default
16780 ,
16781 \end_layout
16782
16783 \begin_layout Description
16784 myuheadings encabezados personalizados en líneas separadas,
16785 \end_layout
16786
16787 \begin_layout Description
16788 outer el número de página se coloca en el lado exterior de la misma.
16789 \end_layout
16790
16791 \end_deeper
16792 \begin_layout Itemize
16793 Opciones 
16794 \end_layout
16795
16796 \begin_deeper
16797 \begin_layout Description
16798 rmheadings encabezados en serif (predeterminado),
16799 \end_layout
16800
16801 \begin_layout Description
16802 sfheadings encabezados en sans-serif,
16803 \end_layout
16804
16805 \begin_layout Description
16806 authortitle en la página del título se pone primero el autor y luego el
16807  título (predeterminado),
16808 \end_layout
16809
16810 \begin_layout Description
16811 titleauthor en la página del título se pone el título, después el autor,
16812 \end_layout
16813
16814 \begin_layout Description
16815 withmarginpar reservar sitio de la página para los márgenes.
16816 \end_layout
16817
16818 \end_deeper
16819 \begin_layout Section
16820 Paper
16821 \end_layout
16822
16823 \begin_layout Standard
16824 La clase de documento 
16825 \family sans
16826 paper
16827 \family default
16828  provee una alternativa a la clase estándar 
16829 \family sans
16830 article
16831 \family default
16832 .
16833  Tiene una funcionalidad similar, aunque quizá prefieras este formato con
16834  secciones en sans serif, encabezados, y más..
16835 \end_layout
16836
16837 \begin_layout Section
16838 Rev\SpecialChar TeX
16839 4
16840 \end_layout
16841
16842 \begin_layout Standard
16843 por 
16844 \noun on
16845 Amir Karger
16846 \end_layout
16847
16848 \begin_layout Standard
16849 \begin_inset VSpace bigskip
16850 \end_inset
16851
16852
16853 \end_layout
16854
16855 \begin_layout Standard
16856 \noindent
16857 La clase de texto 
16858 \family sans
16859 Revtex
16860 \begin_inset space ~
16861 \end_inset
16862
16863
16864 \family default
16865 trabaja con la clase Rev\SpecialChar TeX
16866  4.0 (versión 
16867 \begin_inset Formula $\beta$
16868 \end_inset
16869
16870  de mayo de 1999) de la 
16871 \emph on
16872 American Physical Society
16873 \emph default
16874 .
16875 \end_layout
16876
16877 \begin_layout Standard
16878 \SpecialChar LyX
16879  tiene la clase de texto 
16880 \family sans
16881 Revtex
16882 \family default
16883  que funciona con Rev\SpecialChar TeX
16884  3.1.
16885  Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
16886  2.09.
16887  Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
16888 , que requiere \SpecialChar LaTeX2e
16889 , aunque
16890  se haya parcheado.
16891  Puesto que Rev\SpecialChar TeX
16892  4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
16893 , \SpecialChar LyX
16894  debería
16895  también funcionar mejor con la clase 
16896 \family sans
16897 Rev\SpecialChar TeX
16898
16899 \begin_inset space ~
16900 \end_inset
16901
16902 4
16903 \family default
16904 .
16905 \end_layout
16906
16907 \begin_layout Standard
16908 Esta documentación está pensada para ser usada 
16909 \emph on
16910 además de 
16911 \emph default
16912 la documentación de Rev\SpecialChar TeX
16913
16914 \begin_inset space ~
16915 \end_inset
16916
16917 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
16918 ,
16919  y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
16920  preciso.
16921 \end_layout
16922
16923 \begin_layout Subsection
16924 Instalación
16925 \end_layout
16926
16927 \begin_layout Standard
16928 Debes instalar Rev\SpecialChar TeX
16929
16930 \begin_inset space ~
16931 \end_inset
16932
16933 4 como se describe en el archivo README del paquete.
16934  El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
16935  4: 
16936 \begin_inset Flex URL
16937 status collapsed
16938
16939 \begin_layout Plain Layout
16940
16941 http://publish.aps.org/revtex4/
16942 \end_layout
16943
16944 \end_inset
16945
16946 .
16947  Instálalo donde \SpecialChar LaTeX
16948  pueda encontrarlo.
16949  Compruébalo procesando con \SpecialChar LaTeX
16950  algún corto documento Rev\SpecialChar TeX
16951
16952 \begin_inset space ~
16953 \end_inset
16954
16955 4 en algún directorio casual (es decir, no en el directorio donde se ha
16956  instalado el archivo de clase).
16957  Luego, si reconfiguras \SpecialChar LyX
16958 , este reconocerá el archivo de clase Rev\SpecialChar TeX
16959
16960 \begin_inset space ~
16961 \end_inset
16962
16963 4 y lo podrás utilizar.
16964 \end_layout
16965
16966 \begin_layout Standard
16967 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
16968
16969 \begin_inset space ~
16970 \end_inset
16971
16972 4 usando re\SpecialChar LyX
16973 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
16974
16975 \begin_inset space ~
16976 \end_inset
16977
16978
16979 \family sans
16980 4
16981 \family default
16982 , disponible en el directorio de plantillas (
16983 \emph on
16984 templates
16985 \emph default
16986 ).
16987 \end_layout
16988
16989 \begin_layout Subsection
16990 Preámbulo
16991 \end_layout
16992
16993 \begin_layout Standard
16994 Los argumentos opcionales a 
16995 \family typewriter
16996
16997 \backslash
16998 documentclass
16999 \family default
17000 , como 
17001 \begin_inset Quotes cld
17002 \end_inset
17003
17004 preprint
17005 \begin_inset Quotes crd
17006 \end_inset
17007
17008  y 
17009 \begin_inset Quotes cld
17010 \end_inset
17011
17012 aps
17013 \begin_inset Quotes crd
17014 \end_inset
17015
17016 , van en el campo 
17017 \family sans
17018 Opciones
17019 \family default
17020  del diálogo 
17021 \family sans
17022 Documento\SpecialChar menuseparator
17023 Configuración\SpecialChar menuseparator
17024 Clase
17025 \begin_inset space ~
17026 \end_inset
17027
17028 del
17029 \family default
17030
17031 \begin_inset space ~
17032 \end_inset
17033
17034
17035 \family sans
17036 documento
17037 \family default
17038 .
17039  ¡Recuerda que en Rev\SpecialChar TeX
17040 , se requiere, al menos, un argumento opcional! 
17041 \end_layout
17042
17043 \begin_layout Standard
17044 Otras cosas del preámbulo, como 
17045 \family typewriter
17046
17047 \backslash
17048 draft
17049 \family default
17050  etc., van en el diálogo 
17051 \family sans
17052 Preámbulo
17053 \begin_inset space ~
17054 \end_inset
17055
17056 La
17057 \family default
17058 \SpecialChar TeX
17059
17060 \family sans
17061
17062 \family default
17063 como de costumbre.
17064 \end_layout
17065
17066 \begin_layout Subsection
17067 Entornos de párrafo
17068 \end_layout
17069
17070 \begin_layout Standard
17071 En Rev\SpecialChar TeX
17072
17073 \begin_inset space ~
17074 \end_inset
17075
17076 4.0, los entornos de párrafo corresponden básicamente a comandos.
17077  Por ejemplo, el formato 
17078 \family sans
17079 CorreoE
17080 \family default
17081  corresponde a 
17082 \family typewriter
17083
17084 \backslash
17085 email{}
17086 \family default
17087 .
17088  Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17089  4.0 Beta), los entornos 
17090 \family sans
17091 Dirección
17092 \family default
17093  y 
17094 \family sans
17095 Afiliación
17096 \family default
17097  son exactamente equivalentes, por lo que no tendrías que usar ambos.
17098 \begin_inset Foot
17099 status collapsed
17100
17101 \begin_layout Plain Layout
17102 Si tienes curiosidad, se incluyeron ambos para que 
17103 \family typewriter
17104 tex2\SpecialChar LyX
17105
17106 \family default
17107  puediera traducir ambos,
17108 \family typewriter
17109  
17110 \backslash
17111 address
17112 \family default
17113  y 
17114 \family typewriter
17115
17116 \backslash
17117 affiliation
17118 \family default
17119 .
17120 \end_layout
17121
17122 \end_inset
17123
17124
17125 \end_layout
17126
17127 \begin_layout Subsection
17128 Notas importantes
17129 \end_layout
17130
17131 \begin_layout Standard
17132 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17133  4 que podrían ocasionar
17134  fallos que serán incluso más confusos en \SpecialChar LyX
17135 .
17136 \end_layout
17137
17138 \begin_layout Standard
17139 En Rev\SpecialChar TeX
17140 , el comando 
17141 \family typewriter
17142
17143 \backslash
17144 thanks
17145 \family default
17146  va 
17147 \emph on
17148 fuera
17149 \emph default
17150  del comando 
17151 \family typewriter
17152
17153 \backslash
17154 author.
17155
17156 \family default
17157  El equivalente en \SpecialChar LyX
17158  es que hay un entorno 
17159 \family sans
17160 Gracias 
17161 \family default
17162 separado.
17163  
17164 \emph on
17165 No
17166 \emph default
17167  escribas notas al pie en el entorno 
17168 \family sans
17169 Autor
17170 \family default
17171 , o
17172 \family sans
17173  sucederán cosas raras
17174 \family default
17175 .
17176  Véase la documentación de Rev\SpecialChar TeX
17177  4 para más detalles.
17178 \end_layout
17179
17180 \begin_layout Standard
17181 Además, los entornos 
17182 \family sans
17183 Autor
17184 \begin_inset space ~
17185 \end_inset
17186
17187 CorreoE
17188 \family default
17189
17190 \family sans
17191 Autor
17192 \begin_inset space ~
17193 \end_inset
17194
17195 URL
17196 \family default
17197 , y 
17198 \family sans
17199 Gracias
17200 \family default
17201  deben situarse 
17202 \emph on
17203 entre
17204 \emph default
17205  el entorno 
17206 \family sans
17207 Autor
17208 \family default
17209  y el entorno correspondiente 
17210 \family sans
17211 Dirección
17212 \family default
17213  (o el equivalente 
17214 \family sans
17215 Afiliación
17216 \family default
17217 ).
17218  Si pones 
17219 \family sans
17220 Gracias
17221 \family default
17222  después de 
17223 \family sans
17224 Dirección
17225 \family default
17226 , \SpecialChar LaTeX
17227  no compilará.
17228 \end_layout
17229
17230 \begin_layout Section
17231 Publicaciones de Springer (
17232 \family sans
17233 svjour
17234 \family default
17235 )
17236 \end_layout
17237
17238 \begin_layout Standard
17239 por 
17240 \noun on
17241 Martin Vermeer
17242 \end_layout
17243
17244 \begin_layout Subsection
17245 Descripción
17246 \end_layout
17247
17248 \begin_layout Standard
17249 Estos son los archivos de formato para algunas de las publicaciones editadas
17250  por 
17251 \emph on
17252 Springer Verlag
17253 \emph default
17254 , las que se recogen en 
17255 \begin_inset Flex URL
17256 status collapsed
17257
17258 \begin_layout Plain Layout
17259
17260 http://www.springer.de/author/tex/help-journals.html
17261 \end_layout
17262
17263 \end_inset
17264
17265 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17266  son \SpecialChar LaTeX2e
17267 !).
17268  Es un sistema modular: las características comunes a todas las publicaciones
17269  se implementan en 
17270 \family typewriter
17271 svjour.inc
17272 \family default
17273 , y los archivos de formato específicos (tales como, p.
17274 \begin_inset space \thinspace{}
17275 \end_inset
17276
17277 ej., 
17278 \family typewriter
17279 svjog.layout
17280 \family default
17281  para 
17282 \emph on
17283 Journal of Geodesy
17284 \emph default
17285 ) pueden incluirlo.
17286 \end_layout
17287
17288 \begin_layout Standard
17289 Esto significa que implementar soporte para cualquier otra publicación de
17290  
17291 \emph on
17292 Springer 
17293 \emph default
17294 incluida en esa lista es tan sencillo como escribir tu propio archivo 
17295 \family typewriter
17296 sv
17297 \family default
17298 <la_publicación>
17299 \family typewriter
17300 .layout
17301 \family default
17302  siguiendo las pautas dadas en 
17303 \family typewriter
17304 svjog.layout
17305 \family default
17306 .
17307  
17308 \end_layout
17309
17310 \begin_layout Standard
17311 Está razonablemente bien probado solo en el caso de 
17312 \emph on
17313 Journal of Geodesy
17314 \emph default
17315 .
17316  
17317 \family typewriter
17318 svjour
17319 \family default
17320  y 
17321 \family typewriter
17322 svjog
17323 \family default
17324  vienen con la distribución estándar de \SpecialChar LyX
17325 .
17326  Instala el archivo de clase correspondiente (descargado del sitio de 
17327 \emph on
17328 Springer
17329 \emph default
17330 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17331  —en el caso de te\SpecialChar TeX
17332  ejecutando 
17333 \family typewriter
17334 texhash
17335 \family default
17336 , como root si es necesario.
17337  (¿\SpecialChar LyX
17338  no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17339  y ya debería funcionar.
17340 \end_layout
17341
17342 \begin_layout Subsection
17343 Estilos nuevos
17344 \end_layout
17345
17346 \begin_layout Standard
17347 Un gran número de estilos tipo teorema –
17348 \family sans
17349 Afirmación, Conjetura,
17350 \family default
17351  
17352 \family sans
17353 \SpecialChar ldots
17354 Teorem
17355 \family default
17356 a–.
17357 \end_layout
17358
17359 \begin_layout Standard
17360
17361 \family sans
17362 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17363 _Puesto, Autor_Puesto, Instituto
17364 , Correo, Separatas, Palabras_clave, Agradecimientos
17365 \family default
17366 .
17367  Véase la documentación de la clase Springer para más detalles.
17368 \end_layout
17369
17370 \begin_layout Subsection
17371 Publicaciones soportadas
17372 \end_layout
17373
17374 \begin_layout Itemize
17375
17376 \emph on
17377 Journal of Geodesy
17378 \emph default
17379
17380 \family typewriter
17381 svjog.layout
17382 \family default
17383  — Martin Vermeer
17384 \end_layout
17385
17386 \begin_layout Itemize
17387
17388 \emph on
17389 Probability Theory and Related Fields
17390 \emph default
17391
17392 \family typewriter
17393 svprobth.layout
17394 \family default
17395  — Jean-Marc Lasgouttes
17396 \end_layout
17397
17398 \begin_layout Standard
17399 ¡Añade el tuyo, no es tan duro!
17400 \end_layout
17401
17402 \begin_layout Subsection
17403 CréditosCarpeta sin título
17404 \end_layout
17405
17406 \begin_layout Standard
17407 Estos archivos están basados parcialmente en el antiguo 
17408 \family typewriter
17409 ejour2.layout
17410 \family default
17411 , basado a su vez en una versión modificada de un antiguo archivo de estilo
17412  de \SpecialChar LaTeX
17413  2.09 de 
17414 \emph on
17415 Springer
17416 \emph default
17417 .
17418  Todo esto, y el archivo 
17419 \family typewriter
17420 ejour2
17421 \family default
17422  layout, están obsoletos.
17423  Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
17424  el archivo de formato de \SpecialChar LyX
17425 .
17426 \end_layout
17427
17428 \begin_layout Subsection
17429 Fallos
17430 \end_layout
17431
17432 \begin_layout Standard
17433 Probablemente.
17434  Pero probablemente menos que en el antiguo 
17435 \family typewriter
17436 ejour2
17437 \family default
17438  de \SpecialChar LaTeX
17439  modificado.
17440 \end_layout
17441
17442 \begin_layout Section
17443 Slides (antes 
17444 \noun on
17445 Sli
17446 \noun default
17447 \SpecialChar TeX
17448 )
17449 \begin_inset CommandInset label
17450 LatexCommand label
17451 name "sec:slitex"
17452
17453 \end_inset
17454
17455
17456 \end_layout
17457
17458 \begin_layout Standard
17459 por 
17460 \noun on
17461 John Weiss
17462 \noun default
17463  
17464 \end_layout
17465
17466 \begin_layout Subsection
17467 Introducción
17468 \end_layout
17469
17470 \begin_layout Standard
17471 Esta sección describe cómo usar \SpecialChar LyX
17472  para hacer transparencias para proyectores.
17473  Hay dos clases de documento que pueden hacer esto: la clase predeterminada
17474  
17475 \family sans
17476 slides
17477 \family default
17478  y la clase 
17479 \family sans
17480 Foil
17481 \family default
17482 \SpecialChar TeX
17483 .
17484  Esta sección se ocupa de la primera de ellas.
17485 \end_layout
17486
17487 \begin_layout Standard
17488 Lo voy a repetir alto y claro, para que no haya equívocos:
17489 \end_layout
17490
17491 \begin_layout Standard
17492 \begin_inset VSpace medskip
17493 \end_inset
17494
17495
17496 \end_layout
17497
17498 \begin_layout Standard
17499 \align center
17500
17501 \size large
17502 En esta sección se explica 
17503 \emph on
17504 solo
17505 \emph default
17506
17507 \begin_inset space ~
17508 \end_inset
17509
17510 la clase 
17511 \family sans
17512 slides (predeterminada)
17513 \family default
17514 \emph on
17515 .
17516 \end_layout
17517
17518 \begin_layout Standard
17519 \begin_inset VSpace medskip
17520 \end_inset
17521
17522
17523 \end_layout
17524
17525 \begin_layout Standard
17526 Si buscas la documentación para 
17527 \begin_inset Quotes cld
17528 \end_inset
17529
17530
17531 \family sans
17532 slides (Foil\SpecialChar TeX
17533 )
17534 \family default
17535
17536 \begin_inset Quotes crd
17537 \end_inset
17538
17539 , mira en la sección
17540 \begin_inset space ~
17541 \end_inset
17542
17543
17544 \begin_inset CommandInset ref
17545 LatexCommand ref
17546 reference "sec:foiltex"
17547
17548 \end_inset
17549
17550 .
17551  La clase 
17552 \family sans
17553 foils
17554 \family default
17555  (
17556 \begin_inset Quotes cld
17557 \end_inset
17558
17559
17560 \family sans
17561 slides (Foil\SpecialChar TeX
17562 )
17563 \family default
17564
17565 \begin_inset Quotes crd
17566 \end_inset
17567
17568 ) es realmente un poco mejor que la clase predeterminada 
17569 \family sans
17570 slides
17571 \family default
17572 ,
17573 \begin_inset Foot
17574 status collapsed
17575
17576 \begin_layout Plain Layout
17577 \SpecialChar ldots
17578 o eso se dice repetidamente por sus defensores.
17579  Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
17580 \end_layout
17581
17582 \end_inset
17583
17584  que se explica en esta sección.
17585 \end_layout
17586
17587 \begin_layout Standard
17588 Esta clase es una mejora del antiguo paquete 
17589 \noun on
17590 Sli
17591 \noun default
17592 \SpecialChar TeX
17593  de \SpecialChar LaTeX2e
17594 .
17595  Toda distribución de \SpecialChar LaTeX2e
17596  la incluye (nos referiremos desde ahora a 
17597 \begin_inset Quotes cld
17598 \end_inset
17599
17600
17601 \family sans
17602 slides
17603 \family default
17604
17605 \begin_inset Quotes crd
17606 \end_inset
17607
17608 ), así que lo tendrás.
17609  Como anoté antes, hay otras clases, como 
17610 \family sans
17611 foils
17612 \family default
17613 , que también produce transparencias y hace mejor su tarea.
17614  Sin embargo, hay ciertas cosas que 
17615 \family sans
17616 slides
17617 \family default
17618  puede hacer que los otros no pueden, como capas superpuestas.
17619  ¡Sigue leyendo para saber más!
17620 \end_layout
17621
17622 \begin_layout Subsection
17623 Para empezar
17624 \begin_inset CommandInset label
17625 LatexCommand label
17626 name "sec:slidesetup"
17627
17628 \end_inset
17629
17630
17631 \end_layout
17632
17633 \begin_layout Standard
17634 Obviamente, para usar esta clase debes escoger 
17635 \begin_inset Quotes cld
17636 \end_inset
17637
17638
17639 \family sans
17640 slides (default)
17641 \family default
17642
17643 \begin_inset Quotes crd
17644 \end_inset
17645
17646  en el diálogo 
17647 \family sans
17648 Documento\SpecialChar menuseparator
17649 Configuración
17650 \family default
17651 .
17652  Algunas cosas que debes saber sobre esta clase:
17653 \end_layout
17654
17655 \begin_layout Itemize
17656 No enredes con cambios en las opciones 
17657 \family sans
17658 Caras 
17659 \family default
17660 y
17661 \family sans
17662  Columnas
17663 \family default
17664 .
17665  No es soportado por 
17666 \family sans
17667 slides
17668 \family default
17669 .
17670 \end_layout
17671
17672 \begin_layout Itemize
17673 La opción 
17674 \family sans
17675 Diseño
17676 \begin_inset space ~
17677 \end_inset
17678
17679 de
17680 \begin_inset space ~
17681 \end_inset
17682
17683 página
17684 \family default
17685  se porta un poco distinto para esta clase.
17686  Las opciones disponibles y su efecto son:
17687 \end_layout
17688
17689 \begin_deeper
17690 \begin_layout Description
17691
17692 \family sans
17693 plain
17694 \family default
17695  La salida tiene números de página en la esquina inferior derecha.
17696 \end_layout
17697
17698 \begin_layout Description
17699
17700 \family sans
17701 headings
17702 \family default
17703  Como 
17704 \family sans
17705 plain
17706 \family default
17707 , pero además imprime los marcadores de tiempo que hayas puesto.
17708  Esta es la opción por omisión.
17709 \end_layout
17710
17711 \begin_layout Description
17712
17713 \family sans
17714 empty
17715 \family default
17716  La salida no imprime ni números de pàgina ni marcadores, nada.
17717 \end_layout
17718
17719 \end_deeper
17720 \begin_layout Itemize
17721 La clase 
17722 \family sans
17723 slides
17724 \family default
17725  tiene una opción extra: 
17726 \family typewriter
17727 clock
17728 \family default
17729 .
17730  Para usarla, pon 
17731 \begin_inset Quotes cld
17732 \end_inset
17733
17734
17735 \family typewriter
17736 clock
17737 \family default
17738
17739 \begin_inset Quotes crd
17740 \end_inset
17741
17742  en las opciones de la configuración de clase.
17743 \end_layout
17744
17745 \begin_deeper
17746 \begin_layout Standard
17747 Usar estas opciones te permite añadir marcadores de tiempo a las 
17748 \family sans
17749 Nota
17750 \family default
17751 s.
17752 \end_layout
17753
17754 \end_deeper
17755 \begin_layout Standard
17756 También puedes utilizar la plantilla 
17757 \begin_inset Quotes cld
17758 \end_inset
17759
17760
17761 \family typewriter
17762 slides.lyx
17763 \family default
17764
17765 \begin_inset Quotes crd
17766 \end_inset
17767
17768  para preparar un nuevo documento de esta clase, con 
17769 \family sans
17770 Archivo\SpecialChar menuseparator
17771 Nuevo
17772 \begin_inset space ~
17773 \end_inset
17774
17775 desde
17776 \begin_inset space ~
17777 \end_inset
17778
17779 plantilla
17780 \family default
17781 .
17782  La plantilla contiene algunos ejemplos de entornos de párrafo especiales
17783  de esta clase.
17784  Se describirán a continuación.
17785 \end_layout
17786
17787 \begin_layout Subsection
17788 Entornos de párrafo
17789 \end_layout
17790
17791 \begin_layout Subsubsection
17792 Entornos soportados
17793 \end_layout
17794
17795 \begin_layout Standard
17796 La primera cosa que observarás cuando inicies un documento 
17797 \family sans
17798 slides
17799 \family default
17800  es el tipo y tamaño de tipografía: 
17801 \family sans
17802 Sans
17803 \begin_inset space ~
17804 \end_inset
17805
17806 Serif
17807 \family default
17808  de tamaño 
17809 \family sans
17810 Grandísima
17811 \family default
17812 .
17813  Es también la tipografía que se utiliza en la salida.
17814  Interpreta esto como un 
17815 \begin_inset Quotes cld
17816 \end_inset
17817
17818 apunte visual
17819 \begin_inset Quotes crd
17820 \end_inset
17821
17822  que te recuerda que es una transparencia.
17823  En realidad las transparencias finales pueden usar una tipografía más grande,
17824  por tanto dispondrás de menos espacio.
17825  Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
17826 io.
17827 \end_layout
17828
17829 \begin_layout Standard
17830 La segunda cosa que llamará la atención es el cuadro desplegable de los
17831  entornos de párrafo ( a la izquierda de la barra de herramientas).
17832  La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
17833  Y hay cinco nuevos.
17834  Esto se debe a que la clase 
17835 \family sans
17836 slides
17837 \family default
17838  por sí misma solo soporta un cierto número de entornos de párrafo:
17839 \end_layout
17840
17841 \begin_layout Itemize
17842
17843 \family sans
17844 Normal
17845 \end_layout
17846
17847 \begin_layout Itemize
17848
17849 \family sans
17850 Enumeración*
17851 \end_layout
17852
17853 \begin_layout Itemize
17854
17855 \family sans
17856 Enumeración
17857 \end_layout
17858
17859 \begin_layout Itemize
17860
17861 \family sans
17862 Descripción
17863 \end_layout
17864
17865 \begin_layout Itemize
17866
17867 \family sans
17868 Lista
17869 \end_layout
17870
17871 \begin_layout Itemize
17872
17873 \family sans
17874 Cita
17875 \end_layout
17876
17877 \begin_layout Itemize
17878
17879 \family sans
17880 Citar
17881 \end_layout
17882
17883 \begin_layout Itemize
17884
17885 \family sans
17886 Verso
17887 \end_layout
17888
17889 \begin_layout Itemize
17890
17891 \family sans
17892 Encabezado
17893 \end_layout
17894
17895 \begin_layout Itemize
17896
17897 \family sans
17898 Código-\SpecialChar LyX
17899
17900 \end_layout
17901
17902 \begin_layout Standard
17903 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
17904  no funcionan en la clase 
17905 \family sans
17906 slides
17907 \family default
17908 .
17909 \end_layout
17910
17911 \begin_layout Standard
17912 Por otra parte, verás los siguientes nuevos entornos:
17913 \end_layout
17914
17915 \begin_layout Itemize
17916
17917 \family sans
17918 Transparencia
17919 \end_layout
17920
17921 \begin_layout Itemize
17922
17923 \family sans
17924 Superpuesto
17925 \end_layout
17926
17927 \begin_layout Itemize
17928
17929 \family sans
17930 Nota
17931 \end_layout
17932
17933 \begin_layout Itemize
17934
17935 \family sans
17936 TextoInvisible
17937 \end_layout
17938
17939 \begin_layout Itemize
17940
17941 \family sans
17942 TextoVisible
17943 \end_layout
17944
17945 \begin_layout Standard
17946 Estos cinco tienen ciertas peculiaridades debido a una 
17947 \begin_inset Quotes cld
17948 \end_inset
17949
17950 característica
17951 \begin_inset Quotes crd
17952 \end_inset
17953
17954  de \SpecialChar LyX
17955 .
17956  Verás, \SpecialChar LyX
17957  no permite anidar ningún entorno de párrafo en un entorno vacío.
17958  Bien, esto es fino y elegante, pero significa que no podrás comenzar una
17959  transparencia con nada que no sea texto simple.
17960  Para evitar esto, he hecho un poco de 
17961 \begin_inset Quotes cld
17962 \end_inset
17963
17964 magia \SpecialChar LaTeX
17965
17966 \begin_inset Quotes crd
17967 \end_inset
17968
17969 .
17970 \end_layout
17971
17972 \begin_layout Subsubsection
17973 Peculiaridades de los nuevos entornos
17974 \begin_inset CommandInset label
17975 LatexCommand label
17976 name "sec:slide-Peculiaridades"
17977
17978 \end_inset
17979
17980
17981 \end_layout
17982
17983 \begin_layout Standard
17984 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
17985 s a \SpecialChar LyX
17986 .
17987  Como he dicho, \SpecialChar LyX
17988  prohibe los entornos que comienzan con otro entorno.
17989  Para obviar esto, el entorno 
17990 \family sans
17991 Transparencia
17992 \family default
17993  no se comporta como los entornos de párrafo típicos descritos en la 
17994 \emph on
17995 Guía del usuario
17996 \emph default
17997 .
17998  
17999 \end_layout
18000
18001 \begin_layout Standard
18002 Los entornos 
18003 \family sans
18004 Transparencia,
18005 \family default
18006  
18007 \family sans
18008 Superpuesto
18009 \family default
18010  y 
18011 \family sans
18012 Nota
18013 \family default
18014  deberían considerarse 
18015 \begin_inset Quotes cld
18016 \end_inset
18017
18018 pseudo-entornos
18019 \begin_inset Quotes crd
18020 \end_inset
18021
18022 .
18023  Tienen el aspecto de una cabecera de sección o de un 
18024 \begin_inset Quotes cld
18025 \end_inset
18026
18027
18028 \family sans
18029 Encabezado
18030 \family default
18031
18032 \begin_inset Quotes crd
18033 \end_inset
18034
18035 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18036  entorno de párrafo.
18037  De igual manera, considera 
18038 \family sans
18039 TextoInvisible
18040 \family default
18041  y 
18042 \family sans
18043 TextoVisible
18044 \family default
18045  como 
18046 \begin_inset Quotes cld
18047 \end_inset
18048
18049 pseudo-comandos
18050 \begin_inset Quotes crd
18051 \end_inset
18052
18053 .
18054  Estos dos realizan acciones.
18055 \end_layout
18056
18057 \begin_layout Standard
18058 Una característica común a los cinco entornos, 
18059 \family sans
18060 Transparencia
18061 \family default
18062
18063 \family sans
18064 Superpuesto
18065 \family default
18066
18067 \family sans
18068 Nota
18069 \family default
18070
18071 \family sans
18072 TextoInvisible
18073 \family default
18074  y 
18075 \family sans
18076 TextoVisible
18077 \family default
18078 , es una etiqueta más bien larga.
18079  El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18080  de párrafo— no es tenido en cuenta.
18081  \SpecialChar LyX
18082  lo ignora completamente.
18083  De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18084  
18085 \end_layout
18086
18087 \begin_layout Standard
18088 Aunque no
18089 \emph on
18090  tengas 
18091 \emph default
18092 que poner texto tras la etiqueta, puedes hacerlo.
18093  Podría ser, por ejemplo, una breve descripción del contenido de la 
18094 \family sans
18095 Transparencia
18096 \family default
18097 .
18098  En ese caso, introduce tu texto y pulsa 
18099 \family sans
18100 Intro
18101 \family default
18102  como harías normalmente.
18103 \end_layout
18104
18105 \begin_layout Standard
18106 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18107  utilizar otra peculiaridad de \SpecialChar LyX
18108 .
18109  \SpecialChar LyX
18110 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18111  un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18112  En ese caso puedes hacer esto:
18113 \end_layout
18114
18115 \begin_layout Itemize
18116 Comienza introduciendo el texto que 
18117 \emph on
18118 seguirá 
18119 \emph default
18120 al nuevo párrafo 
18121 \family sans
18122 Transparencia
18123 \family default
18124
18125 \family sans
18126 Superpuesto
18127 \family default
18128
18129 \family sans
18130 Nota
18131 \family default
18132
18133 \family sans
18134 TextoInvisible
18135 \family default
18136  o 
18137 \family sans
18138 TextoVisible
18139 \family default
18140 .
18141  
18142 \end_layout
18143
18144 \begin_layout Itemize
18145 Sitúate ahora en el principio de ese párrafo.
18146  
18147 \end_layout
18148
18149 \begin_layout Itemize
18150 Pulsa 
18151 \family sans
18152 Retorno
18153 \family default
18154 .
18155  
18156 \end_layout
18157
18158 \begin_layout Itemize
18159 Por último, cambia este nuevo párrafo vacío a 
18160 \family sans
18161 Transparencia
18162 \family default
18163
18164 \family sans
18165 Superpuesto
18166 \family default
18167
18168 \family sans
18169 Nota
18170 \family default
18171
18172 \family sans
18173 TextoInvisible
18174 \family default
18175  o 
18176 \family sans
18177 TextoVisible
18178 \family default
18179 .
18180 \end_layout
18181
18182 \begin_layout Standard
18183 Confiemos en que alguna futura versión de \SpecialChar LyX
18184  resuelva esta peculiaridad\SpecialChar ldots
18185
18186 \end_layout
18187
18188 \begin_layout Subsection
18189 Hacer una presentación con 
18190 \family sans
18191 Diapositiva
18192 \family default
18193
18194 \family sans
18195 Superpuesto
18196 \family default
18197  y 
18198 \family sans
18199 Nota
18200 \end_layout
18201
18202 \begin_layout Subsubsection
18203 Utilizar el entorno 
18204 \family sans
18205 Diapositiva
18206 \end_layout
18207
18208 \begin_layout Standard
18209 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18210  a decepcionar.
18211  Naturalmente, describiré todas las formas en que la clase 
18212 \family sans
18213 slides
18214 \family default
18215  te ayudará a preparar una presentación.
18216  Completar el contenido es tarea tuya.
18217  (Esta es, también, la filosofía de \SpecialChar LyX
18218 ).
18219  
18220 \end_layout
18221
18222 \begin_layout Standard
18223 Al escoger el entorno 
18224 \family sans
18225 Diapositiva
18226 \family default
18227  (como se indica en la sección
18228 \begin_inset space ~
18229 \end_inset
18230
18231
18232 \begin_inset CommandInset ref
18233 LatexCommand ref
18234 reference "sec:slide-Peculiaridades"
18235
18236 \end_inset
18237
18238 ) \SpecialChar LyX
18239  comienza una nueva.
18240  El marcador para este entorno/
18241 \begin_inset Quotes cld
18242 \end_inset
18243
18244 pseudo-comando
18245 \begin_inset Quotes crd
18246 \end_inset
18247
18248  es una 
18249 \begin_inset Quotes cld
18250 \end_inset
18251
18252 línea ASCII
18253 \begin_inset Quotes crd
18254 \end_inset
18255
18256  en azul con la etiqueta 
18257 \begin_inset Quotes cld
18258 \end_inset
18259
18260 Nueva Diap.:
18261 \begin_inset Quotes crd
18262 \end_inset
18263
18264 .
18265 \end_layout
18266
18267 \begin_layout Standard
18268 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18269  Es simple.
18270 \end_layout
18271
18272 \begin_layout Standard
18273 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18274  \SpecialChar LyX
18275  (puede especificarse en el diálogo 
18276 \family sans
18277 Insertar\SpecialChar menuseparator
18278 Formato
18279 \family default
18280 ).
18281  De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18282  Si has introducido más texto del que cabe en una transparencia, el sobrante
18283  irá a una nueva.
18284  Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18285  no tendrá número de página.
18286  Además, puede interferir con algún 
18287 \family sans
18288 Superpuesto
18289 \family default
18290  que hayas incluido en la transparencia sobredimensionada.
18291 \end_layout
18292
18293 \begin_layout Standard
18294 Los entornos 
18295 \family sans
18296 Superpuesto
18297 \family default
18298  y 
18299 \family sans
18300 Nota
18301 \family default
18302  funcionan como el entorno 
18303 \family sans
18304 Diapositiva
18305 \family default
18306 .
18307  Ambos crean una 
18308 \begin_inset Quotes cld
18309 \end_inset
18310
18311 línea ASCII
18312 \begin_inset Quotes crd
18313 \end_inset
18314
18315  con los marcadores 
18316 \begin_inset Quotes cld
18317 \end_inset
18318
18319 Nuevo Superpuesto:
18320 \begin_inset Quotes crd
18321 \end_inset
18322
18323  y 
18324 \begin_inset Quotes cld
18325 \end_inset
18326
18327 Nueva Nota:
18328 \begin_inset Quotes crd
18329 \end_inset
18330
18331 , respectivamente.
18332  
18333 \family sans
18334 El
18335 \family default
18336  color es magenta en vez de azul, y la 
18337 \begin_inset Quotes cld
18338 \end_inset
18339
18340 línea ASCII
18341 \begin_inset Quotes crd
18342 \end_inset
18343
18344  tiene un aspecto diferente en estilo y longitud.
18345  La tipografía de las etiquetas de las tres también es diferente en cada
18346  una de ellas.
18347 \end_layout
18348
18349 \begin_layout Standard
18350 Igual que para 
18351 \family sans
18352 Diapositiva
18353 \family default
18354 , si los contenidos de una 
18355 \family sans
18356 Nota
18357 \family default
18358  o 
18359 \family sans
18360 Superpuesto
18361 \family default
18362  exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18363  ocupa una nueva hoja.
18364  De nuevo lo desaconsejamos porque las 
18365 \family sans
18366 Nota
18367 \family default
18368 s y 
18369 \family sans
18370 Superpuesto
18371 \family default
18372 s carecerían de utilidad.
18373 \end_layout
18374
18375 \begin_layout Subsubsection
18376 Usar 
18377 \family sans
18378 Superpuesto
18379 \family default
18380  con 
18381 \family sans
18382 Diapositiva
18383 \end_layout
18384
18385 \begin_layout Standard
18386 La idea de un 
18387 \family sans
18388 Superpuesto 
18389 \family default
18390 es una transparencia que se superpone a otra.
18391  Supón que quieres presentar una figura en una diapositiva antes que el
18392  texto que la acompaña.
18393  Una forma de conseguirlo es ocultar con papel negro la parte que quieres
18394  que se muestre más tarde.
18395  Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
18396  por ejemplo.
18397  Entonces tendrías que trastear con las transparencias, mientras sigues
18398  hablando, para superponerlas de manera que los gráficos queden correctamente
18399  alineados.
18400  Con el entorno 
18401 \family sans
18402 Superpuesto
18403 \family default
18404 , ambas cosas son mucho más sencillas.
18405 \end_layout
18406
18407 \begin_layout Standard
18408 Cada 
18409 \family sans
18410 Superpuesto 
18411 \family default
18412 tiene el mismo número de página que la 
18413 \family sans
18414 Diapositiva
18415 \family default
18416  
18417 \begin_inset Quotes cld
18418 \end_inset
18419
18420 madre
18421 \begin_inset Quotes crd
18422 \end_inset
18423
18424 , seguido de 
18425 \begin_inset Quotes cld
18426 \end_inset
18427
18428 -a
18429 \begin_inset Quotes crd
18430 \end_inset
18431
18432 .
18433 \begin_inset Foot
18434 status collapsed
18435
18436 \begin_layout Plain Layout
18437 Presumiblemente, múltiples 
18438 \family sans
18439 Superpuesto
18440 \family default
18441 s deberían tener 
18442 \begin_inset Quotes cld
18443 \end_inset
18444
18445
18446 \family typewriter
18447 -a
18448 \family default
18449
18450 \begin_inset Quotes crd
18451 \end_inset
18452
18453
18454 \begin_inset Quotes cld
18455 \end_inset
18456
18457
18458 \family typewriter
18459 -b
18460 \family default
18461
18462 \begin_inset Quotes crd
18463 \end_inset
18464
18465
18466 \begin_inset Quotes cld
18467 \end_inset
18468
18469
18470 \family typewriter
18471 -c
18472 \family default
18473
18474 \begin_inset Quotes crd
18475 \end_inset
18476
18477 , etc.
18478 \begin_inset space ~
18479 \end_inset
18480
18481 tras el número de página de la 
18482 \family sans
18483 Diapositiva
18484 \family default
18485  
18486 \begin_inset Quotes cld
18487 \end_inset
18488
18489 madre
18490 \begin_inset Quotes crd
18491 \end_inset
18492
18493 .
18494  
18495 \end_layout
18496
18497 \end_inset
18498
18499  ¡Efectivamente, quieres que la Diapositiva
18500 \family sans
18501  
18502 \family default
18503 y el 
18504 \family sans
18505 Superpuesto
18506 \family default
18507  cuenten como si fueran una sola página! Probablemente deberías considerar
18508  un 
18509 \family sans
18510 Superpuesto
18511 \family default
18512  
18513 \begin_inset Quotes cld
18514 \end_inset
18515
18516 parte de
18517 \begin_inset Quotes crd
18518 \end_inset
18519
18520  una 
18521 \family sans
18522 Diapositiva
18523 \family default
18524 .
18525  De hecho, la clase 
18526 \family sans
18527 slides
18528 \family default
18529  lo hace visible
18530 \family sans
18531  
18532 \family default
18533 en \SpecialChar LyX
18534 : la etiqueta al principio de un 
18535 \family sans
18536 Superpuesto
18537 \family default
18538  es más corta que la de comienzo de una 
18539 \family sans
18540 Diapositiva
18541 \family default
18542 .
18543  Por último, al generar salida impresa, verás marcas de alineación en las
18544  cuatro esquinas de las páginas de la 
18545 \family sans
18546 Diapositiva
18547 \family default
18548  y del 
18549 \family sans
18550 Superpuesto.
18551  
18552 \family default
18553 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
18554 \end_layout
18555
18556 \begin_layout Standard
18557 El mayor problema para superponer dos transparencias es alinear sus contenidos.
18558  ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
18559  Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
18560 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
18561  probar a insertar un espacio vertical adecuado, pero el mejor método es
18562  utilizar 
18563 \family sans
18564 TextoInvisible
18565 \family default
18566  y 
18567 \family sans
18568 TextoVisible
18569 \family default
18570 .
18571 \end_layout
18572
18573 \begin_layout Standard
18574 Como su nombre indica, 
18575 \family sans
18576 TextoInvisible
18577 \family default
18578  y 
18579 \family sans
18580 TextoVisible
18581 \family default
18582  son entornos de párrafo que hacen invisible o visible, respectivamente,
18583  todo el texto siguiente.
18584  Sin embargo, ten en cuenta que no colocas nada 
18585 \emph on
18586 dentro 
18587 \emph default
18588 de estos entornos, recuerda la sección
18589 \begin_inset space ~
18590 \end_inset
18591
18592
18593 \begin_inset CommandInset ref
18594 LatexCommand ref
18595 reference "sec:slide-Peculiaridades"
18596
18597 \end_inset
18598
18599 .
18600  Cuando creas un 
18601 \family sans
18602 TextoInvisible
18603 \family default
18604 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
18605  <Invisible Text Follows>.
18606  Los párrafos que siguen a esta etiqueta en la 
18607 \family sans
18608 Diapositiva
18609 \family default
18610  o el 
18611 \family sans
18612 Superpuesto
18613 \family default
18614  (da lo mismo) se sustituyen por el espacio en blanco equivalente.
18615 \end_layout
18616
18617 \begin_layout Standard
18618 Para 
18619 \family sans
18620 TextoVisible
18621 \family default
18622 , la etiqueta tiene la leyenda <Visible Text Follows>
18623 \begin_inset space ~
18624 \end_inset
18625
18626  en color verde.
18627  Los párrafos que la siguen se comportan normalmente.
18628  Ten en cuenta que el inicio de 
18629 \family sans
18630 Diapositiva
18631 \family default
18632
18633 \family sans
18634 Superpuesto
18635 \family default
18636 , o 
18637 \family sans
18638 Nota
18639 \family default
18640  desactiva automáticamente la función 
18641 \family sans
18642 TextoInvisible
18643 \family default
18644 .
18645  No es necesario utilizar 
18646 \family sans
18647 TextoVisible
18648 \family default
18649  al final de una 
18650 \family sans
18651 Diapositiva
18652 \family default
18653 .
18654 \end_layout
18655
18656 \begin_layout Standard
18657 Ya deberíamos estar listos para crear transparencias superpuestas con la
18658  adecuada combinación de 
18659 \family sans
18660 TextoInvisible
18661 \family default
18662  y 
18663 \family sans
18664 TextoVisible
18665 \family default
18666  en los entornos 
18667 \family sans
18668 Diapositiva
18669 \family default
18670  y 
18671 \family sans
18672 Superpuesto
18673 \family default
18674 :
18675 \end_layout
18676
18677 \begin_layout Enumerate
18678 Crea una 
18679 \family sans
18680 Diapositiva
18681 \family default
18682 , incluyendo todo lo que debe aparecer en ella y en los 
18683 \family sans
18684 Superpuesto
18685 \family default
18686 s.
18687 \end_layout
18688
18689 \begin_layout Enumerate
18690 Antes de cada figura o párrafo que vaya a salir solo en un 
18691 \family sans
18692 Superpuesto
18693 \family default
18694 , inserta un entorno 
18695 \family sans
18696 TextoInvisible
18697 \family default
18698 .
18699  Si es necesario, inserta un entorno 
18700 \family sans
18701 TextoVisible
18702 \family default
18703  tras el texto que pertenece solo al 
18704 \family sans
18705 Superpuesto
18706 \family default
18707 .
18708 \end_layout
18709
18710 \begin_layout Enumerate
18711 Empieza un 
18712 \family sans
18713 Superpuesto 
18714 \family default
18715 inmediatamente detrás de la 
18716 \family sans
18717 Diapositiva
18718 \family default
18719 .
18720 \end_layout
18721
18722 \begin_layout Enumerate
18723 Copia los contenidos de esta 
18724 \family sans
18725 Diapositiva
18726 \family default
18727  en el 
18728 \family sans
18729 Superpuesto
18730 \family default
18731 .
18732 \end_layout
18733
18734 \begin_layout Enumerate
18735 Dentro del 
18736 \family sans
18737 Superpuesto
18738 \family default
18739 , cambia todas las líneas del 
18740 \family sans
18741 TextoInvisible
18742 \family default
18743  a 
18744 \family sans
18745 TextoVisible
18746 \family default
18747  y viceversa.
18748 \end_layout
18749
18750 \begin_layout Standard
18751 Eso es todo.
18752  Acabas de hacer una transparencia superpuesta.
18753 \end_layout
18754
18755 \begin_layout Standard
18756 Hay un problema con el procedimiento que he diseñado para la clase 
18757 \family sans
18758 slides
18759 \family default
18760  en \SpecialChar LyX
18761 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
18762  visible un texto dentro de un párrafo invisible.
18763  Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
18764 .
18765 \begin_inset Foot
18766 status collapsed
18767
18768 \begin_layout Plain Layout
18769 Los comandos de interés son: 
18770 \end_layout
18771
18772 \begin_layout Itemize
18773
18774 \family typewriter
18775 {
18776 \backslash
18777 invisible \SpecialChar ldots
18778  }
18779 \end_layout
18780
18781 \begin_layout Itemize
18782
18783 \family typewriter
18784 {
18785 \backslash
18786 visible \SpecialChar ldots
18787  }
18788 \end_layout
18789
18790 \begin_layout Plain Layout
18791 \SpecialChar ldots
18792 que deben marcarse como \SpecialChar TeX
18793 .
18794  El texto \SpecialChar ldots
18795
18796 \family typewriter
18797  
18798 \family default
18799 cuya 
18800 \begin_inset Quotes cld
18801 \end_inset
18802
18803 visibilidad
18804 \begin_inset Quotes crd
18805 \end_inset
18806
18807  quieres cambiar debe ir a continuación del comando 
18808 \family typewriter
18809
18810 \backslash
18811 invisible
18812 \family default
18813  o 
18814 \family typewriter
18815
18816 \backslash
18817 visible
18818 \family default
18819 , y todo ello entre llaves { }.
18820  Si no sabes cómo se marca un texto como \SpecialChar TeX
18821 , consulta la sección adecuada
18822  de la 
18823 \emph on
18824 Cuía del usuario
18825 \emph default
18826 .
18827 \end_layout
18828
18829 \end_inset
18830
18831
18832 \end_layout
18833
18834 \begin_layout Subsubsection
18835 Usar 
18836 \family sans
18837 Nota
18838 \family default
18839  con 
18840 \family sans
18841 Diapositiva
18842 \end_layout
18843
18844 \begin_layout Standard
18845 Como un 
18846 \family sans
18847 Superpuesto
18848 \family default
18849 , una 
18850 \family sans
18851 Nota
18852 \family default
18853  está asociada a una 
18854 \family sans
18855 Diapositiva
18856 \series bold
18857  
18858 \family default
18859 \series default
18860
18861 \begin_inset Quotes cld
18862 \end_inset
18863
18864 madre
18865 \begin_inset Quotes crd
18866 \end_inset
18867
18868 .
18869  También \SpecialChar LyX
18870  lo indica
18871 \family sans
18872  
18873 \family default
18874 visualmente: La etiqueta para una 
18875 \family sans
18876 Nota
18877 \family default
18878  es más corta que la de una 
18879 \family sans
18880 Diapositiva
18881 \family default
18882  pero más larga que la de 
18883 \family sans
18884 Superpuesto
18885 \family default
18886  y, como este, en color magenta.
18887  Además, la 
18888 \family sans
18889 Nota
18890 \family default
18891  tiene en la salida el número de página de la 
18892 \family sans
18893 Diapositiva
18894 \family default
18895  
18896 \begin_inset Quotes cld
18897 \end_inset
18898
18899 madre
18900 \begin_inset Quotes crd
18901 \end_inset
18902
18903  seguido de 
18904 \begin_inset Quotes cld
18905 \end_inset
18906
18907
18908 \family typewriter
18909 -
18910 \family default
18911 1
18912 \begin_inset Quotes crd
18913 \end_inset
18914
18915
18916 \begin_inset Quotes cld
18917 \end_inset
18918
18919
18920 \family typewriter
18921 -
18922 \family default
18923 2
18924 \begin_inset Quotes crd
18925 \end_inset
18926
18927
18928 \begin_inset Quotes cld
18929 \end_inset
18930
18931
18932 \family typewriter
18933 -
18934 \family default
18935 3
18936 \begin_inset Quotes crd
18937 \end_inset
18938
18939 , etc.
18940  Puedes poner varias 
18941 \family sans
18942 Nota
18943 \family default
18944 s asociadas a una 
18945 \family sans
18946 Diapositiva
18947 \family default
18948 , y, como con 
18949 \family sans
18950 Diapositiva
18951 \family default
18952  y 
18953 \family sans
18954 Superpuesto
18955 \family default
18956 , seguramente te interesará cortar las 
18957 \family sans
18958 Notas
18959 \family default
18960  largas para que quepan en una hoja.
18961 \end_layout
18962
18963 \begin_layout Standard
18964 El propósito de una 
18965 \family sans
18966 Nota
18967 \family default
18968  es evidente: hacer comentarios adicionales al contenido principal.
18969  También podría utilizarse como recordatorio en una 
18970 \family sans
18971 Diapositiva
18972 \family default
18973  determinada.
18974  En este caso, podrías hacer uso de marcadores de tiempo.
18975  Actualmente, la clase 
18976 \family sans
18977 slides
18978 \family default
18979  no tiene en \SpecialChar LyX
18980  soporte 
18981 \begin_inset Quotes cld
18982 \end_inset
18983
18984 nativo
18985 \begin_inset Quotes crd
18986 \end_inset
18987
18988  para marcadores de tiempo, una función de 
18989 \noun on
18990 Sli
18991 \noun default
18992 \SpecialChar TeX
18993 .
18994  Por tanto tendrías que usar código \SpecialChar LaTeX
18995 .
18996 \end_layout
18997
18998 \begin_layout Standard
18999 Para usar marcadores de tiempo debes especificar la opción extra de clase
19000  
19001 \begin_inset Quotes cld
19002 \end_inset
19003
19004
19005 \family typewriter
19006 clock
19007 \family default
19008
19009 \begin_inset Quotes crd
19010 \end_inset
19011
19012  (véase sección
19013 \begin_inset space ~
19014 \end_inset
19015
19016
19017 \begin_inset CommandInset ref
19018 LatexCommand ref
19019 reference "sec:slidesetup"
19020
19021 \end_inset
19022
19023 ).
19024  Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19025  izquierda de cada 
19026 \family sans
19027 Nota
19028 \family default
19029  que introduzcas.
19030  Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19031  \SpecialChar LaTeX
19032  
19033 \begin_inset Quotes cld
19034 \end_inset
19035
19036
19037 \family typewriter
19038
19039 \backslash
19040 settime{}
19041 \family default
19042
19043 \begin_inset Quotes crd
19044 \end_inset
19045
19046  y 
19047 \begin_inset Quotes cld
19048 \end_inset
19049
19050
19051 \family typewriter
19052
19053 \backslash
19054 addtime{}
19055 \family default
19056
19057 \begin_inset Quotes crd
19058 \end_inset
19059
19060 .
19061  El argumento de ambos comandos es un tiempo expresado en segundos.
19062  
19063 \begin_inset Quotes cld
19064 \end_inset
19065
19066
19067 \family typewriter
19068
19069 \backslash
19070 settime{}
19071 \family default
19072
19073 \begin_inset Quotes crd
19074 \end_inset
19075
19076  fija el marcador en un instante dado.
19077  
19078 \begin_inset Quotes cld
19079 \end_inset
19080
19081
19082 \family typewriter
19083
19084 \backslash
19085 addtime{}
19086 \family default
19087
19088 \begin_inset Quotes crd
19089 \end_inset
19090
19091  incrementa el marcador en la cantidad de tiempo especificada.
19092  Usar los marcadores de tiempo y las 
19093 \family sans
19094 Notas
19095 \family default
19096  de esta manera te recordará cuanto tiempo emplear en una 
19097 \family sans
19098 Diapositiva
19099 \family default
19100  determinada.
19101 \end_layout
19102
19103 \begin_layout Standard
19104 Queda por describir una característica.
19105  Seguramente te gustaría imprimir todas tus 
19106 \family sans
19107 Diapositivas 
19108 \family default
19109
19110 \family sans
19111 Superpuestos 
19112 \family default
19113 en transparentes y las 
19114 \family sans
19115 Nota
19116 \family default
19117 s en papel.
19118  Sin embargo, las 
19119 \family sans
19120 Notas
19121 \family default
19122  
19123 \emph on
19124 deben
19125 \emph default
19126  seguir a la 
19127 \family sans
19128 Diapositiva
19129 \family default
19130  a la que están asociadas.
19131  ¿Qué hacer entonces?
19132 \end_layout
19133
19134 \begin_layout Standard
19135 Afortunadamente hay dos comandos \SpecialChar LaTeX
19136  que permiten seleccionar lo que se ha
19137  de imprimir.
19138  Se deben poner en el preámbulo del documento.
19139  El comando 
19140 \begin_inset Quotes cld
19141 \end_inset
19142
19143
19144 \family typewriter
19145
19146 \backslash
19147 onlyslides{
19148 \backslash
19149 slides}
19150 \family default
19151
19152 \begin_inset Quotes crd
19153 \end_inset
19154
19155  hará que la salida solo contenga las 
19156 \family sans
19157 Diapositivas 
19158 \family default
19159
19160 \family sans
19161 Superpuestos
19162 \family default
19163 .
19164  De igual manera, el comando 
19165 \begin_inset Quotes cld
19166 \end_inset
19167
19168
19169 \family typewriter
19170
19171 \backslash
19172 onlynotes{
19173 \backslash
19174 notes}
19175 \family default
19176
19177 \begin_inset Quotes crd
19178 \end_inset
19179
19180  imprimirá solo las 
19181 \family sans
19182 Nota
19183 \family default
19184 s.
19185  Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19186  un comentario a principio de línea para que puedas ver preliminares de
19187  toda la presentación.
19188  A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19189  parte.
19190  Tengo la costumbre de descomentar 
19191 \begin_inset Quotes cld
19192 \end_inset
19193
19194
19195 \family typewriter
19196
19197 \backslash
19198 onlyslides{
19199 \backslash
19200 slides}
19201 \family default
19202
19203 \begin_inset Quotes crd
19204 \end_inset
19205
19206 , exportar a un archivo con 
19207 \begin_inset Quotes cld
19208 \end_inset
19209
19210
19211 \family typewriter
19212 -slides
19213 \family default
19214
19215 \begin_inset Quotes crd
19216 \end_inset
19217
19218  en el nombre, comentarlo de nuevo, ahora descomentar 
19219 \begin_inset Quotes cld
19220 \end_inset
19221
19222
19223 \family typewriter
19224
19225 \backslash
19226 onlynotes{
19227 \backslash
19228 notes}
19229 \family default
19230
19231 \begin_inset Quotes crd
19232 \end_inset
19233
19234  y exportar a otro archivo con 
19235 \begin_inset Quotes cld
19236 \end_inset
19237
19238
19239 \family typewriter
19240 -notes
19241 \family default
19242
19243 \begin_inset Quotes crd
19244 \end_inset
19245
19246  en el nombre.
19247  Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19248  o papel según convenga.
19249 \end_layout
19250
19251 \begin_layout Standard
19252 También puedes poner otros argumentos a los comandos 
19253 \begin_inset Quotes cld
19254 \end_inset
19255
19256
19257 \family typewriter
19258
19259 \backslash
19260 onlyslides{}
19261 \family default
19262
19263 \begin_inset Quotes crd
19264 \end_inset
19265
19266  y 
19267 \begin_inset Quotes cld
19268 \end_inset
19269
19270
19271 \family typewriter
19272
19273 \backslash
19274 onlynotes{}
19275 \family default
19276
19277 \begin_inset Quotes crd
19278 \end_inset
19279
19280 .
19281  Consulta un buen libro sobre \SpecialChar LaTeX
19282  para más detalles.
19283 \end_layout
19284
19285 \begin_layout Subsection
19286 La plantilla para la clase 
19287 \family sans
19288 slides
19289 \end_layout
19290
19291 \begin_layout Standard
19292 He preparado también un archivo modelo, 
19293 \begin_inset Quotes cld
19294 \end_inset
19295
19296
19297 \family typewriter
19298 slides.lyx
19299 \family default
19300
19301 \begin_inset Quotes crd
19302 \end_inset
19303
19304 , para la clase 
19305 \family sans
19306 slides
19307 \family default
19308 .
19309  Para empezar tu presentación con él abrelo con 
19310 \family sans
19311 Archivo\SpecialChar menuseparator
19312 Nuevo
19313 \begin_inset space ~
19314 \end_inset
19315
19316 desde
19317 \begin_inset space ~
19318 \end_inset
19319
19320 plantilla
19321 \family default
19322 .
19323  Contiene un ejemplo de presentación con el trío 
19324 \family sans
19325 Diapositiva
19326 \family default
19327  – 
19328 \family sans
19329 Superpuesto
19330 \family default
19331  – 
19332 \family sans
19333 Nota
19334 \family default
19335 .
19336  La 
19337 \family sans
19338 Diapositiva
19339 \family default
19340  y el 
19341 \family sans
19342 Superpuesto
19343 \family default
19344  tienen además un ejemplo del uso de TextoI
19345 \family sans
19346 nvisible
19347 \family default
19348  y 
19349 \family sans
19350 TextoVisible
19351 \family default
19352 .
19353  Por último, el preámbulo contiene:
19354 \end_layout
19355
19356 \begin_layout LyX-Code
19357 % Uncomment to print out only slides and overlays
19358 \begin_inset Foot
19359 status collapsed
19360
19361 \begin_layout Plain Layout
19362 Descomenta (borra 
19363 \begin_inset Quotes cld
19364 \end_inset
19365
19366 %
19367 \begin_inset Quotes crd
19368 \end_inset
19369
19370 ) para imprimir solo diapositivas y superpuestos.
19371  
19372 \emph on
19373 (N.
19374  del T
19375 \emph default
19376 .)
19377 \end_layout
19378
19379 \end_inset
19380
19381
19382 \end_layout
19383
19384 \begin_layout LyX-Code
19385 %
19386 \end_layout
19387
19388 \begin_layout LyX-Code
19389 %
19390 \backslash
19391 onlyslides{
19392 \backslash
19393 slides}
19394 \begin_inset Newline newline
19395 \end_inset
19396
19397  
19398 \end_layout
19399
19400 \begin_layout LyX-Code
19401 % Uncomment to print out only notes
19402 \begin_inset Foot
19403 status collapsed
19404
19405 \begin_layout Plain Layout
19406 Descomenta (borra 
19407 \begin_inset Quotes cld
19408 \end_inset
19409
19410 %
19411 \begin_inset Quotes crd
19412 \end_inset
19413
19414 ) para imprimir solo las notas.
19415
19416 \emph on
19417  (N.
19418  del T
19419 \emph default
19420 .)
19421 \end_layout
19422
19423 \end_inset
19424
19425
19426 \end_layout
19427
19428 \begin_layout LyX-Code
19429 %
19430 \end_layout
19431
19432 \begin_layout LyX-Code
19433 %
19434 \backslash
19435 onlynotes{
19436 \backslash
19437 notes}
19438 \end_layout
19439
19440 \begin_layout Standard
19441 Un apunte final: He creado esta clase para dar soporte a la clase integrante
19442  de \SpecialChar LaTeX2e
19443  
19444 \begin_inset Quotes cld
19445 \end_inset
19446
19447 emulación de 
19448 \noun on
19449 Sli
19450 \noun default
19451 \SpecialChar TeX
19452
19453 \begin_inset Quotes crd
19454 \end_inset
19455
19456 .
19457  Ni yo ni el resto del equipo \SpecialChar LyX
19458  aprobamos o desaprobamos el empleo de esta
19459  clase.
19460  A tí te corresponde decidir si la necesitas.
19461  Hay otras clases de \SpecialChar LaTeX2e
19462  para crear presentaciones, como 
19463 \family sans
19464 Foils
19465 \family default
19466  (véase la sección
19467 \begin_inset space ~
19468 \end_inset
19469
19470
19471 \begin_inset CommandInset ref
19472 LatexCommand ref
19473 reference "sec:foiltex"
19474
19475 \end_inset
19476
19477 ) o el paquete 
19478 \begin_inset Quotes cld
19479 \end_inset
19480
19481
19482 \family typewriter
19483 seminar
19484 \family default
19485
19486 \begin_inset Quotes crd
19487 \end_inset
19488
19489  (presente en algunas distribuciones de \SpecialChar TeX
19490 ).
19491  Este último aún no es soportado por \SpecialChar LyX
19492 .
19493 \begin_inset Foot
19494 status collapsed
19495
19496 \begin_layout Plain Layout
19497 Quizá quieras abordar tú la tarea\SpecialChar ldots
19498
19499 \end_layout
19500
19501 \end_inset
19502
19503  No conozco estas otras clases.
19504  Puedes probarlas para ver qué alternativas te ofrecen.
19505 \end_layout
19506
19507 \begin_layout Chapter
19508 Características de \SpecialChar LyX
19509  que requieren software adicional
19510 \begin_inset Argument 1
19511 status collapsed
19512
19513 \begin_layout Plain Layout
19514 Software adicional
19515 \end_layout
19516
19517 \end_inset
19518
19519
19520 \end_layout
19521
19522 \begin_layout Section
19523 Comprobar \SpecialChar TeX
19524
19525 \end_layout
19526
19527 \begin_layout Standard
19528 por 
19529 \noun on
19530 Asger Alstrup
19531 \end_layout
19532
19533 \begin_layout Subsection
19534 Introducción
19535 \end_layout
19536
19537 \begin_layout Standard
19538 Si está instalado 
19539 \family typewriter
19540 chktex
19541 \family default
19542 ,
19543 \begin_inset Foot
19544 status collapsed
19545
19546 \begin_layout Plain Layout
19547 Aún no disponible en la distribución Mik\SpecialChar TeX
19548 .
19549 \end_layout
19550
19551 \end_inset
19552
19553  bajo el menú 
19554 \family sans
19555 Herramientas
19556 \family default
19557  encontrarás la opción 
19558 \family sans
19559 Comprobar
19560 \begin_inset space ~
19561 \end_inset
19562
19563 TeX
19564 \family default
19565 .
19566  Para que esté disponible necesitas instalar el programa 
19567 \family typewriter
19568 chktex
19569 \family default
19570 .
19571  Puedes obtenerlo de CTAN,
19572 \begin_inset Newline newline
19573 \end_inset
19574
19575
19576 \begin_inset CommandInset href
19577 LatexCommand href
19578 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
19579 literal "false"
19580
19581 \end_inset
19582
19583 .
19584 \end_layout
19585
19586 \begin_layout Standard
19587 El paquete 
19588 \family sans
19589 Chk\SpecialChar TeX
19590
19591 \family default
19592  fue escrito por 
19593 \noun on
19594 Jens T.
19595  Berger Thielemann
19596 \noun default
19597 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
19598  poco
19599  intuitivas y fáciles de olvidar.
19600  El programa se ejecuta sobre el archivo \SpecialChar LaTeX
19601  y comprueba la integridad del
19602  mismo, identificando algunos errores comunes.
19603  En palabras técnicas, es como 
19604 \family typewriter
19605 Lint
19606 \family default
19607  para \SpecialChar LaTeX
19608 .
19609 \end_layout
19610
19611 \begin_layout Standard
19612 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
19613 , que se supone que siempre genera
19614  \SpecialChar LaTeX
19615  correcto? La respuesta es sencilla: Igual que 
19616 \family typewriter
19617 Lint
19618 \family default
19619  no solo comprueba la 
19620 \emph on
19621 sintaxis 
19622 \emph default
19623 de programas C, sino que también comprueba la 
19624 \emph on
19625 semántica 
19626 \emph default
19627 en
19628 \emph on
19629  
19630 \emph default
19631 busca de errores de tipografía, 
19632 \family sans
19633 Chk\SpecialChar TeX
19634
19635 \family default
19636  detecta, además de los errores sintácticos, errores 
19637 \emph on
19638 tipográficos 
19639 \emph default
19640 comunes, tales como
19641 \end_layout
19642
19643 \begin_layout Itemize
19644 Puntos suspensivos incorrectos:
19645 \begin_inset Newline newline
19646 \end_inset
19647
19648 Usa \SpecialChar ldots
19649  en vez de ...
19650 \end_layout
19651
19652 \begin_layout Itemize
19653 Espacio junto a los paréntesis:
19654 \begin_inset Newline newline
19655 \end_inset
19656
19657 ( espaciado incorrecto )
19658 \end_layout
19659
19660 \begin_layout Itemize
19661 Introducción de espacio normal tras abreviaciones:
19662 \begin_inset Newline newline
19663 \end_inset
19664
19665 p.
19666  ej.
19667  es un espacio demasiado grande.
19668 \end_layout
19669
19670 \begin_layout Itemize
19671 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
19672 :
19673 \begin_inset Newline newline
19674 \end_inset
19675
19676 Esto es un TEST.
19677  Y esto un espacio incorrecto.
19678 \end_layout
19679
19680 \begin_layout Itemize
19681 Espacio ante etiquetas y otros comandos:
19682 \begin_inset Newline newline
19683 \end_inset
19684
19685 La etiqueta debe estar pegada al texto precedente para evitar un salto de
19686  línea o página en mal sitio.
19687  
19688 \begin_inset CommandInset label
19689 LatexCommand label
19690 name "sec:chktex"
19691
19692 \end_inset
19693
19694  
19695 \begin_inset Foot
19696 status collapsed
19697
19698 \begin_layout Plain Layout
19699 Esta nota podría salir en una página inadecuada.
19700 \end_layout
19701
19702 \end_inset
19703
19704  La etiqueta está demasiado separada.
19705 \end_layout
19706
19707 \begin_layout Itemize
19708 Espacio no protegido ante las referencias:
19709 \begin_inset Newline newline
19710 \end_inset
19711
19712 Si te despistas en esto, el texto podría saltar de línea justo entre él
19713  y el número de la referencia, lo que se ve feo.
19714  Véase la sección 
19715 \begin_inset CommandInset ref
19716 LatexCommand ref
19717 reference "sec:chktex"
19718
19719 \end_inset
19720
19721 .
19722 \end_layout
19723
19724 \begin_layout Itemize
19725 Uso de 
19726 \begin_inset Quotes eld
19727 \end_inset
19728
19729 x
19730 \begin_inset Quotes erd
19731 \end_inset
19732
19733  en vez de 
19734 \begin_inset Formula $\times$
19735 \end_inset
19736
19737  entre números:
19738 \begin_inset Newline newline
19739 \end_inset
19740
19741 2x2 se ve cutre comparado con 
19742 \begin_inset Formula $2\times2$
19743 \end_inset
19744
19745 .
19746 \end_layout
19747
19748 \begin_layout Standard
19749 y más\SpecialChar ldots
19750  Es una herramienta imprescindible una vez acabado tu documento y hecha
19751  la revisión ortográfica; antes de afinar la composición del documento e
19752  imprimirlo deberías ejecutar 
19753 \family sans
19754 Chk\SpecialChar TeX
19755
19756 \family default
19757 .
19758 \end_layout
19759
19760 \begin_layout Subsection
19761 Modo de empleo
19762 \end_layout
19763
19764 \begin_layout Standard
19765 Si el programa está instalado, se ejecuta con 
19766 \family sans
19767 Herramientas\SpecialChar menuseparator
19768 Comprobar
19769 \begin_inset space ~
19770 \end_inset
19771
19772 TeX
19773 \family default
19774 .
19775  \SpecialChar LyX
19776  genera entonces un archivo \SpecialChar LaTeX
19777  del documento, inicia 
19778 \family sans
19779 Chk\SpecialChar TeX
19780
19781 \family default
19782  para revisarlo, e inserta 
19783 \begin_inset Quotes cld
19784 \end_inset
19785
19786 cuadros de error
19787 \begin_inset Quotes crd
19788 \end_inset
19789
19790  con las advertencias de 
19791 \family sans
19792 Chk\SpecialChar TeX
19793
19794 \family default
19795 , si las hubiera.
19796  Las advertencias se situarán cerca del error, y puedes navegar entre ellas
19797  con la opción de menú 
19798 \family sans
19799 Navegar\SpecialChar menuseparator
19800 Error
19801 \family default
19802 , o con el atajo de teclado 
19803 \family sans
19804 C-g
19805 \family default
19806  del archivo 
19807 \family typewriter
19808 cua.bind
19809 \family default
19810 .
19811  Los cuadros de error se abren pulsando sobre ellos o con el atajo 
19812 \family sans
19813 C-i
19814 \family default
19815  (si usas atajos 
19816 \family typewriter
19817 cua
19818 \family default
19819 ), o 
19820 \family sans
19821 C-o
19822 \family default
19823  (si usas atajos 
19824 \family typewriter
19825 emacs)
19826 \family default
19827 .
19828  Lee las advertencias y corrige los errores.
19829  Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
19830  Recuerda que hay un estrato oculto entre el documento en pantalla y los
19831  detalles técnicos al ejecutar 
19832 \family sans
19833 Chk\SpecialChar TeX
19834
19835 \family default
19836 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
19837 \end_layout
19838
19839 \begin_layout Standard
19840 Este documento es un excelente banco de pruebas para esta característica,
19841  con el que comprobar la presencia de advertencias y enredar con ellas.
19842  Aunque, como los ordenadores son tan listos, confía en que la mayoría de
19843  advertencias serán falsas alarmas.
19844 \end_layout
19845
19846 \begin_layout Subsection
19847 Afinación
19848 \end_layout
19849
19850 \begin_layout Standard
19851 A veces observarás que con 
19852 \family sans
19853 Chk\SpecialChar TeX
19854
19855 \family default
19856  hay más ruido que nueces.
19857  Puedes elegir no usarlo, o intentar personalizar 
19858 \family sans
19859 Chk\SpecialChar TeX
19860
19861 \family default
19862  para adaptarlo a tus necesidades.
19863 \end_layout
19864
19865 \begin_layout Standard
19866 Aunque 
19867 \family sans
19868 Chk\SpecialChar TeX
19869
19870 \family default
19871  
19872 \emph on
19873 es
19874 \emph default
19875  muy configurable y ampliable, no esperes resolver todos los problemas de
19876  \SpecialChar LyX
19877  con 
19878 \family sans
19879 Chk\SpecialChar TeX
19880
19881 \family default
19882 .
19883  Como \SpecialChar LyX
19884  ha de generar un archivo \SpecialChar LaTeX
19885  un tanto especial para poder casar los
19886  números de línea de la salida de 
19887 \family sans
19888 Chk\SpecialChar TeX
19889
19890 \family default
19891  con la estructura interna del documento
19892 \begin_inset Foot
19893 status collapsed
19894
19895 \begin_layout Plain Layout
19896 Puedes inspeccionar la salida de 
19897 \family sans
19898 chktex
19899 \family default
19900  usando 
19901 \family sans
19902 Documento\SpecialChar menuseparator
19903 Registro
19904 \begin_inset space ~
19905 \end_inset
19906
19907 de
19908 \begin_inset space ~
19909 \end_inset
19910
19911 \SpecialChar LaTeX
19912
19913 \family default
19914  tras ejecutar 
19915 \family sans
19916 chktex
19917 \family default
19918 .
19919 \end_layout
19920
19921 \end_inset
19922
19923 , algunos de los avisos no estarán bien colocados.
19924  Puedes hacer dos cosas:
19925 \end_layout
19926
19927 \begin_layout Itemize
19928 Afinar la línea de comandos de 
19929 \family sans
19930 Chk\SpecialChar TeX
19931  
19932 \family default
19933 en 
19934 \family sans
19935 Preferencias
19936 \family default
19937  (
19938 \family sans
19939 Salidas\SpecialChar menuseparator
19940 \SpecialChar LaTeX
19941
19942 \family default
19943 ), o el archivo de configuración global de 
19944 \family sans
19945 Chk\SpecialChar TeX
19946
19947 \family default
19948  (normalmente se ubica en
19949 \begin_inset Newline newline
19950 \end_inset
19951
19952
19953 \family typewriter
19954 /usr/local/share/chktexrc
19955 \family default
19956 ).
19957  Véase más adelante qué advertencias se pueden activar o desactivar en la
19958  línea del comando.
19959  
19960 \end_layout
19961
19962 \begin_layout Itemize
19963 Exporta tu documento a un archivo \SpecialChar LaTeX
19964  simple con
19965 \family typewriter
19966  
19967 \family sans
19968 Archivo\SpecialChar menuseparator
19969 Exportar\SpecialChar menuseparator
19970 LaTeX
19971 \family default
19972  y ejecuta 
19973 \family typewriter
19974 chktex
19975 \family default
19976  a mano sobre él.
19977  Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
19978  el documento \SpecialChar LyX
19979 , pero con un poco de paciencia lo lograrás.
19980 \end_layout
19981
19982 \begin_layout Standard
19983 A continuación se listan los mensajes de error que pueden ser activados
19984  o desactivados en 
19985 \family sans
19986 Preferencias
19987 \family default
19988 .
19989  Usa 
19990 \family typewriter
19991 -n#
19992 \family default
19993  para desactivar un aviso, y 
19994 \family typewriter
19995 -w#
19996 \family default
19997  para activarlo.
19998  Las entradas en énfasis están desactivadas por omisión, porque de forma
19999  predeterminada se ejecuta como "
20000 \family typewriter
20001 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20002 \family default
20003 ".
20004 \end_layout
20005
20006 \begin_layout Standard
20007 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20008  avisos, porque las demás las usa \SpecialChar LyX
20009  de manera específica para comunicarse
20010  con 
20011 \family typewriter
20012 chktex
20013 \family default
20014 .
20015 \end_layout
20016
20017 \begin_layout Enumerate
20018
20019 \size small
20020 \emph on
20021 Command terminated with space.
20022  (Comando finalizado con un espacio
20023 \emph default
20024 .
20025 \emph on
20026 )
20027 \end_layout
20028
20029 \begin_layout Enumerate
20030
20031 \size small
20032 Non-breaking space (
20033 \begin_inset Quotes eld
20034 \end_inset
20035
20036
20037 \family typewriter
20038 ~
20039 \family default
20040
20041 \begin_inset Quotes erd
20042 \end_inset
20043
20044 ) should have been used.
20045  (Se
20046 \emph on
20047  
20048 \emph default
20049 debería haber usado un espacio protegido 
20050 \begin_inset Quotes cld
20051 \end_inset
20052
20053 ~
20054 \begin_inset Quotes crd
20055 \end_inset
20056
20057 )
20058 \end_layout
20059
20060 \begin_layout Enumerate
20061
20062 \size small
20063 \emph on
20064 You should enclose the previous parenthesis with 
20065 \begin_inset Quotes eld
20066 \end_inset
20067
20068
20069 \family typewriter
20070 {}
20071 \family default
20072
20073 \begin_inset Quotes erd
20074 \end_inset
20075
20076 .
20077  
20078 \shape italic
20079 \emph default
20080 (Deberías cerrar los paréntesis previos con
20081 \shape default
20082  
20083 \emph on
20084
20085 \begin_inset Quotes cld
20086 \end_inset
20087
20088 {}
20089 \begin_inset Quotes crd
20090 \end_inset
20091
20092 )
20093 \end_layout
20094
20095 \begin_layout Enumerate
20096
20097 \size small
20098 Italic correction (
20099 \begin_inset Quotes eld
20100 \end_inset
20101
20102
20103 \family typewriter
20104
20105 \backslash
20106 /
20107 \family default
20108
20109 \begin_inset Quotes erd
20110 \end_inset
20111
20112 ) found in non-italic buffer.
20113  (Corrección de cursiva (
20114 \begin_inset Quotes cld
20115 \end_inset
20116
20117
20118 \backslash
20119 /
20120 \begin_inset Quotes crd
20121 \end_inset
20122
20123 ) en un grupo que no está en cursiva)
20124 \end_layout
20125
20126 \begin_layout Enumerate
20127
20128 \size small
20129 Italic correction (
20130 \begin_inset Quotes eld
20131 \end_inset
20132
20133
20134 \family typewriter
20135
20136 \backslash
20137 /
20138 \family default
20139
20140 \begin_inset Quotes erd
20141 \end_inset
20142
20143 ) found more than once.
20144  (Corrección de cursiva (
20145 \begin_inset Quotes cld
20146 \end_inset
20147
20148
20149 \backslash
20150 /
20151 \begin_inset Quotes crd
20152 \end_inset
20153
20154 ) más de una vez)
20155 \end_layout
20156
20157 \begin_layout Enumerate
20158
20159 \size small
20160 \emph on
20161 No italic correction (
20162 \begin_inset Quotes eld
20163 \end_inset
20164
20165
20166 \family typewriter
20167
20168 \backslash
20169 /
20170 \family default
20171
20172 \begin_inset Quotes erd
20173 \end_inset
20174
20175 ) found.
20176  (Corrección de cursiva (
20177 \emph default
20178
20179 \begin_inset Quotes cld
20180 \end_inset
20181
20182
20183 \backslash
20184 /
20185 \begin_inset Quotes crd
20186 \end_inset
20187
20188
20189 \emph on
20190 )
20191 \emph default
20192  
20193 \emph on
20194 no encontrada)
20195 \end_layout
20196
20197 \begin_layout Enumerate
20198
20199 \size small
20200 Accent command 
20201 \begin_inset Quotes eld
20202 \end_inset
20203
20204
20205 \family typewriter
20206 cmd
20207 \family default
20208
20209 \begin_inset Quotes erd
20210 \end_inset
20211
20212  needs use of 
20213 \begin_inset Quotes eld
20214 \end_inset
20215
20216
20217 \family typewriter
20218 cmd
20219 \family default
20220
20221 \begin_inset Quotes erd
20222 \end_inset
20223
20224 .
20225  (El comando 
20226 \begin_inset Quotes cld
20227 \end_inset
20228
20229 cmd
20230 \begin_inset Quotes crd
20231 \end_inset
20232
20233  requiere el uso de 
20234 \begin_inset Quotes cld
20235 \end_inset
20236
20237 cmd
20238 \begin_inset Quotes crd
20239 \end_inset
20240
20241 )
20242 \end_layout
20243
20244 \begin_layout Enumerate
20245
20246 \size small
20247 Wrong length of dash may have been used.
20248  (Quizá se ha usado un guión de longitud inadecuada)
20249 \end_layout
20250
20251 \begin_layout Enumerate
20252
20253 \size small
20254 \emph on
20255 \begin_inset Quotes eld
20256 \end_inset
20257
20258
20259 \family typewriter
20260 %s
20261 \family default
20262
20263 \begin_inset Quotes erd
20264 \end_inset
20265
20266  expected, found 
20267 \begin_inset Quotes eld
20268 \end_inset
20269
20270
20271 \family typewriter
20272 %s
20273 \family default
20274
20275 \begin_inset Quotes erd
20276 \end_inset
20277
20278 .
20279  (Se esperaba 
20280 \begin_inset Quotes cld
20281 \end_inset
20282
20283 %s
20284 \begin_inset Quotes crd
20285 \end_inset
20286
20287 , se ha encontrado 
20288 \begin_inset Quotes cld
20289 \end_inset
20290
20291 %s
20292 \begin_inset Quotes crd
20293 \end_inset
20294
20295 )
20296 \end_layout
20297
20298 \begin_layout Enumerate
20299
20300 \size small
20301 Solo 
20302 \begin_inset Quotes eld
20303 \end_inset
20304
20305
20306 \family typewriter
20307 %s
20308 \family default
20309
20310 \begin_inset Quotes erd
20311 \end_inset
20312
20313  found.
20314  (Se ha encontrado un solo 
20315 \begin_inset Quotes cld
20316 \end_inset
20317
20318 %s
20319 \begin_inset Quotes crd
20320 \end_inset
20321
20322 )
20323 \end_layout
20324
20325 \begin_layout Enumerate
20326
20327 \size small
20328 You should use 
20329 \begin_inset Quotes eld
20330 \end_inset
20331
20332
20333 \family typewriter
20334 %s
20335 \family default
20336
20337 \begin_inset Quotes erd
20338 \end_inset
20339
20340  to achieve an ellipsis.
20341  (Deberías usar 
20342 \begin_inset Quotes cld
20343 \end_inset
20344
20345 %s
20346 \begin_inset Quotes crd
20347 \end_inset
20348
20349  para los puntos suspensivos)
20350 \end_layout
20351
20352 \begin_layout Enumerate
20353
20354 \size small
20355 Inter-word spacing (
20356 \begin_inset Quotes eld
20357 \end_inset
20358
20359
20360 \family typewriter
20361
20362 \backslash
20363
20364 \family default
20365  
20366 \begin_inset Quotes eld
20367 \end_inset
20368
20369 ) should perhaps be used.
20370  (Quizá tendría que ponerse un espacio entre palabras (
20371 \begin_inset Quotes cld
20372 \end_inset
20373
20374
20375 \backslash
20376
20377 \begin_inset Quotes crd
20378 \end_inset
20379
20380 )) 
20381 \end_layout
20382
20383 \begin_layout Enumerate
20384
20385 \size small
20386 Inter-sentence spacing (
20387 \begin_inset Quotes eld
20388 \end_inset
20389
20390
20391 \family typewriter
20392
20393 \backslash
20394 @
20395 \family default
20396
20397 \begin_inset Quotes erd
20398 \end_inset
20399
20400 ) should perhaps be used.
20401  (Quizá tendría que ponerse un espacio entre frases (
20402 \begin_inset Quotes cld
20403 \end_inset
20404
20405
20406 \backslash
20407 @
20408 \begin_inset Quotes crd
20409 \end_inset
20410
20411 )) 
20412 \end_layout
20413
20414 \begin_layout Enumerate
20415
20416 \size small
20417 Could not find argument for command.
20418  (Argumento de comando no encontrado)
20419 \end_layout
20420
20421 \begin_layout Enumerate
20422
20423 \size small
20424 No match found for 
20425 \begin_inset Quotes eld
20426 \end_inset
20427
20428
20429 \family typewriter
20430 %s
20431 \family default
20432
20433 \begin_inset Quotes erd
20434 \end_inset
20435
20436 .
20437  (Objetivo para 
20438 \begin_inset Quotes cld
20439 \end_inset
20440
20441 %s
20442 \begin_inset Quotes crd
20443 \end_inset
20444
20445  no encontrado)
20446 \end_layout
20447
20448 \begin_layout Enumerate
20449
20450 \size small
20451 Math mode still on at end of \SpecialChar LaTeX
20452  file.
20453  (El archivo \SpecialChar LaTeX
20454  termina en modo ecuación)
20455 \end_layout
20456
20457 \begin_layout Enumerate
20458
20459 \size small
20460 Number of 
20461 \begin_inset Quotes eld
20462 \end_inset
20463
20464
20465 \family typewriter
20466 char
20467 \family default
20468
20469 \begin_inset Quotes erd
20470 \end_inset
20471
20472  doesn't match the number of 
20473 \begin_inset Quotes eld
20474 \end_inset
20475
20476
20477 \family typewriter
20478 char
20479 \family default
20480
20481 \begin_inset Quotes erd
20482 \end_inset
20483
20484 .
20485  (El número de 
20486 \begin_inset Quotes cld
20487 \end_inset
20488
20489 char
20490 \begin_inset Quotes crd
20491 \end_inset
20492
20493  no corresponde con el número de 
20494 \begin_inset Quotes cld
20495 \end_inset
20496
20497 char
20498 \begin_inset Quotes crd
20499 \end_inset
20500
20501 )
20502 \end_layout
20503
20504 \begin_layout Enumerate
20505
20506 \size small
20507 You should use either 
20508 \family typewriter
20509
20510 \begin_inset Quotes eld
20511 \end_inset
20512
20513
20514 \family default
20515  or 
20516 \family typewriter
20517
20518 \begin_inset Quotes erd
20519 \end_inset
20520
20521
20522 \family default
20523  as an alternative to 
20524 \begin_inset Quotes eld
20525 \end_inset
20526
20527
20528 \family typewriter
20529 "
20530 \family default
20531
20532 \begin_inset Quotes erd
20533 \end_inset
20534
20535 .
20536  (Deberías usar 
20537 \begin_inset Quotes cld
20538 \end_inset
20539
20540 o
20541 \begin_inset Quotes crd
20542 \end_inset
20543
20544  mejor que 
20545 \size default
20546
20547 \begin_inset Quotes cld
20548 \end_inset
20549
20550
20551 \family typewriter
20552 \size small
20553 "
20554 \family default
20555 \size default
20556
20557 \begin_inset Quotes crd
20558 \end_inset
20559
20560
20561 \size small
20562 )
20563 \end_layout
20564
20565 \begin_layout Enumerate
20566
20567 \size small
20568 You should use "
20569 \family typewriter
20570 '
20571 \family default
20572 " (ASCII 39) instead of "
20573 \family typewriter
20574 ´
20575 \family default
20576 " (ASCII 180).
20577  (Deberías usar 
20578 \begin_inset Quotes cld
20579 \end_inset
20580
20581 '
20582 \begin_inset Quotes crd
20583 \end_inset
20584
20585  (ASCII 39) en lugar de 
20586 \begin_inset Quotes cld
20587 \end_inset
20588
20589 ´
20590 \begin_inset Quotes crd
20591 \end_inset
20592
20593  (ASCII 180))
20594 \end_layout
20595
20596 \begin_layout Enumerate
20597
20598 \size small
20599 User-specified pattern found.
20600  (Se ha encontrado un patrón definido por el usuario)
20601 \end_layout
20602
20603 \begin_layout Enumerate
20604
20605 \size small
20606 This command might not be intended.
20607  (Comando posiblemente no buscado)
20608 \end_layout
20609
20610 \begin_layout Enumerate
20611
20612 \size small
20613 \emph on
20614 Comment displayed.
20615  (Comentario mostrado)
20616 \end_layout
20617
20618 \begin_layout Enumerate
20619
20620 \size small
20621 Either 
20622 \family typewriter
20623 ''
20624 \backslash
20625 ,'
20626 \family default
20627  or 
20628 \family typewriter
20629 '
20630 \backslash
20631 ,''
20632 \family default
20633  will look better.
20634  (
20635 \family typewriter
20636 ''
20637 \backslash
20638 ,'
20639 \family default
20640  o 
20641 \family typewriter
20642 '
20643 \backslash
20644 ,''
20645 \family default
20646  quedaría mejor) 
20647 \end_layout
20648
20649 \begin_layout Enumerate
20650
20651 \size small
20652 Delete this space to maintain correct page references.
20653  (Borra este espacio para mantener las referencias de página)
20654 \end_layout
20655
20656 \begin_layout Enumerate
20657
20658 \size small
20659 \emph on
20660 You might wish to put this between a pair of 
20661 \begin_inset Quotes eld
20662 \end_inset
20663
20664
20665 \family typewriter
20666 {}
20667 \family default
20668
20669 \begin_inset Quotes erd
20670 \end_inset
20671
20672 .
20673  (Esto quizá estaría mejor entre llaves 
20674 \begin_inset Quotes cld
20675 \end_inset
20676
20677 {}
20678 \begin_inset Quotes crd
20679 \end_inset
20680
20681 )
20682 \end_layout
20683
20684 \begin_layout Enumerate
20685
20686 \size small
20687 You ought to remove spaces in front of punctuation.
20688  (Debes quitar espacios delante de la puntuación)
20689 \end_layout
20690
20691 \begin_layout Enumerate
20692
20693 \size small
20694 Could not execute \SpecialChar LaTeX
20695  command.
20696  (No se puede ejecutar comando \SpecialChar LaTeX
20697 )
20698 \end_layout
20699
20700 \begin_layout Enumerate
20701
20702 \size small
20703 Don't use 
20704 \family typewriter
20705
20706 \backslash
20707 /
20708 \family default
20709  in front of small punctuation.
20710  (No poner 
20711 \family typewriter
20712
20713 \backslash
20714 /
20715 \family default
20716  delante de un punto)
20717 \end_layout
20718
20719 \begin_layout Enumerate
20720
20721 \family typewriter
20722 \size small
20723 $
20724 \backslash
20725 times$
20726 \family default
20727  may look prettier here.
20728  (Aquí quedaría mejor 
20729 \family typewriter
20730 $
20731 \backslash
20732 times$
20733 \family default
20734 \emph on
20735 )
20736 \end_layout
20737
20738 \begin_layout Enumerate
20739
20740 \size small
20741 \emph on
20742 Multiple spaces detected in output.
20743  (Se detectan espacios múltiples en la salida)
20744 \end_layout
20745
20746 \begin_layout Enumerate
20747
20748 \size small
20749 This text may be ignored.
20750  (Este texto podría no tenerse en cuenta)
20751 \end_layout
20752
20753 \begin_layout Enumerate
20754
20755 \size small
20756 Use 
20757 \family typewriter
20758
20759 \begin_inset Quotes eld
20760 \end_inset
20761
20762
20763 \family default
20764  to begin quotation, not 
20765 \family typewriter
20766 '
20767 \family default
20768 .
20769  (Usa `` para comenzar una cita, no ')
20770 \end_layout
20771
20772 \begin_layout Enumerate
20773
20774 \size small
20775 Use 
20776 \family typewriter
20777 '
20778 \family default
20779  to end quotation, not 
20780 \family typewriter
20781
20782 \begin_inset Quotes eld
20783 \end_inset
20784
20785
20786 \family default
20787 .
20788  (Usa ' para finalizar una cita, no ``)
20789 \end_layout
20790
20791 \begin_layout Enumerate
20792
20793 \size small
20794 Don't mix quotes.
20795  (No mezcles distintos tipos de comillas)
20796 \end_layout
20797
20798 \begin_layout Enumerate
20799
20800 \size small
20801 You should perhaps use 
20802 \begin_inset Quotes eld
20803 \end_inset
20804
20805
20806 \family typewriter
20807 cmd
20808 \family default
20809
20810 \begin_inset Quotes erd
20811 \end_inset
20812
20813  instead.
20814  (Quizá sería mejor usar 
20815 \begin_inset Quotes cld
20816 \end_inset
20817
20818 cmd
20819 \begin_inset Quotes crd
20820 \end_inset
20821
20822 )
20823 \end_layout
20824
20825 \begin_layout Enumerate
20826
20827 \size small
20828 You should put a space in front of/after parenthesis.
20829  (Deberías poner un espacio delante/detrás de los paréntesis)
20830 \end_layout
20831
20832 \begin_layout Enumerate
20833
20834 \size small
20835 You should avoid spaces in front of/after parenthesis.
20836  (Deberías evitar espacios delante/detrás de los paréntesis)
20837 \end_layout
20838
20839 \begin_layout Enumerate
20840
20841 \size small
20842 \emph on
20843 You should not use punctuation in front of/after quotes.
20844  (No deberías usar puntuación delante/detrás de comillas)
20845 \end_layout
20846
20847 \begin_layout Enumerate
20848
20849 \size small
20850 Double space found.
20851  (Espacio doble encontrado)
20852 \end_layout
20853
20854 \begin_layout Enumerate
20855
20856 \size small
20857 You should put punctuation outside inner/inside display math mode.
20858  (Deberías poner la puntuación fuera del modo ecuación) 
20859 \end_layout
20860
20861 \begin_layout Enumerate
20862
20863 \size small
20864 You ought to not use primitive \SpecialChar TeX
20865  in \SpecialChar LaTeX
20866  code.
20867  (No debes usar primitivas de \SpecialChar TeX
20868  dentro de código \SpecialChar LaTeX
20869 )
20870 \end_layout
20871
20872 \begin_layout Enumerate
20873
20874 \size small
20875 You should remove spaces in front of 
20876 \begin_inset Quotes eld
20877 \end_inset
20878
20879
20880 \family typewriter
20881 %s
20882 \family default
20883
20884 \begin_inset Quotes erd
20885 \end_inset
20886
20887  (Deberías quitar los espacios delante de 
20888 \begin_inset Quotes cld
20889 \end_inset
20890
20891 %s
20892 \begin_inset Quotes crd
20893 \end_inset
20894
20895 )
20896 \end_layout
20897
20898 \begin_layout Enumerate
20899
20900 \size small
20901 \begin_inset Quotes eld
20902 \end_inset
20903
20904
20905 \family typewriter
20906 %s
20907 \family default
20908
20909 \begin_inset Quotes erd
20910 \end_inset
20911
20912  is normally not followed by 
20913 \begin_inset Quotes eld
20914 \end_inset
20915
20916
20917 \family typewriter
20918 %c
20919 \family default
20920
20921 \begin_inset Quotes erd
20922 \end_inset
20923
20924 .
20925  (
20926 \begin_inset Quotes cld
20927 \end_inset
20928
20929 %s
20930 \begin_inset Quotes crd
20931 \end_inset
20932
20933  normalmente no va seguido de 
20934 \begin_inset Quotes cld
20935 \end_inset
20936
20937 %c
20938 \begin_inset Quotes crd
20939 \end_inset
20940
20941 )
20942 \end_layout
20943
20944 \begin_layout Standard
20945 En las últimas versiones de \SpecialChar LyX
20946  esperamos proporcionar una interfaz más completa
20947  para esta herramienta (y su prima pequeña 
20948 \family typewriter
20949 lacheck
20950 \family default
20951 ) para aprovechar toda su potencia.
20952  Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
20953  de cierta longitud y sorpréndete.
20954 \end_layout
20955
20956 \begin_layout Section
20957 Control de versiones en \SpecialChar LyX
20958
20959 \end_layout
20960
20961 \begin_layout Standard
20962 por
20963 \noun on
20964  Lars Gullik Bjønnes
20965 \noun default
20966  y 
20967 \noun on
20968 Pavel Sanda
20969 \end_layout
20970
20971 \begin_layout Subsection
20972 Introducción
20973 \end_layout
20974
20975 \begin_layout Standard
20976 \SpecialChar LyX
20977  soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
20978  Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
20979 \end_layout
20980
20981 \begin_layout Standard
20982 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
20983  el de subversion, por lo que recomendamos SVN.
20984  Para empezar con Subversion es conveniente consultar el SVN Book.
20985 \begin_inset Foot
20986 status collapsed
20987
20988 \begin_layout Plain Layout
20989 \begin_inset CommandInset href
20990 LatexCommand href
20991 target "http://svnbook.red-bean.com/"
20992 literal "false"
20993
20994 \end_inset
20995
20996
20997 \end_layout
20998
20999 \end_inset
21000
21001  Para RCS deberías leer 
21002 \begin_inset Quotes cld
21003 \end_inset
21004
21005 rcsintro
21006 \begin_inset Quotes crd
21007 \end_inset
21008
21009  (archivo 
21010 \emph on
21011 man
21012 \emph default
21013  de manual).
21014  Este archivo describe todas las características básicas de RCS.
21015  Deberías fijarte especialmente en el comentario sobre el directorio RCS
21016  y las nociones sobre el archivo maestro RCS (el que acaba en 
21017 \family typewriter
21018 ,v
21019 \family default
21020 ).
21021 \end_layout
21022
21023 \begin_layout Standard
21024 Antes de usar el control de versiones en \SpecialChar LyX
21025  hay que conocer el uso de RCS/CVS/SVN/
21026 GIT.
21027  La implementación en \SpecialChar LyX
21028  asume el uso de versiones recientes de los paquetes
21029  GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21030  La mayoría de los mensajes de registro no son actualmente mostrados tras
21031  las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21032  Los usuarios habituales de control de versiones apreciarán las herramientas
21033  VC, disponibles en 
21034 \family sans
21035 Ver\SpecialChar menuseparator
21036 Barras de herramientas\SpecialChar menuseparator
21037 Control de versiones
21038 \family default
21039 .
21040 \end_layout
21041
21042 \begin_layout Standard
21043 Para introducir tus propios comandos externos consulta 
21044 \family typewriter
21045 vc-command
21046 \family default
21047  en el manual 
21048 \emph on
21049 Funciones de \SpecialChar LyX
21050
21051 \emph default
21052 .
21053 \end_layout
21054
21055 \begin_layout Standard
21056 Es muy recomendable guardar los documentos sin comprimir si se usa control
21057  de versiones (desactiva 
21058 \family sans
21059 Documento\SpecialChar menuseparator
21060 Comprimido
21061 \family default
21062  si lo está): los documentos \SpecialChar LyX
21063  sin comprimir son archivos de texto y por
21064  tanto factibles de ser mezclados por sistemas de control de versiones.
21065  Los documentos \SpecialChar LyX
21066  comprimidos son archivos binarios, no manejables por sistemas
21067  de control de versiones.
21068  
21069 \end_layout
21070
21071 \begin_layout Subsection
21072 Comandos RCS en \SpecialChar LyX
21073
21074 \end_layout
21075
21076 \begin_layout Standard
21077 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21078 .
21079  Los puedes encontrar en el submenú 
21080 \family sans
21081 Archivo\SpecialChar menuseparator
21082 Control
21083 \begin_inset space ~
21084 \end_inset
21085
21086 de
21087 \begin_inset space ~
21088 \end_inset
21089
21090 versiones
21091 \family default
21092 .
21093  \SpecialChar LyX
21094  se ha probado con la versión RCS 5.7/5.8.
21095 \end_layout
21096
21097 \begin_layout Subsubsection
21098
21099 \family sans
21100 Registrar
21101 \end_layout
21102
21103 \begin_layout Standard
21104 Si tu documento no está sometido a control de versiones, este es el único
21105  ítem mostrado en el submenú.
21106  Y si está sometido a control de versiones, el ítem 
21107 \family sans
21108 Registrar
21109 \family default
21110  no aparece.
21111  
21112 \end_layout
21113
21114 \begin_layout Standard
21115 Este comando registra el documento con RCS\SpecialChar endofsentence
21116  Se te pide interactivamente una
21117  descripción inicial del documento.
21118  Por ahora, el documento está puesto en modo Solo-lectura y debes 
21119 \family sans
21120 Liberar para edición 
21121 \family default
21122 antes de hacer cambios en él.
21123  Un documento bajo control de revisión tiene un ítem 
21124 \begin_inset Quotes cld
21125 \end_inset
21126
21127 [RCS:<version> <locker>]
21128 \begin_inset Quotes crd
21129 \end_inset
21130
21131  junto al nombre de archivo en el búfer .
21132 \end_layout
21133
21134 \begin_layout Standard
21135 Comando
21136 \family sans
21137  
21138 \family default
21139 RCS ejecutado:
21140 \end_layout
21141
21142 \begin_layout LyX-Code
21143
21144 \family typewriter
21145 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21146 \end_layout
21147
21148 \begin_layout Standard
21149 Lee 
21150 \family typewriter
21151 man ci
21152 \family default
21153  para entender las opciones.
21154  
21155 \end_layout
21156
21157 \begin_layout Subsubsection
21158
21159 \family sans
21160 Liberar cambios
21161 \end_layout
21162
21163 \begin_layout Standard
21164 Cuando has acabado de editar un archivo liberas tus cambios.
21165  Al hacerlo
21166 \family sans
21167  
21168 \family default
21169 se te pide una descripción que se almacena en el historial.
21170  El número de versión es actualizado, tus cambios se aplican al archivo
21171  maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21172  
21173 \end_layout
21174
21175 \begin_layout Itemize
21176 Comando RCS: 
21177 \family typewriter
21178 ci -q -u -m"<descripción>" <nombre-archivo>
21179 \end_layout
21180
21181 \begin_layout Subsubsection
21182
21183 \family sans
21184 Reservar para edición
21185 \end_layout
21186
21187 \begin_layout Standard
21188 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21189  Además el documento será de Lectura-Escritura únicamente para ti.
21190  Generalmente continuarás la edición un rato más y al acabar liberarás los
21191  cambios.
21192  La línea de estado cambia para indicar que has bloqueado el archivo.
21193  
21194 \end_layout
21195
21196 \begin_layout Itemize
21197 Comando RCS: 
21198 \family typewriter
21199 co -q -l <nombre-archivo>
21200 \end_layout
21201
21202 \begin_layout Subsubsection
21203
21204 \family sans
21205 Volver a la 
21206 \family default
21207 versión del repositorio
21208 \end_layout
21209
21210 \begin_layout Standard
21211 Esto descartará todos los cambios hechos en el documento desde la última
21212  liberación de cambios.
21213  Recibes un mensaje de aviso antes de descartar los cambios.
21214
21215 \family typewriter
21216  
21217 \end_layout
21218
21219 \begin_layout Itemize
21220 Comando RCS: 
21221 \family typewriter
21222 co -f -u<version> <nombre-archivo>
21223 \end_layout
21224
21225 \begin_layout Subsubsection
21226 Copiar
21227 \end_layout
21228
21229 \begin_layout Standard
21230 Creará una copia del documento actual.
21231  Puesto que RCS no soporta nativamente operaciones de copia, el historial
21232  de versiones no se preserva y la copia se añade como archivo nuevo.
21233  Requiere un documento limpio sin ningún cambio desde la última liberación.
21234  Pedirá un nombre de archivo y una descripción de la operación de copia.
21235  Después se crea la copia localmente y en el repositorio.
21236  Si los directorios padre de los documentos original y copiado difieren,
21237  se ajustan todas las rutas relativas de los archivos incluidos en la copia
21238  (como en 
21239 \family sans
21240 Archivo\SpecialChar menuseparator
21241 Guardar como
21242 \family default
21243 \SpecialChar ldots
21244 ).
21245  Por último, se carga la copia en vez del documento original.
21246 \end_layout
21247
21248 \begin_layout Labeling
21249 \labelwidthstring 00.00.0000
21250 Comandos
21251 \begin_inset space ~
21252 \end_inset
21253
21254 RCS: 
21255 \begin_inset space ~
21256 \end_inset
21257
21258
21259 \begin_inset Newline newline
21260 \end_inset
21261
21262 Copiar 
21263 \begin_inset Flex Code
21264 status collapsed
21265
21266 \begin_layout Plain Layout
21267
21268 \family typewriter
21269 \lang english
21270 \begin_inset Quotes qld
21271 \end_inset
21272
21273
21274 \family default
21275 \lang spanish
21276 <nombre-archivo>
21277 \family typewriter
21278 \lang english
21279
21280 \begin_inset Quotes qld
21281 \end_inset
21282
21283
21284 \end_layout
21285
21286 \end_inset
21287
21288  a 
21289 \begin_inset Flex Code
21290 status collapsed
21291
21292 \begin_layout Plain Layout
21293
21294 \family typewriter
21295 \lang english
21296 \begin_inset Quotes qld
21297 \end_inset
21298
21299
21300 \family default
21301 \lang spanish
21302 <nuevo-nombre-archivo>
21303 \family typewriter
21304 \lang english
21305
21306 \begin_inset Quotes qld
21307 \end_inset
21308
21309
21310 \end_layout
21311
21312 \end_inset
21313
21314
21315 \begin_inset Newline newline
21316 \end_inset
21317
21318
21319 \begin_inset Flex Code
21320 status collapsed
21321
21322 \begin_layout Plain Layout
21323 ci -q -u -i 
21324 \family typewriter
21325 \lang english
21326
21327 \begin_inset Quotes qld
21328 \end_inset
21329
21330
21331 \family default
21332 \lang spanish
21333 <nuevo-nombre-archivo>
21334 \family typewriter
21335 \lang english
21336
21337 \begin_inset Quotes qld
21338 \end_inset
21339
21340
21341 \family default
21342 \lang spanish
21343
21344 \begin_inset Quotes erd
21345 \end_inset
21346
21347
21348 \end_layout
21349
21350 \end_inset
21351
21352
21353 \end_layout
21354
21355 \begin_layout Subsubsection
21356
21357 \family sans
21358 Deshacer última liberación
21359 \end_layout
21360
21361 \begin_layout Standard
21362 Esto es como si la última liberación de cambios no hubiera sucedido.
21363  No se hacen cambios al documento cargado en \SpecialChar LyX
21364 , pero la última versión es
21365  eliminada del archivo maestro RCS.
21366  
21367 \end_layout
21368
21369 \begin_layout Itemize
21370 Comando RCS: 
21371 \family typewriter
21372 rcs -o<versión> <nombre-archivo>
21373 \end_layout
21374
21375 \begin_layout Subsubsection
21376
21377 \family sans
21378 Mostrar historial
21379 \end_layout
21380
21381 \begin_layout Standard
21382 Muestra el registro completo del historial del documento RCS.
21383  La salida de 
21384 \family typewriter
21385 rlog
21386 \family default
21387  
21388 \family typewriter
21389 <nombre-archivo>
21390 \family default
21391  se muestra en un buscador.
21392  Véase 
21393 \family typewriter
21394 man rlog
21395 \family default
21396  para más información.
21397 \end_layout
21398
21399 \begin_layout Subsubsection
21400 Información de revisión
21401 \end_layout
21402
21403 \begin_layout Standard
21404 \SpecialChar LyX
21405  soporta información de número de versión, autor, fecha y hora del último
21406  ingreso.
21407  Se obtienen de 
21408 \family typewriter
21409 rlog -r <nombre-archivo>
21410 \family default
21411 .
21412  Véase 
21413 \begin_inset CommandInset ref
21414 LatexCommand ref
21415 reference "subsec:VCS-Información-de-revisión"
21416
21417 \end_inset
21418
21419  para detalles.
21420 \end_layout
21421
21422 \begin_layout Subsection
21423 Comandos CVS en \SpecialChar LyX
21424
21425 \end_layout
21426
21427 \begin_layout Standard
21428 Ahora \SpecialChar LyX
21429  soporta un subconjunto de operaciones CVS.
21430  Puedes ver los comandos en el submenú 
21431 \family sans
21432 Archivo\SpecialChar menuseparator
21433 Control de versiones
21434 \family default
21435 .
21436  El sistema de control de versiones SVN es más poderoso, por lo que úsalo
21437  en lugar de CVS, si es posible.
21438 \end_layout
21439
21440 \begin_layout Subsubsection
21441 Uso general de CVS
21442 \end_layout
21443
21444 \begin_layout Standard
21445 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
21446  copia de trabajo con herramientas externas.
21447  Si usas una configuración cliente-servidor puedes necesitar registrarte
21448  antes de hacer la primera reserva en el repositorio.
21449 \end_layout
21450
21451 \begin_layout Standard
21452 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
21453 io surgen problemas cuando se hacen cambios en el mismo documento y en el
21454  mismo lugar.
21455  Los repositorios estándar CVS no operan con bloqueo de archivos.
21456  Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
21457  sobre el adecuado contenido de la misma parte de un documento.
21458  Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
21459  los conflictos ocurren raramente.
21460  Si no se comunican, tienen un problema fundamental de todos modos.
21461  Con todo, algunos prefieren trabajar con las denominadas 
21462 \begin_inset Quotes cld
21463 \end_inset
21464
21465 reservas reservadas
21466 \begin_inset Quotes crd
21467 \end_inset
21468
21469 .
21470  Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
21471  cuando reservan primero y el usuario comienza la edición después de usar
21472  un comando especial para hacer posible la escritura en la copia de trabajo.
21473  Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
21474  lectura.
21475  Con \SpecialChar LyX
21476 , uno debe editar el archivo 
21477 \begin_inset Flex Code
21478 status collapsed
21479
21480 \begin_layout Plain Layout
21481 .cvsrc
21482 \end_layout
21483
21484 \end_inset
21485
21486  y añadir la línea 
21487 \begin_inset Flex Code
21488 status collapsed
21489
21490 \begin_layout Plain Layout
21491 cvs -r
21492 \end_layout
21493
21494 \end_inset
21495
21496  para trabajar con 
21497 \begin_inset Quotes cld
21498 \end_inset
21499
21500 reservas reservadas
21501 \begin_inset Quotes crd
21502 \end_inset
21503
21504 .
21505  El beneficio es la posibilidad de ver quién está usando una copia con acceso
21506  a escritura de algún documento.
21507  No está garantizado que solo un usuario hace copias con permiso de escritura.
21508 \end_layout
21509
21510 \begin_layout Standard
21511 \SpecialChar LyX
21512  intenta averiguar si estás usando reservas reservadas o no.
21513  Si la copia de trabajo es solo lectura asume que es reservada, si admite
21514  escritura y una copia adicional del documento existe en el subdirectorio
21515  CVS/Base, asume que es no reservada.
21516  Si se detecta una reservada debes usar 
21517 \begin_inset Flex Noun
21518 status collapsed
21519
21520 \begin_layout Plain Layout
21521 Reservar
21522 \end_layout
21523
21524 \end_inset
21525
21526  para poder escribir en ella.
21527  Después de hacerlo, la operación 
21528 \begin_inset Flex Noun
21529 status collapsed
21530
21531 \begin_layout Plain Layout
21532 Liberar
21533 \end_layout
21534
21535 \end_inset
21536
21537  es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
21538  después de transferir los cambios al repositorio.
21539 \end_layout
21540
21541 \begin_layout Standard
21542 Más información sobre CVS se puede encontrar en 
21543 \begin_inset Flex URL
21544 status collapsed
21545
21546 \begin_layout Plain Layout
21547
21548 http://www.nongnu.org/cvs
21549 \end_layout
21550
21551 \end_inset
21552
21553  y en 
21554 \begin_inset Flex URL
21555 status collapsed
21556
21557 \begin_layout Plain Layout
21558
21559 http://ximbiot.com/cvs
21560 \end_layout
21561
21562 \end_inset
21563
21564 .
21565 \end_layout
21566
21567 \begin_layout Standard
21568 Consulta 
21569 \begin_inset Flex Code
21570 status collapsed
21571
21572 \begin_layout Plain Layout
21573 man cvs
21574 \end_layout
21575
21576 \end_inset
21577
21578  para comprender los sub-comandos y conmutadores mencionados abajo.
21579 \end_layout
21580
21581 \begin_layout Subsubsection
21582 Registrar
21583 \end_layout
21584
21585 \begin_layout Standard
21586 Si el documento no está bajo control de revisión, este es el único ítem
21587  mostrado en el menú.
21588  Y si está bajo control de revisión, el ítem
21589 \family sans
21590  
21591 \begin_inset Flex Noun
21592 status collapsed
21593
21594 \begin_layout Plain Layout
21595
21596 \family sans
21597 Registrar
21598 \end_layout
21599
21600 \end_inset
21601
21602
21603 \family default
21604  no está visible.
21605 \end_layout
21606
21607 \begin_layout Standard
21608 Este comando registra tu documento en CVS 
21609 \begin_inset Flex Emph
21610 status collapsed
21611
21612 \begin_layout Plain Layout
21613 \begin_inset Flex Strong
21614 status collapsed
21615
21616 \begin_layout Plain Layout
21617 solo
21618 \end_layout
21619
21620 \end_inset
21621
21622
21623 \end_layout
21624
21625 \end_inset
21626
21627  en el caso de que ya tengas el directorio de documentos bajo control CVS
21628  (en particular, existe el archivo 
21629 \family typewriter
21630 CVS/Entries
21631 \family default
21632 ).
21633  Esto significa que debes crear o reservar el archivo por ti mismo usando
21634  herramientas externas.
21635  (En caso de olvidar este paso, \SpecialChar LyX
21636  registra el documento con RCS).
21637 \end_layout
21638
21639 \begin_layout Standard
21640 Después se te pide interactivamente una descripción inicial del documento.
21641  No olvides que el archivo registrado todavía no está liberado.
21642 \end_layout
21643
21644 \begin_layout Standard
21645 El comando CVS que es ejecutado: 
21646 \family typewriter
21647 cvs -q add -m
21648 \begin_inset Quotes erd
21649 \end_inset
21650
21651 <entered message>" 
21652 \begin_inset Quotes eld
21653 \end_inset
21654
21655 <file-name>
21656 \begin_inset Quotes erd
21657 \end_inset
21658
21659
21660 \end_layout
21661
21662 \begin_layout Standard
21663 El término 
21664 \family typewriter
21665
21666 \begin_inset Quotes eld
21667 \end_inset
21668
21669 <file-name>
21670 \begin_inset Quotes erd
21671 \end_inset
21672
21673
21674 \family default
21675  anterior y en todos los demás comandos CVS es una abreviación para 
21676 \begin_inset Quotes cld
21677 \end_inset
21678
21679 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
21680  el nombre de archivo sin el componente ruta como argumento
21681 \begin_inset Quotes crd
21682 \end_inset
21683
21684 .
21685 \end_layout
21686
21687 \begin_layout Subsubsection
21688 Liberar cambios
21689 \end_layout
21690
21691 \begin_layout Standard
21692 Cuando has terminado de editar un archivo se ingresan los cambios.
21693  Al hacerlo se te pide una descripción de los mismos.
21694  Después, los cambios son escritos en el repositorio.
21695  En caso de que no hayas cambiado el documento y se detecte una copia reservada
21696  se deshace la reserva hecha con 
21697 \begin_inset Flex Noun
21698 status collapsed
21699
21700 \begin_layout Plain Layout
21701 Reservar
21702 \end_layout
21703
21704 \end_inset
21705
21706 .
21707 \end_layout
21708
21709 \begin_layout Labeling
21710 \labelwidthstring 00.00.0000
21711 Comandos
21712 \begin_inset space ~
21713 \end_inset
21714
21715 CVS: 
21716 \begin_inset space ~
21717 \end_inset
21718
21719
21720 \begin_inset Newline newline
21721 \end_inset
21722
21723
21724 \family typewriter
21725
21726 \begin_inset Flex Code
21727 status collapsed
21728
21729 \begin_layout Plain Layout
21730
21731 \family typewriter
21732 cvs -q commit -m"<description>" <file-name>
21733 \end_layout
21734
21735 \end_inset
21736
21737  
21738 \family default
21739 o
21740 \begin_inset Newline newline
21741 \end_inset
21742
21743
21744 \begin_inset Flex Code
21745 status collapsed
21746
21747 \begin_layout Plain Layout
21748 cvs -q unedit "<file-name>"
21749 \end_layout
21750
21751 \end_inset
21752
21753
21754 \end_layout
21755
21756 \begin_layout Subsubsection
21757 Reservar cambios
21758 \end_layout
21759
21760 \begin_layout Standard
21761 Cuando estás compartiendo un repositorio con otros, puede que tengas que
21762  incorporar sus cambios en tu copia de trabajo.
21763 \end_layout
21764
21765 \begin_layout Standard
21766 Comando CVS: 
21767 \family typewriter
21768 cvs -q update "<file-name>"
21769 \end_layout
21770
21771 \begin_layout Standard
21772 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
21773  a escritura.
21774 \end_layout
21775
21776 \begin_layout Standard
21777 Comando CVS: 
21778 \family typewriter
21779 cvs -q edit "<file-name>"
21780 \end_layout
21781
21782 \begin_layout Subsubsection
21783 Volver a la versión del repositorio
21784 \end_layout
21785
21786 \begin_layout Standard
21787 Esto descartará todos los cambios hechos en el documento desde la última
21788  liberación.
21789  Recibes un mensaje de aviso antes de descartar los cambios.
21790  Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
21791
21792 \family typewriter
21793  
21794 \end_layout
21795
21796 \begin_layout Standard
21797 Comando CVS: 
21798 \family typewriter
21799 cvs -q update 
21800 \begin_inset Quotes eld
21801 \end_inset
21802
21803 <file-name>
21804 \begin_inset Quotes erd
21805 \end_inset
21806
21807
21808 \end_layout
21809
21810 \begin_layout Standard
21811 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
21812  solo se deshace la reserva.
21813 \end_layout
21814
21815 \begin_layout Standard
21816 Comando CVS: 
21817 \family typewriter
21818 cvs -q unedit 
21819 \begin_inset Quotes eld
21820 \end_inset
21821
21822 <file-name>
21823 \begin_inset Quotes erd
21824 \end_inset
21825
21826
21827 \end_layout
21828
21829 \begin_layout Subsubsection
21830 Copiar
21831 \end_layout
21832
21833 \begin_layout Standard
21834 Creará una copia del documento actual.
21835  Como CVS no soporta de forma nativa operaciones de copia, el historial
21836  de versiones no se preserva y la copia se añade como archivo nuevo.
21837  Requiere un documento limpio sin ningún cambio desde la última liberación.
21838  Pedirá un nombre de archivo y una descripción de la operación de copia.
21839  Después se crea la copia localmente y en el repositorio.
21840  Si los directorios padre de los documentos original y copiado difieren,
21841  se ajustan todas las rutas relativas de los archivos incluidos en la copia
21842  (como en 
21843 \family sans
21844 Archivo\SpecialChar menuseparator
21845 Guardar como
21846 \family default
21847 \SpecialChar ldots
21848 ).
21849  Por último, se carga la copia en vez del documento original.
21850 \end_layout
21851
21852 \begin_layout Labeling
21853 \labelwidthstring 00.00.0000
21854 Comandos
21855 \begin_inset space ~
21856 \end_inset
21857
21858 CVS: 
21859 \begin_inset space ~
21860 \end_inset
21861
21862
21863 \begin_inset Newline newline
21864 \end_inset
21865
21866 Copiar 
21867 \begin_inset Flex Code
21868 status collapsed
21869
21870 \begin_layout Plain Layout
21871
21872 \family typewriter
21873 \lang ngerman
21874 "
21875 \family default
21876 \lang spanish
21877 <file-name>
21878 \family typewriter
21879 \lang ngerman
21880 "
21881 \end_layout
21882
21883 \end_inset
21884
21885  a 
21886 \begin_inset Flex Code
21887 status collapsed
21888
21889 \begin_layout Plain Layout
21890
21891 \family typewriter
21892 \lang ngerman
21893 "
21894 \family default
21895 \lang spanish
21896 <new-file-name>
21897 \family typewriter
21898 \lang ngerman
21899 "
21900 \end_layout
21901
21902 \end_inset
21903
21904
21905 \begin_inset Newline newline
21906 \end_inset
21907
21908
21909 \begin_inset Flex Code
21910 status collapsed
21911
21912 \begin_layout Plain Layout
21913 cvs -q add 
21914 \family typewriter
21915 \lang ngerman
21916 "
21917 \family default
21918 \lang spanish
21919 <new-file-name>
21920 \family typewriter
21921 \lang ngerman
21922 "
21923 \end_layout
21924
21925 \end_inset
21926
21927
21928 \end_layout
21929
21930 \begin_layout Subsubsection
21931 Renombrar
21932 \end_layout
21933
21934 \begin_layout Standard
21935 Este comando renombra el documento actual.
21936  Como CVS no soporta de forma nativa operaciones de renombrado, el historial
21937  de versiones no se preserva, el documento renombrado se añade como archivo
21938  nuevo y el original se borra.
21939  Requiere un documento limpio sin ningún cambio desde la última liberación.
21940  Pedirá un nombre de archivo y una descripción de la operación.
21941  Después el documento se renombra localmente y en el repositorio.
21942  Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
21943  se ajustan todas las rutas relativas de los archivos incluidos (como en
21944  
21945 \family sans
21946 Archivo\SpecialChar menuseparator
21947 Guardar como
21948 \family default
21949 \SpecialChar ldots
21950 ).
21951  Por último, se recarga el documento con el nuevo nombre.
21952 \end_layout
21953
21954 \begin_layout Labeling
21955 \labelwidthstring 00.00.0000
21956 Comandos
21957 \begin_inset space ~
21958 \end_inset
21959
21960 CVS: 
21961 \begin_inset space ~
21962 \end_inset
21963
21964
21965 \begin_inset Newline newline
21966 \end_inset
21967
21968 Renombrar 
21969 \begin_inset Flex Code
21970 status collapsed
21971
21972 \begin_layout Plain Layout
21973
21974 \family typewriter
21975 \lang ngerman
21976 "
21977 \family default
21978 \lang spanish
21979 <file-name>
21980 \family typewriter
21981 \lang ngerman
21982 "
21983 \end_layout
21984
21985 \end_inset
21986
21987  a 
21988 \begin_inset Flex Code
21989 status collapsed
21990
21991 \begin_layout Plain Layout
21992
21993 \family typewriter
21994 \lang ngerman
21995 "
21996 \family default
21997 \lang spanish
21998 <new-file-name>
21999 \family typewriter
22000 \lang ngerman
22001 "
22002 \end_layout
22003
22004 \end_inset
22005
22006
22007 \begin_inset Newline newline
22008 \end_inset
22009
22010
22011 \begin_inset Flex Code
22012 status collapsed
22013
22014 \begin_layout Plain Layout
22015 cvs -q add 
22016 \family typewriter
22017 \lang ngerman
22018 "
22019 \family default
22020 \lang spanish
22021 <new-file-name>
22022 \family typewriter
22023 \lang ngerman
22024 "
22025 \end_layout
22026
22027 \end_inset
22028
22029
22030 \begin_inset Newline newline
22031 \end_inset
22032
22033
22034 \begin_inset Flex Code
22035 status collapsed
22036
22037 \begin_layout Plain Layout
22038 cvs -q remove 
22039 \family typewriter
22040 \lang ngerman
22041 "
22042 \family default
22043 \lang spanish
22044 <file-name>
22045 \family typewriter
22046 \lang ngerman
22047 "
22048 \end_layout
22049
22050 \end_inset
22051
22052
22053 \end_layout
22054
22055 \begin_layout Subsubsection
22056 Actualizar la reserva del directorio local desde el repositorio
22057 \end_layout
22058
22059 \begin_layout Standard
22060 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22061  figuras e incluyendo archivos externos 
22062 \family typewriter
22063 .tex
22064 \family default
22065  y demás, el uso de control de versiones se hace más complejo.
22066  \SpecialChar LyX
22067  soporta la actualización del árbol completo en el que reside el documento.
22068  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22069  detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22070  Tienes que organizar la estructura de archivos para que los archivos externos
22071  residan en el mismo directorio o subdirectorio del documento.
22072  Es una buena práctica de todos modos almacenar los documentos multi-parte
22073  en un directorio extra.
22074 \end_layout
22075
22076 \begin_layout Standard
22077 El comando 
22078 \begin_inset Flex Code
22079 status collapsed
22080
22081 \begin_layout Plain Layout
22082 Actualizar directorio local desde el repositorio
22083 \end_layout
22084
22085 \end_inset
22086
22087  actualiza el directorio completo.
22088  Si se detectan cambios locales el usuario es advertido antes de iniciar
22089  la actualización.
22090  En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22091  se sitúan al final del documento.
22092  Debes revisar y corregir el resultado de la fusión.
22093  Los conflictos los verás encerrados entre pares de 
22094 \begin_inset Flex Code
22095 status collapsed
22096
22097 \begin_layout Plain Layout
22098 <<<<<<<
22099 \end_layout
22100
22101 \end_inset
22102
22103  y 
22104 \begin_inset Flex Code
22105 status collapsed
22106
22107 \begin_layout Plain Layout
22108 >>>>>>>
22109 \end_layout
22110
22111 \end_inset
22112
22113  separados por 
22114 \begin_inset Flex Code
22115 status collapsed
22116
22117 \begin_layout Plain Layout
22118 =======
22119 \end_layout
22120
22121 \end_inset
22122
22123 .
22124  La parte primera es tu versión antes de la operación de actualización con
22125  pecedida del nombre del documento.
22126  La segunda es la versión del repositorio con el número de la versión tras
22127  la secuencia de signos 
22128 \begin_inset Flex Code
22129 status collapsed
22130
22131 \begin_layout Plain Layout
22132 >
22133 \end_layout
22134
22135 \end_inset
22136
22137 .
22138 \end_layout
22139
22140 \begin_layout Labeling
22141 \labelwidthstring 00.00.0000
22142 Comandos
22143 \begin_inset space ~
22144 \end_inset
22145
22146 CVS: 
22147 \begin_inset space ~
22148 \end_inset
22149
22150
22151 \begin_inset Newline newline
22152 \end_inset
22153
22154
22155 \begin_inset Flex Code
22156 status collapsed
22157
22158 \begin_layout Plain Layout
22159 cd $path; cvs diff "."
22160 \end_layout
22161
22162 \end_inset
22163
22164  (Para ver si se detectan cambios)
22165 \begin_inset Newline newline
22166 \end_inset
22167
22168
22169 \begin_inset Flex Code
22170 status collapsed
22171
22172 \begin_layout Plain Layout
22173 cd $path; cvs -q update "."
22174 \end_layout
22175
22176 \end_inset
22177
22178
22179 \end_layout
22180
22181 \begin_layout Standard
22182 donde 
22183 \begin_inset Flex Code
22184 status collapsed
22185
22186 \begin_layout Plain Layout
22187 $path
22188 \end_layout
22189
22190 \end_inset
22191
22192  es la ruta al documento.
22193 \end_layout
22194
22195 \begin_layout Subsubsection
22196 Mostrar historial
22197 \end_layout
22198
22199 \begin_layout Standard
22200 Muestra el historial completo del documento CVS.
22201  La salida de
22202 \begin_inset Newline newline
22203 \end_inset
22204
22205
22206 \family typewriter
22207 cvs log 
22208 \begin_inset Quotes eld
22209 \end_inset
22210
22211 <file-name>
22212 \family default
22213
22214 \begin_inset Quotes erd
22215 \end_inset
22216
22217  se muestra en un buscador.
22218 \end_layout
22219
22220 \begin_layout Subsubsection
22221 Información de la revisión
22222 \end_layout
22223
22224 \begin_layout Standard
22225 \SpecialChar LyX
22226  soporta número de versión CVS, nombre de autor, fecha y hora del último
22227  ingreso.
22228  Toda esta información se obtiene de
22229 \family typewriter
22230  cvs log -r <file-name>
22231 \family default
22232 .
22233  Véase 
22234 \begin_inset CommandInset ref
22235 LatexCommand ref
22236 reference "subsec:VCS-Información-de-revisión"
22237
22238 \end_inset
22239
22240  para detalles.
22241 \end_layout
22242
22243 \begin_layout Subsection
22244 Comandos SVN en Lyx
22245 \end_layout
22246
22247 \begin_layout Standard
22248 Ahora \SpecialChar LyX
22249  soporta parcialmente SVN.
22250  Puedes encontrar los comandos en el submenú 
22251 \family sans
22252 Archivo\SpecialChar menuseparator
22253 Control de versiones
22254 \family default
22255 .
22256  Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22257  vía ssh, se te pedirá en una ventana de terminal.
22258  \SpecialChar LyX
22259  se ha probado con SVN 1.5 y 1.6.
22260 \begin_inset Foot
22261 status open
22262
22263 \begin_layout Plain Layout
22264 La mayoría de los comandos funcionarán también con 1.4, véase 
22265 \begin_inset CommandInset ref
22266 LatexCommand ref
22267 reference "subsec:SVN-Actualizar-el-directorio"
22268
22269 \end_inset
22270
22271
22272 \end_layout
22273
22274 \end_inset
22275
22276
22277 \end_layout
22278
22279 \begin_layout Subsubsection
22280 Registrar
22281 \end_layout
22282
22283 \begin_layout Standard
22284 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22285  en el menú.
22286  Y si está bajo control de revisión, el ítem 
22287 \family sans
22288 Registrar
22289 \family default
22290  no está visible.
22291 \end_layout
22292
22293 \begin_layout Standard
22294 Este comando registra tu documento en SVN 
22295 \series bold
22296 \emph on
22297 solo
22298 \series default
22299 \emph default
22300  en el caso de que ya tengas el directorio de documentos bajo control SVN
22301  ( en particular, existe el archivo 
22302 \family typewriter
22303 .svn/entries
22304 \family default
22305 ).
22306  Esto significa que debes reservar el archivo por ti mismo.
22307 \end_layout
22308
22309 \begin_layout Standard
22310 Después se te pide interactivamente una descripción inicial del documento.
22311  No olvides que el archivo registrado todavía no es definitivo.
22312 \end_layout
22313
22314 \begin_layout Standard
22315 El comando SVN que es ejecutado: 
22316 \family typewriter
22317 snv add -q 
22318 \lang english
22319
22320 \begin_inset Quotes qld
22321 \end_inset
22322
22323
22324 \lang spanish
22325 <file-name>
22326 \lang english
22327
22328 \begin_inset Quotes qld
22329 \end_inset
22330
22331
22332 \end_layout
22333
22334 \begin_layout Standard
22335 Lee 
22336 \family typewriter
22337 man svn
22338 \family default
22339  para comprender las alternativas.
22340 \end_layout
22341
22342 \begin_layout Subsubsection
22343 Liberar cambios
22344 \end_layout
22345
22346 \begin_layout Standard
22347 Cuando has terminado de editar un archivo, ingresas los cambios.
22348  Al hacerlo se te pide una descripción de los mismos.
22349  Después, los cambios son ingresados.
22350 \end_layout
22351
22352 \begin_layout Standard
22353 Comando SVN:
22354 \begin_inset Foot
22355 status collapsed
22356
22357 \begin_layout Plain Layout
22358 En el caso de que el bloqueo no esté habilitado.
22359  Véase la sección 
22360 \begin_inset CommandInset ref
22361 LatexCommand ref
22362 reference "subsec:SVN-Bloqueo-de-archivos"
22363
22364 \end_inset
22365
22366 .
22367 \end_layout
22368
22369 \end_inset
22370
22371  
22372 \family typewriter
22373 svn commit -q -m"<description>" <file-name>
22374 \end_layout
22375
22376 \begin_layout Subsubsection
22377 Reservar para edición
22378 \end_layout
22379
22380 \begin_layout Standard
22381 Actualiza los cambios de este archivo desde el repositorio.
22382  Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22383  SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22384  tú mismo a mano!
22385 \end_layout
22386
22387 \begin_layout Standard
22388 Comando SVN:
22389 \begin_inset Foot
22390 status collapsed
22391
22392 \begin_layout Plain Layout
22393 Ídem.
22394 \end_layout
22395
22396 \end_inset
22397
22398  
22399 \family typewriter
22400 svn update 
22401 \family default
22402
22403 \begin_inset Flex Code
22404 status collapsed
22405
22406 \begin_layout Plain Layout
22407 --non-interactive 
22408 \lang english
22409
22410 \begin_inset Quotes qld
22411 \end_inset
22412
22413
22414 \lang spanish
22415 <file-name>
22416 \lang english
22417
22418 \begin_inset Quotes qld
22419 \end_inset
22420
22421
22422 \end_layout
22423
22424 \end_inset
22425
22426
22427 \end_layout
22428
22429 \begin_layout Subsubsection
22430 Volver a la versión del repositorio
22431 \end_layout
22432
22433 \begin_layout Standard
22434 Esto descartará todos los cambios hechos en el documento desde la última
22435  liberación de cambios.
22436  Recibes un mensaje de aviso antes de descartar los cambios.
22437 \end_layout
22438
22439 \begin_layout Standard
22440 Comando SVN: 
22441 \family typewriter
22442 svn revert -q 
22443 \lang english
22444
22445 \begin_inset Quotes qld
22446 \end_inset
22447
22448
22449 \lang spanish
22450 <file-name>
22451 \lang english
22452
22453 \begin_inset Quotes qld
22454 \end_inset
22455
22456
22457 \end_layout
22458
22459 \begin_layout Subsubsection
22460 Copiar
22461 \end_layout
22462
22463 \begin_layout Standard
22464 Creará una copia del documento actual incluyendo el historial de versiones.
22465  Requiere un documento limpio sin ningún cambio desde la última liberación.
22466  Pedirá un nombre de archivo y una descripción de la operación de copia.
22467  Después se crea la copia localmente y en el repositorio.
22468  Si los directorios padre de los documentos original y copiado difieren,
22469  se ajustan todas las rutas relativas de los archivos incluidos de la copia
22470  (como en 
22471 \family sans
22472 Archivo\SpecialChar menuseparator
22473 Guardar como
22474 \family default
22475 \SpecialChar ldots
22476 ).
22477  Por último, se carga la copia en vez del documento original
22478 \end_layout
22479
22480 \begin_layout Labeling
22481 \labelwidthstring 00.00.0000
22482 Comandos
22483 \begin_inset space ~
22484 \end_inset
22485
22486 SVN: 
22487 \begin_inset space ~
22488 \end_inset
22489
22490
22491 \begin_inset Newline newline
22492 \end_inset
22493
22494
22495 \begin_inset Flex Code
22496 status collapsed
22497
22498 \begin_layout Plain Layout
22499 svn copy -q 
22500 \family typewriter
22501 \lang english
22502
22503 \begin_inset Quotes qld
22504 \end_inset
22505
22506
22507 \family default
22508 \lang spanish
22509 <file-name>
22510 \family typewriter
22511 \lang english
22512
22513 \begin_inset Quotes qld
22514 \end_inset
22515
22516
22517 \family default
22518 \lang spanish
22519  
22520 \family typewriter
22521 \lang english
22522
22523 \begin_inset Quotes qld
22524 \end_inset
22525
22526
22527 \family default
22528 \lang spanish
22529 <new-file-name>
22530 \family typewriter
22531 \lang english
22532
22533 \begin_inset Quotes qld
22534 \end_inset
22535
22536
22537 \end_layout
22538
22539 \end_inset
22540
22541
22542 \begin_inset Newline newline
22543 \end_inset
22544
22545
22546 \begin_inset Flex Code
22547 status collapsed
22548
22549 \begin_layout Plain Layout
22550 svn commit
22551 \end_layout
22552
22553 \end_inset
22554
22555
22556 \end_layout
22557
22558 \begin_layout Subsubsection
22559 Renombrar
22560 \end_layout
22561
22562 \begin_layout Standard
22563 Renombrará el documento actual incluyendo el historial de versiones.
22564  Requiere un documento limpio sin ningún cambio desde la última liberación.
22565  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
22566  Después se renombra el documento localmente y en el repositorio.
22567  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
22568  se ajustan todas las rutas relativas de los archivos incluidos (como en
22569  
22570 \family sans
22571 Archivo\SpecialChar menuseparator
22572 Guardar como
22573 \family default
22574 \SpecialChar ldots
22575 ).
22576  Por último, se recarga el documento con su nuevo nombre.
22577 \end_layout
22578
22579 \begin_layout Labeling
22580 \labelwidthstring 00.00.0000
22581 Comandos
22582 \begin_inset space ~
22583 \end_inset
22584
22585 SVN: 
22586 \begin_inset space ~
22587 \end_inset
22588
22589
22590 \begin_inset Newline newline
22591 \end_inset
22592
22593
22594 \begin_inset Flex Code
22595 status collapsed
22596
22597 \begin_layout Plain Layout
22598 svn move -q 
22599 \family typewriter
22600 \lang english
22601
22602 \begin_inset Quotes qld
22603 \end_inset
22604
22605
22606 \family default
22607 \lang spanish
22608 <file-name>
22609 \family typewriter
22610 \lang english
22611
22612 \begin_inset Quotes qld
22613 \end_inset
22614
22615
22616 \family default
22617 \lang spanish
22618  
22619 \family typewriter
22620 \lang english
22621
22622 \begin_inset Quotes qld
22623 \end_inset
22624
22625
22626 \family default
22627 \lang spanish
22628 <new-file-name>
22629 \family typewriter
22630 \lang english
22631
22632 \begin_inset Quotes qld
22633 \end_inset
22634
22635
22636 \end_layout
22637
22638 \end_inset
22639
22640
22641 \begin_inset Newline newline
22642 \end_inset
22643
22644
22645 \begin_inset Flex Code
22646 status collapsed
22647
22648 \begin_layout Plain Layout
22649 svn commit
22650 \end_layout
22651
22652 \end_inset
22653
22654
22655 \end_layout
22656
22657 \begin_layout Subsubsection
22658 Actualizar la reserva del directorio local desde el repositio
22659 \begin_inset Foot
22660 status open
22661
22662 \begin_layout Plain Layout
22663 Ten en cuenta que este comando solo funcionará con 
22664 \begin_inset Formula $\geqq1.5$
22665 \end_inset
22666
22667
22668 \end_layout
22669
22670 \end_inset
22671
22672
22673 \begin_inset CommandInset label
22674 LatexCommand label
22675 name "subsec:SVN-Actualizar-el-directorio"
22676
22677 \end_inset
22678
22679
22680 \end_layout
22681
22682 \begin_layout Standard
22683 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
22684  actual.
22685  Una vez que el documento contiene figuras, archivos externos 
22686 \family typewriter
22687 .tex
22688 \family default
22689 , etc., su administración se hace más complicada.
22690  Ahora \SpecialChar LyX
22691  soporta la actualización del árbol completo en el que reside el
22692  documento.
22693 \begin_inset Foot
22694 status open
22695
22696 \begin_layout Plain Layout
22697 Hay que organizar la estructura de archivos de modo que todos los archivos
22698  externos estén en el mismo directorio o subdirectorios del documento.
22699 \end_layout
22700
22701 \end_inset
22702
22703  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22704  detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22705 \end_layout
22706
22707 \begin_layout Standard
22708 El comando 
22709 \begin_inset Flex Code
22710 status collapsed
22711
22712 \begin_layout Plain Layout
22713 Actualizar directorio local desde el repositorio
22714 \end_layout
22715
22716 \end_inset
22717
22718  actualiza el directorio completo y en caso de conflictos con la mezcla
22719  se deja la versión local de los archivos, para que no haya pérdida indeseada
22720  de datos.
22721  Si se detectan cambios locales se avisa al usuario antes de iniciar la
22722  actualización.
22723 \end_layout
22724
22725 \begin_layout Labeling
22726 \labelwidthstring 00.00.0000
22727 Comandos
22728 \begin_inset space ~
22729 \end_inset
22730
22731 SVN: 
22732 \begin_inset space ~
22733 \end_inset
22734
22735
22736 \begin_inset Newline newline
22737 \end_inset
22738
22739
22740 \begin_inset Flex Code
22741 status collapsed
22742
22743 \begin_layout Plain Layout
22744 svn diff $path
22745 \end_layout
22746
22747 \end_inset
22748
22749  (Para ver si se detectan cambios.)
22750 \begin_inset Newline newline
22751 \end_inset
22752
22753
22754 \begin_inset Flex Code
22755 status collapsed
22756
22757 \begin_layout Plain Layout
22758 svn update --accept mine-full $path
22759 \end_layout
22760
22761 \end_inset
22762
22763
22764 \end_layout
22765
22766 \begin_layout Standard
22767 donde 
22768 \family typewriter
22769 $path
22770 \family default
22771  es la ruta al documento.
22772 \end_layout
22773
22774 \begin_layout Subsubsection
22775 Mostrar historial
22776 \end_layout
22777
22778 \begin_layout Standard
22779 Muestra el historial completo del documento SVN.
22780  La salida de
22781 \begin_inset Newline newline
22782 \end_inset
22783
22784
22785 \family typewriter
22786 svn log 
22787 \lang english
22788
22789 \begin_inset Quotes qld
22790 \end_inset
22791
22792
22793 \lang spanish
22794 <file-name>
22795 \lang english
22796
22797 \begin_inset Quotes qld
22798 \end_inset
22799
22800
22801 \family default
22802 \lang spanish
22803  se muestra en un buscador.
22804 \end_layout
22805
22806 \begin_layout Subsubsection
22807 Bloqueo de archivos
22808 \begin_inset CommandInset label
22809 LatexCommand label
22810 name "subsec:SVN-Bloqueo-de-archivos"
22811
22812 \end_inset
22813
22814
22815 \end_layout
22816
22817 \begin_layout Standard
22818 El intercambio de archivos entre varios sistemas de control de revisiones
22819  tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
22820  intenten editar el mismo documento (o partes de él).
22821  Cuando sucede un conflicto requiere una solución manual, y una alternativa
22822  razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
22823  solo un usuario pueda editar el archivo al mismo tiempo.
22824 \end_layout
22825
22826 \begin_layout Standard
22827 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
22828  en el acceso a archivos,
22829 \lang english
22830  –
22831 \lang spanish
22832 bloqueos y configuración automática de permisos de escritura (véase la sec.
22833 \begin_inset space ~
22834 \end_inset
22835
22836
22837 \begin_inset CommandInset ref
22838 LatexCommand ref
22839 reference "subsec:SVN-Bloqueo-automático"
22840
22841 \end_inset
22842
22843 ), basados en la propiedad de los archivos svn 
22844 \begin_inset Flex Code
22845 status collapsed
22846
22847 \begin_layout Plain Layout
22848 svn:needs-lock
22849 \end_layout
22850
22851 \end_inset
22852
22853 .
22854 \begin_inset Foot
22855 status collapsed
22856
22857 \begin_layout Plain Layout
22858 \begin_inset CommandInset href
22859 LatexCommand href
22860 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
22861 literal "false"
22862
22863 \end_inset
22864
22865
22866 \end_layout
22867
22868 \end_inset
22869
22870  Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
22871  empieza automáticamen
22872 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
22873  de liberación/reserva conmuta al mismo régimen que para RCS.
22874  En particular, esto quiere decir que hay dos modos diferentes de uso archivos
22875  en \SpecialChar LyX
22876 :
22877 \end_layout
22878
22879 \begin_layout Itemize
22880 Estado no bloqueado.
22881  El archivo cargado está en modo solo lectura.
22882  Para editar hay que reservar.
22883  
22884 \emph on
22885 Reservar
22886 \emph default
22887  consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
22888  Si no es posible obtener el bloqueo permanece el estado no bloquedo.
22889 \end_layout
22890
22891 \begin_layout Itemize
22892 Estado bloqueado.
22893  El archivo cargado está en modo 
22894 \begin_inset Quotes cld
22895 \end_inset
22896
22897 normal
22898 \begin_inset Quotes crd
22899 \end_inset
22900
22901  de edición.
22902  Ningún otro usuario tiene permiso para editar el archivo.
22903  
22904 \emph on
22905 Liberar
22906 \emph default
22907  consiste en ingresar los cambios y liberar el bloqueo de escritura.
22908  Si no se han hecho cambios en el documento, no se producirá ningún ingreso
22909 \begin_inset Foot
22910 status collapsed
22911
22912 \begin_layout Plain Layout
22913 No te extrañe si de todas formas se te pide un mensaje de ingreso.
22914 \end_layout
22915
22916 \end_inset
22917
22918  y solo se realizará el desbloqueo de escritura.
22919 \end_layout
22920
22921 \begin_layout Standard
22922 Comandos SVN:
22923 \end_layout
22924
22925 \begin_layout Labeling
22926 \labelwidthstring 00.00.0000
22927 Liberar:
22928 \family typewriter
22929  svn commit -q -m"<description>" "<file-name>"
22930 \begin_inset Newline newline
22931 \end_inset
22932
22933 svn unlock "<file-name>"
22934 \end_layout
22935
22936 \begin_layout Labeling
22937 \labelwidthstring 00.00.0000
22938 Reservar
22939 \begin_inset Note Note
22940 status open
22941
22942 \begin_layout Plain Layout
22943 traduccion http://forum.wordreference.com/showthread.php?t=689994
22944 \end_layout
22945
22946 \end_inset
22947
22948
22949 \family typewriter
22950 svn update "<file-name>"
22951 \begin_inset Newline newline
22952 \end_inset
22953
22954 svn lock "<file-name>"
22955 \end_layout
22956
22957 \begin_layout Subsubsection
22958 Propiedad de bloqueo automático
22959 \begin_inset CommandInset label
22960 LatexCommand label
22961 name "subsec:SVN-Bloqueo-automático"
22962
22963 \end_inset
22964
22965
22966 \end_layout
22967
22968 \begin_layout Standard
22969 La configuración automática de los permisos de escritura del archivo .lyx
22970  se establece con 
22971 \begin_inset Flex Noun
22972 status collapsed
22973
22974 \begin_layout Plain Layout
22975 Archivo\SpecialChar menuseparator
22976 Control de versiones\SpecialChar menuseparator
22977 Use propiedad de bloqueo
22978 \end_layout
22979
22980 \end_inset
22981
22982 .
22983  Este comando está activo solo cuando el archivo no está bloqueado en el
22984  servidor svn (es decir, debes reservar antes de proceder).
22985 \end_layout
22986
22987 \begin_layout Labeling
22988 \labelwidthstring 00.00.0000
22989 Comandos
22990 \begin_inset space ~
22991 \end_inset
22992
22993 SVN:
22994 \end_layout
22995
22996 \begin_layout Labeling
22997 \labelwidthstring 00.00.0000
22998 Activar:
22999 \family typewriter
23000  svn propset svn:needs-lock ON "<file-name>"
23001 \end_layout
23002
23003 \begin_layout Labeling
23004 \labelwidthstring 00.00.0000
23005 Desactivar: 
23006 \family typewriter
23007 svn propdel svn:needs-lock "<file-name>"
23008 \end_layout
23009
23010 \begin_layout Subsubsection
23011 Información de revisión en documentos
23012 \begin_inset CommandInset label
23013 LatexCommand label
23014 name "subsec:VCS-Información-de-revisión"
23015
23016 \end_inset
23017
23018
23019 \end_layout
23020
23021 \begin_layout Standard
23022 Hay más posibilidades para activar la información de revisión en nuestro
23023  documento.
23024 \end_layout
23025
23026 \begin_layout Itemize
23027 \SpecialChar LyX
23028  lo soporta directamente.
23029 \end_layout
23030
23031 \begin_deeper
23032 \begin_layout Itemize
23033 Información de revisión del árbol (
23034 \begin_inset Flex Code
23035 status collapsed
23036
23037 \begin_layout Plain Layout
23038 vcs-tree-revision
23039 \end_layout
23040
23041 \end_inset
23042
23043 ).
23044  El resultado es la salida del comando 
23045 \begin_inset Flex Code
23046 status collapsed
23047
23048 \begin_layout Plain Layout
23049 svnversion
23050 \end_layout
23051
23052 \end_inset
23053
23054 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23055 \end_layout
23056
23057 \begin_layout Standard
23058 \align center
23059 \begin_inset Tabular
23060 <lyxtabular version="3" rows="6" columns="2">
23061 <features tabularvalignment="middle">
23062 <column alignment="center" valignment="top">
23063 <column alignment="center" valignment="top">
23064 <row>
23065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23066 \begin_inset Text
23067
23068 \begin_layout Plain Layout
23069 Salida
23070 \end_layout
23071
23072 \end_inset
23073 </cell>
23074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23075 \begin_inset Text
23076
23077 \begin_layout Plain Layout
23078 Significado
23079 \end_layout
23080
23081 \end_inset
23082 </cell>
23083 </row>
23084 <row>
23085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23086 \begin_inset Text
23087
23088 \begin_layout Plain Layout
23089 4123:4168
23090 \end_layout
23091
23092 \end_inset
23093 </cell>
23094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23095 \begin_inset Text
23096
23097 \begin_layout Plain Layout
23098 revisión mezclada de la copia de trabajo
23099 \end_layout
23100
23101 \end_inset
23102 </cell>
23103 </row>
23104 <row>
23105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23106 \begin_inset Text
23107
23108 \begin_layout Plain Layout
23109 4168M
23110 \end_layout
23111
23112 \end_inset
23113 </cell>
23114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23115 \begin_inset Text
23116
23117 \begin_layout Plain Layout
23118 copia de trabajo modificada
23119 \end_layout
23120
23121 \end_inset
23122 </cell>
23123 </row>
23124 <row>
23125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23126 \begin_inset Text
23127
23128 \begin_layout Plain Layout
23129 4123S
23130 \end_layout
23131
23132 \end_inset
23133 </cell>
23134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23135 \begin_inset Text
23136
23137 \begin_layout Plain Layout
23138 copia de trabajo conmutada
23139 \end_layout
23140
23141 \end_inset
23142 </cell>
23143 </row>
23144 <row>
23145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23146 \begin_inset Text
23147
23148 \begin_layout Plain Layout
23149 4123P
23150 \end_layout
23151
23152 \end_inset
23153 </cell>
23154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23155 \begin_inset Text
23156
23157 \begin_layout Plain Layout
23158 copia de trabajo parcial, de una reserva dispersa
23159 \end_layout
23160
23161 \end_inset
23162 </cell>
23163 </row>
23164 <row>
23165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23166 \begin_inset Text
23167
23168 \begin_layout Plain Layout
23169 4123:4168MS
23170 \end_layout
23171
23172 \end_inset
23173 </cell>
23174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23175 \begin_inset Text
23176
23177 \begin_layout Plain Layout
23178 copia de trabajo de revisión mezclada, modificada, conmutada
23179 \end_layout
23180
23181 \end_inset
23182 </cell>
23183 </row>
23184 </lyxtabular>
23185
23186 \end_inset
23187
23188
23189 \end_layout
23190
23191 \begin_layout Itemize
23192 Información de revisión del archivo.
23193  El resultado del análisis de la salida de 
23194 \begin_inset Flex Code
23195 status collapsed
23196
23197 \begin_layout Plain Layout
23198 svn
23199 \begin_inset space ~
23200 \end_inset
23201
23202 info
23203 \begin_inset space ~
23204 \end_inset
23205
23206 --xml
23207 \begin_inset space ~
23208 \end_inset
23209
23210 file.lyx
23211 \end_layout
23212
23213 \end_inset
23214
23215 .
23216  Los argumentos soportados son:
23217 \end_layout
23218
23219 \begin_deeper
23220 \begin_layout Itemize
23221 número de versión del último ingreso (
23222 \begin_inset Flex Code
23223 status collapsed
23224
23225 \begin_layout Plain Layout
23226 vcs-revision
23227 \end_layout
23228
23229 \end_inset
23230
23231 )
23232 \end_layout
23233
23234 \begin_layout Itemize
23235 autordel último ingreso (
23236 \begin_inset Flex Code
23237 status collapsed
23238
23239 \begin_layout Plain Layout
23240 vcs-author
23241 \end_layout
23242
23243 \end_inset
23244
23245 )
23246 \end_layout
23247
23248 \begin_layout Itemize
23249 fecha del último ingreso (
23250 \begin_inset Flex Code
23251 status collapsed
23252
23253 \begin_layout Plain Layout
23254 vcs-date
23255 \end_layout
23256
23257 \end_inset
23258
23259 )
23260 \end_layout
23261
23262 \begin_layout Itemize
23263 hora del último ingreso (
23264 \begin_inset Flex Code
23265 status collapsed
23266
23267 \begin_layout Plain Layout
23268 vcs-time
23269 \end_layout
23270
23271 \end_inset
23272
23273 )
23274 \end_layout
23275
23276 \end_deeper
23277 \begin_layout Standard
23278 Puedes obtener esta información mediante InsetInfo (p.
23279 \begin_inset space \thinspace{}
23280 \end_inset
23281
23282 ej.
23283  
23284 \begin_inset Flex Code
23285 status collapsed
23286
23287 \begin_layout Plain Layout
23288 info-insert buffer vcs-date
23289 \end_layout
23290
23291 \end_inset
23292
23293 ).
23294  La información estará disponible solo cuando tengas el arvhivo almacenado
23295  bajo administración svn (es decir, el directorio 
23296 \begin_inset Flex Code
23297 status collapsed
23298
23299 \begin_layout Plain Layout
23300 .svn
23301 \end_layout
23302
23303 \end_inset
23304
23305  está disponible con tu documento).
23306 \end_layout
23307
23308 \end_deeper
23309 \begin_layout Itemize
23310 Otra posibilidad —de 
23311 \emph on
23312 hacker
23313 \emph default
23314 — es usar claves svn 
23315 \begin_inset Foot
23316 status collapsed
23317
23318 \begin_layout Plain Layout
23319 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23320 \end_layout
23321
23322 \end_inset
23323
23324 .
23325  Estableces la propiedad de claves de archivo (p.
23326 \begin_inset space \thinspace{}
23327 \end_inset
23328
23329 ej.
23330  
23331 \family sans
23332 svn propset svn:keywords 'Rev' file.lyx
23333 \family default
23334 ) y luego pegas la clave en código \SpecialChar TeX
23335
23336 \begin_inset Foot
23337 status collapsed
23338
23339 \begin_layout Plain Layout
23340 Esta es una manera fácil de asegurar que \SpecialChar LyX
23341  no quiebre la línea en mitad de
23342  la clave.
23343 \end_layout
23344
23345 \end_inset
23346
23347  en tu documento (p.
23348 \begin_inset space \thinspace{}
23349 \end_inset
23350
23351 ej.
23352  
23353 \lang english
23354
23355 \begin_inset Flex Code
23356 status collapsed
23357
23358 \begin_layout Plain Layout
23359
23360 \lang english
23361 $Rev$
23362 \end_layout
23363
23364 \end_inset
23365
23366
23367 \lang spanish
23368 ).
23369  De esta manera el cliente svn sustituirá automáticamente el número de revisión
23370  (p.
23371 \begin_inset space \thinspace{}
23372 \end_inset
23373
23374 ej.
23375  
23376 \lang english
23377
23378 \begin_inset Flex Code
23379 status collapsed
23380
23381 \begin_layout Plain Layout
23382
23383 \lang english
23384 $Rev: 59 $
23385 \end_layout
23386
23387 \end_inset
23388
23389
23390 \lang spanish
23391 ) tras cada actualización e ingreso.
23392  Hay otros problemas con este enfoque.
23393  Primero, el carácter '$' se usa en \SpecialChar TeX
23394  para expresiones matemáticas, de modo
23395  que cualquier aparición de una fórmula 
23396 \begin_inset Formula $Rev$
23397 \end_inset
23398
23399  se convierte en 
23400 \begin_inset Formula $Rev:59$
23401 \end_inset
23402
23403  en tu documento \SpecialChar LyX
23404 .
23405  Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23406  Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23407  svn produzca alguna cadena problemática al usar Date.
23408  Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23409  de solo el número.
23410  Hasta que subversion implemente claves personalizadas por el usuario será
23411  pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23412  soportarlo directamente.
23413 \end_layout
23414
23415 \begin_layout Subsection
23416 SVN y entorno Windows
23417 \end_layout
23418
23419 \begin_layout Quote
23420 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23421  las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23422  —P.
23423 \begin_inset space \thinspace{}
23424 \end_inset
23425
23426 A.
23427 \begin_inset space \thinspace{}
23428 \end_inset
23429
23430 Rubin.
23431 \end_layout
23432
23433 \begin_layout Subsubsection
23434 Preparación
23435 \end_layout
23436
23437 \begin_layout Standard
23438 Además de instalar \SpecialChar LyX
23439  y tener acceso al repositorio de Subversion, el usuario
23440  deberá instalar el programa cliente de Subversion.
23441  En 
23442 \begin_inset CommandInset href
23443 LatexCommand href
23444 name "CollabNet"
23445 target "http://www.collab.net/nonav/downloads/subversion/"
23446 literal "false"
23447
23448 \end_inset
23449
23450  hay disponible un instalador para Windows.
23451  Además, al usuario le puede interesar instalar 
23452 \begin_inset CommandInset href
23453 LatexCommand href
23454 name "TortoiseSVN"
23455 target "http://tortoisesvn.tigris.org/"
23456 literal "false"
23457
23458 \end_inset
23459
23460 , que integra las operaciones de Subversion en el menú contextual (clic
23461  derecho) del Explorador de Windows.
23462  Las operaciones hechas fuera de \SpecialChar LyX
23463  generalmente son más convenientes en el
23464  menú contextual del Explorador.
23465  Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23466  cliente, que es lo que usa el propio \SpecialChar LyX
23467 .
23468 \end_layout
23469
23470 \begin_layout Subsubsection
23471 Poner un documento bajo control de Subversion
23472 \end_layout
23473
23474 \begin_layout Standard
23475 Antes de poner un documento \SpecialChar LyX
23476  bajo control de Subversion, su directorio padre
23477  debe estar bajo control de versiones.
23478  Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23479  se lleva a cabo comprobando el directorio donde se incluirá el documento
23480  nuevo.
23481  Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23482  el documento inicia un proyecto nuevo), hay que importar el directorio
23483  al repositorio.
23484  Esto se hace fuera de \SpecialChar LyX
23485 .
23486  Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23487  del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23488  de comandos en DOS.
23489  El procedimiento para importar el proyecto con TortoiseSVN se describe
23490  abajo, suponiendo que hay un repositorio y un proyecto nuevo en 
23491 \family typewriter
23492 C:
23493 \backslash
23494 new project
23495 \family default
23496 .
23497  Para información sobre el uso del programa cliente de Subversion, ejecuta
23498  
23499 \family typewriter
23500 svn 
23501 \family default
23502
23503 \begin_inset Flex Code
23504 status collapsed
23505
23506 \begin_layout Plain Layout
23507 --help
23508 \end_layout
23509
23510 \end_inset
23511
23512  en línea de comandos de DOS.
23513 \end_layout
23514
23515 \begin_layout Enumerate
23516 Localiza 
23517 \family typewriter
23518 C:
23519 \backslash
23520 new project 
23521 \family default
23522 en el Explorador de Windows, clic derecho y selecciona 
23523 \family sans
23524 TortoiseSVN\SpecialChar menuseparator
23525 Repo-browser
23526 \family default
23527 .
23528  Si es preciso ajusta el URL para el repositorio, y pulsa OK.
23529 \end_layout
23530
23531 \begin_layout Enumerate
23532 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
23533  la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa 
23534 \family sans
23535 Create folder
23536 \family default
23537  Da nombre a la carpeta y pulsa OK.
23538  Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
23539  La carpeta del nuevo proyecto debería figurar en el repositorio.
23540  Por último, OK de nuevo para salir del navegador del repositorio.
23541 \end_layout
23542
23543 \begin_layout Enumerate
23544 Haz otra vez clic derecho en 
23545 \family typewriter
23546 C:
23547 \backslash
23548 new project
23549 \family default
23550 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
23551  acabas de crear en el repositorio y ajusta el directorio a 
23552 \family typewriter
23553 C:
23554 \backslash
23555 new project.
23556
23557 \family default
23558  Pulsa OK.
23559  Serás avisado sobre una carpeta no vacía; OK para continuar.
23560  Ahora debería haber un directorio 
23561 \family typewriter
23562 .svn
23563 \family default
23564  bajo 
23565 \family typewriter
23566 C:
23567 \backslash
23568 new project.
23569 \end_layout
23570
23571 \begin_layout Enumerate
23572 Crea o abre tu documento en \SpecialChar LyX
23573  y abre 
23574 \family sans
23575 Archivo\SpecialChar menuseparator
23576 Control de versiones\SpecialChar menuseparator
23577 Registrar
23578 \family default
23579 .
23580  Añade un mensaje de registro y pulsa OK para someter el documento a control
23581  de versión.
23582 \end_layout
23583
23584 \begin_layout Standard
23585 De aquí en adelante deberías tener funcionalidad completa en el menú 
23586 \family sans
23587 Archivo\SpecialChar menuseparator
23588 Control de versiones
23589 \family default
23590 .
23591  Además tienes la opción de comprobar el documento entrante y saliente,
23592  ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
23593  o en la línea de comandos del programa cliente de Subversion.
23594  
23595 \end_layout
23596
23597 \begin_layout Subsubsection
23598 SSH tunnel con SVN bajo Windows
23599 \end_layout
23600
23601 \begin_layout Standard
23602 Comparado con la configuración del cliente svn en Linux para comunicar sobre
23603  ssh, bajo Windows es una tarea es bastante más molesta.
23604  Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
23605  hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
23606  y estar preparados para grandes dosis de frustración\SpecialChar ldots
23607
23608 \end_layout
23609
23610 \begin_layout Enumerate
23611 Obtén un cliente svn para windows, como se describe en secciones anteriores.
23612  Si es una instalación nueva ejecuta algún comando para crear los archivos
23613  de configuración (p.
23614 \begin_inset space \thinspace{}
23615 \end_inset
23616
23617 ej.
23618  
23619 \begin_inset Flex Code
23620 status collapsed
23621
23622 \begin_layout Plain Layout
23623 svn --version
23624 \end_layout
23625
23626 \end_inset
23627
23628 ), que deberás cambiar más tarde.
23629 \end_layout
23630
23631 \begin_layout Enumerate
23632 Elige un cliente ssh para Windows.
23633  Hay varias opciones, aquí usaremos el de Putty tools
23634 \begin_inset Foot
23635 status open
23636
23637 \begin_layout Plain Layout
23638 \begin_inset Flex URL
23639 status collapsed
23640
23641 \begin_layout Plain Layout
23642
23643 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
23644 \end_layout
23645
23646 \end_inset
23647
23648
23649 \end_layout
23650
23651 \end_inset
23652
23653 .
23654  Tendrás que configurar la conexión para que el cliente no pia contraseña.
23655  Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
23656  de contraseña, etc.
23657 \end_layout
23658
23659 \begin_deeper
23660 \begin_layout Enumerate
23661 Genera las claves con 
23662 \begin_inset Flex Code
23663 status collapsed
23664
23665 \begin_layout Plain Layout
23666 puttygen
23667 \end_layout
23668
23669 \end_inset
23670
23671 .
23672  Guarda tu clave privada .ppk y pon la pública en el servidor.
23673  Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
23674  clave pública no es compatible con openssh Linux y tendrás que copiar y
23675  pegar directamente la clave desde el campo de edición “
23676 \emph on
23677 Public key for pasting into OpenSSH authorized_keys file
23678 \emph default
23679 :” en el archivo del servidor 
23680 \begin_inset Flex Code
23681 status collapsed
23682
23683 \begin_layout Plain Layout
23684 ~/.ssh/authorized_keys
23685 \end_layout
23686
23687 \end_inset
23688
23689
23690 \begin_inset Flex Code
23691 status collapsed
23692
23693 \begin_layout Plain Layout
23694 authorized_keys2
23695 \end_layout
23696
23697 \end_inset
23698
23699 .
23700 \end_layout
23701
23702 \begin_layout Enumerate
23703 Obtén el 
23704 \begin_inset Flex Code
23705 status collapsed
23706
23707 \begin_layout Plain Layout
23708 plink
23709 \end_layout
23710
23711 \end_inset
23712
23713  de Putty.
23714  En el archivo de configuración SVN
23715 \begin_inset Foot
23716 status collapsed
23717
23718 \begin_layout Plain Layout
23719 La ruta exacta depende de la versión de Windows, usualmente algo como 
23720 \begin_inset Flex Code
23721 status collapsed
23722
23723 \begin_layout Plain Layout
23724 c:
23725 \backslash
23726 Documents and Settings
23727 \backslash
23728 user
23729 \backslash
23730 Application Data
23731 \backslash
23732 Subversion
23733 \backslash
23734 config
23735 \end_layout
23736
23737 \end_inset
23738
23739  / 
23740 \begin_inset Flex Code
23741 status collapsed
23742
23743 \begin_layout Plain Layout
23744 AppData
23745 \backslash
23746 Roaming
23747 \backslash
23748 Subversion
23749 \end_layout
23750
23751 \end_inset
23752
23753 .
23754 \end_layout
23755
23756 \end_inset
23757
23758 , sección [tunnels], configura el comando ssh, p.
23759 \begin_inset space \thinspace{}
23760 \end_inset
23761
23762 ej.
23763  
23764 \begin_inset Flex Code
23765 status collapsed
23766
23767 \begin_layout Plain Layout
23768 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
23769 \end_layout
23770
23771 \end_inset
23772
23773 .
23774 \begin_inset Foot
23775 status open
23776
23777 \begin_layout Plain Layout
23778 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
23779  Por ejemplo, no tener algún servidor remoto guardado como predeterminado
23780  en Putty etc.
23781  Si falla, intenta primero conectar vía plink sin SVN.
23782 \end_layout
23783
23784 \end_inset
23785
23786
23787 \end_layout
23788
23789 \end_deeper
23790 \begin_layout Enumerate
23791 Reserva el archivo SVN, p.
23792 \begin_inset space \thinspace{}
23793 \end_inset
23794
23795 ej.
23796 \begin_inset Newline newline
23797 \end_inset
23798
23799
23800 \begin_inset Flex Code
23801 status collapsed
23802
23803 \begin_layout Plain Layout
23804 svn co svn+ssh://user@server/repository_path
23805 \end_layout
23806
23807 \end_inset
23808
23809 .
23810 \end_layout
23811
23812 \begin_layout Subsubsection
23813 Conversiones de los finales de línea
23814 \end_layout
23815
23816 \begin_layout Standard
23817 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
23818  usará distintos
23819  finales de línea en los archivos .lyx.
23820  Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
23821 , pero
23822  los archivos diff de los ingresos serán enormes y propensos a conflictos
23823  de fusión.
23824  Afortunadamente SVN sabe por sí mismo
23825 \begin_inset Foot
23826 status open
23827
23828 \begin_layout Plain Layout
23829 \begin_inset Flex URL
23830 status collapsed
23831
23832 \begin_layout Plain Layout
23833
23834 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
23835 \end_layout
23836
23837 \end_inset
23838
23839
23840 \end_layout
23841
23842 \end_inset
23843
23844  como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
23845  archivos .lyx al modo 
23846 \begin_inset Flex Code
23847 status collapsed
23848
23849 \begin_layout Plain Layout
23850 native
23851 \end_layout
23852
23853 \end_inset
23854
23855 .
23856 \begin_inset Foot
23857 status open
23858
23859 \begin_layout Plain Layout
23860 Para los perezosos: 
23861 \begin_inset Flex Code
23862 status collapsed
23863
23864 \begin_layout Plain Layout
23865 svn propset svn:eol-style native FILE_NAME
23866 \end_layout
23867
23868 \end_inset
23869
23870
23871 \end_layout
23872
23873 \end_inset
23874
23875
23876 \end_layout
23877
23878 \begin_layout Subsection
23879 Comandos GIT en \SpecialChar LyX
23880
23881 \end_layout
23882
23883 \begin_layout Standard
23884 \SpecialChar LyX
23885  soporta un conjunto mínimo de comandos GIT.
23886  Se encuentra en el submenú 
23887 \family sans
23888 Archivo\SpecialChar menuseparator
23889 Control de versiones
23890 \family default
23891 .
23892  Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
23893  vía ssh, ésta se pedirá en una ventana de terminal.
23894  \SpecialChar LyX
23895  se ha probado con GIT 1.7.
23896  
23897 \end_layout
23898
23899 \begin_layout Standard
23900 Una gran diferencia entre GIT y los demás sistemas de control de versiones
23901  soportados es la naturaleza distribuida de GIT: con los sistemas de control
23902  de versiones tradicionales hay un servidor central que aloja el repositorio.
23903  Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
23904  hechas por otros.
23905  Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
23906  sincronizar con uno o más repositorios remotos usando los comandos GIT
23907  
23908 \begin_inset Flex Code
23909 status collapsed
23910
23911 \begin_layout Plain Layout
23912 pull
23913 \end_layout
23914
23915 \end_inset
23916
23917  y 
23918 \begin_inset Flex Code
23919 status collapsed
23920
23921 \begin_layout Plain Layout
23922 push
23923 \end_layout
23924
23925 \end_inset
23926
23927 .
23928  \SpecialChar LyX
23929  no interactúa de ninguna forma con los repositorios GIT remotos.
23930  Trabaja exclusivamente con el repositorio local de manera similar a como
23931  con un repositorio CVS o SVN.
23932  Si usas repositorios GIT remotos debes hacer las operaciones 
23933 \begin_inset Flex Code
23934 status collapsed
23935
23936 \begin_layout Plain Layout
23937 pull
23938 \end_layout
23939
23940 \end_inset
23941
23942  y 
23943 \begin_inset Flex Code
23944 status collapsed
23945
23946 \begin_layout Plain Layout
23947 push
23948 \end_layout
23949
23950 \end_inset
23951
23952  con tu cliente GIT favorito.
23953 \end_layout
23954
23955 \begin_layout Subsubsection
23956 Registrar
23957 \end_layout
23958
23959 \begin_layout Standard
23960 Si el documento no está bajo control de versiones, éste es el único ítem
23961  mostrado en el menú.
23962  Si está bajo control de versiones 
23963 \family sans
23964 Registrar
23965 \family default
23966  no es visible.
23967 \end_layout
23968
23969 \begin_layout Standard
23970 Este comando registra el documento en GIT sólo en el caso de que el directorio
23971  de los documentos esté ya bajo control de GIT (en particular, existe el
23972  archivo 
23973 \family typewriter
23974 .git/index
23975 \family default
23976 ).
23977  Esto quiere decir que debes reservar
23978 \begin_inset Note Note
23979 status open
23980
23981 \begin_layout Plain Layout
23982 checkout
23983 \end_layout
23984
23985 \end_inset
23986
23987  el archivo por ti mismo.
23988 \end_layout
23989
23990 \begin_layout Standard
23991 Entonces se pedirá de forma interactiva una descripción inicial del documento.
23992  No olvides que el archivo registrado aún no ha sido ingresado.
23993 \end_layout
23994
23995 \begin_layout Standard
23996 El comando GIT que se ejecuta: 
23997 \family typewriter
23998 git add 
23999 \begin_inset Quotes eld
24000 \end_inset
24001
24002 <file-name>
24003 \end_layout
24004
24005 \begin_layout Standard
24006 Consulta 
24007 \family typewriter
24008 man git
24009 \family default
24010  para entender los conmutadores.
24011  
24012 \end_layout
24013
24014 \begin_layout Subsubsection
24015 Liberar cambios
24016 \end_layout
24017
24018 \begin_layout Standard
24019 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24020  Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24021 \end_layout
24022
24023 \begin_layout Standard
24024 Comando GIT: 
24025 \family typewriter
24026 git commit -q -m"<description>" <file-name>
24027 \end_layout
24028
24029 \begin_layout Subsubsection
24030 Volver a la versión del repositorio
24031 \end_layout
24032
24033 \begin_layout Standard
24034 Descartará los cambios hechos en el documento desde la última liberación.
24035  Hay un aviso antes de descartar los cambios.
24036 \end_layout
24037
24038 \begin_layout Standard
24039 Comando GIT: 
24040 \family typewriter
24041 git checkout -q 
24042 \lang english
24043
24044 \begin_inset Quotes qld
24045 \end_inset
24046
24047
24048 \lang spanish
24049 <file-name>
24050 \lang english
24051
24052 \begin_inset Quotes qld
24053 \end_inset
24054
24055
24056 \end_layout
24057
24058 \begin_layout Subsubsection
24059 Renombrar
24060 \end_layout
24061
24062 \begin_layout Standard
24063 Renombrará el documento actual incluyendo el historial de versiones.
24064  Requiere un documento limpio sin ningún cambio desde la última liberación.
24065  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24066  Después se renombra el documento localmente y en el repositorio.
24067  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24068  se ajustan todas las rutas relativas de los archivos incluidos (como en
24069  
24070 \family sans
24071 Archivo\SpecialChar menuseparator
24072 Guardar como
24073 \family default
24074 \SpecialChar ldots
24075 ).
24076  Por último, se recarga el documento con su nuevo nombre.
24077 \end_layout
24078
24079 \begin_layout Labeling
24080 \labelwidthstring 00.00.0000
24081 Comandos
24082 \begin_inset space ~
24083 \end_inset
24084
24085 GIT: 
24086 \begin_inset space ~
24087 \end_inset
24088
24089
24090 \begin_inset Newline newline
24091 \end_inset
24092
24093
24094 \begin_inset Flex Code
24095 status collapsed
24096
24097 \begin_layout Plain Layout
24098 git mv 
24099 \family typewriter
24100 \lang english
24101
24102 \begin_inset Quotes qld
24103 \end_inset
24104
24105
24106 \family default
24107 \lang spanish
24108 <file-name>
24109 \family typewriter
24110 \lang english
24111
24112 \begin_inset Quotes qld
24113 \end_inset
24114
24115
24116 \family default
24117 \lang spanish
24118  
24119 \family typewriter
24120 \lang english
24121
24122 \begin_inset Quotes qld
24123 \end_inset
24124
24125
24126 \family default
24127 \lang spanish
24128 <new-file-name>
24129 \family typewriter
24130 \lang english
24131
24132 \begin_inset Quotes qld
24133 \end_inset
24134
24135
24136 \end_layout
24137
24138 \end_inset
24139
24140
24141 \begin_inset Newline newline
24142 \end_inset
24143
24144
24145 \begin_inset Flex Code
24146 status collapsed
24147
24148 \begin_layout Plain Layout
24149 git commit
24150 \end_layout
24151
24152 \end_inset
24153
24154
24155 \end_layout
24156
24157 \begin_layout Subsubsection
24158 Mostrar historial
24159 \end_layout
24160
24161 \begin_layout Standard
24162 Muestra el historial completo del documento GIT.
24163  La salida de 
24164 \family typewriter
24165 git log 
24166 \lang english
24167
24168 \begin_inset Quotes qld
24169 \end_inset
24170
24171
24172 \lang spanish
24173 <file-name>
24174 \lang english
24175
24176 \begin_inset Quotes qld
24177 \end_inset
24178
24179
24180 \family default
24181 \lang spanish
24182  se muestra en un buscador.
24183 \end_layout
24184
24185 \begin_layout Subsubsection
24186 Información de la versión
24187 \end_layout
24188
24189 \begin_layout Standard
24190 \SpecialChar LyX
24191  soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24192  del último ingreso.
24193  Todos se obtienen de 
24194 \begin_inset Flex Code
24195 status collapsed
24196
24197 \begin_layout Plain Layout
24198 git log -n 1 --pretty=format:%H%n%an%n%ai
24199 \end_layout
24200
24201 \end_inset
24202
24203 .
24204  La información de l versión del árbol se obtiene vía 
24205 \begin_inset Flex Code
24206 status collapsed
24207
24208 \begin_layout Plain Layout
24209 git describe --abbrev --dirty --long
24210 \end_layout
24211
24212 \end_inset
24213
24214 .
24215  Véase 
24216 \begin_inset CommandInset ref
24217 LatexCommand ref
24218 reference "subsec:VCS-Información-de-revisión"
24219
24220 \end_inset
24221
24222  para otros detalles.
24223 \end_layout
24224
24225 \begin_layout Subsection
24226 Ajustes adicionales
24227 \end_layout
24228
24229 \begin_layout Standard
24230 Con la reciente adición de la función 
24231 \family typewriter
24232 vc-command
24233 \family default
24234 , los usuarios que exprimen la potencia de \SpecialChar LyX
24235  pueden crear sus propios comandos
24236  para el control de revisiones.
24237 \end_layout
24238
24239 \begin_layout Standard
24240 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24241 \end_layout
24242
24243 \begin_layout Description
24244 Ingresar: 
24245 \begin_inset Flex Code
24246 status collapsed
24247
24248 \begin_layout Plain Layout
24249 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24250 \end_layout
24251
24252 \end_inset
24253
24254
24255 \end_layout
24256
24257 \begin_layout Description
24258 Revertir: 
24259 \begin_inset Flex Code
24260 status collapsed
24261
24262 \begin_layout Plain Layout
24263 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24264 \end_layout
24265
24266 \end_inset
24267
24268
24269 \end_layout
24270
24271 \begin_layout Subsection
24272 Control de versiones y comparación de documentos
24273 \end_layout
24274
24275 \begin_layout Standard
24276 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24277  entre revisiones, usualmente creando volcados 
24278 \begin_inset Flex Code
24279 status collapsed
24280
24281 \begin_layout Plain Layout
24282 diff
24283 \end_layout
24284
24285 \end_inset
24286
24287 .
24288  Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24289  en archivos de \SpecialChar LyX
24290 , que tienen una estructura más complicada.
24291  Por tanto, proporcionamos caminos para la característica de comparar documentos.
24292  Hay dos maneras de iniciar esta función, una por llamada directa a 
24293 \family typewriter
24294 \lang english
24295 vc-compare
24296 \family default
24297 \lang spanish
24298  (véase el manual Funciones de \SpecialChar LyX
24299  para detalles) y otra con el
24300 \lang english
24301  toolbar 
24302 \lang spanish
24303 icono o menú 
24304 \lang english
24305
24306 \begin_inset Info
24307 type  "menu"
24308 arg   "vc-compare"
24309 \end_inset
24310
24311
24312 \lang spanish
24313 .
24314  Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24315  la versión actual del texto editado con revisiones anteriores (donde '
24316 \begin_inset Flex Code
24317 status collapsed
24318
24319 \begin_layout Plain Layout
24320 0
24321 \end_layout
24322
24323 \end_inset
24324
24325 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24326  revisión remitida).
24327  
24328 \end_layout
24329
24330 \begin_layout Standard
24331 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24332  de versiones más complicado de RCS hay una restricción, en la dirección
24333  de las revisiones en el diálogo, los números siempre apuntan al último
24334  número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24335
24336 \lang english
24337  We don't currently support GIT addressing of revisions, one can just compare
24338  edited document with its revision X steps backs, where X is addressed as
24339  
24340 \begin_inset Flex Code
24341 status collapsed
24342
24343 \begin_layout Plain Layout
24344
24345 \lang english
24346 HEAD~X
24347 \end_layout
24348
24349 \end_inset
24350
24351 .
24352 \end_layout
24353
24354 \begin_layout Section
24355 Programación literaria
24356 \end_layout
24357
24358 \begin_layout Standard
24359 Actualizado por 
24360 \noun on
24361 Kayvan Sylvan 
24362 \noun default
24363 (kayvan@sylvan.com)
24364 \noun on
24365
24366 \noun default
24367 documentación original de 
24368 \noun on
24369 Edmar Wienskoski Jr.
24370
24371 \noun default
24372  (edmar-w-jr@technologist.com)
24373 \end_layout
24374
24375 \begin_layout Subsection
24376 Introducción
24377 \end_layout
24378
24379 \begin_layout Standard
24380 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24381  para
24382  escribir programación literaria
24383 \series medium
24384
24385 \begin_inset Foot
24386 status collapsed
24387
24388 \begin_layout Plain Layout
24389 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24390  
24391 \emph on
24392 (N.
24393 \begin_inset space \thinspace{}
24394 \end_inset
24395
24396 del t.)
24397 \end_layout
24398
24399 \end_inset
24400
24401
24402 \series default
24403 .
24404  Se supone que la técnica de la programación te resulta familiar y sabes
24405  lo que significan términos como 
24406 \begin_inset Quotes cld
24407 \end_inset
24408
24409 tangling
24410 \begin_inset Quotes crd
24411 \end_inset
24412
24413  y 
24414 \begin_inset Quotes cld
24415 \end_inset
24416
24417 weaving
24418 \begin_inset Quotes crd
24419 \end_inset
24420
24421
24422 \begin_inset Foot
24423 status collapsed
24424
24425 \begin_layout Plain Layout
24426 Generación del código y de la documentación, respectivamente.
24427  (
24428 \emph on
24429 N.
24430 \begin_inset space \thinspace{}
24431 \end_inset
24432
24433 del t.
24434 \emph default
24435 )
24436 \end_layout
24437
24438 \end_inset
24439
24440 .
24441  Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24442  Hay mucha y buena documentación que abarca desde la historia de los inicios
24443  de la programación hasta las últimas herramientas y trucos.
24444 \end_layout
24445
24446 \begin_layout Standard
24447 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24448  hasta el punto
24449  de conocer cómo cambiar las preferencias y el archivo de recursos X.
24450  Si no es así acude al resto de documentación de \SpecialChar LyX
24451  en función de tus necesidades.
24452 \end_layout
24453
24454 \begin_layout Subsection
24455 Programación literaria
24456 \end_layout
24457
24458 \begin_layout Standard
24459 Extraído de las PUF: 
24460 \end_layout
24461
24462 \begin_layout Quotation
24463 En la programación literaria se combinan documentación y código fuente de
24464  manera legible para los seres humanos.
24465  ¡De hecho, la programación literaria debería ser de lectura agradable,
24466  incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24467 !) En general,
24468  en la escritura de los programas se combinan código y documentación en
24469  el mismo archivo.
24470  Las herramientas de programación literaria analizan después el archivo
24471  y pueden generar la documentación o el código fuente compilable por separado.
24472  El estilo WEB de programación fue creado por 
24473 \noun on
24474 D.
24475 \begin_inset space \thinspace{}
24476 \end_inset
24477
24478 E.
24479 \begin_inset space \thinspace{}
24480 \end_inset
24481
24482 Knuth
24483 \noun default
24484  mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24485 .
24486 \end_layout
24487
24488 \begin_layout Standard
24489 Otro extracto:
24490 \end_layout
24491
24492 \begin_layout Quotation
24493
24494 \emph on
24495 ¿En qué se diferencian la programación literaria y 
24496 \emph default
24497 e
24498 \emph on
24499 l comentario literal?
24500 \end_layout
24501
24502 \begin_layout Quotation
24503 Hay tres rasgos distintivos, que son, por orden de importancia: 
24504 \end_layout
24505
24506 \begin_deeper
24507 \begin_layout Itemize
24508 orden de elaboración flexible 
24509 \end_layout
24510
24511 \begin_layout Itemize
24512 soporte automático de búsqueda 
24513 \end_layout
24514
24515 \begin_layout Itemize
24516 documentación bien presentada, especialmente los diagramas y las matemáticas.
24517  
24518 \end_layout
24519
24520 \end_deeper
24521 \begin_layout Standard
24522 Y ahora que he despertado tu curiosidad, veamos las referencias.
24523 \end_layout
24524
24525 \begin_layout Subsubsection
24526 Referencias
24527 \end_layout
24528
24529 \begin_layout Standard
24530 Las FAQ completas de 
24531 \begin_inset Quotes cld
24532 \end_inset
24533
24534 Literate Programming
24535 \begin_inset Quotes crd
24536 \end_inset
24537
24538  se encuentran en:
24539 \end_layout
24540
24541 \begin_layout Quote
24542 Literate Programming FAQ: 
24543 \begin_inset Flex URL
24544 status collapsed
24545
24546 \begin_layout Plain Layout
24547
24548 http://www.literateprogramming.com/lpfaq.pdf
24549 \end_layout
24550
24551 \end_inset
24552
24553
24554 \end_layout
24555
24556 \begin_layout Standard
24557 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24558  literaria.
24559  Algunas son específicas de lenguajes de programación particulares, otras
24560  son de aplicación general.
24561  He seleccionado la herramienta 
24562 \noun on
24563 Noweb
24564 \noun default
24565  para mi uso personal por varias razones:
24566 \end_layout
24567
24568 \begin_layout Itemize
24569 Puede generar la documentación en \SpecialChar LaTeX
24570  o en HTML.
24571 \end_layout
24572
24573 \begin_layout Itemize
24574 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24575 \lang english
24576
24577 \begin_inset Foot
24578 status open
24579
24580 \begin_layout Plain Layout
24581
24582 \emph on
24583 \lang english
24584 Filters 
24585 \emph default
24586 are programs that read a given data stream and output a manipulated data
24587  stream.
24588  That way, a WEB file (consisting of literate code) can be turned into a
24589  file consisting only of C program code or \SpecialChar LaTeX
24590  code.
24591 \end_layout
24592
24593 \end_inset
24594
24595
24596 \lang spanish
24597  y hacer procesamientos especiales según las necesidades.
24598  
24599 \end_layout
24600
24601 \begin_layout Itemize
24602 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24603 \end_layout
24604
24605 \begin_layout Itemize
24606 Es libre.
24607 \end_layout
24608
24609 \begin_layout Standard
24610 La página web de Noweb es: 
24611 \end_layout
24612
24613 \begin_layout Quote
24614 Página de inicio de Noweb 
24615 \begin_inset Flex URL
24616 status collapsed
24617
24618 \begin_layout Plain Layout
24619
24620 https://www.cs.tufts.edu/~nr/noweb/
24621 \end_layout
24622
24623 \end_inset
24624
24625
24626 \end_layout
24627
24628 \begin_layout Standard
24629 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
24630 ón en formato literario.
24631 \end_layout
24632
24633 \begin_layout Subsection
24634 \SpecialChar LyX
24635  y la programación literaria con Noweb
24636 \end_layout
24637
24638 \begin_layout Standard
24639 \SpecialChar LyX
24640  soporta Programación Literaria mediante el mecanismo de gestión de convertidore
24641 s.
24642  Este soporte se proporciona 
24643 \begin_inset Quotes cld
24644 \end_inset
24645
24646 independiente de Noweb
24647 \begin_inset Quotes crd
24648 \end_inset
24649
24650 , es decir, podrás usar esta nueva función de \SpecialChar LyX
24651  con algunas otras herramientas
24652  de programación literaria, cuya elección puedes hacer en las preferencias
24653  de \SpecialChar LyX
24654 .
24655 \end_layout
24656
24657 \begin_layout Subsubsection
24658 Generación de documentos y de código («weaving and tangling»)
24659 \end_layout
24660
24661 \begin_layout Paragraph
24662 Usando el módulo noweb
24663 \end_layout
24664
24665 \begin_layout Standard
24666 Con \SpecialChar LyX
24667  y Noweb instalados, al abrir un documento nuevo y después de elegir
24668  la clase de documento selecciona el módulo 
24669 \begin_inset Quotes cld
24670 \end_inset
24671
24672 Noweb
24673 \begin_inset Quotes crd
24674 \end_inset
24675
24676  en 
24677 \family sans
24678 Documento\SpecialChar menuseparator
24679 Configuración\SpecialChar menuseparator
24680 Módulos
24681 \family default
24682 .
24683  Si Noweb está instalado correctamente podrás pulsar 
24684 \family sans
24685 Añadir
24686 \family default
24687  para usarlo en tu documento.
24688 \end_layout
24689
24690 \begin_layout Paragraph
24691 Escribiendo código
24692 \end_layout
24693
24694 \begin_layout Standard
24695 \SpecialChar LyX
24696  proporciona el 
24697 \lang english
24698 custom inset
24699 \lang spanish
24700  
24701 \lang english
24702
24703 \begin_inset Flex Noun
24704 status collapsed
24705
24706 \begin_layout Plain Layout
24707 Trozo
24708 \end_layout
24709
24710 \end_inset
24711
24712
24713 \family sans
24714 \lang spanish
24715  
24716 \family default
24717 para escribir código.
24718  Noweb delimita trozos como éste:
24719 \end_layout
24720
24721 \begin_layout LyX-Code
24722 <<Mi código>>=
24723 \end_layout
24724
24725 \begin_layout LyX-Code
24726   código
24727 \end_layout
24728
24729 \begin_layout LyX-Code
24730   más código
24731 \end_layout
24732
24733 \begin_layout LyX-Code
24734   aún más código
24735 \end_layout
24736
24737 \begin_layout LyX-Code
24738   @
24739 \end_layout
24740
24741 \begin_layout Standard
24742 El problema es que todo lo que se escriba entre <<
24743 \begin_inset space ~
24744 \end_inset
24745
24746  y 
24747 \family typewriter
24748 @
24749 \family default
24750  debe ser interpretado de forma literal, es decir, \SpecialChar LyX
24751  no debería hacer ninguna
24752  interpretación especial de lo que está ahí escrito.
24753  Esto es también manejado por el entorno 
24754 \begin_inset Flex Noun
24755 status collapsed
24756
24757 \begin_layout Plain Layout
24758 Trozo
24759 \end_layout
24760
24761 \end_inset
24762
24763 , que funciona como un 
24764 \lang english
24765 text inset
24766 \lang spanish
24767  normal excepto que admite espacios con libertad.
24768 \end_layout
24769
24770 \begin_layout Standard
24771 He de apuntar que también puedes usar la estructura 
24772 \begin_inset Quotes cld
24773 \end_inset
24774
24775
24776 \family typewriter
24777 %def
24778 \family default
24779
24780 \begin_inset Quotes crd
24781 \end_inset
24782
24783  de Noweb en tus trozos de código para añadir identificadores de referencias
24784  cruzadas:
24785 \end_layout
24786
24787 \begin_layout LyX-Code
24788 <<Mi trozo>>=
24789 \end_layout
24790
24791 \begin_layout LyX-Code
24792 def una_función(argumentos):
24793 \end_layout
24794
24795 \begin_layout LyX-Code
24796    "Esta es la documentación para esta función."
24797 \end_layout
24798
24799 \begin_layout LyX-Code
24800    print "Mis argumentos: ", argumentos
24801 \end_layout
24802
24803 \begin_layout LyX-Code
24804 @ %def una_función
24805 \end_layout
24806
24807 \begin_layout Standard
24808 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
24809  generada, puedes ver la programación literaria en python contenida en el
24810  archivo
24811 \begin_inset Newline newline
24812 \end_inset
24813
24814
24815 \family typewriter
24816 \emph on
24817 LIBDIR
24818 \emph default
24819 /examples/listerrors.lyx
24820 \family default
24821 \emph on
24822
24823 \emph default
24824 que debería aclarar esto.
24825 \end_layout
24826
24827 \begin_layout Paragraph
24828 Generación del documento
24829 \end_layout
24830
24831 \begin_layout Standard
24832 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
24833  y de texto en él.
24834  ¿Cómo ver la salida impresa? La respuesta es simple, con 
24835 \family sans
24836 Ver\SpecialChar menuseparator
24837 DVI, 
24838 \family default
24839 etc.
24840  Igual que harías con cualquier otro documento.
24841  No hace falta ningún procedimiento especial.
24842 \end_layout
24843
24844 \begin_layout Standard
24845 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
24846 :
24847 \end_layout
24848
24849 \begin_layout Enumerate
24850 Al escoger la opción 
24851 \family sans
24852 Ver\SpecialChar menuseparator
24853 Actualizar\SpecialChar menuseparator
24854 DVI
24855 \family default
24856 , se genera un archivo \SpecialChar LaTeX
24857 .
24858  
24859 \end_layout
24860
24861 \begin_deeper
24862 \begin_layout Standard
24863 Si el documento es de cualquiera de las clases en formato 
24864 \begin_inset Quotes cld
24865 \end_inset
24866
24867 literate
24868 \begin_inset Quotes crd
24869 \end_inset
24870
24871 , el archivo generado será nombrado con una extensión definida por el formato
24872  
24873 \begin_inset Quotes cld
24874 \end_inset
24875
24876 literate
24877 \begin_inset Quotes crd
24878 \end_inset
24879
24880  (definido en el panel de 
24881 \family sans
24882 Preferencias
24883 \family default
24884 ), si no el archivo tendrá la extensión habitual 
24885 \family typewriter
24886 .tex
24887 \family default
24888 .
24889 \end_layout
24890
24891 \end_deeper
24892 \begin_layout Enumerate
24893 La única diferencia está en la extensión del archivo, no hace falta ninguna
24894  acción especial por parte de \SpecialChar LyX
24895 , puesto que has formateado el código con
24896  el 
24897 \lang english
24898 inset
24899 \lang spanish
24900  
24901 \begin_inset Flex Noun
24902 status collapsed
24903
24904 \begin_layout Plain Layout
24905 Trozo
24906 \end_layout
24907
24908 \end_inset
24909
24910 , que ya se cuida de ese aspecto.
24911 \end_layout
24912
24913 \begin_layout Enumerate
24914 Si el documento es de cualquier clase 
24915 \begin_inset Quotes cld
24916 \end_inset
24917
24918 literate
24919 \begin_inset Quotes crd
24920 \end_inset
24921
24922 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
24923  a Noweb y luego
24924  otro convertidor
24925 \begin_inset Foot
24926 status collapsed
24927
24928 \begin_layout Plain Layout
24929 Definido en 
24930 \family sans
24931 Herramientas\SpecialChar menuseparator
24932 Preferencias
24933 \family default
24934 , apartado
24935 \family sans
24936  Convertidores
24937 \family default
24938 .
24939 \end_layout
24940
24941 \end_inset
24942
24943  convierte Noweb a \SpecialChar LaTeX
24944  para generar el archivo \SpecialChar LaTeX
24945 .
24946 \end_layout
24947
24948 \begin_deeper
24949 \begin_layout Standard
24950 Si no lo es, se salta este paso.
24951 \end_layout
24952
24953 \end_deeper
24954 \begin_layout Enumerate
24955 Finalmente, se ejecuta \SpecialChar LaTeX
24956  y continúa el proceso de la manera habitual.
24957 \end_layout
24958
24959 \begin_layout Standard
24960 La independencia de una particular herramienta de programación literaria
24961  se basa simplemente en el cambio de los comandos ejecutados por los distintos
24962  convertidores.
24963 \end_layout
24964
24965 \begin_layout Paragraph
24966 Generación del código
24967 \end_layout
24968
24969 \begin_layout Standard
24970 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
24971  herramientas, se genera un archivo \SpecialChar LaTeX
24972  como se describe en el paso 1 anterior.
24973  A continuación, \SpecialChar LyX
24974  ejecuta el convertidor 
24975 \family typewriter
24976 Noweb->Programa
24977 \family default
24978 .
24979  Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
24980  en dos partes:
24981 \end_layout
24982
24983 \begin_layout Enumerate
24984 El programa convertidor propiamente dicho.
24985  Este programa realiza la conversión de un formato a otro (en este caso,
24986  desde el formato 
24987 \family typewriter
24988 Noweb
24989 \family default
24990  al pseudo-formato 
24991 \family typewriter
24992 Programa
24993 \family default
24994 ).
24995 \end_layout
24996
24997 \begin_layout Enumerate
24998 El analizador de registro de errores.
24999  Este es un programa cuyo único propósito es reescribir los mensajes de
25000  error en un formato comprensible para \SpecialChar LyX
25001 .
25002  Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25003  en los lugares correctos.
25004 \end_layout
25005
25006 \begin_layout Standard
25007 La primera parte, que se especifica en el campo 
25008 \family sans
25009 Convertidor
25010 \family default
25011 , debería contener
25012 \end_layout
25013
25014 \begin_layout LyX-Code
25015
25016 \family typewriter
25017 build-script $$i
25018 \family default
25019  
25020 \end_layout
25021
25022 \begin_layout Standard
25023 Esto significa que \SpecialChar LyX
25024  invocará a 
25025 \begin_inset Quotes cld
25026 \end_inset
25027
25028
25029 \family typewriter
25030 build-script
25031 \family default
25032
25033 \begin_inset Quotes crd
25034 \end_inset
25035
25036  (un programa o una secuencia) con el nombre del archivo Noweb (
25037 \family typewriter
25038 $$i
25039 \family default
25040 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25041 ).
25042  
25043 \end_layout
25044
25045 \begin_layout Standard
25046 He aquí una implementación de 
25047 \family typewriter
25048 build-script
25049 \family default
25050  que puedes colocar en un directorio accesible para tu línea de comandos:
25051 \end_layout
25052
25053 \begin_layout LyX-Code
25054
25055 \family sans
25056 #!/bin/sh
25057 \end_layout
25058
25059 \begin_layout LyX-Code
25060
25061 \family sans
25062 #
25063 \end_layout
25064
25065 \begin_layout LyX-Code
25066
25067 \family sans
25068 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25069 \end_layout
25070
25071 \begin_layout Standard
25072 La segunda parte de los ajustes del convertidor es el 
25073 \begin_inset Quotes cld
25074 \end_inset
25075
25076 indicador
25077 \begin_inset Quotes crd
25078 \end_inset
25079
25080 , establecido en
25081 \end_layout
25082
25083 \begin_layout LyX-Code
25084
25085 \family typewriter
25086 parselog=$$s/scripts/listerrors
25087 \end_layout
25088
25089 \begin_layout Standard
25090 Esto procesará cualquier error que se genere por el proceso 
25091 \begin_inset Quotes cld
25092 \end_inset
25093
25094
25095 \family typewriter
25096 build-script
25097 \family default
25098
25099 \begin_inset Quotes crd
25100 \end_inset
25101
25102  a través del programa 
25103 \begin_inset Quotes cld
25104 \end_inset
25105
25106 listerrors
25107 \begin_inset Quotes crd
25108 \end_inset
25109
25110 .
25111 \end_layout
25112
25113 \begin_layout Standard
25114 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25115 ,
25116  por tanto los archivos generados por la conversión estarán en ese directorio.
25117  \SpecialChar LyX
25118  copiará lo que considera como el archivo "principal", pero la conversión
25119 \family typewriter
25120  Noweb->Programa
25121 \family default
25122  puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25123  \SpecialChar LyX
25124 .
25125  Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25126  build-script pueda situar los archivos generados en su sitio.
25127 \end_layout
25128
25129 \begin_layout Paragraph
25130 Instrucciones de compilación en el documento
25131 \end_layout
25132
25133 \begin_layout Standard
25134 La última parte de la integración entre \SpecialChar LyX
25135  y noweb es el trozo 
25136 \begin_inset Quotes cld
25137 \end_inset
25138
25139 build-script
25140 \begin_inset Quotes crd
25141 \end_inset
25142
25143 .
25144  Generalmente, las instrucciones para compilar tu programa deberían incluirse
25145  en un trozo propio.
25146  El 
25147 \family typewriter
25148 build-script
25149 \family default
25150  específico de noweb visto antes usa el comando 
25151 \family typewriter
25152 notangle
25153 \family default
25154  para buscar ese trozo (llamado 
25155 \begin_inset Quotes cld
25156 \end_inset
25157
25158 build-script
25159 \begin_inset Quotes crd
25160 \end_inset
25161
25162 ) y procesa su contenido a través de 
25163 \family typewriter
25164 sh
25165 \family default
25166 .
25167 \end_layout
25168
25169 \begin_layout Standard
25170 Típicamente, un trozo 
25171 \begin_inset Quotes cld
25172 \end_inset
25173
25174 build-script
25175 \begin_inset Quotes crd
25176 \end_inset
25177
25178  se verá más o menos así:
25179 \end_layout
25180
25181 \begin_layout LyX-Code
25182 <<build-script>>=
25183 \end_layout
25184
25185 \begin_layout LyX-Code
25186 #!/bin/sh
25187 \begin_inset Newline newline
25188 \end_inset
25189
25190 if [ -z "${NOWEB_SOURCE}" ]
25191 \begin_inset Newline newline
25192 \end_inset
25193
25194 then
25195 \end_layout
25196
25197 \begin_layout LyX-Code
25198 NOWEB_SOURCE=myfile.nw
25199 \begin_inset Newline newline
25200 \end_inset
25201
25202 fi
25203 \begin_inset Newline newline
25204 \end_inset
25205
25206 [...
25207  code to extract files ...
25208  use NOWEB_OUTPUT_DIR here ...]
25209 \begin_inset Newline newline
25210 \end_inset
25211
25212 [...
25213  code to compile files ...]
25214 \begin_inset Newline newline
25215 \end_inset
25216
25217 @
25218 \end_layout
25219
25220 \begin_layout Standard
25221 Mira en 
25222 \family typewriter
25223 \emph on
25224 LIBDIR
25225 \emph default
25226 /examples/listerrors.lyx
25227 \family default
25228  o 
25229 \family typewriter
25230 \emph on
25231 LIBDIR
25232 \emph default
25233 /examples/Literate.lyx
25234 \family default
25235 , que implementan dos versiones del programa 
25236 \family typewriter
25237 listerrors
25238 \family default
25239 , para ver algunos ejemplos de cómo ensamblar todo esto, o en 
25240 \family typewriter
25241 \emph on
25242 LIBDIR
25243 \emph default
25244 /examples/noweb2lyx.lyx
25245 \family default
25246 \emph on
25247 .
25248
25249 \emph default
25250  Es interesante ver cómo estos tres archivos muestran la independencia del
25251  lenguaje de programación literaria utilizado en \SpecialChar LyX
25252 , puesto que están escritos,
25253  respectivamente, en Python, C y Perl.
25254 \end_layout
25255
25256 \begin_layout Subsubsection
25257 Configurar \SpecialChar LyX
25258
25259 \end_layout
25260
25261 \begin_layout Standard
25262 Todo el soporte de Programación Literaria se configura en el panel del menú
25263  
25264 \family sans
25265 Herramientas\SpecialChar menuseparator
25266 Preferencias
25267 \family default
25268  en las solapas 
25269 \family sans
25270 Formatos
25271 \family default
25272
25273 \begin_inset space ~
25274 \end_inset
25275
25276
25277 \family sans
25278 de
25279 \family default
25280
25281 \begin_inset space ~
25282 \end_inset
25283
25284 a
25285 \family sans
25286 rchivo 
25287 \family default
25288
25289 \family sans
25290 Convertidores
25291 \family default
25292 .
25293  Las partes importantes son:
25294 \end_layout
25295
25296 \begin_layout Description
25297 el
25298 \begin_inset space ~
25299 \end_inset
25300
25301 formato
25302 \begin_inset space ~
25303 \end_inset
25304
25305
25306 \begin_inset Quotes cld
25307 \end_inset
25308
25309 literario
25310 \begin_inset Quotes crd
25311 \end_inset
25312
25313  En la solapa 
25314 \family sans
25315 Formatos
25316 \begin_inset space ~
25317 \end_inset
25318
25319 de
25320 \begin_inset space ~
25321 \end_inset
25322
25323 archivo
25324 \family default
25325  se configuran las partes específicas de Noweb.
25326  En 
25327 \family sans
25328 Nombre
25329 \begin_inset space ~
25330 \end_inset
25331
25332 GUI
25333 \family default
25334  debe ponerse 
25335 \family typewriter
25336 NoWeb
25337 \family default
25338 , en
25339 \family sans
25340  Extensión
25341 \family default
25342  debe ponerse 
25343 \family typewriter
25344 nw
25345 \family default
25346 .
25347  Esto prepara a \SpecialChar LyX
25348  para generar un archivo con extensión 
25349 \family typewriter
25350 .nw
25351 \family default
25352  en el primer paso del proceso de conversión.
25353 \end_layout
25354
25355 \begin_layout Description
25356 el
25357 \begin_inset space ~
25358 \end_inset
25359
25360 formato
25361 \family sans
25362
25363 \begin_inset space ~
25364 \end_inset
25365
25366 Program
25367 \family default
25368 a Este es un formato ficticio cuyo único propósito es ser el punto final
25369  de una conversión (que luego nos permite establecer un convertidor que
25370  apunta a dicho 
25371 \family sans
25372 Programa
25373 \family default
25374 ).
25375 \end_layout
25376
25377 \begin_layout Description
25378
25379 \family sans
25380 NoWeb
25381 \family default
25382 ->
25383 \family sans
25384 \SpecialChar LaTeX
25385
25386 \family default
25387  Este convertidor realiza el 
25388 \begin_inset Quotes cld
25389 \end_inset
25390
25391 weaving
25392 \begin_inset Quotes crd
25393 \end_inset
25394
25395  (generación de la documentación) del documento literario.
25396  Para Noweb, hay que poner el 
25397 \family sans
25398 Convertidor
25399 \family default
25400  
25401 \begin_inset Quotes cld
25402 \end_inset
25403
25404
25405 \family typewriter
25406 noweave -delay -index $$i > $$o
25407 \family default
25408
25409 \begin_inset Quotes crd
25410 \end_inset
25411
25412
25413 \end_layout
25414
25415 \begin_layout Description
25416
25417 \family sans
25418 NoWeb
25419 \family default
25420 ->
25421 \family sans
25422 Program
25423 \family default
25424 a Este realiza el paso 
25425 \begin_inset Quotes cld
25426 \end_inset
25427
25428 tangling
25429 \begin_inset Quotes crd
25430 \end_inset
25431
25432  (generación del código).
25433  Como se dijo antes, el 
25434 \family sans
25435 Convertidor
25436 \family default
25437  en este caso es 
25438 \begin_inset Quotes cld
25439 \end_inset
25440
25441
25442 \family typewriter
25443 build-script $$i
25444 \family default
25445
25446 \begin_inset Quotes crd
25447 \end_inset
25448
25449 , con la 
25450 \family sans
25451 Opción
25452 \family default
25453 \series bold
25454
25455 \begin_inset space ~
25456 \end_inset
25457
25458
25459 \family sans
25460 \series default
25461 extra
25462 \family default
25463  
25464 \begin_inset Quotes cld
25465 \end_inset
25466
25467
25468 \family typewriter
25469 originaldir,parselog=listerrors
25470 \family default
25471
25472 \begin_inset Quotes crd
25473 \end_inset
25474
25475 .
25476 \end_layout
25477
25478 \begin_layout Subsubsection
25479 Extensiones de depuración
25480 \end_layout
25481
25482 \begin_layout Standard
25483 En el servidor \SpecialChar LyX
25484  también se ha implementado una nueva función, 
25485 \begin_inset Quotes cld
25486 \end_inset
25487
25488 server-goto-file-row
25489 \begin_inset Quotes crd
25490 \end_inset
25491
25492 , para ser utilizada con 
25493 \family typewriter
25494 ddd
25495 \family default
25496 /
25497 \family typewriter
25498 gdb
25499 \family default
25500  u otro depurador.
25501  
25502 \end_layout
25503
25504 \begin_layout Standard
25505 Cuando se depura código con 
25506 \family typewriter
25507 ddd
25508 \family default
25509 /
25510 \family typewriter
25511 gdb
25512 \family default
25513 , es posible invocar un editor de texto en la posición actual de ejecución
25514  con una sencilla pulsación de teclado.
25515  La configuración por omisión de 
25516 \family typewriter
25517 ddd
25518 \family default
25519  para esto es 
25520 \family sans
25521 shift-ctrl-V
25522 \family default
25523 .
25524  La línea de comando del editor utilizado por 
25525 \family typewriter
25526 ddd
25527 \family default
25528  se puede definir accediendo al diálogo 
25529 \family sans
25530 Editar\SpecialChar menuseparator
25531 Preferencias\SpecialChar menuseparator
25532 Helpers
25533 \family default
25534  cambiando la entrada 
25535 \family sans
25536 Edit Sources
25537 \family default
25538 .
25539 \end_layout
25540
25541 \begin_layout Standard
25542 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25543  y esta característ
25544 ica de 
25545 \family typewriter
25546 ddd
25547 \family default
25548 , poniendo lo siguiente en 
25549 \family sans
25550 Edit Sources
25551 \family default
25552 :
25553 \end_layout
25554
25555 \begin_layout LyX-Code
25556
25557 \family sans
25558 echo "
25559 \family default
25560 \size footnotesize
25561 LYXCMD
25562 \family sans
25563 \size default
25564 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25565 \end_layout
25566
25567 \begin_layout Standard
25568 Con esto, cuando estás usando 
25569 \family typewriter
25570 ddd
25571 \family default
25572  y encuentras una parte del programa que quieres editar, solo has de pulsar
25573  
25574 \family sans
25575 shift-ctrl-V
25576 \family default
25577  (en la ventana de 
25578 \family sans
25579 ddd
25580 \family default
25581 ), y 
25582 \family sans
25583 ddd
25584 \family default
25585  pasa esta información por medio del servidor \SpecialChar LyX
25586  a \SpecialChar LyX
25587 , en cuya ventana se verá
25588  el mismo archivo con el cursor en la posición apuntada por 
25589 \family sans
25590 ddd
25591 \family default
25592 .
25593  ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
25594  para localizar los fallos del programa!
25595 \end_layout
25596
25597 \begin_layout Standard
25598 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
25599  para trabajar
25600  con él (por omisión está desactivado).
25601  
25602 \end_layout
25603
25604 \begin_layout Standard
25605
25606 \lang english
25607 Sec
25608 \lang spanish
25609 .
25610 \begin_inset space ~
25611 \end_inset
25612
25613
25614 \begin_inset CommandInset ref
25615 LatexCommand ref
25616 reference "sec:Iniciar-el-servidor"
25617
25618 \end_inset
25619
25620  
25621 \lang english
25622 explains how to do that
25623 \lang spanish
25624 .
25625 \end_layout
25626
25627 \begin_layout Subsubsection
25628 Ampliación de la barra de herramientas
25629 \end_layout
25630
25631 \begin_layout Standard
25632 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
25633  \SpecialChar LyX
25634 .
25635  Four de ellos son atajos a los tipos de párrafo: 
25636 \family sans
25637 Normal
25638 \family default
25639
25640 \family sans
25641 Sección
25642 \family default
25643
25644 \family sans
25645 \SpecialChar LaTeX
25646
25647 \family default
25648
25649 \family sans
25650 y Código-\SpecialChar LyX
25651
25652 \family default
25653
25654 \lang english
25655 one fpr the custom inset 
25656 \family sans
25657 \lang spanish
25658 Trozo
25659 \family default
25660 .
25661  El otro es un atajo a la entrada 
25662 \begin_inset Quotes cld
25663 \end_inset
25664
25665
25666 \family sans
25667 Compilar Programa
25668 \family default
25669
25670 \begin_inset Quotes crd
25671 \end_inset
25672
25673  del menú 
25674 \family sans
25675 Archivo
25676 \family default
25677 .
25678  
25679 \end_layout
25680
25681 \begin_layout Standard
25682 \SpecialChar LyX
25683  dispone de una colección de botones para personalizar la barra de herramientas.
25684  En mi barra de herramientas personal me gusta combinar los seis botones
25685  mencionados con otros dos para las entradas de menú 
25686 \family sans
25687 Documento
25688 \family default
25689 \SpecialChar menuseparator
25690
25691 \family sans
25692 Actualizar
25693 \family default
25694 \SpecialChar menuseparator
25695
25696 \family sans
25697 DVI
25698 \family default
25699  y 
25700 \family sans
25701 Documento\SpecialChar menuseparator
25702 DVI
25703 \family default
25704 .
25705  Así es como queda:
25706 \end_layout
25707
25708 \begin_layout LyX-Code
25709 Toolbar
25710 \end_layout
25711
25712 \begin_layout LyX-Code
25713   Layouts
25714 \end_layout
25715
25716 \begin_layout LyX-Code
25717   Icon "layout Standard"
25718 \end_layout
25719
25720 \begin_layout LyX-Code
25721   Icon "layout Section"
25722 \end_layout
25723
25724 \begin_layout LyX-Code
25725   Icon "layout \SpecialChar LaTeX
25726 "
25727 \end_layout
25728
25729 \begin_layout LyX-Code
25730   Icon "layout \SpecialChar LyX
25731 -Code"
25732 \end_layout
25733
25734 \begin_layout LyX-Code
25735   Icon "
25736 \lang english
25737 flex.insert
25738 \lang spanish
25739  Chunk"
25740 \end_layout
25741
25742 \begin_layout LyX-Code
25743   Separator
25744 \end_layout
25745
25746 \begin_layout LyX-Code
25747   Icon "buffer-view"
25748 \end_layout
25749
25750 \begin_layout LyX-Code
25751   Icon "buffer-typeset"
25752 \end_layout
25753
25754 \begin_layout LyX-Code
25755   Icon "build-program"
25756 \end_layout
25757
25758 \begin_layout LyX-Code
25759   Separator
25760 \end_layout
25761
25762 \begin_layout LyX-Code
25763 .
25764 \end_layout
25765
25766 \begin_layout LyX-Code
25767 .
25768 \end_layout
25769
25770 \begin_layout LyX-Code
25771 .
25772 \end_layout
25773
25774 \begin_layout LyX-Code
25775 End
25776 \end_layout
25777
25778 \begin_layout Subsubsection
25779 Personalización de los colores
25780 \end_layout
25781
25782 \begin_layout Standard
25783 Cierto número de colores usados en \SpecialChar LyX
25784  se pueden personalizar en el diálogo
25785  
25786 \family sans
25787 Preferencias
25788 \family default
25789 .
25790  Una de las cosas que más molesta a la gente es el color de la tipografía
25791  del código \SpecialChar LaTeX
25792 , que por omisión es rojo, y como el entorno 
25793 \lang english
25794
25795 \begin_inset Flex Noun
25796 status collapsed
25797
25798 \begin_layout Plain Layout
25799 Trozo
25800 \end_layout
25801
25802 \end_inset
25803
25804
25805 \family sans
25806 \lang spanish
25807  
25808 \family default
25809 utiliza código \SpecialChar LaTeX
25810  y hay mucho código en los documentos de programación literaria,
25811  puedes acabar harto de ver tanto rojo.
25812  Así pues, puedes cambiarlo si quieres en 
25813 \family sans
25814 Apariencia
25815 \family default
25816 \SpecialChar menuseparator
25817
25818 \family sans
25819 Colores.
25820 \end_layout
25821
25822 \begin_layout Standard
25823 El siguiente asunto es la presencia visible del carácter salto de línea
25824  en la pantalla.
25825  Puedes elegir el color de este carácter en particular para confundirlo
25826  con el fondo.
25827  Recomiendo escoger un color parecido al del fondo pero no idéntico, de
25828  esta forma lo seguirás viendo pero sin molestar tanto.
25829 \end_layout
25830
25831 \begin_layout Subsection
25832 \SpecialChar LyX
25833  y knitr/Sweave
25834 \end_layout
25835
25836 \begin_layout Standard
25837 El soporte para 
25838 \family sans
25839 knitr
25840 \family default
25841  y 
25842 \family sans
25843 Sweave
25844 \family default
25845  está documentado en el archivo de ejemplo 
25846 \emph on
25847 knitr.lyx
25848 \emph default
25849  y en el manual de Sweave (menú 
25850 \family sans
25851 Ayuda\SpecialChar menuseparator
25852 Manuales específicos
25853 \family default
25854 ).
25855 \end_layout
25856
25857 \begin_layout Chapter
25858 Características especiales
25859 \end_layout
25860
25861 \begin_layout Standard
25862 Con \SpecialChar LyX
25863  se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
25864 .
25865  Aunque \SpecialChar LyX
25866  no puede soportar directamente todas las características de \SpecialChar LaTeX
25867 , siempre
25868  es posible usar código \SpecialChar LaTeX
25869 .
25870  Este capítulo trata de algunas cosas especiales que podrían interesarte.
25871  Las características especiales relacionadas con figuras, cuadros, flotantes,
25872  marcos y notas, se pueden consultar en el manual 
25873 \emph on
25874 Objetos insertados
25875 \emph default
25876 .
25877  
25878 \end_layout
25879
25880 \begin_layout Section
25881 Texto en columnas
25882 \end_layout
25883
25884 \begin_layout Standard
25885 Esta característica es independiente de la opción 
25886 \family sans
25887 Documento con dos columnas
25888 \family default
25889  en 
25890 \family sans
25891 Diseño del texto
25892 \family default
25893  de la configuración del documento.
25894  Para tener dos columnas de texto en todo el documento se recomienda usar
25895  dicha opción.
25896  Para el resto de casos se usa la característica aquí descrita.
25897 \end_layout
25898
25899 \begin_layout Standard
25900 Para poner texto en varias columnas, hay que cargar el módulo 
25901 \family sans
25902 Columnas
25903 \family default
25904  (menú 
25905 \family sans
25906 Documento\SpecialChar menuseparator
25907 Configuración\SpecialChar menuseparator
25908 Módulos
25909 \family default
25910 ), y debe estar instalado el paquete \SpecialChar LaTeX
25911  
25912 \family typewriter
25913 multicol
25914 \family default
25915
25916 \begin_inset Index idx
25917 status collapsed
25918
25919 \begin_layout Plain Layout
25920 \SpecialChar LaTeX
25921 -paquetes ! multicol
25922 \end_layout
25923
25924 \end_inset
25925
25926 .
25927 \end_layout
25928
25929 \begin_layout Standard
25930 Las notas al pie en las columnas se colocarán al final de la página y no
25931  bajo cada columna.
25932  En las distintas columnas se puede usar todo, excepto que para flotantes
25933  hay que usar la opción 
25934 \family sans
25935 Extender columnas
25936 \family default
25937 .
25938 \end_layout
25939
25940 \begin_layout Subsection
25941 Conceptos básicos
25942 \end_layout
25943
25944 \begin_layout Standard
25945 Para poner un texto en dos columnas, usa el menú 
25946 \family sans
25947 Insertar\SpecialChar menuseparator
25948 Recuadro
25949 \begin_inset space ~
25950 \end_inset
25951
25952 personalizado\SpecialChar menuseparator
25953 Columnas
25954 \family default
25955  en el punto en que deben iniciarse las columnas.
25956  Escribe en el recuadro todo el texto que debe ir en dos columnas.
25957 \end_layout
25958
25959 \begin_layout Standard
25960 Un ejemplo:
25961 \end_layout
25962
25963 \begin_layout Standard
25964 \noindent
25965
25966 \lang english
25967 \begin_inset Flex Multiple Columns
25968 status open
25969
25970 \begin_layout Plain Layout
25971 \noindent
25972
25973 \series bold
25974 \size small
25975 \lang english
25976 The Adventure of the Empty House
25977 \series default
25978
25979 \begin_inset Newline newline
25980 \end_inset
25981
25982 by Sir Arthur Conan Doyle
25983 \end_layout
25984
25985 \begin_layout Plain Layout
25986
25987 \size small
25988 \lang english
25989 It was in the spring of the year 1894 that all London was interested, and
25990  the fashionable world dismayed, by the murder of the Honourable Ronald
25991  Adair under most unusual and inexplicable circumstances.
25992  The public has already learned those particulars of the crime which came
25993  out in the police investigation, but a good deal was suppressed upon that
25994  occasion, since the case for the prosecution was so overwhelmingly strong
25995  that it was not necessary to bring forward all the facts.
25996  Only now, at the end of nearly ten years, am I allowed to supply those
25997  missing links which make up the whole of that remarkable chain.
25998  The crime was of interest in itself, but that interest was as nothing to
25999  me compared to the inconceivable sequel, which afforded me the greatest
26000  shock and surprise of any event in my adventurous life.
26001  Even now, after this long interval, I find myself thrilling as I think
26002  of it, and feeling once more that sudden flood of joy, amazement, and increduli
26003 ty which utterly submerged my mind.
26004  Let me say to that public, which has shown some interest in those glimpses
26005  which I have occasionally given them of the thoughts and actions of a very
26006  remarkable man, that they are not to blame me if I have not shared my knowledge
26007  with them, for I should have considered it my first duty to do so, had
26008  I not been barred by a positive prohibition from his own lips, which was
26009  only withdrawn upon the third of last month.
26010 \end_layout
26011
26012 \end_inset
26013
26014
26015 \end_layout
26016
26017 \begin_layout Standard
26018 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26019  el menú 
26020 \family sans
26021 Insertar\SpecialChar menuseparator
26022 Número de columnas
26023 \family default
26024  y escribe el número de columnas, por ejemplo "3".
26025 \begin_inset Newline newline
26026 \end_inset
26027
26028 Un ejemplo de texto en tres columnas:
26029 \end_layout
26030
26031 \begin_layout Standard
26032
26033 \lang english
26034 \begin_inset Flex Multiple Columns
26035 status open
26036
26037 \begin_layout Plain Layout
26038
26039 \size footnotesize
26040 \lang english
26041 \begin_inset Argument 1
26042 status open
26043
26044 \begin_layout Plain Layout
26045
26046 3
26047 \end_layout
26048
26049 \end_inset
26050
26051 It can be imagined that my close intimacy with Sherlock Holmes had interested
26052  me deeply in crime, and that after his disappearance I never failed to
26053  read with care the various problems which came before the public.
26054  And I even attempted, more than once, for my own private satisfaction,
26055  to employ his methods in their solution, though with indifferent success.
26056  There was none, however, which appealed to me like this tragedy of Ronald
26057  Adair.
26058  As I read the evidence at the inquest, which led up to a verdict of willful
26059  murder against some person or persons unknown, I realized more clearly
26060  than I had ever done the loss which the community had sustained by the
26061  death of Sherlock Holmes.
26062  There were points about this strange business which would, I was sure,
26063  have specially appealed to him, and the efforts of the police would have
26064  been supplemented, or more probably anticipated, by the trained observation
26065  and the alert mind of the first criminal agent in Europe.
26066  All day, as I drove upon my round, I turned over the case in my mind and
26067  found no explanation which appeared to me to be adequate.
26068  At the risk of telling a twice-told tale, I will recapitulate the facts
26069  as they were known to the public at the conclusion of the inquest.
26070 \end_layout
26071
26072 \end_inset
26073
26074
26075 \end_layout
26076
26077 \begin_layout Standard
26078 Se puede llegar hasta 10
26079 \begin_inset space ~
26080 \end_inset
26081
26082 columnas, aunque seguramente no será muy cómodo para los lectores.
26083 \end_layout
26084
26085 \begin_layout Standard
26086
26087 \lang english
26088 \begin_inset Newpage newpage
26089 \end_inset
26090
26091
26092 \end_layout
26093
26094 \begin_layout Subsection
26095 Columnas dentro de otras columnas
26096 \end_layout
26097
26098 \begin_layout Standard
26099 Es posible poner columnas dentro de otras:
26100 \end_layout
26101
26102 \begin_layout Standard
26103
26104 \lang english
26105 \begin_inset Flex Multiple Columns
26106 status open
26107
26108 \begin_layout Plain Layout
26109
26110 \size footnotesize
26111 \lang english
26112 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26113  at that time governor of one of the Australian colonies.
26114  Adair's mother had returned from Australia to undergo the operation for
26115  cataract, and she, her son Ronald, and her daughter Hilda were living together
26116  at 427 Park Lane.
26117 \end_layout
26118
26119 \begin_layout Plain Layout
26120
26121 \lang english
26122 \begin_inset Flex Multiple Columns
26123 status open
26124
26125 \begin_layout Plain Layout
26126
26127 \size footnotesize
26128 \lang english
26129 The youth moved in the best society
26130 \begin_inset space ~
26131 \end_inset
26132
26133 – had, so far as was known, no enemies and no particular vices.
26134  He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26135  had been broken off by mutual consent some months before, and there was
26136  no sign that it had left any very profound feeling behind it.
26137  For the rest {sic} the man's life moved in a narrow and conventional circle,
26138  for his habits were quiet and his nature unemotional.
26139  Yet it was upon this easy-going young aristocrat that death came, in most
26140  strange and unexpected form, between the hours of ten and eleven-twenty
26141  on the night of March 30, 1894.
26142 \end_layout
26143
26144 \end_inset
26145
26146
26147 \end_layout
26148
26149 \begin_layout Plain Layout
26150
26151 \size footnotesize
26152 \lang english
26153 Ronald Adair was fond of cards
26154 \begin_inset space ~
26155 \end_inset
26156
26157 – playing continually, but never for such stakes as would hurt him.
26158  He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26159  It was shown that, after dinner on the day of his death, he had played
26160  a rubber of whist at the latter club.
26161  He had also played there in the afternoon.
26162
26163 \size default
26164  
26165 \size footnotesize
26166 The evidence of those who had played with him
26167 \begin_inset space ~
26168 \end_inset
26169
26170 – Mr.
26171  Murray, Sir John Hardy, and Colonel Moran
26172 \begin_inset space ~
26173 \end_inset
26174
26175 – showed that the game was whist, and that there was a fairly equal fall
26176  of the cards.
26177  Adair might have lost five pounds, but not more.
26178  His fortune was a considerable one, and such a loss could not in any way
26179  affect him.
26180  He had played nearly every day at one club or other, but he was a cautious
26181  player, and usually rose a winner.
26182  It came out in evidence that, in partnership with Colonel Moran, he had
26183  actually won as much as four hundred and twenty pounds in a sitting, some
26184  weeks before, from Godfrey Milner and Lord Balmoral.
26185  So much for his recent history as it came out at the inquest.
26186 \end_layout
26187
26188 \end_inset
26189
26190
26191 \end_layout
26192
26193 \begin_layout Subsection
26194 Ejemplos avanzados
26195 \end_layout
26196
26197 \begin_layout Standard
26198 Los ejemplos de esta sección muestran algunas características más avanzadas
26199  de las columnas.
26200 \end_layout
26201
26202 \begin_layout Standard
26203 Para ver más opciones de columnas echa un vistazo a la documentación del
26204  paquete \SpecialChar LaTeX
26205  
26206 \family typewriter
26207 multicol
26208 \family default
26209
26210 \begin_inset Index idx
26211 status collapsed
26212
26213 \begin_layout Plain Layout
26214 \SpecialChar LaTeX
26215 -paquetes ! multicol
26216 \end_layout
26217
26218 \end_inset
26219
26220
26221 \begin_inset CommandInset citation
26222 LatexCommand cite
26223 key "multicol"
26224 literal "true"
26225
26226 \end_inset
26227
26228 .
26229 \end_layout
26230
26231 \begin_layout Subsubsection
26232 Prefacio
26233 \end_layout
26234
26235 \begin_layout Standard
26236 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26237  del texto en columnas y usa el menú 
26238 \family sans
26239 Insertar\SpecialChar menuseparator
26240 Prefacio
26241 \family default
26242 .
26243  Escribe en el marco que aparece el texto del prefacio.
26244 \begin_inset Newline newline
26245 \end_inset
26246
26247 Ejemplo con un texto de prefacio:
26248 \begin_inset VSpace bigskip
26249 \end_inset
26250
26251
26252 \end_layout
26253
26254 \begin_layout Standard
26255
26256 \lang english
26257 \begin_inset Flex Multiple Columns
26258 status open
26259
26260 \begin_layout Plain Layout
26261 \begin_inset Argument 2
26262 status open
26263
26264 \begin_layout Plain Layout
26265 Y la historia continúa\SpecialChar ldots
26266
26267 \end_layout
26268
26269 \end_inset
26270
26271
26272 \size small
26273 \lang english
26274 On the evening of the crime, he returned from the club exactly at ten.
26275  His mother and sister were out spending the evening with a relation.
26276  The servant deposed that she heard him enter the front room on the second
26277  floor, generally used as his sitting-room.
26278  She had lit a fire there, and as it smoked she had opened the window.
26279  No sound was heard from the room until eleven-twenty, the hour of the return
26280  of Lady Maynooth and her daughter.
26281  Desiring to say good-night, she attempted to enter her son's room.
26282  The door was locked on the inside, and no answer could be got to their
26283  cries and knocking.
26284  Help was obtained, and the door forced.
26285  The unfortunate young man was found lying near the table.
26286  His head had been horribly mutilated by an expanding revolver bullet, but
26287  no weapon of any sort was to be found in the room.
26288 \end_layout
26289
26290 \end_inset
26291
26292
26293 \end_layout
26294
26295 \begin_layout Standard
26296 También se puede usar un encabezado de sección como prefacio, poniendo un
26297  comando de sección en código \SpecialChar TeX
26298 .
26299  Por ejemplo, el comando
26300 \end_layout
26301
26302 \begin_layout Standard
26303
26304 \series bold
26305
26306 \backslash
26307 subsection{título de la subsección}
26308 \end_layout
26309
26310 \begin_layout Standard
26311 crea una subsección.
26312  En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26313 \end_layout
26314
26315 \begin_layout Standard
26316
26317 \lang english
26318 \begin_inset Flex Multiple Columns
26319 status open
26320
26321 \begin_layout Plain Layout
26322 \begin_inset Argument 2
26323 status open
26324
26325 \begin_layout Plain Layout
26326 \begin_inset ERT
26327 status collapsed
26328
26329 \begin_layout Plain Layout
26330
26331
26332 \backslash
26333 subsubsection{
26334 \end_layout
26335
26336 \end_inset
26337
26338 Un encabezado de subsubsección como prefacio
26339 \begin_inset ERT
26340 status collapsed
26341
26342 \begin_layout Plain Layout
26343
26344 }
26345 \end_layout
26346
26347 \end_inset
26348
26349
26350 \end_layout
26351
26352 \end_inset
26353
26354
26355 \size small
26356 \lang english
26357 A minute examination of the circumstances served only to make the case more
26358  complex.
26359  In the first place, no reason could be given why the young man should have
26360  fastened the door upon the inside.
26361  There was the possibility that the murderer had done this, and had afterwards
26362  escaped by the window.
26363  The drop was at least twenty feet, however, and a bed of crocuses in full
26364  bloom lay beneath.
26365  Neither the flowers nor the earth showed any sign of having been disturbed,
26366  nor were there any marks upon the narrow strip of grass which separated
26367  the house from the road.
26368  Apparently, therefore, it was the young man himself who had fastened the
26369  door.
26370  But how did he come by his death? No one could have climbed up to the window
26371  without leaving traces.
26372  Suppose a man had fired through the window, he would indeed be a remarkable
26373  shot who could with a revolver inflict so deadly a wound.
26374  Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26375  a hundred yards of the house.
26376  No one had heard a shot.
26377 \end_layout
26378
26379 \end_inset
26380
26381
26382 \end_layout
26383
26384 \begin_layout Standard
26385 Si al comenzar las columnas queda menos espacio vertical en la página que
26386  el correspondiente a 6 líneas de texto, se insertará un salto de página.
26387  Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26388  ese espacio.
26389  Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26390  menú 
26391 \family sans
26392 Insertar\SpecialChar menuseparator
26393 Espacio
26394 \begin_inset space ~
26395 \end_inset
26396
26397 ante
26398 \begin_inset space ~
26399 \end_inset
26400
26401 salto
26402 \begin_inset space ~
26403 \end_inset
26404
26405 de
26406 \begin_inset space ~
26407 \end_inset
26408
26409 página
26410 \family default
26411  y se escribe en el marco el espacio deseado, por ej.
26412  "5cm".
26413 \begin_inset Newline newline
26414 \end_inset
26415
26416 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26417  mediante 
26418 \begin_inset Quotes cld
26419 \end_inset
26420
26421
26422 \family typewriter
26423 7
26424 \backslash
26425 baselineskip
26426 \family default
26427
26428 \begin_inset Quotes crd
26429 \end_inset
26430
26431  (con el comando 
26432 \family typewriter
26433
26434 \backslash
26435 baselineskip
26436 \family default
26437  en código \SpecialChar TeX
26438 ).
26439 \end_layout
26440
26441 \begin_layout Standard
26442
26443 \lang english
26444 \begin_inset Flex Multiple Columns
26445 status open
26446
26447 \begin_layout Plain Layout
26448 \begin_inset Argument 3
26449 status open
26450
26451 \begin_layout Plain Layout
26452 7
26453 \begin_inset ERT
26454 status collapsed
26455
26456 \begin_layout Plain Layout
26457
26458
26459 \backslash
26460 baselineskip
26461 \end_layout
26462
26463 \end_inset
26464
26465
26466 \end_layout
26467
26468 \end_inset
26469
26470
26471 \size small
26472 \lang english
26473 On the evening of the crime, he returned from the club exactly at ten.
26474  His mother and sister were out spending the evening with a relation.
26475  The servant deposed that she heard him enter the front room on the second
26476  floor, generally used as his sitting-room.
26477  She had lit a fire there, and as it smoked she had opened the window.
26478  No sound was heard from the room until eleven-twenty, the hour of the return
26479  of Lady Maynooth and her daughter.
26480  Desiring to say good-night, she attempted to enter her son's room.
26481  The door was locked on the inside, and no answer could be got to their
26482  cries and knocking.
26483  Help was obtained, and the door forced.
26484  The unfortunate young man was found lying near the table.
26485  His head had been horribly mutilated by an expanding revolver bullet, but
26486  no weapon of any sort was to be found in the room.
26487 \end_layout
26488
26489 \end_inset
26490
26491
26492 \end_layout
26493
26494 \begin_layout Subsubsection
26495 Espacio circundante
26496 \end_layout
26497
26498 \begin_layout Standard
26499 El espacio delante y detrás de las columnas se puede cambiar con el comando
26500  de longitud 
26501 \family typewriter
26502
26503 \backslash
26504 multicolsep
26505 \family default
26506 .
26507  Así, el comando
26508 \end_layout
26509
26510 \begin_layout LyX-Code
26511
26512 \family typewriter
26513
26514 \backslash
26515 setlength{
26516 \backslash
26517 multicolsep}{3cm}
26518 \end_layout
26519
26520 \begin_layout Standard
26521 en código \SpecialChar TeX
26522  establece un espacio de 3
26523 \begin_inset space \thinspace{}
26524 \end_inset
26525
26526 cm.
26527  El cambio debe hacerse antes del inicio de las columnas.
26528  El valor por omisión es de 13
26529 \begin_inset space \thinspace{}
26530 \end_inset
26531
26532 pt.
26533 \end_layout
26534
26535 \begin_layout Standard
26536 Para este ejemplo, 
26537 \family typewriter
26538
26539 \backslash
26540 multicolsep
26541 \family default
26542  se ha establecido en 2.5
26543 \begin_inset space \thinspace{}
26544 \end_inset
26545
26546 cm:
26547 \end_layout
26548
26549 \begin_layout Standard
26550 \begin_inset ERT
26551 status open
26552
26553 \begin_layout Plain Layout
26554
26555
26556 \backslash
26557 setlength{
26558 \backslash
26559 multicolsep}{2.5cm}
26560 \end_layout
26561
26562 \end_inset
26563
26564
26565 \end_layout
26566
26567 \begin_layout Standard
26568
26569 \lang english
26570 \begin_inset Flex Multiple Columns
26571 status open
26572
26573 \begin_layout Plain Layout
26574
26575 \size small
26576 \lang english
26577 All day I turned these facts over in my mind, endeavouring to hit upon some
26578  theory which could reconcile them all, and to find that line of least resistanc
26579 e which my poor friend had declared to be the starting-point of every investigat
26580 ion.
26581  I confess that I made little progress.
26582  In the evening I strolled across the Park, and found myself about six o'clock
26583  at the Oxford Street end of Park Lane.
26584  A group of loafers upon the pavements, all staring up at a particular window,
26585  directed me to the house which I had come to see.
26586  A tall, thin man with coloured glasses, whom I strongly suspected of being
26587  a plain-clothes detective, was pointing out some theory of his own, while
26588  the others crowded round to listen to what he said.
26589  I got as near him as I could, but his observations seemed to me to be absurd,
26590  so I withdrew again in some disgust.
26591  As I did so I struck against an elderly, deformed man, who had been behind
26592  me, and I knocked down several books which he was carrying.
26593 \end_layout
26594
26595 \end_inset
26596
26597
26598 \end_layout
26599
26600 \begin_layout Standard
26601 \begin_inset Note Greyedout
26602 status open
26603
26604 \begin_layout Plain Layout
26605
26606 \series bold
26607 Nota:
26608 \series default
26609  Los valores de 
26610 \family typewriter
26611
26612 \backslash
26613 setlength
26614 \family default
26615  serán válidos para todas las columnas siguientes hasta que se cambie de
26616  nuevo.
26617 \end_layout
26618
26619 \end_inset
26620
26621
26622 \end_layout
26623
26624 \begin_layout Standard
26625 \begin_inset ERT
26626 status collapsed
26627
26628 \begin_layout Plain Layout
26629
26630
26631 \backslash
26632 setlength{
26633 \backslash
26634 multicolsep}{13pt}
26635 \end_layout
26636
26637 \end_inset
26638
26639
26640 \begin_inset Note Note
26641 status collapsed
26642
26643 \begin_layout Plain Layout
26644 vuelta al valor predefinido
26645 \end_layout
26646
26647 \end_inset
26648
26649
26650 \end_layout
26651
26652 \begin_layout Standard
26653
26654 \lang english
26655 \begin_inset Newpage newpage
26656 \end_inset
26657
26658
26659 \end_layout
26660
26661 \begin_layout Subsubsection
26662 Saltos de columna
26663 \end_layout
26664
26665 \begin_layout Standard
26666 Se puede forzar un salto de columna insertando el comando
26667 \series bold
26668  
26669 \family typewriter
26670 \series default
26671
26672 \backslash
26673 columnbreak{}
26674 \family default
26675  en código \SpecialChar TeX
26676  en la posición del texto en la que se desee quebrar la columna.
26677  A tener en cuenta que, en la mayoría de los casos, esto genera espacios
26678  en el texto.
26679 \begin_inset Newline newline
26680 \end_inset
26681
26682 Un ejemplo:
26683 \end_layout
26684
26685 \begin_layout Standard
26686
26687 \lang english
26688 \begin_inset Flex Multiple Columns
26689 status open
26690
26691 \begin_layout Plain Layout
26692
26693 \size small
26694 \lang english
26695 \begin_inset Quotes eld
26696 \end_inset
26697
26698 You're surprised to see me, sir,
26699 \begin_inset Quotes erd
26700 \end_inset
26701
26702  said he, in a strange, croaking voice.
26703 \end_layout
26704
26705 \begin_layout Plain Layout
26706
26707 \size small
26708 \lang english
26709 I acknowledged that I was.
26710 \end_layout
26711
26712 \begin_layout Plain Layout
26713
26714 \size small
26715 \lang english
26716 \begin_inset Quotes eld
26717 \end_inset
26718
26719 Well, I've a conscience, sir, and when I chanced to see you go into this
26720  house, as I came hobbling after you, I thought to myself, I'll just step
26721  in and see that kind gentleman, and tell him that if I was a bit gruff
26722  in my manner there was not any harm meant, and that I am much obliged to
26723  him for picking up my books.
26724 \begin_inset Quotes erd
26725 \end_inset
26726
26727
26728 \end_layout
26729
26730 \begin_layout Plain Layout
26731
26732 \size small
26733 \lang english
26734 \begin_inset Quotes eld
26735 \end_inset
26736
26737 You make too much of a trifle,
26738 \begin_inset Quotes erd
26739 \end_inset
26740
26741  said I.
26742  
26743 \begin_inset Quotes eld
26744 \end_inset
26745
26746 May I ask how you knew who I was?
26747 \begin_inset Quotes erd
26748 \end_inset
26749
26750
26751 \lang spanish
26752  TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
26753 \begin_inset ERT
26754 status collapsed
26755
26756 \begin_layout Plain Layout
26757
26758
26759 \backslash
26760 columnbreak{}
26761 \end_layout
26762
26763 \end_inset
26764
26765
26766 \end_layout
26767
26768 \begin_layout Plain Layout
26769
26770 \size small
26771 \lang english
26772 \begin_inset Quotes eld
26773 \end_inset
26774
26775 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
26776  you'll find my little bookshop at the corner of Church Street, and very
26777  happy to see you, I am sure.
26778  Maybe you collect yourself, sir.
26779  Here's 
26780 \noun on
26781 British
26782 \begin_inset space ~
26783 \end_inset
26784
26785 Birds
26786 \noun default
26787 , and 
26788 \noun on
26789 Catullus
26790 \noun default
26791 , and 
26792 \noun on
26793 The Holy War
26794 \noun default
26795
26796 \begin_inset space ~
26797 \end_inset
26798
26799 – a bargain, every one of them.
26800  With five volumes you could just fill that gap on that second shelf.
26801  It looks untidy, does it not, sir?
26802 \begin_inset Quotes erd
26803 \end_inset
26804
26805
26806 \end_layout
26807
26808 \end_inset
26809
26810
26811 \end_layout
26812
26813 \begin_layout Subsubsection
26814 Separación de columnas
26815 \end_layout
26816
26817 \begin_layout Standard
26818 La anchura de las columnas se calcula automáticamente, pero la separación
26819  entre ellas se puede modificar mediante el comando 
26820 \family typewriter
26821
26822 \backslash
26823 columnsep
26824 \family default
26825 .
26826  El valor predeterminado es 10
26827 \begin_inset space \thinspace{}
26828 \end_inset
26829
26830 pt.
26831  A continuación hay un ejemplo en el que la longitud de 
26832 \family typewriter
26833
26834 \backslash
26835 columnsep
26836 \family default
26837  se ha establecido en 3
26838 \begin_inset space \thinspace{}
26839 \end_inset
26840
26841 cm:
26842 \end_layout
26843
26844 \begin_layout Standard
26845 \begin_inset ERT
26846 status open
26847
26848 \begin_layout Plain Layout
26849
26850
26851 \backslash
26852 setlength{
26853 \backslash
26854 columnsep}{3cm}
26855 \end_layout
26856
26857 \end_inset
26858
26859
26860 \end_layout
26861
26862 \begin_layout Standard
26863
26864 \lang english
26865 \begin_inset Flex Multiple Columns
26866 status open
26867
26868 \begin_layout Plain Layout
26869
26870 \size small
26871 \lang english
26872 My observations of No.
26873 \begin_inset space \space{}
26874 \end_inset
26875
26876 427 Park Lane did little to clear up the problem in which I was interested.
26877  The house was separated from the street by a low wall and railing, the
26878  whole not more than five feet high.
26879  It was perfectly easy, therefore, for anyone to get into the garden, but
26880  the window was entirely inaccessible, since there was no water pipe or
26881  anything which could help the most active man to climb it.
26882  More puzzled than ever, I retraced my steps to Kensington.
26883  I had not been in my study five minutes when the maid entered to say that
26884  a person desired to see me.
26885  To my astonishment it was none other than my strange old book collector,
26886  his sharp, wizened face peering out from a frame of white hair, and his
26887  precious volumes, a dozen of them at least, wedged under his right arm.
26888 \end_layout
26889
26890 \end_inset
26891
26892
26893 \end_layout
26894
26895 \begin_layout Standard
26896 \begin_inset ERT
26897 status collapsed
26898
26899 \begin_layout Plain Layout
26900
26901
26902 \backslash
26903 setlength{
26904 \backslash
26905 columnsep}{10pt}
26906 \end_layout
26907
26908 \end_inset
26909
26910
26911 \begin_inset Note Note
26912 status collapsed
26913
26914 \begin_layout Plain Layout
26915 vuelta al valor predefinido
26916 \end_layout
26917
26918 \end_inset
26919
26920
26921 \end_layout
26922
26923 \begin_layout Subsubsection
26924 Líneas verticales
26925 \end_layout
26926
26927 \begin_layout Standard
26928 Entre las columnas se dibuja una línea cuya anchura viene dada por 
26929 \family typewriter
26930
26931 \backslash
26932 columnseprule
26933 \family default
26934 .
26935  La anchura por omisión es de 0
26936 \begin_inset space \thinspace{}
26937 \end_inset
26938
26939 pt, no se dibuja ninguna línea.
26940  En el siguiente ejemplo la anchura de línea es 2
26941 \begin_inset space \thinspace{}
26942 \end_inset
26943
26944 pt.
26945 \end_layout
26946
26947 \begin_layout Standard
26948 \begin_inset ERT
26949 status open
26950
26951 \begin_layout Plain Layout
26952
26953
26954 \backslash
26955 setlength{
26956 \backslash
26957 columnseprule}{2pt}
26958 \end_layout
26959
26960 \end_inset
26961
26962
26963 \end_layout
26964
26965 \begin_layout Standard
26966
26967 \lang english
26968 \begin_inset Flex Multiple Columns
26969 status open
26970
26971 \begin_layout Plain Layout
26972
26973 \size small
26974 \lang english
26975 \begin_inset Quotes eld
26976 \end_inset
26977
26978 You're surprised to see me, sir,
26979 \begin_inset Quotes erd
26980 \end_inset
26981
26982  said he, in a strange, croaking voice.
26983 \end_layout
26984
26985 \begin_layout Plain Layout
26986
26987 \size small
26988 \lang english
26989 I acknowledged that I was.
26990 \end_layout
26991
26992 \begin_layout Plain Layout
26993
26994 \size small
26995 \lang english
26996 \begin_inset Quotes eld
26997 \end_inset
26998
26999 Well, I've a conscience, sir, and when I chanced to see you go into this
27000  house, as I came hobbling after you, I thought to myself, I'll just step
27001  in and see that kind gentleman, and tell him that if I was a bit gruff
27002  in my manner there was not any harm meant, and that I am much obliged to
27003  him for picking up my books.
27004 \begin_inset Quotes erd
27005 \end_inset
27006
27007
27008 \end_layout
27009
27010 \begin_layout Plain Layout
27011
27012 \size small
27013 \lang english
27014 \begin_inset Quotes eld
27015 \end_inset
27016
27017 You make too much of a trifle,
27018 \begin_inset Quotes erd
27019 \end_inset
27020
27021  said I.
27022  
27023 \begin_inset Quotes eld
27024 \end_inset
27025
27026 May I ask how you knew who I was?
27027 \begin_inset Quotes erd
27028 \end_inset
27029
27030
27031 \end_layout
27032
27033 \begin_layout Plain Layout
27034
27035 \size small
27036 \lang english
27037 \begin_inset Quotes eld
27038 \end_inset
27039
27040 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27041  you'll find my little bookshop at the corner of Church Street, and very
27042  happy to see you, I am sure.
27043  Maybe you collect yourself, sir.
27044  Here's 
27045 \noun on
27046 British
27047 \begin_inset space ~
27048 \end_inset
27049
27050 Birds
27051 \noun default
27052 , and 
27053 \noun on
27054 Catullus
27055 \noun default
27056 , and 
27057 \noun on
27058 The Holy War
27059 \noun default
27060
27061 \begin_inset space ~
27062 \end_inset
27063
27064 – a bargain, every one of them.
27065  With five volumes you could just fill that gap on that second shelf.
27066  It looks untidy, does it not, sir?
27067 \begin_inset Quotes erd
27068 \end_inset
27069
27070
27071 \end_layout
27072
27073 \end_inset
27074
27075
27076 \end_layout
27077
27078 \begin_layout Standard
27079 \begin_inset VSpace defskip
27080 \end_inset
27081
27082
27083 \end_layout
27084
27085 \begin_layout Standard
27086 La raya se puede colorear redefiniendo el comando
27087 \lang english
27088  
27089 \family typewriter
27090 \lang spanish
27091
27092 \backslash
27093 columnseprulecolor
27094 \family default
27095 .
27096  Esto se consigue insertando el comando
27097 \end_layout
27098
27099 \begin_layout LyX-Code
27100
27101 \family typewriter
27102
27103 \backslash
27104 renewcommand{
27105 \backslash
27106 columnseprulecolor}{
27107 \backslash
27108 color{red}}
27109 \end_layout
27110
27111 \begin_layout LyX-Code
27112 en código \SpecialChar TeX
27113  delante del recuadro columnas.
27114  Se puede poner el color deseado en lugar de red (rojo).
27115  Se puede usar cualquier color predefinido o personalizado.
27116  Véase el manual 
27117 \emph on
27118 Objetos insertados
27119 \emph default
27120 ,
27121 \emph on
27122  
27123 \emph default
27124 sección 
27125 \emph on
27126 Cuadros coloreados
27127 \emph default
27128  para más información sobre colores.
27129  Para volver al color por omisión inserta el comando
27130 \end_layout
27131
27132 \begin_layout LyX-Code
27133
27134 \backslash
27135 renewcommand{
27136 \backslash
27137 columnseprulecolor}{
27138 \backslash
27139 normalcolor}
27140 \end_layout
27141
27142 \begin_layout LyX-Code
27143 Aquí hay un ejemplo con una línea en color cian y 1
27144 \begin_inset space \thinspace{}
27145 \end_inset
27146
27147 cm de separación entre columnas:
27148 \end_layout
27149
27150 \begin_layout Standard
27151 \begin_inset ERT
27152 status open
27153
27154 \begin_layout Plain Layout
27155
27156
27157 \backslash
27158 setlength{
27159 \backslash
27160 columnsep}{1cm}
27161 \end_layout
27162
27163 \begin_layout Plain Layout
27164
27165
27166 \backslash
27167 renewcommand{
27168 \backslash
27169 columnseprulecolor}{
27170 \backslash
27171 color{cyan}}
27172 \end_layout
27173
27174 \end_inset
27175
27176
27177 \end_layout
27178
27179 \begin_layout Standard
27180
27181 \lang english
27182 \begin_inset Flex Multiple Columns
27183 status open
27184
27185 \begin_layout Plain Layout
27186
27187 \size small
27188 \lang english
27189 \begin_inset Quotes eld
27190 \end_inset
27191
27192 You're surprised to see me, sir,
27193 \begin_inset Quotes erd
27194 \end_inset
27195
27196  said he, in a strange, croaking voice.
27197 \end_layout
27198
27199 \begin_layout Plain Layout
27200
27201 \size small
27202 \lang english
27203 I acknowledged that I was.
27204 \end_layout
27205
27206 \begin_layout Plain Layout
27207
27208 \size small
27209 \lang english
27210 \begin_inset Quotes eld
27211 \end_inset
27212
27213 Well, I've a conscience, sir, and when I chanced to see you go into this
27214  house, as I came hobbling after you, I thought to myself, I'll just step
27215  in and see that kind gentleman, and tell him that if I was a bit gruff
27216  in my manner there was not any harm meant, and that I am much obliged to
27217  him for picking up my books.
27218 \begin_inset Quotes erd
27219 \end_inset
27220
27221
27222 \end_layout
27223
27224 \begin_layout Plain Layout
27225
27226 \size small
27227 \lang english
27228 \begin_inset Quotes eld
27229 \end_inset
27230
27231 You make too much of a trifle,
27232 \begin_inset Quotes erd
27233 \end_inset
27234
27235  said I.
27236  
27237 \begin_inset Quotes eld
27238 \end_inset
27239
27240 May I ask how you knew who I was?
27241 \begin_inset Quotes erd
27242 \end_inset
27243
27244
27245 \end_layout
27246
27247 \begin_layout Plain Layout
27248
27249 \size small
27250 \lang english
27251 \begin_inset Quotes eld
27252 \end_inset
27253
27254 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27255  you'll find my little bookshop at the corner of Church Street, and very
27256  happy to see you, I am sure.
27257  Maybe you collect yourself, sir.
27258  Here's 
27259 \noun on
27260 British
27261 \begin_inset space ~
27262 \end_inset
27263
27264 Birds
27265 \noun default
27266 , and 
27267 \noun on
27268 Catullus
27269 \noun default
27270 , and 
27271 \noun on
27272 The Holy War
27273 \noun default
27274
27275 \begin_inset space ~
27276 \end_inset
27277
27278 – a bargain, every one of them.
27279  With five volumes you could just fill that gap on that second shelf.
27280  It looks untidy, does it not, sir?
27281 \begin_inset Quotes erd
27282 \end_inset
27283
27284
27285 \end_layout
27286
27287 \end_inset
27288
27289
27290 \end_layout
27291
27292 \begin_layout Standard
27293 \begin_inset ERT
27294 status collapsed
27295
27296 \begin_layout Plain Layout
27297
27298
27299 \backslash
27300 setlength{
27301 \backslash
27302 columnseprule}{0pt}
27303 \end_layout
27304
27305 \begin_layout Plain Layout
27306
27307
27308 \backslash
27309 renewcommand{
27310 \backslash
27311 columnseprulecolor}{
27312 \backslash
27313 normalcolor}
27314 \end_layout
27315
27316 \end_inset
27317
27318
27319 \begin_inset Note Note
27320 status collapsed
27321
27322 \begin_layout Plain Layout
27323 retornar a los valores por omisión.
27324 \end_layout
27325
27326 \end_inset
27327
27328
27329 \end_layout
27330
27331 \begin_layout Standard
27332 \begin_inset Newpage newpage
27333 \end_inset
27334
27335
27336 \end_layout
27337
27338 \begin_layout Section
27339 Párrafos con formas diversas
27340 \end_layout
27341
27342 \begin_layout Standard
27343 \SpecialChar LaTeX
27344  y cualquier procesador de texto usan por omisión párrafos rectangulares.
27345  Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27346  la forma del párrafo.
27347  Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27348  
27349 \family typewriter
27350 shapepar
27351 \family default
27352 , que se carga con el módulo
27353 \family sans
27354  Párrafos conformados
27355 \family default
27356  en 
27357 \family sans
27358 Documento\SpecialChar menuseparator
27359 Configuración\SpecialChar menuseparator
27360 Módulos
27361 \family default
27362 .
27363 \end_layout
27364
27365 \begin_layout Subsection
27366 Formas predefinidas
27367 \end_layout
27368
27369 \begin_layout Standard
27370 El paquete 
27371 \series bold
27372 shapepar
27373 \series default
27374  proporciona las siguientes formas:
27375 \end_layout
27376
27377 \begin_layout Standard
27378 \begin_inset Tabular
27379 <lyxtabular version="3" rows="13" columns="3">
27380 <features booktabs="true" islongtable="true" longtabularalignment="center">
27381 <column alignment="center" valignment="middle" width="16col%">
27382 <column alignment="center" valignment="middle" width="40col%">
27383 <column alignment="center" valignment="middle" width="35col%">
27384 <row endhead="true">
27385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27386 \begin_inset Text
27387
27388 \begin_layout Plain Layout
27389 Nombre
27390 \end_layout
27391
27392 \end_inset
27393 </cell>
27394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27395 \begin_inset Text
27396
27397 \begin_layout Plain Layout
27398 Descripción
27399 \end_layout
27400
27401 \end_inset
27402 </cell>
27403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27404 \begin_inset Text
27405
27406 \begin_layout Plain Layout
27407 Observaciones
27408 \end_layout
27409
27410 \end_inset
27411 </cell>
27412 </row>
27413 <row>
27414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27415 \begin_inset Text
27416
27417 \begin_layout Plain Layout
27418 Carátula CD
27419 \end_layout
27420
27421 \end_inset
27422 </cell>
27423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27424 \begin_inset Text
27425
27426 \begin_layout Plain Layout
27427 Círculo con orificio central (tamaño de CD/DVD)
27428 \end_layout
27429
27430 \end_inset
27431 </cell>
27432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27433 \begin_inset Text
27434
27435 \begin_layout Plain Layout
27436 No se puede cambiar el tamaño; no debe contener demasiado texto
27437 \end_layout
27438
27439 \end_inset
27440 </cell>
27441 </row>
27442 <row>
27443 <cell alignment="center" valignment="top" topline="true" usebox="none">
27444 \begin_inset Text
27445
27446 \begin_layout Plain Layout
27447 Círculo
27448 \end_layout
27449
27450 \end_inset
27451 </cell>
27452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27453 \begin_inset Text
27454
27455 \begin_layout Plain Layout
27456 Círculo
27457 \end_layout
27458
27459 \end_inset
27460 </cell>
27461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27462 \begin_inset Text
27463
27464 \begin_layout Plain Layout
27465 Frágil, los cálculos
27466 \end_layout
27467
27468 \begin_layout Plain Layout
27469 pueden fallar
27470 \end_layout
27471
27472 \end_inset
27473 </cell>
27474 </row>
27475 <row>
27476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27477 \begin_inset Text
27478
27479 \begin_layout Plain Layout
27480 Diamante
27481 \end_layout
27482
27483 \end_inset
27484 </cell>
27485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27486 \begin_inset Text
27487
27488 \begin_layout Plain Layout
27489 Romboide (simbolizando
27490 \end_layout
27491
27492 \begin_layout Plain Layout
27493 un 
27494 \begin_inset Quotes cld
27495 \end_inset
27496
27497 diamante
27498 \begin_inset Quotes crd
27499 \end_inset
27500
27501 )
27502 \end_layout
27503
27504 \end_inset
27505 </cell>
27506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27507 \begin_inset Text
27508
27509 \begin_layout Plain Layout
27510 -
27511 \end_layout
27512
27513 \end_inset
27514 </cell>
27515 </row>
27516 <row>
27517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27518 \begin_inset Text
27519
27520 \begin_layout Plain Layout
27521 Corazón
27522 \end_layout
27523
27524 \end_inset
27525 </cell>
27526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27527 \begin_inset Text
27528
27529 \begin_layout Plain Layout
27530 Forma de corazón
27531 \end_layout
27532
27533 \end_inset
27534 </cell>
27535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27536 \begin_inset Text
27537
27538 \begin_layout Plain Layout
27539 -
27540 \end_layout
27541
27542 \end_inset
27543 </cell>
27544 </row>
27545 <row>
27546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27547 \begin_inset Text
27548
27549 \begin_layout Plain Layout
27550 Hexágono
27551 \end_layout
27552
27553 \end_inset
27554 </cell>
27555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27556 \begin_inset Text
27557
27558 \begin_layout Plain Layout
27559 Hexágono
27560 \end_layout
27561
27562 \end_inset
27563 </cell>
27564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27565 \begin_inset Text
27566
27567 \begin_layout Plain Layout
27568 -
27569 \end_layout
27570
27571 \end_inset
27572 </cell>
27573 </row>
27574 <row>
27575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27576 \begin_inset Text
27577
27578 \begin_layout Plain Layout
27579 Tuerca
27580 \end_layout
27581
27582 \end_inset
27583 </cell>
27584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27585 \begin_inset Text
27586
27587 \begin_layout Plain Layout
27588 Tuerca de tornillo
27589 \end_layout
27590
27591 \begin_layout Plain Layout
27592 (hexágono con orificio circular)
27593 \end_layout
27594
27595 \end_inset
27596 </cell>
27597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27598 \begin_inset Text
27599
27600 \begin_layout Plain Layout
27601 -
27602 \end_layout
27603
27604 \end_inset
27605 </cell>
27606 </row>
27607 <row>
27608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27609 \begin_inset Text
27610
27611 \begin_layout Plain Layout
27612 Cuadrado
27613 \end_layout
27614
27615 \end_inset
27616 </cell>
27617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27618 \begin_inset Text
27619
27620 \begin_layout Plain Layout
27621 Cuadrado
27622 \end_layout
27623
27624 \end_inset
27625 </cell>
27626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27627 \begin_inset Text
27628
27629 \begin_layout Plain Layout
27630 -
27631 \end_layout
27632
27633 \end_inset
27634 </cell>
27635 </row>
27636 <row>
27637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27638 \begin_inset Text
27639
27640 \begin_layout Plain Layout
27641 Estrella
27642 \end_layout
27643
27644 \end_inset
27645 </cell>
27646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27647 \begin_inset Text
27648
27649 \begin_layout Plain Layout
27650 Estrella de 5 puntas
27651 \end_layout
27652
27653 \end_inset
27654 </cell>
27655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27656 \begin_inset Text
27657
27658 \begin_layout Plain Layout
27659 -
27660 \end_layout
27661
27662 \end_inset
27663 </cell>
27664 </row>
27665 <row>
27666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27667 \begin_inset Text
27668
27669 \begin_layout Plain Layout
27670 Vela
27671 \end_layout
27672
27673 \end_inset
27674 </cell>
27675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27676 \begin_inset Text
27677
27678 \begin_layout Plain Layout
27679 Cilindro con llama
27680 \end_layout
27681
27682 \end_inset
27683 </cell>
27684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27685 \begin_inset Text
27686
27687 \begin_layout Plain Layout
27688 -
27689 \end_layout
27690
27691 \end_inset
27692 </cell>
27693 </row>
27694 <row>
27695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27696 \begin_inset Text
27697
27698 \begin_layout Plain Layout
27699 Gota/Gota invertida
27700 \end_layout
27701
27702 \end_inset
27703 </cell>
27704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27705 \begin_inset Text
27706
27707 \begin_layout Plain Layout
27708 Forma de gota normal/invertida
27709 \end_layout
27710
27711 \end_inset
27712 </cell>
27713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27714 \begin_inset Text
27715
27716 \begin_layout Plain Layout
27717 Frágil, los cáculos
27718 \end_layout
27719
27720 \begin_layout Plain Layout
27721 pueden fallar
27722 \end_layout
27723
27724 \end_inset
27725 </cell>
27726 </row>
27727 <row>
27728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27729 \begin_inset Text
27730
27731 \begin_layout Plain Layout
27732 \SpecialChar TeX
27733
27734 \end_layout
27735
27736 \end_inset
27737 </cell>
27738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27739 \begin_inset Text
27740
27741 \begin_layout Plain Layout
27742 Logotipo de \SpecialChar TeX
27743
27744 \end_layout
27745
27746 \end_inset
27747 </cell>
27748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27749 \begin_inset Text
27750
27751 \begin_layout Plain Layout
27752 -
27753 \end_layout
27754
27755 \end_inset
27756 </cell>
27757 </row>
27758 <row>
27759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27760 \begin_inset Text
27761
27762 \begin_layout Plain Layout
27763 Triángulo
27764 \begin_inset Newline newline
27765 \end_inset
27766
27767 arriba/abajo
27768 \begin_inset Newline newline
27769 \end_inset
27770
27771 izquierda/derecha
27772 \end_layout
27773
27774 \end_inset
27775 </cell>
27776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27777 \begin_inset Text
27778
27779 \begin_layout Plain Layout
27780 Triángulos en diferentes orientaciones
27781 \end_layout
27782
27783 \end_inset
27784 </cell>
27785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27786 \begin_inset Text
27787
27788 \begin_layout Plain Layout
27789 -
27790 \end_layout
27791
27792 \end_inset
27793 </cell>
27794 </row>
27795 </lyxtabular>
27796
27797 \end_inset
27798
27799
27800 \end_layout
27801
27802 \begin_layout Standard
27803 Para elegir una determinada forma selecciónala en la lista desplegable de
27804  entornos de \SpecialChar LyX
27805  (primer botón de la barra de herramientas).
27806 \end_layout
27807
27808 \begin_layout Standard
27809 \begin_inset Newpage newpage
27810 \end_inset
27811
27812
27813 \end_layout
27814
27815 \begin_layout Standard
27816 Ejemplo de párrafo con forma de tuerca:
27817 \end_layout
27818
27819 \begin_layout Standard
27820 \begin_inset VSpace bigskip
27821 \end_inset
27822
27823
27824 \end_layout
27825
27826 \begin_layout Nut
27827 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27828  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27829  voluptua.
27830  At vero eos et accusam et justo duo dolores et ea rebum.
27831  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27832  sit amet.
27833  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27834  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27835  voluptua.
27836 \end_layout
27837
27838 \begin_layout Standard
27839 \begin_inset VSpace bigskip
27840 \end_inset
27841
27842
27843 \end_layout
27844
27845 \begin_layout Standard
27846 \begin_inset Note Greyedout
27847 status open
27848
27849 \begin_layout Plain Layout
27850
27851 \series bold
27852 Nota
27853 \series default
27854 : los párrafos conformados no pueden saltar de página.
27855 \end_layout
27856
27857 \end_inset
27858
27859
27860 \end_layout
27861
27862 \begin_layout Standard
27863 \begin_inset VSpace bigskip
27864 \end_inset
27865
27866
27867 \end_layout
27868
27869 \begin_layout Standard
27870 The package 
27871 \family typewriter
27872 shapepar
27873 \family default
27874  preserva siempre la forma independientemente de la cantidad de texto.
27875  Por tanto el tamaño del párrafo cambia en función del texto.
27876  Esto puede provocar desbordamiento de los márgenes.
27877  Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
27878  con el doble de texto:
27879 \end_layout
27880
27881 \begin_layout Standard
27882 \begin_inset Newpage newpage
27883 \end_inset
27884
27885
27886 \end_layout
27887
27888 \begin_layout Nut
27889 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27890  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27891  voluptua.
27892  At vero eos et accusam et justo duo dolores et ea rebum.
27893  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27894  sit amet.
27895  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27896  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27897  voluptua.
27898  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27899  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27900  voluptua.
27901  At vero eos et accusam et justo duo dolores et ea rebum.
27902  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27903  sit amet.
27904  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27905  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27906  voluptua.
27907 \end_layout
27908
27909 \begin_layout Standard
27910 \begin_inset VSpace bigskip
27911 \end_inset
27912
27913
27914 \end_layout
27915
27916 \begin_layout Standard
27917 La forma 
27918 \family sans
27919 Carátula CD 
27920 \family default
27921 es una excepción.
27922  No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
27923  Por tanto la cantidad de texto que admite esta forma es limitada.
27924 \begin_inset Newline newline
27925 \end_inset
27926
27927 Las formas 
27928 \family sans
27929 Gota
27930 \family default
27931  y
27932 \family sans
27933  Círculo
27934 \family default
27935  son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
27936  según la cantidad de texto.
27937  En esos casos se producirá el error de \SpecialChar LaTeX
27938  
27939 \begin_inset Quotes eld
27940 \end_inset
27941
27942 Arithmetic overflow
27943 \begin_inset Quotes erd
27944 \end_inset
27945
27946 .
27947  Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
27948  que elegir otra forma.
27949 \end_layout
27950
27951 \begin_layout Standard
27952 \begin_inset VSpace bigskip
27953 \end_inset
27954
27955
27956 \end_layout
27957
27958 \begin_layout Standard
27959 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
27960  puede fallar.
27961  Entonces habrá que añadir guiones protegidos 
27962 \family sans
27963 (
27964 \begin_inset Info
27965 type  "shortcut"
27966 arg   "specialchar-insert hyphenation"
27967 \end_inset
27968
27969
27970 \family default
27971 ) donde sea necesario.
27972 \end_layout
27973
27974 \begin_layout Standard
27975 \begin_inset VSpace bigskip
27976 \end_inset
27977
27978
27979 \end_layout
27980
27981 \begin_layout Standard
27982 Los párrafos conformados siempre van centrados en la página o ajustados
27983  al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
27984 ón de párrafos.
27985  Una solución es poner el párrafo en una minipágina o en un marco y alinear
27986  éstos.
27987  En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
27988  ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
27989  del marco.
27990  De modo que habrá que ir probando un poco para acertar con la anchura correcta.
27991  Aquí tenemos dos párrafos 
27992 \family sans
27993 Corazón
27994 \family default
27995 , el primero no alineado, el segundo a la derecha:
27996 \end_layout
27997
27998 \begin_layout Standard
27999 \begin_inset Newpage newpage
28000 \end_inset
28001
28002
28003 \end_layout
28004
28005 \begin_layout Heart
28006 \noindent
28007 Lo\SpecialChar softhyphen
28008 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28009  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28010  voluptua.
28011  At vero eos et accusam et justo duo dolores et ea rebum.
28012  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28013  sit amet.
28014 \end_layout
28015
28016 \begin_layout Standard
28017 \begin_inset VSpace bigskip
28018 \end_inset
28019
28020
28021 \end_layout
28022
28023 \begin_layout Standard
28024 \noindent
28025 \align right
28026 \begin_inset Box Frameless
28027 position "t"
28028 hor_pos "c"
28029 has_inner_box 1
28030 inner_pos "t"
28031 use_parbox 1
28032 use_makebox 0
28033 width "42col%"
28034 special "none"
28035 height "1in"
28036 height_special "totalheight"
28037 thickness "0.4pt"
28038 separation "3pt"
28039 shadowsize "4pt"
28040 framecolor "black"
28041 backgroundcolor "none"
28042 status open
28043
28044 \begin_layout Heart
28045 \noindent
28046 Lo\SpecialChar softhyphen
28047 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28048  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28049  voluptua.
28050  At vero eos et accusam et justo duo dolores et ea rebum.
28051  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28052  sit amet.
28053 \end_layout
28054
28055 \end_inset
28056
28057
28058 \end_layout
28059
28060 \begin_layout Subsection
28061 Formas personalizadas
28062 \end_layout
28063
28064 \begin_layout Standard
28065 Se puede definir cualquier forma.
28066  Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28067  coordenada.
28068  Pero hay una forma de que el ordenador haga los cálculos:
28069 \end_layout
28070
28071 \begin_layout Enumerate
28072 Instala el programa 
28073 \begin_inset CommandInset href
28074 LatexCommand href
28075 name "Jpgfdraw"
28076 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
28077 literal "false"
28078
28079 \end_inset
28080
28081 .
28082 \end_layout
28083
28084 \begin_layout Enumerate
28085 En 
28086 \family sans
28087 Jpgfdraw
28088 \family default
28089  ve al menú 
28090 \family sans
28091 TeX/LaTeX\SpecialChar menuseparator
28092 Settings\SpecialChar menuseparator
28093 Set Normal Size
28094 \family default
28095  y selecciona el tamaño de tipografía usado en el documento.
28096  Por ejemplo, este documento usa el tamaño 12
28097 \begin_inset space \thinspace{}
28098 \end_inset
28099
28100 pt.
28101 \end_layout
28102
28103 \begin_layout Enumerate
28104 Dibuja una forma.
28105 \end_layout
28106
28107 \begin_layout Enumerate
28108 Usa el menú 
28109 \family sans
28110 TeX/LaTeX\SpecialChar menuseparator
28111 Shapepar
28112 \family default
28113  para exportar la forma a coordenadas.
28114  En el diálogo que surge usa la descripción de la forma para las coordenadas
28115  o la ruta misma.
28116 \begin_inset Foot
28117 status collapsed
28118
28119 \begin_layout Plain Layout
28120 Más información en 
28121 \begin_inset CommandInset href
28122 LatexCommand href
28123 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28124 literal "false"
28125
28126 \end_inset
28127
28128
28129 \end_layout
28130
28131 \end_inset
28132
28133
28134 \end_layout
28135
28136 \begin_layout Standard
28137 Las coordenadas se escriben en un archivo \SpecialChar TeX
28138 .
28139  Para incorporarlo a \SpecialChar LyX
28140 :
28141 \end_layout
28142
28143 \begin_layout Enumerate
28144 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28145  vacío).
28146 \end_layout
28147
28148 \begin_layout Enumerate
28149 En \SpecialChar LyX
28150  abre el menú 
28151 \family sans
28152 Insertar\SpecialChar menuseparator
28153 Archivo\SpecialChar menuseparator
28154 Documento
28155 \begin_inset space ~
28156 \end_inset
28157
28158 hijo\SpecialChar ldots
28159
28160 \family default
28161 , selecciona el archivo y elige 
28162 \family sans
28163 Incorporar
28164 \family default
28165  en 
28166 \family sans
28167 Tipo
28168 \begin_inset space ~
28169 \end_inset
28170
28171 de
28172 \begin_inset space ~
28173 \end_inset
28174
28175 inclusión.
28176 \end_layout
28177
28178 \begin_layout Standard
28179 \begin_inset VSpace defskip
28180 \end_inset
28181
28182
28183 \end_layout
28184
28185 \begin_layout Standard
28186 \begin_inset Note Greyedout
28187 status open
28188
28189 \begin_layout Plain Layout
28190
28191 \series bold
28192 Nota
28193 \series default
28194 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28195  a normal para el párrafo siguiente.
28196  Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28197 \end_layout
28198
28199 \end_inset
28200
28201
28202 \end_layout
28203
28204 \begin_layout Standard
28205 \begin_inset VSpace bigskip
28206 \end_inset
28207
28208
28209 \end_layout
28210
28211 \begin_layout Standard
28212 Un ejemplo:
28213 \end_layout
28214
28215 \begin_layout Standard
28216 \begin_inset VSpace bigskip
28217 \end_inset
28218
28219
28220 \end_layout
28221
28222 \begin_layout Standard
28223 \begin_inset CommandInset include
28224 LatexCommand input
28225 filename "../SpecialParagraphShape.tex"
28226
28227 \end_inset
28228
28229 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28230  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28231  voluptua.
28232  At vero eos et accusam et justo duo dolores et ea rebum.
28233  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28234  sit amet.
28235  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28236  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28237  voluptua.
28238 \end_layout
28239
28240 \begin_layout Standard
28241 \begin_inset VSpace bigskip
28242 \end_inset
28243
28244
28245 \end_layout
28246
28247 \begin_layout Standard
28248
28249 \series bold
28250 Un consejo:
28251 \series default
28252  para dibujar formas complejas en 
28253 \family sans
28254 Jpgfdraw
28255 \family default
28256  puedes dibujar la forma con el programa que quieras e importar la imagen
28257  obtenida en 
28258 \family sans
28259 Jpgfdraw
28260 \family default
28261 .
28262  Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28263  la imagen.
28264 \end_layout
28265
28266 \begin_layout Standard
28267 \begin_inset VSpace bigskip
28268 \end_inset
28269
28270
28271 \end_layout
28272
28273 \begin_layout Standard
28274 El módulo 
28275 \family sans
28276 Párrafos conformados
28277 \family default
28278  proporciona además el 
28279 \family sans
28280 Comando
28281 \family default
28282  
28283 \family sans
28284 shapepar
28285 \family default
28286  y el 
28287 \family sans
28288 Comando
28289 \family default
28290  
28291 \family sans
28292 Shapepar
28293 \family default
28294  que se pueden usar para definir formas coordenada a coordenada.
28295 \begin_inset Foot
28296 status collapsed
28297
28298 \begin_layout Plain Layout
28299 Estos comandos se usan internamente para todas las formas que se han descrito
28300  aquí.
28301 \end_layout
28302
28303 \end_inset
28304
28305  Para información sobre el uso de estos entornos de estilo y más posibilidades
28306  de personalización echa un vistazo a la 
28307 \begin_inset CommandInset href
28308 LatexCommand href
28309 name "documentación"
28310 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
28311 literal "false"
28312
28313 \end_inset
28314
28315  del paquete 
28316 \family typewriter
28317 shapepar
28318 \family default
28319 .
28320 \end_layout
28321
28322 \end_body
28323 \end_document