]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Additional.lyx
UserGuide.lyx: accept and distribute some more additions
[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 auto
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 0
84 \use_package esint 0
85 \use_package mathdots 1
86 \use_package mathtools 0
87 \use_package mhchem 1
88 \use_package stackrel 0
89 \use_package stmaryrd 0
90 \use_package undertilde 0
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 true
119 \output_changes false
120 \html_math_output 0
121 \html_css_as_file 0
122 \html_be_strict true
123 \author 34634807 "Jean-Pierre"
124 \end_header
125
126 \begin_body
127
128 \begin_layout Title
129 Características adicionales de \SpecialChar LyX
130
131 \end_layout
132
133 \begin_layout Subtitle
134 Version 2.
135 \change_deleted 34634807 1499890754
136 2
137 \change_inserted 34634807 1499890754
138 3
139 \change_unchanged
140 .x
141 \end_layout
142
143 \begin_layout Author
144 por el Equipo \SpecialChar LyX
145
146 \begin_inset Foot
147 status collapsed
148
149 \begin_layout Plain Layout
150 \noindent
151 El principal mantenedor de este archivo es 
152 \noun on
153 Richard Heck
154 \noun default
155 .
156  Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
157  correo de Documentación de \SpecialChar LyX
158
159 \begin_inset Flex Code
160 status collapsed
161
162 \begin_layout Plain Layout
163 \noindent
164 <lyx-docs@lists.lyx.org>
165 \end_layout
166
167 \end_inset
168
169 .
170 \end_layout
171
172 \end_inset
173
174
175 \end_layout
176
177 \begin_layout Standard
178 \begin_inset CommandInset toc
179 LatexCommand tableofcontents
180
181 \end_inset
182
183
184 \end_layout
185
186 \begin_layout Chapter
187 Introducción
188 \end_layout
189
190 \begin_layout Standard
191 Este manual es esencialmente la Parte II de la 
192 \emph on
193 Guía del Usuario
194 \emph default
195 .
196  La segregación de este documento obedece a una sencilla razón: la 
197 \emph on
198 Guía del Usuario
199 \emph default
200  es muy extensa, y contiene todas las características básicas que uno necesita
201  conocer para preparar la mayoría de documentos.
202  Sin embargo, el Equipo \SpecialChar LyX
203  ha tenido siempre el objetivo de extender las caracterí
204 sticas del programa mediante diversos archivos de configuración y paquetes
205  externos.
206  Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
207  
208 \family typewriter
209 Fizzwizzle
210 \family default
211 , puedes crear un archivo de formato (o módulo) para él sin tener que alterar
212  el propio \SpecialChar LyX
213 .
214  Ya hemos hecho de esta manera contribuciones a varias características nuevas.
215  Este es el documento donde se explican todas estas cosas.
216 \end_layout
217
218 \begin_layout Standard
219 En este manual se describen también algunas características especiales como
220  soporte de fax, control de versiones y soporte para SGML, que requieren
221  software adicional para funcionar bien.
222  Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
223 , muy útiles
224  para mejorar la presentación de los documentos usando directamente las
225  poderosas características de \SpecialChar LaTeX
226 .
227  Después de todo, \SpecialChar LyX
228  
229 \emph on
230 solo 
231 \emph default
232 es WYSIWYM y siempre será solo una interfaz para algunas, no todas, característi
233 cas de \SpecialChar LaTeX
234 .
235  
236 \end_layout
237
238 \begin_layout Standard
239 Si aún no has leído la 
240 \emph on
241 Introducción
242 \emph default
243 , no hay duda de que estás en el manual equivocado.
244  La 
245 \emph on
246 Introducción
247 \emph default
248  es el primer sitio al que acudir, porque ahí te remitimos al manual adecuado
249  y te explicamos los criterios y el formato de todos los manuales.
250  También deberías estar familiarizado con la 
251 \emph on
252 Guía del usuario
253 \emph default
254  y con las características fundamentales de \SpecialChar LyX
255  antes de leer éste.
256  
257 \end_layout
258
259 \begin_layout Standard
260 Puesto que todos los temas tratados en este manual dependen estrechamente
261  de la interacción entre \SpecialChar LyX
262  y \SpecialChar LaTeX
263 , el siguiente capítulo trata sobre el trabajo
264  interno de \SpecialChar LyX
265  y la forma de usar \SpecialChar LyX
266  para generar exactamente el código \SpecialChar LaTeX
267  adecuado.
268  Obviamente, es para usuarios experimentados en \SpecialChar LyX
269 .
270 \end_layout
271
272 \begin_layout Chapter
273 \SpecialChar LyX
274  y \SpecialChar LaTeX
275
276 \end_layout
277
278 \begin_layout Section
279 Uso de \SpecialChar LaTeX
280  en \SpecialChar LyX
281
282 \end_layout
283
284 \begin_layout Standard
285 Este capítulo es tanto para 
286 \begin_inset Quotes cld
287 \end_inset
288
289 \SpecialChar TeX
290 -nicos
291 \begin_inset Quotes crd
292 \end_inset
293
294  como para curiosos de \SpecialChar LaTeX
295 .
296  En él explicaremos cómo trabajan juntos \SpecialChar LyX
297  y \SpecialChar LaTeX
298  para generar salida imprimible.
299  Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
300 .
301 \end_layout
302
303 \begin_layout Standard
304 Una vez llamamos a \SpecialChar LyX
305  
306 \begin_inset Quotes cld
307 \end_inset
308
309 interfaz WYSIWYM para \SpecialChar LaTeX
310
311 \begin_inset Quotes crd
312 \end_inset
313
314 , pero ya no es cierto.
315  Hay otros programas que también lo son.
316 \begin_inset Foot
317 status collapsed
318
319 \begin_layout Plain Layout
320 Algunos habituales son \SpecialChar TeX
321 maker y kile para Linux y \SpecialChar TeX
322 shop para OSX.
323  Están además los modos \SpecialChar LaTeX
324  de vi y emacs, por supuesto.
325 \end_layout
326
327 \end_inset
328
329  Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
330  y marcar los errores
331  en el archivo que se está editando.
332  Aunque \SpecialChar LyX
333  
334 \emph on
335 es
336 \emph default
337  un editor, y 
338 \emph on
339 hace
340 \emph default
341  correr a \SpecialChar LaTeX
342 , y también marca los errores en el archivo, hace mucho, mucho
343  más.
344  Gracias al concepto WYSIWYM, no necesitas \SpecialChar LaTeX
345  para usar \SpecialChar LyX
346  eficazmente.
347  Además, \SpecialChar LyX
348  ha añadido algunas extensiones a \SpecialChar LaTeX
349 .
350  Prueba esto en alguna ocasión: selecciona 
351 \begin_inset Flex Noun
352 status collapsed
353
354 \begin_layout Plain Layout
355 Exportar\SpecialChar menuseparator
356 LaTeX
357 \end_layout
358
359 \end_inset
360
361
362 \family sans
363  
364 \family default
365 desde el menú 
366 \begin_inset Flex Noun
367 status collapsed
368
369 \begin_layout Plain Layout
370 Archivo
371 \end_layout
372
373 \end_inset
374
375 , (o 
376 \begin_inset Flex Noun
377 status collapsed
378
379 \begin_layout Plain Layout
380 Ver\SpecialChar menuseparator
381 Panel de código fuente
382 \end_layout
383
384 \end_inset
385
386 ), y luego mira el preámbulo del archivo
387 \family sans
388  
389 \family typewriter
390
391 \begin_inset Flex Code
392 status collapsed
393
394 \begin_layout Plain Layout
395
396 \family typewriter
397 .tex
398 \end_layout
399
400 \end_inset
401
402  
403 \family default
404 resultante.
405  Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
406 .
407  Estas macros se definen automáticamente, de acuerdo con las características
408  elegidas para el documento.
409 \end_layout
410
411 \begin_layout Standard
412 Hay varios comandos que ejecutan \SpecialChar LaTeX
413  automáticamente.
414  Son:
415 \end_layout
416
417 \begin_layout Itemize
418 \begin_inset Flex Noun
419 status collapsed
420
421 \begin_layout Plain Layout
422
423 \family sans
424 Documento\SpecialChar menuseparator
425 Ver
426 \end_layout
427
428 \end_inset
429
430
431 \end_layout
432
433 \begin_layout Itemize
434 \begin_inset Flex Noun
435 status collapsed
436
437 \begin_layout Plain Layout
438
439 \family sans
440 Documento\SpecialChar menuseparator
441
442 \family default
443 A
444 \family sans
445 ctualizar
446 \end_layout
447
448 \end_inset
449
450
451 \end_layout
452
453 \begin_layout Standard
454 Solo llaman a \SpecialChar LaTeX
455  si el archivo ha cambiado desde la última vez que se ejecutó.
456  
457 \end_layout
458
459 \begin_layout Standard
460 Cuando \SpecialChar LyX
461  ejecuta \SpecialChar LaTeX
462  sobre el archivo que estás editando, lleva a cabo los siguiente
463 s pasos:
464 \end_layout
465
466 \begin_layout Enumerate
467 Convierte el documento a \SpecialChar LaTeX
468  y guarda un archivo con extensión 
469 \begin_inset Flex Code
470 status collapsed
471
472 \begin_layout Plain Layout
473
474 \family typewriter
475 .tex
476 \end_layout
477
478 \end_inset
479
480 .
481 \end_layout
482
483 \begin_layout Enumerate
484 Ejecuta
485 \family typewriter
486  
487 \family default
488 \SpecialChar LaTeX
489  sobre el archivo
490 \family typewriter
491  
492 \family default
493
494 \begin_inset Flex Code
495 status collapsed
496
497 \begin_layout Plain Layout
498
499 \family typewriter
500 .tex
501 \end_layout
502
503 \end_inset
504
505
506 \family typewriter
507  
508 \family default
509 (quizá varias veces) y cualesquiera otros comandos (como 
510 \begin_inset Flex Code
511 status collapsed
512
513 \begin_layout Plain Layout
514 bibtex
515 \end_layout
516
517 \end_inset
518
519  o 
520 \begin_inset Flex Code
521 status collapsed
522
523 \begin_layout Plain Layout
524 makeindex
525 \end_layout
526
527 \end_inset
528
529 ) necesarios para compilar el archivo.
530 \end_layout
531
532 \begin_layout Enumerate
533 Si hay errores, muestra el registro de errores.
534 \end_layout
535
536 \begin_layout Standard
537 Si has ejecutado \SpecialChar LaTeX
538  con
539 \family sans
540  
541 \family default
542
543 \begin_inset Flex Noun
544 status collapsed
545
546 \begin_layout Plain Layout
547
548 \family sans
549 Ver
550 \begin_inset space ~
551 \end_inset
552
553 DVI
554 \end_layout
555
556 \end_inset
557
558 , \SpecialChar LyX
559  ejecuta un visor DVI para mostrar la salida.
560  Si has usado
561 \family sans
562  
563 \family default
564
565 \begin_inset Flex Noun
566 status collapsed
567
568 \begin_layout Plain Layout
569
570 \family sans
571 Ver
572 \begin_inset space ~
573 \end_inset
574
575 PostScript
576 \end_layout
577
578 \end_inset
579
580 , \SpecialChar LyX
581  hace dos pasos más:
582 \end_layout
583
584 \begin_layout Itemize
585 Ejecuta 
586 \family typewriter
587 dvips
588 \family default
589  para convertir el archivo DVI a PostScript.
590 \end_layout
591
592 \begin_layout Itemize
593 Ejecuta un visor PostScript, como 
594 \family typewriter
595
596 \begin_inset Flex Code
597 status collapsed
598
599 \begin_layout Plain Layout
600
601 \family typewriter
602 ghostview
603 \end_layout
604
605 \end_inset
606
607
608 \family default
609  para mostrar la salida.
610 \end_layout
611
612 \begin_layout Standard
613 \SpecialChar LyX
614  procede de forma parecida cuando ves o exportas otros formatos.
615 \end_layout
616
617 \begin_layout Section
618 Convertir archivos \SpecialChar LaTeX
619  en \SpecialChar LyX
620
621 \end_layout
622
623 \begin_layout Standard
624 Puedes importar un archivo \SpecialChar LaTeX
625  en \SpecialChar LyX
626  usando el comando
627 \family sans
628  
629 \begin_inset Flex Noun
630 status collapsed
631
632 \begin_layout Plain Layout
633
634 \family sans
635 Archivo\SpecialChar menuseparator
636 Importar\SpecialChar menuseparator
637 LaTeX
638 \end_layout
639
640 \end_inset
641
642
643 \family default
644 .
645  Esto llamará al programa llamado 
646 \begin_inset Flex Code
647 status collapsed
648
649 \begin_layout Plain Layout
650 tex2lyx
651 \end_layout
652
653 \end_inset
654
655  que generará un archivo 
656 \begin_inset Flex Code
657 status collapsed
658
659 \begin_layout Plain Layout
660 foo.lyx
661 \end_layout
662
663 \end_inset
664
665  a partir del archivo 
666 \begin_inset Flex Code
667 status collapsed
668
669 \begin_layout Plain Layout
670 foo.tex
671 \end_layout
672
673 \end_inset
674
675  y luego lo abrirá.
676 \begin_inset Foot
677 status collapsed
678
679 \begin_layout Plain Layout
680 \begin_inset Flex Code
681 status collapsed
682
683 \begin_layout Plain Layout
684 tex2lyx
685 \end_layout
686
687 \end_inset
688
689  también se puede ejecutar en línea de comandos, por supuesto.
690 \end_layout
691
692 \end_inset
693
694
695 \end_layout
696
697 \begin_layout Standard
698 \begin_inset Flex Code
699 status collapsed
700
701 \begin_layout Plain Layout
702 tex2lyx
703 \end_layout
704
705 \end_inset
706
707  traducirá casi todo el \SpecialChar LaTeX
708  legal, pero no todo.
709  Dejará en código \SpecialChar TeX
710  cosas que no comprende, así que después de importar un
711  archivo con 
712 \begin_inset Flex Code
713 status collapsed
714
715 \begin_layout Plain Layout
716
717 \family typewriter
718 tex2lyx
719 \end_layout
720
721 \end_inset
722
723 , puedes buscar texto en rojo y editarlo a mano para que funcione bien.
724 \end_layout
725
726 \begin_layout Standard
727 Si no sabes qué es código \SpecialChar TeX
728  lee la sección siguiente.
729 \end_layout
730
731 \begin_layout Section
732 Insertar código \SpecialChar TeX
733  en documentos \SpecialChar LyX
734  
735 \begin_inset CommandInset label
736 LatexCommand label
737 name "sec:Insertar-Código-TeX"
738
739 \end_inset
740
741
742 \end_layout
743
744 \begin_layout Standard
745 Todo lo que se puede hacer en \SpecialChar LaTeX
746  se puede hacer en \SpecialChar LyX
747 , por una razón muy simple:
748  en cualquier momento puedes insertar código \SpecialChar LaTeX
749  en un documento \SpecialChar LyX
750 .
751  \SpecialChar LyX
752  no puede, y nunca podrá, mostrar cada una de las posibles estructuras
753  de \SpecialChar LaTeX
754 .
755  Si necesitas incluir comandos \SpecialChar LaTeX
756  en tu documento, puedes usar los marcos
757  de 
758 \begin_inset Flex Code
759 status collapsed
760
761 \begin_layout Plain Layout
762 código \SpecialChar TeX
763
764 \end_layout
765
766 \end_inset
767
768 , con el menú 
769 \begin_inset Flex Noun
770 status collapsed
771
772 \begin_layout Plain Layout
773
774 \family sans
775 Insertar\SpecialChar menuseparator
776 Código TeX
777 \end_layout
778
779 \end_inset
780
781 .
782 \end_layout
783
784 \begin_layout Standard
785 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
786  en un documento \SpecialChar LyX
787 .
788  El código se ve así:
789 \end_layout
790
791 \begin_layout LyX-Code
792
793 \backslash
794 begin{tabular}{ll}
795 \begin_inset Newline newline
796 \end_inset
797
798
799 \backslash
800 begin{minipage}{5cm}
801 \begin_inset Newline newline
802 \end_inset
803
804 Este es un ejemplo para un entorno minipágina.
805  En él 
806 \begin_inset Newline newline
807 \end_inset
808
809 puedes poner prácticamente todo, incluso figuras y 
810 \begin_inset Newline newline
811 \end_inset
812
813 cuadros (no flotantes).
814  
815 \begin_inset Newline newline
816 \end_inset
817
818
819 \backslash
820 end{minipage}
821 \begin_inset Newline newline
822 \end_inset
823
824 &
825 \begin_inset Newline newline
826 \end_inset
827
828
829 \backslash
830 begin{minipage}{5cm}
831 \begin_inset Newline newline
832 \end_inset
833
834
835 \backslash
836 begin{verbatim}
837 \begin_inset Newline newline
838 \end_inset
839
840
841 \backslash
842 begin{minipage}{5cm}
843 \begin_inset Newline newline
844 \end_inset
845
846 Esto...
847  
848 \begin_inset Newline newline
849 \end_inset
850
851
852 \backslash
853 end{minipage}
854 \begin_inset Newline newline
855 \end_inset
856
857
858 \backslash
859 end{verbatim}
860 \begin_inset Newline newline
861 \end_inset
862
863
864 \backslash
865 end{minipage}
866 \begin_inset Newline newline
867 \end_inset
868
869
870 \backslash
871 end{tabular}
872 \end_layout
873
874 \begin_layout Standard
875 El recuadro en 
876 \begin_inset Flex Code
877 status collapsed
878
879 \begin_layout Plain Layout
880 código \SpecialChar TeX
881
882 \end_layout
883
884 \end_inset
885
886  que contiene ese texto está tras este párrafo.
887  Si estás leyendo este manual en \SpecialChar LyX
888  solo verás el código insertado en rojo.
889  Si estás leyendo una versión impresa verás los resultados reales:
890 \begin_inset Newline newline
891 \end_inset
892
893
894 \end_layout
895
896 \begin_layout Standard
897 \begin_inset ERT
898 status open
899
900 \begin_layout Plain Layout
901
902
903 \backslash
904 begin{tabular}{ll}
905 \end_layout
906
907 \begin_layout Plain Layout
908
909
910 \backslash
911 begin{minipage}{5cm}
912 \end_layout
913
914 \begin_layout Plain Layout
915
916 Este es un ejemplo para un entorno minipágina.
917  En él puedes poner prácticamente todo, incluso figuras y cuadros (no flotantes).
918 \end_layout
919
920 \begin_layout Plain Layout
921
922
923 \backslash
924 end{minipage}
925 \end_layout
926
927 \begin_layout Plain Layout
928
929 &
930 \end_layout
931
932 \begin_layout Plain Layout
933
934
935 \backslash
936 begin{minipage}{5cm}
937 \end_layout
938
939 \begin_layout Plain Layout
940
941
942 \backslash
943 begin{verbatim}
944 \end_layout
945
946 \begin_layout Plain Layout
947
948
949 \backslash
950 begin{minipage}{5cm}
951 \end_layout
952
953 \begin_layout Plain Layout
954
955 Esto ...
956  
957 \end_layout
958
959 \begin_layout Plain Layout
960
961
962 \backslash
963 end{minipage}
964 \end_layout
965
966 \begin_layout Plain Layout
967
968
969 \backslash
970 end{verbatim}
971 \end_layout
972
973 \begin_layout Plain Layout
974
975
976 \backslash
977 end{minipage}
978 \end_layout
979
980 \begin_layout Plain Layout
981
982
983 \backslash
984 end{tabular}
985 \end_layout
986
987 \end_inset
988
989
990 \begin_inset Newline newline
991 \end_inset
992
993
994 \end_layout
995
996 \begin_layout Standard
997 Además de estos métodos,
998 \emph on
999  
1000 \emph default
1001 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
1002  complejas y
1003  usar después el menú
1004 \family sans
1005  
1006 \family default
1007
1008 \begin_inset Flex Noun
1009 status collapsed
1010
1011 \begin_layout Plain Layout
1012
1013 \family sans
1014 Insert
1015 \family default
1016 ar
1017 \family sans
1018 \SpecialChar menuseparator
1019 Archivo\SpecialChar menuseparator
1020 Documento
1021 \begin_inset space ~
1022 \end_inset
1023
1024 hijo
1025 \end_layout
1026
1027 \end_inset
1028
1029
1030 \family sans
1031  
1032 \family default
1033 para incluir ese archivo (deberías seleccionar el tipo 
1034 \family sans
1035
1036 \begin_inset Flex Code
1037 status collapsed
1038
1039 \begin_layout Plain Layout
1040
1041 \family sans
1042 Entrada
1043 \end_layout
1044
1045 \end_inset
1046
1047
1048 \family default
1049 ).
1050  Recomendamos hacer esto solo si dispones de un archivo 
1051 \family typewriter
1052
1053 \begin_inset Flex Code
1054 status collapsed
1055
1056 \begin_layout Plain Layout
1057
1058 \family typewriter
1059 .tex
1060 \end_layout
1061
1062 \end_inset
1063
1064  
1065 \family default
1066 que 
1067 \emph on
1068 sepas
1069 \emph default
1070  que funciona.
1071  Si no, te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1072 \SpecialChar ldots
1073
1074 \end_layout
1075
1076 \begin_layout Standard
1077 Hay unas últimas observaciones que hacer:
1078 \end_layout
1079
1080 \begin_layout Itemize
1081 \SpecialChar LyX
1082  
1083 \emph on
1084 no
1085 \emph default
1086  comprueba si el código \SpecialChar LaTeX
1087  es correcto.
1088 \end_layout
1089
1090 \begin_layout Itemize
1091 Abstente de reinventar la rueda.
1092 \end_layout
1093
1094 \begin_layout Standard
1095 Respecto al último punto, \SpecialChar LyX
1096  tiene bastantes características incorporadas,
1097  y más que vienen.
1098  Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1099  no dispone
1100  de tal o cual función antes de hacerlo a mano.
1101  Además, hay por ahí multitud de paquetes \SpecialChar LaTeX
1102  para hacer toda clase de cosas,
1103  desde etiquetas o sobres a fantásticos cuadros multipágina.
1104  Investiga en 
1105 \begin_inset CommandInset href
1106 LatexCommand href
1107 name "CTAN"
1108 target "http://www.ctan.org/"
1109 literal "false"
1110
1111 \end_inset
1112
1113  para detalles.
1114 \end_layout
1115
1116 \begin_layout Standard
1117 Si necesitas hacer algunas cosas fantásticas en tu documento, asegúrate
1118  de investigar en un buen libro sobre \SpecialChar LaTeX
1119  para obtener ayuda.
1120  Hay unos cuantos de ellos recogidos en la bibliografía de la 
1121 \emph on
1122 Guía del Usuario
1123 \emph default
1124 .
1125 \end_layout
1126
1127 \begin_layout Section
1128 \SpecialChar LyX
1129  y el Preámbulo \SpecialChar LaTeX
1130
1131 \end_layout
1132
1133 \begin_layout Subsection
1134 Sobre el preámbulo \SpecialChar LaTeX
1135
1136 \end_layout
1137
1138 \begin_layout Standard
1139 Si conoces \SpecialChar LaTeX
1140 , no es necesario explicar para qué sirve el preámbulo.
1141  Si no lo sabes, lo que sigue te dará algunas ideas —de nuevo recomendamos
1142  consultar un libro sobre \SpecialChar LaTeX
1143  para información adicional—.
1144  En cualquier caso, deberías leer los puntos siguientes porque detallan
1145  lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1146  de un
1147  documento \SpecialChar LyX
1148 .
1149 \end_layout
1150
1151 \begin_layout Standard
1152 El preámbulo \SpecialChar LaTeX
1153  se encuentra en el principio de un documento, 
1154 \emph on
1155 antes
1156 \emph default
1157  del texto.
1158  Sirve para:
1159 \end_layout
1160
1161 \begin_layout Itemize
1162 Declarar la clase de documento.
1163 \begin_inset Newline newline
1164 \end_inset
1165
1166 \SpecialChar LyX
1167  ya lo hace por ti.
1168  Si eres un avezado 
1169 \begin_inset Quotes cld
1170 \end_inset
1171
1172 \SpecialChar LaTeX
1173 -nico
1174 \begin_inset Quotes crd
1175 \end_inset
1176
1177 , y dispones de alguna clase personalizada de documento que deseas usar,
1178  busca información sobre cómo incluirlo en \SpecialChar LyX
1179  en el manual 
1180 \emph on
1181 Personalización
1182 \emph default
1183 .
1184  
1185 \end_layout
1186
1187 \begin_layout Itemize
1188 Declarar el empleo de paquetes.
1189 \begin_inset Newline newline
1190 \end_inset
1191
1192 Los paquetes \SpecialChar LaTeX
1193  suministran comandos especiales, que solo estarán disponibles
1194  para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1195  Por ejemplo, el paquete 
1196 \family typewriter
1197
1198 \begin_inset Flex Code
1199 status collapsed
1200
1201 \begin_layout Plain Layout
1202
1203 \family typewriter
1204 indentfirst
1205 \end_layout
1206
1207 \end_inset
1208
1209  
1210 \family default
1211 fuerza el sangrado en todos los párrafos.
1212  Hay otros paquetes para etiquetas, sobres, márgenes, etc.
1213 \end_layout
1214
1215 \begin_layout Itemize
1216 Configurar contadores, variables, longitudes y anchuras.
1217 \begin_inset Newline newline
1218 \end_inset
1219
1220 Hay varios contadores \SpecialChar LaTeX
1221  y variables que 
1222 \emph on
1223 deben 
1224 \emph default
1225 configurarse globalmente desde dentro del preámbulo para conseguir el efecto
1226  deseado.
1227  (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1228  Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1229  Otro ejemplo es el formato de las etiquetas para las listas.
1230  En realidad, puedes configurarlas donde quieras, pero es mejor hacerlo
1231  de una vez en el preámbulo.
1232 \end_layout
1233
1234 \begin_layout Itemize
1235 Declarar comandos definidos por el usuario (con 
1236 \family typewriter
1237
1238 \begin_inset Flex Code
1239 status collapsed
1240
1241 \begin_layout Plain Layout
1242
1243 \family typewriter
1244
1245 \backslash
1246 newcommand
1247 \end_layout
1248
1249 \end_inset
1250
1251
1252 \family default
1253  o 
1254 \family typewriter
1255
1256 \begin_inset Flex Code
1257 status collapsed
1258
1259 \begin_layout Plain Layout
1260
1261 \family typewriter
1262
1263 \backslash
1264 renewcommand
1265 \end_layout
1266
1267 \end_inset
1268
1269
1270 \family default
1271 )
1272 \begin_inset Newline newline
1273 \end_inset
1274
1275 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1276  que aparecen muy a menudo en
1277  un documento.
1278  Aunque el preámbulo es un buen sitio para declarar dichos comandos, 
1279 \emph on
1280 pueden
1281 \emph default
1282  ser definidos en cualquier sitio (por supuesto, 
1283 \emph on
1284 antes
1285 \emph default
1286  de que se vayan a usar por vez primera).
1287  Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1288  en el documento, lo que normalment
1289 e no debería suceder.
1290 \end_layout
1291
1292 \begin_layout Standard
1293 \SpecialChar LyX
1294  añade su propio conjunto de definiciones al preámbulo del archivo 
1295 \family typewriter
1296
1297 \begin_inset Flex Code
1298 status collapsed
1299
1300 \begin_layout Plain Layout
1301
1302 \family typewriter
1303 .tex
1304 \end_layout
1305
1306 \end_inset
1307
1308
1309 \family default
1310  que genera.
1311  Esto hace que los archivos \SpecialChar LaTeX
1312  generados por \SpecialChar LyX
1313  sean portables.
1314 \end_layout
1315
1316 \begin_layout Subsection
1317 Cambiar el preámbulo
1318 \end_layout
1319
1320 \begin_layout Standard
1321 Los comandos que \SpecialChar LyX
1322  añade al preámbulo de un archivo \SpecialChar LaTeX
1323  son fijos; no puedes
1324  cambiarlos sin parchear el propio \SpecialChar LyX
1325 .
1326  Sin embargo, puedes añadir tus cosas al preámbulo seleccionando 
1327 \family sans
1328
1329 \begin_inset Flex Noun
1330 status collapsed
1331
1332 \begin_layout Plain Layout
1333
1334 \family sans
1335 Preámbulo
1336 \begin_inset space ~
1337 \end_inset
1338
1339 \SpecialChar LaTeX
1340
1341 \end_layout
1342
1343 \end_inset
1344
1345  
1346 \family default
1347 en el diálogo
1348 \begin_inset Flex Noun
1349 status collapsed
1350
1351 \begin_layout Plain Layout
1352
1353 \family sans
1354  Document
1355 \family default
1356 o\SpecialChar menuseparator
1357
1358 \family sans
1359 Configuración
1360 \end_layout
1361
1362 \end_inset
1363
1364 .
1365  \SpecialChar LyX
1366  añade todo lo del diálogo a su propio preámbulo incorporado.
1367  Antes de añadir tus declaraciones en el preámbulo, deberías verificar que
1368  \SpecialChar LyX
1369  no dispone ya de soporte para lo que quieres hacer.
1370  (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además, 
1371 \emph on
1372 asegúrate de que el código del preámbulo es correcto
1373 \emph default
1374 .
1375
1376 \emph on
1377  
1378 \emph default
1379 \SpecialChar LyX
1380  no comprueba esto por ti.
1381  Si hay un error, probablemente obtendrás un mensaje como 
1382 \begin_inset Quotes cld
1383 \end_inset
1384
1385
1386 \begin_inset Flex Code
1387 status collapsed
1388
1389 \begin_layout Plain Layout
1390 Missing 
1391 \backslash
1392 begin{document}
1393 \end_layout
1394
1395 \end_inset
1396
1397
1398 \begin_inset Quotes crd
1399 \end_inset
1400
1401 .
1402  Si ves este error comprueba tu preámbulo.
1403 \end_layout
1404
1405 \begin_layout Subsection
1406 Ejemplos
1407 \end_layout
1408
1409 \begin_layout Standard
1410 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del
1411  efecto que produce:
1412 \end_layout
1413
1414 \begin_layout Subsubsection
1415 Ejemplo 1: Ajustes del área de impresión
1416 \end_layout
1417
1418 \begin_layout Standard
1419 Hay dos variables en \SpecialChar LaTeX
1420
1421 \family typewriter
1422
1423 \begin_inset Flex Code
1424 status collapsed
1425
1426 \begin_layout Plain Layout
1427
1428 \family typewriter
1429
1430 \backslash
1431 hoffset
1432 \end_layout
1433
1434 \end_inset
1435
1436
1437 \family default
1438  y 
1439 \family typewriter
1440
1441 \begin_inset Flex Code
1442 status collapsed
1443
1444 \begin_layout Plain Layout
1445
1446 \family typewriter
1447
1448 \backslash
1449 voffset
1450 \end_layout
1451
1452 \end_inset
1453
1454
1455 \family default
1456 , que controlan la composición de la página, es decir, el desplazamiento
1457  horizontal y vertical del área de impresión.
1458  Estas variables son útiles para casos como, por ejemplo, la impresión de
1459  etiquetas.
1460  A veces, el tamaño de un soporte de impresión y el área realmente imprimible
1461  no coinciden.
1462  Entonces intervienen 
1463 \family typewriter
1464
1465 \begin_inset Flex Code
1466 status collapsed
1467
1468 \begin_layout Plain Layout
1469
1470 \family typewriter
1471
1472 \backslash
1473 hoffset
1474 \end_layout
1475
1476 \end_inset
1477
1478
1479 \family default
1480  y 
1481 \family typewriter
1482
1483 \begin_inset Flex Code
1484 status collapsed
1485
1486 \begin_layout Plain Layout
1487
1488 \family typewriter
1489
1490 \backslash
1491 voffset
1492 \end_layout
1493
1494 \end_inset
1495
1496
1497 \family default
1498 .
1499  
1500 \end_layout
1501
1502 \begin_layout Standard
1503
1504 \family typewriter
1505 El
1506 \family default
1507  valor predeterminado para 
1508 \family typewriter
1509
1510 \begin_inset Flex Code
1511 status collapsed
1512
1513 \begin_layout Plain Layout
1514
1515 \family typewriter
1516
1517 \backslash
1518 hoffset
1519 \end_layout
1520
1521 \end_inset
1522
1523
1524 \family default
1525  y 
1526 \family typewriter
1527
1528 \begin_inset Flex Code
1529 status collapsed
1530
1531 \begin_layout Plain Layout
1532
1533 \family typewriter
1534
1535 \backslash
1536 voffset
1537 \end_layout
1538
1539 \end_inset
1540
1541
1542 \family default
1543  es 0
1544 \begin_inset space \thinspace{}
1545 \end_inset
1546
1547 pt., no cambia la composición de la página.
1548  Desafortunadamente, algunos controladores DVI siempre parecen alterar la
1549  paginación.
1550  No tenemos ni idea de la causa de esto ni de por qué el administrador del
1551  sistema no lo arregla.
1552  Si estás usando \SpecialChar LyX
1553  en un sistema que no administras personalmente y el responsabl
1554 e es un inepto, 
1555 \family typewriter
1556
1557 \begin_inset Flex Code
1558 status collapsed
1559
1560 \begin_layout Plain Layout
1561
1562 \family typewriter
1563
1564 \backslash
1565 hoffset
1566 \family default
1567  
1568 \end_layout
1569
1570 \end_inset
1571
1572
1573 \family default
1574
1575 \family typewriter
1576
1577 \begin_inset Flex Code
1578 status collapsed
1579
1580 \begin_layout Plain Layout
1581
1582 \family typewriter
1583
1584 \backslash
1585 voffset
1586 \end_layout
1587
1588 \end_inset
1589
1590
1591 \family default
1592  pueden salvar el día.
1593  Supongamos que los márgenes superior e izquierdo siempre son 0.5
1594 \begin_inset space \thinspace{}
1595 \end_inset
1596
1597 in (pulgadas) demasiado grandes.
1598  Puedes añadir lo siguiente al preámbulo:
1599 \end_layout
1600
1601 \begin_layout LyX-Code
1602
1603 \backslash
1604 setlength{
1605 \backslash
1606 hoffset}{-0.5 in}
1607 \end_layout
1608
1609 \begin_layout LyX-Code
1610
1611 \backslash
1612 setlength{
1613 \backslash
1614 voffset}{-0.5 in}
1615 \end_layout
1616
1617 \begin_layout Standard
1618 ahora los márgenes deberían ser correctos.
1619 \end_layout
1620
1621 \begin_layout Subsubsection
1622 Ejemplo 2: Etiquetas
1623 \end_layout
1624
1625 \begin_layout Standard
1626 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1627  Hay un paquete estupendo disponible en CTAN, llamado 
1628 \family typewriter
1629
1630 \begin_inset Flex Code
1631 status collapsed
1632
1633 \begin_layout Plain Layout
1634
1635 \family typewriter
1636 labels.sty
1637 \end_layout
1638
1639 \end_inset
1640
1641 ,
1642 \family default
1643  para imprimir hojas con etiquetas.
1644  Es posible que tu sistema no disponga de este paquete, compruébalo.
1645  Necesitarás también leer su documentación, porque nosotros no te lo vamos
1646  a explicar, pero sí te daremos un ejemplo de su empleo.
1647 \end_layout
1648
1649 \begin_layout Standard
1650 Primero, comprueba que estás utilizando la clase de documento 
1651 \family sans
1652
1653 \begin_inset Flex Code
1654 status collapsed
1655
1656 \begin_layout Plain Layout
1657
1658 \family sans
1659 article
1660 \end_layout
1661
1662 \end_inset
1663
1664 .
1665  
1666 \family default
1667 Después, debes poner en el preámbulo lo siguiente:
1668 \end_layout
1669
1670 \begin_layout LyX-Code
1671
1672 \backslash
1673 usepackage{labels}
1674 \end_layout
1675
1676 \begin_layout LyX-Code
1677
1678 \backslash
1679 LabelCols=3
1680 \end_layout
1681
1682 \begin_layout LyX-Code
1683
1684 \backslash
1685 LabelRows=7
1686 \end_layout
1687
1688 \begin_layout LyX-Code
1689
1690 \backslash
1691 LeftBorder=8mm
1692 \end_layout
1693
1694 \begin_layout LyX-Code
1695
1696 \backslash
1697 RightBorder=8mm
1698 \end_layout
1699
1700 \begin_layout LyX-Code
1701
1702 \backslash
1703 TopBorder=9mm
1704 \end_layout
1705
1706 \begin_layout LyX-Code
1707
1708 \backslash
1709 BottomBorder=2mm
1710 \end_layout
1711
1712 \begin_layout Standard
1713 Esta es la configuración para hojas de etiquetas Avery, stock #5360.
1714  Ahora estás preparado para imprimirlas, pero necesitarás insertar código
1715  \SpecialChar LaTeX
1716 , poniendo los comandos 
1717 \family typewriter
1718
1719 \begin_inset Flex Code
1720 status collapsed
1721
1722 \begin_layout Plain Layout
1723
1724 \family typewriter
1725
1726 \backslash
1727 begin{labels}
1728 \end_layout
1729
1730 \end_inset
1731
1732
1733 \family default
1734  y 
1735 \family typewriter
1736
1737 \begin_inset Flex Code
1738 status collapsed
1739
1740 \begin_layout Plain Layout
1741
1742 \family typewriter
1743
1744 \backslash
1745 end{labels}
1746 \end_layout
1747
1748 \end_inset
1749
1750
1751 \family default
1752  antes y después, respectivamente, del texto de cada etiqueta.
1753  Esto y otras características de 
1754 \family typewriter
1755 labels.sty
1756 \family default
1757  se explican en su documentación.
1758  
1759 \end_layout
1760
1761 \begin_layout Standard
1762 Algún día, alguien escribirá un archivo de formato (
1763 \family typewriter
1764
1765 \begin_inset Flex Code
1766 status collapsed
1767
1768 \begin_layout Plain Layout
1769
1770 \family typewriter
1771 .layout
1772 \end_layout
1773
1774 \end_inset
1775
1776
1777 \family default
1778 ) para soportar directamente este paquete en \SpecialChar LyX
1779 .
1780  Puede que ese alguien seas tú.
1781 \end_layout
1782
1783 \begin_layout Subsubsection
1784 Ejemplo 3: Sangrado de párrafos
1785 \end_layout
1786
1787 \begin_layout Standard
1788 Los americanos están acostumbrados a sangrar la primera línea de 
1789 \emph on
1790 todos
1791 \emph default
1792  los párrafos.
1793 \begin_inset Foot
1794 status open
1795
1796 \begin_layout Plain Layout
1797 Por omisión, el estilo 
1798 \family typewriter
1799 spanish (babel)
1800 \family default
1801  también sangra la primera línea de todos los párrafos.
1802  Se puede cambiar con el comando 
1803 \family typewriter
1804
1805 \backslash
1806 def
1807 \backslash
1808 spanishoptions{es-noindentfirst}
1809 \family default
1810  en el preámbulo.
1811  (Las opciones de 
1812 \family typewriter
1813 spanish
1814 \family default
1815  
1816 \emph on
1817 no
1818 \emph default
1819  funcionan si se usa soporte 
1820 \family typewriter
1821 hyperref
1822 \family default
1823 ).
1824  (
1825 \emph on
1826 N.
1827  del T)
1828 \emph default
1829 .
1830 \end_layout
1831
1832 \end_inset
1833
1834
1835 \emph on
1836  
1837 \emph default
1838 Igual que con otras de sus peculiares manías, casi todos ellos se lamentarán
1839  y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar
1840  la primera línea de todos los párrafos.
1841  (Sí, estamos de guasa.
1842  ¿Lo estamos? ¡Oh, yes!)
1843 \end_layout
1844
1845 \begin_layout Standard
1846 Por supuesto, este ajuste no es el estándar en tipografía.
1847  En los libros, habitualmente solo se sangra la primera línea de un párrafo
1848  
1849 \emph on
1850 si 
1851 \emph default
1852 sigue a otro.
1853  La idea que subyace tras el hecho de sangrar la primera línea de un párrafo
1854  es distinguir entre párrafos vecinos.
1855  Si no hay párrafo previo, porque sigue a una figura, por ejemplo, o es
1856  el primer párrafo de una sección, entonces no tiene sentido el sangrado.
1857 \end_layout
1858
1859 \begin_layout Standard
1860 Si eres un típico americano (¡otra vez de guasa!), no obstante, no te preocupes
1861  por estos esotéricos asuntos; ¡quieres tu sangrado! Pues añade esto al
1862  preámbulo:
1863 \end_layout
1864
1865 \begin_layout LyX-Code
1866
1867 \backslash
1868 usepackage{indentfirst}
1869 \end_layout
1870
1871 \begin_layout Standard
1872 Si tu distribución de \SpecialChar TeX
1873  no está descerebrada, tendrás este paquete, y todos
1874  tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que
1875  deberían tener.
1876 \end_layout
1877
1878 \begin_layout Subsubsection
1879 Ejemplo 4: Este documento
1880 \end_layout
1881
1882 \begin_layout Standard
1883 Puedes explorar el preámbulo de este documento para hacerte una idea de
1884  algunas de las cosas avanzadas que se pueden hacer.
1885  
1886 \end_layout
1887
1888 \begin_layout Section
1889 \SpecialChar LyX
1890  y errores de \SpecialChar LaTeX
1891
1892 \end_layout
1893
1894 \begin_layout Standard
1895 Cuando \SpecialChar LyX
1896  llama a \SpecialChar LaTeX
1897 , le indica que ignore alegremente los errores y que siga
1898  adelante.
1899  Después de la ejecución de \SpecialChar LaTeX
1900  se genera un informe 
1901 \begin_inset Quotes cld
1902 \end_inset
1903
1904 post-mortem
1905 \begin_inset Quotes crd
1906 \end_inset
1907
1908 .
1909  Tras analizarlo, \SpecialChar LyX
1910  muestra una ventana con la lista de errores.
1911  Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del
1912  archivo donde está el error.
1913 \begin_inset Foot
1914 status open
1915
1916 \begin_layout Plain Layout
1917 Generalmente.
1918  El análisis del archivo log es una dura tarea, y \SpecialChar LyX
1919  no siempre acierta con
1920  el lugar correcto.
1921  Además hay casos en que \SpecialChar LaTeX
1922  informa del error en una línea, pero el error
1923  preciso es anterior.
1924  Esto no es como olvidar una llave de cierre en un programa; obtendrás error
1925  pero más tarde.
1926 \end_layout
1927
1928 \end_inset
1929
1930
1931 \end_layout
1932
1933 \begin_layout Standard
1934 A algunos les gusta mirar directamente en el archivo 
1935 \family typewriter
1936 log
1937 \family default
1938 , que es accesible con el menú
1939 \family sans
1940  
1941 \begin_inset Flex Noun
1942 status collapsed
1943
1944 \begin_layout Plain Layout
1945
1946 \family sans
1947 Document
1948 \family default
1949 o
1950 \family sans
1951 \SpecialChar menuseparator
1952 Registro
1953 \begin_inset space ~
1954 \end_inset
1955
1956 de
1957 \begin_inset space ~
1958 \end_inset
1959
1960 LaTeX
1961 \end_layout
1962
1963 \end_inset
1964
1965 .
1966  
1967 \family default
1968 Hay algunos mensajes de error y alertas que son frecuentes.
1969  Los trataremos a continuación.
1970  Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
1971 .
1972  
1973 \end_layout
1974
1975 \begin_layout Itemize
1976
1977 \family typewriter
1978 \begin_inset Flex Code
1979 status collapsed
1980
1981 \begin_layout Plain Layout
1982
1983 \family typewriter
1984 LaTeX Warning
1985 \end_layout
1986
1987 \end_inset
1988
1989
1990 \family default
1991
1992 \begin_inset Newline newline
1993 \end_inset
1994
1995 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito
1996  de 
1997 \begin_inset Quotes cld
1998 \end_inset
1999
2000 depurar
2001 \begin_inset Quotes crd
2002 \end_inset
2003
2004  el propio código \SpecialChar LaTeX
2005 .
2006  Tendrás avisos como este si añades o cambias referencias cruzadas o entradas
2007  de bibliografía, en cuyo caso \SpecialChar LaTeX
2008  intenta decirte que debes ejecutarlo de
2009  nuevo.
2010  En general los puedes ignorar.
2011 \end_layout
2012
2013 \begin_layout Itemize
2014
2015 \family typewriter
2016 \begin_inset Flex Code
2017 status collapsed
2018
2019 \begin_layout Plain Layout
2020
2021 \family typewriter
2022 LaTeX Font Warning
2023 \end_layout
2024
2025 \end_inset
2026
2027
2028 \family default
2029
2030 \begin_inset Newline newline
2031 \end_inset
2032
2033 Otro mensaje de aviso, esta vez sobre tipografías que \SpecialChar LaTeX
2034  no encuentra.
2035  El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho
2036  \SpecialChar LaTeX
2037 .
2038  Puedes ignorarlos sin problema.
2039 \end_layout
2040
2041 \begin_layout Itemize
2042
2043 \family typewriter
2044 \begin_inset Flex Code
2045 status collapsed
2046
2047 \begin_layout Plain Layout
2048
2049 \family typewriter
2050 Overfull 
2051 \backslash
2052 hbox
2053 \end_layout
2054
2055 \end_inset
2056
2057
2058 \family default
2059
2060 \begin_inset Newline newline
2061 \end_inset
2062
2063 A \SpecialChar LaTeX
2064  le 
2065 \emph on
2066 encanta 
2067 \emph default
2068 vomitar esto.
2069  Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2070  Casi siempre será inapreciable en la salida (suele ser solo uno o dos puntos).
2071  O solo uno o dos caracteres sobrepasan el margen.
2072  \SpecialChar LaTeX
2073  parece generar al menos uno de estos mensajes en cada documento que procesa.
2074 \begin_inset Newline newline
2075 \end_inset
2076
2077 Puedes ignorar estos estúpidos mensajes.
2078  Tus ojos verán si hay algún problema con algo excesivamente ancho; solo
2079  mira el documento de salida.
2080 \begin_inset Foot
2081 status collapsed
2082
2083 \begin_layout Plain Layout
2084 También puedes activar la opción 'draft' en 
2085 \family sans
2086 Documento\SpecialChar menuseparator
2087 Configuración
2088 \family default
2089 , y entonces \SpecialChar LaTeX
2090  dibujará un marco negro en el margen de las líneas sobrecargadas.
2091 \end_layout
2092
2093 \end_inset
2094
2095
2096 \end_layout
2097
2098 \begin_layout Itemize
2099
2100 \family typewriter
2101 \begin_inset Flex Code
2102 status collapsed
2103
2104 \begin_layout Plain Layout
2105
2106 \family typewriter
2107 Underfull 
2108 \backslash
2109 hbox
2110 \end_layout
2111
2112 \end_inset
2113
2114
2115 \family default
2116
2117 \begin_inset Newline newline
2118 \end_inset
2119
2120 No tan común como su primo.
2121  Parece que a \SpecialChar LaTeX
2122  le encanta imprimir líneas que son un poco demasiado anchas
2123  como contrapartida a las que son un poco demasiado estrechas.
2124  No tenemos ni idea del porqué.
2125  
2126 \end_layout
2127
2128 \begin_layout Itemize
2129
2130 \family typewriter
2131 \begin_inset Flex Code
2132 status collapsed
2133
2134 \begin_layout Plain Layout
2135
2136 \family typewriter
2137 Overfull 
2138 \backslash
2139 vbox
2140 \end_layout
2141
2142 \end_inset
2143
2144
2145 \family default
2146  y 
2147 \family typewriter
2148
2149 \begin_inset Flex Code
2150 status collapsed
2151
2152 \begin_layout Plain Layout
2153
2154 \family typewriter
2155 Underfull 
2156 \backslash
2157 vbox
2158 \end_layout
2159
2160 \end_inset
2161
2162
2163 \family default
2164
2165 \begin_inset Newline newline
2166 \end_inset
2167
2168 Avisos sobre problemas
2169 \family typewriter
2170  
2171 \family default
2172 al saltar página.
2173  Una vez más, comprueba la salida para ver si algo ha ido mal.
2174 \end_layout
2175
2176 \begin_layout Itemize
2177
2178 \family typewriter
2179 \begin_inset Flex Code
2180 status collapsed
2181
2182 \begin_layout Plain Layout
2183
2184 \family typewriter
2185 LaTeX Error: File 
2186 \begin_inset Quotes els
2187 \end_inset
2188
2189 Xxxx
2190 \begin_inset Quotes ers
2191 \end_inset
2192
2193  not found
2194 \end_layout
2195
2196 \end_inset
2197
2198
2199 \family default
2200
2201 \begin_inset Newline newline
2202 \end_inset
2203
2204 El archivo 
2205 \begin_inset Quotes cld
2206 \end_inset
2207
2208 Xxxx
2209 \begin_inset Quotes crd
2210 \end_inset
2211
2212  no está instalado en el sistema.
2213  Generalmente esto aparece porque algún paquete requerido por el documento
2214  no está instalado.
2215  Si no has tocado el preámbulo o no has usado el comando 
2216 \family typewriter
2217
2218 \begin_inset Flex Code
2219 status collapsed
2220
2221 \begin_layout Plain Layout
2222
2223 \family typewriter
2224
2225 \backslash
2226 usepackage{}
2227 \end_layout
2228
2229 \end_inset
2230
2231
2232 \family default
2233 , entonces alguno de los paquetes que \SpecialChar LyX
2234  ha de cargar se ha perdido.
2235  Utiliza
2236 \family sans
2237  
2238 \begin_inset Flex Noun
2239 status collapsed
2240
2241 \begin_layout Plain Layout
2242
2243 \family sans
2244 Ayuda\SpecialChar menuseparator
2245 Configuración
2246 \family default
2247
2248 \begin_inset space ~
2249 \end_inset
2250
2251
2252 \family sans
2253 de
2254 \begin_inset space ~
2255 \end_inset
2256
2257 Latex
2258 \end_layout
2259
2260 \end_inset
2261
2262  
2263 \family default
2264 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2265 .
2266  Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2267  (con
2268 \family sans
2269  
2270 \begin_inset Flex Noun
2271 status collapsed
2272
2273 \begin_layout Plain Layout
2274
2275 \family sans
2276 Herramientas\SpecialChar menuseparator
2277 Reconfigurar
2278 \end_layout
2279
2280 \end_inset
2281
2282
2283 \family default
2284 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2285 \begin_inset Newline newline
2286 \end_inset
2287
2288 Si has utilizado el comando 
2289 \family typewriter
2290
2291 \begin_inset Flex Code
2292 status collapsed
2293
2294 \begin_layout Plain Layout
2295
2296 \family typewriter
2297
2298 \backslash
2299 usepackage{}
2300 \end_layout
2301
2302 \end_inset
2303
2304  
2305 \family default
2306 pero el paquete en cuestión no está instalado, deberás instalarlo.
2307
2308 \family typewriter
2309  
2310 \end_layout
2311
2312 \begin_layout Itemize
2313
2314 \family typewriter
2315 \begin_inset Flex Code
2316 status collapsed
2317
2318 \begin_layout Plain Layout
2319
2320 \family typewriter
2321 LaTeX Error: Unknown option
2322 \end_layout
2323
2324 \end_inset
2325
2326
2327 \family default
2328
2329 \begin_inset Newline newline
2330 \end_inset
2331
2332 Los mensajes de error que comienzan así te informan de que has especificado
2333  una opción errónea o no definida en algún paquete.
2334  Consulta la documentación del paquete.
2335 \end_layout
2336
2337 \begin_layout Itemize
2338
2339 \family typewriter
2340 \begin_inset Flex Code
2341 status collapsed
2342
2343 \begin_layout Plain Layout
2344 Undefined control sequence
2345 \end_layout
2346
2347 \end_inset
2348
2349
2350 \family default
2351
2352 \begin_inset Newline newline
2353 \end_inset
2354
2355 Si has insertado código \SpecialChar LaTeX
2356  con errores de tipografía tendrás un aviso de estos.
2357  También puedes haber olvidado cargar un paquete.
2358  En todo caso, este aviso suele indicar el uso de un comando no definido
2359  o mal definido.
2360 \end_layout
2361
2362 \begin_layout Standard
2363 Hay otros mensajes de aviso y de error.
2364  Algunos se explican por sí mismos.
2365  Estos son generalmente mensajes de \SpecialChar LaTeX
2366 .
2367  Otros son francamente crípticos.
2368  Estos realmente son mensajes de error de \SpecialChar TeX
2369 , y no tenemos pistas sobre su
2370  significado o sobre cómo descifrarlos.
2371  
2372 \end_layout
2373
2374 \begin_layout Standard
2375 Si recibes mensajes de error, deberías seguir la siguiente secuencia general:
2376 \end_layout
2377
2378 \begin_layout Enumerate
2379 Revisa el código \SpecialChar LaTeX
2380  que hayas insertado y busca errores tipográficos.
2381 \end_layout
2382
2383 \begin_layout Enumerate
2384 Si no los hay, comprueba que has usado correctamente el (los) comando(s).
2385 \end_layout
2386
2387 \begin_layout Enumerate
2388 Si observas un puñado de cuadros de error amontonados muy al principio del
2389  documento, —especialmente si ves un 
2390 \begin_inset Quotes cld
2391 \end_inset
2392
2393
2394 \begin_inset Flex Code
2395 status collapsed
2396
2397 \begin_layout Plain Layout
2398 Missing 
2399 \backslash
2400 begin{document}
2401 \end_layout
2402
2403 \end_inset
2404
2405
2406 \begin_inset Quotes crd
2407 \end_inset
2408
2409 — significa que los errores están en el preámbulo.
2410  Empieza por depurar el preámbulo.
2411 \end_layout
2412
2413 \begin_layout Enumerate
2414 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2415 , la primera sospecha
2416  recae en tu propia distribución de \SpecialChar LaTeX
2417 .
2418  Comprueba si faltan paquetes e instálalos.
2419 \end_layout
2420
2421 \begin_layout Enumerate
2422 De acuerdo, no faltan paquetes.
2423  ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2424 ? Concretamente,
2425  ¿has hecho un mal uso de alguna de ellas, como insertar manualmente montones
2426  de 
2427 \family sans
2428
2429 \begin_inset Flex Code
2430 status collapsed
2431
2432 \begin_layout Plain Layout
2433
2434 \family sans
2435 Espacios
2436 \family default
2437
2438 \begin_inset space ~
2439 \end_inset
2440
2441
2442 \family sans
2443 protegidos
2444 \end_layout
2445
2446 \end_inset
2447
2448
2449 \begin_inset Flex Code
2450 status collapsed
2451
2452 \begin_layout Plain Layout
2453
2454 \family sans
2455 Saltos
2456 \family default
2457
2458 \begin_inset space ~
2459 \end_inset
2460
2461
2462 \family sans
2463 de
2464 \family default
2465
2466 \begin_inset space ~
2467 \end_inset
2468
2469
2470 \family sans
2471 línea
2472 \end_layout
2473
2474 \end_inset
2475
2476  
2477 \family default
2478
2479 \family sans
2480
2481 \begin_inset Flex Code
2482 status collapsed
2483
2484 \begin_layout Plain Layout
2485
2486 \family sans
2487 Saltos
2488 \family default
2489
2490 \begin_inset space ~
2491 \end_inset
2492
2493
2494 \family sans
2495 de
2496 \family default
2497
2498 \begin_inset space ~
2499 \end_inset
2500
2501
2502 \family sans
2503 página
2504 \end_layout
2505
2506 \end_inset
2507
2508
2509 \family default
2510 ? ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo
2511  adecuado? 
2512 \end_layout
2513
2514 \begin_layout Enumerate
2515 Todo es correcto, no has utilizado ninguna de las opciones de ajuste fino,
2516  y has cumplido las reglas.
2517  ¿Has intentado hacer una fantástica maniobra? ¿Quizá has hecho algo 
2518 \emph on
2519 funky
2520 \emph default
2521  en una ecuación o en un cuadro, como insertar un gráfico en una celda?
2522  
2523 \end_layout
2524
2525 \begin_layout Enumerate
2526 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2527  no encuentra dónde quebrar una
2528  línea? Por omisión, \SpecialChar LaTeX
2529  es más bien estricto en relación al espacio extra
2530  entre palabras que añadirá para romper una línea.
2531  Preferiblemente, deberías rehacer el párrafo para evitar el problema.
2532 \end_layout
2533
2534 \begin_layout Enumerate
2535 ¿Te has pasado con la anidación? \SpecialChar LyX
2536 , actualmente, no comprueba si estás dentro
2537  de los límites para los entornos anidables.
2538  Si anidas un puñado de entornos hasta el nivel 17, ahí está el problema.
2539  (El límite en \SpecialChar LaTeX
2540  es cinco).
2541 \end_layout
2542
2543 \begin_layout Enumerate
2544 Vale, no recibes ningún mensaje de error, pero la salida es horrorosa.
2545  Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2546  tienes que:
2547 \end_layout
2548
2549 \begin_deeper
2550 \begin_layout Enumerate
2551 ajustar el tamaño de la figura a la página.
2552 \end_layout
2553
2554 \begin_layout Enumerate
2555 ajustar el cuadro para que quepa.
2556 \end_layout
2557
2558 \end_deeper
2559 \begin_layout Enumerate
2560 Si la salida sigue dando problemas, y no has probado nada raro ni has empleado
2561  mal opciones de ajuste fino, no estamos seguros de lo que está equivocado.
2562 \end_layout
2563
2564 \begin_layout Standard
2565 Si todo esto no ayuda, bueno, 
2566 \emph on
2567 quizá
2568 \emph default
2569  has encontrado un 
2570 \emph on
2571 bug
2572 \emph default
2573  (fallo) en \SpecialChar LyX
2574 \SpecialChar ldots
2575
2576 \end_layout
2577
2578 \begin_layout Chapter
2579 Herramientas suplementarias
2580 \end_layout
2581
2582 \begin_layout Section
2583 Personalizar bibliografías con Bib\SpecialChar TeX
2584
2585 \change_inserted 34634807 1499889171
2586
2587 \lang english
2588  or Biblatex
2589 \change_unchanged
2590
2591 \end_layout
2592
2593 \begin_layout Standard
2594 Los fundamentos del uso de Bib\SpecialChar TeX
2595
2596 \change_inserted 34634807 1499889180
2597
2598 \lang english
2599  or 
2600 \family sans
2601 Biblatex
2602 \change_unchanged
2603
2604 \family default
2605 \lang spanish
2606  se explican en la sección 
2607 \emph on
2608 Bases de datos bibliográficos
2609 \change_deleted 34634807 1499889185
2610  (Bib\SpecialChar TeX
2611 )
2612 \emph default
2613  
2614 \change_unchanged
2615 de la 
2616 \emph on
2617 Guía del Usuario
2618 \emph default
2619 .
2620  Las siguientes subsecciones describen características especiales de bibliografí
2621 a soportadas por \SpecialChar LyX
2622 .
2623 \end_layout
2624
2625 \begin_layout Subsection
2626 Estilos alternativos de cita
2627 \end_layout
2628
2629 \begin_layout Standard
2630 El estilo normal de Bib\SpecialChar TeX
2631  usa números (p.
2632 \begin_inset space \thinspace{}
2633 \end_inset
2634
2635 ej.
2636 \begin_inset space \space{}
2637 \end_inset
2638
2639
2640 \begin_inset Quotes cld
2641 \end_inset
2642
2643 [12]
2644 \begin_inset Quotes crd
2645 \end_inset
2646
2647 ) para referir una cita bibliográfica.
2648  Sin embargo, en muchas disciplinas científicas se emplean otros estilos.
2649  El más común es el estilo autor-año (p.
2650 \begin_inset space \thinspace{}
2651 \end_inset
2652
2653 ej.
2654 \begin_inset space \space{}
2655 \end_inset
2656
2657
2658 \begin_inset Quotes cld
2659 \end_inset
2660
2661 Knuth 1984a
2662 \begin_inset Quotes crd
2663 \end_inset
2664
2665 ).
2666  \SpecialChar LyX
2667  soporta
2668 \change_deleted 34634807 1499889201
2669  dos 
2670 \change_inserted 34634807 1499889203
2671 three 
2672 \change_unchanged
2673 paquetes que suministra este estilo,
2674 \change_inserted 34634807 1499889217
2675
2676 \lang english
2677  
2678 \begin_inset Flex Code
2679 status collapsed
2680
2681 \begin_layout Plain Layout
2682
2683 \change_inserted 34634807 1499889217
2684
2685 \lang english
2686 biblatex
2687 \end_layout
2688
2689 \end_inset
2690
2691 ,
2692 \change_unchanged
2693
2694 \lang spanish
2695  
2696 \family typewriter
2697
2698 \begin_inset Flex Code
2699 status collapsed
2700
2701 \begin_layout Plain Layout
2702
2703 \family typewriter
2704 natbib
2705 \end_layout
2706
2707 \end_inset
2708
2709
2710 \family default
2711  y 
2712 \family typewriter
2713
2714 \begin_inset Flex Code
2715 status collapsed
2716
2717 \begin_layout Plain Layout
2718
2719 \family typewriter
2720 jurabib
2721 \end_layout
2722
2723 \end_inset
2724
2725
2726 \family default
2727 .
2728  
2729 \change_deleted 34634807 1499889233
2730 Ambos 
2731 \change_inserted 34634807 1499889230
2732
2733 \lang english
2734 Each of these 
2735 \change_unchanged
2736
2737 \lang spanish
2738 paquetes 
2739 \change_deleted 34634807 1499889259
2740 tienen
2741 \change_inserted 34634807 1499889291
2742
2743 \lang english
2744 have
2745 \change_unchanged
2746
2747 \lang spanish
2748  sus pros y sus contras, que no podemos detallar aquí.
2749  Si solo necesitas un estilo sencillo autor-año (o numérico)
2750 \family typewriter
2751  
2752 \family default
2753 o si quieres
2754 \family typewriter
2755  
2756 \family default
2757 emplear un archivo de estilo sin contador, probablemente tu elección debería
2758  ser 
2759 \family typewriter
2760
2761 \begin_inset Flex Code
2762 status collapsed
2763
2764 \begin_layout Plain Layout
2765
2766 \family typewriter
2767 natbib
2768 \end_layout
2769
2770 \end_inset
2771
2772
2773 \family default
2774 .
2775  
2776 \change_deleted 34634807 1499889335
2777 Si necesitas características especiales como referencias con título breve,
2778  ibidem, etc.,
2779 \change_inserted 34634807 1499889342
2780
2781 \lang english
2782 If you look for specific citation styles common in law studies
2783 \change_unchanged
2784
2785 \lang spanish
2786  deberías considerar el nuevo paquete 
2787 \family typewriter
2788
2789 \begin_inset Flex Code
2790 status collapsed
2791
2792 \begin_layout Plain Layout
2793
2794 \family typewriter
2795 jurabib
2796 \end_layout
2797
2798 \end_inset
2799
2800
2801 \family default
2802 .
2803
2804 \change_inserted 34634807 1499889355
2805
2806 \lang english
2807  If you want to have full control over the formatting or look for advanced
2808  features such as ibidem, footnote citations, full title citations, advanced
2809  date formats (such as 400 BC) or full localization to other languages than
2810  English, you should definitely consider 
2811 \begin_inset Flex Code
2812 status collapsed
2813
2814 \begin_layout Plain Layout
2815
2816 \change_inserted 34634807 1499889355
2817
2818 \lang english
2819 biblatex
2820 \end_layout
2821
2822 \end_inset
2823
2824 , which exceeds all other packages in terms of features, but is also quite
2825  heavy and more resource-hungry.
2826 \change_unchanged
2827
2828 \end_layout
2829
2830 \begin_layout Standard
2831 El manejo de 
2832 \change_deleted 34634807 1499889371
2833 ambos
2834 \change_inserted 34634807 1499889368
2835
2836 \lang english
2837 these
2838 \change_unchanged
2839
2840 \lang spanish
2841  paquetes es básicamente el mismo.
2842  Ve al submenú 
2843 \family sans
2844  
2845 \begin_inset Flex Noun
2846 status collapsed
2847
2848 \begin_layout Plain Layout
2849
2850 \family sans
2851 Documento\SpecialChar menuseparator
2852
2853 \family default
2854 C
2855 \family sans
2856 onfiguración
2857 \end_layout
2858
2859 \end_inset
2860
2861
2862 \family default
2863  y selecciona en el panel
2864 \begin_inset Flex Noun
2865 status collapsed
2866
2867 \begin_layout Plain Layout
2868
2869 \family sans
2870  Bibliografía
2871 \end_layout
2872
2873 \end_inset
2874
2875  
2876 \change_deleted 34634807 1499889397
2877 la opción
2878 \change_unchanged
2879
2880 \begin_inset Flex Noun
2881 status collapsed
2882
2883 \begin_layout Plain Layout
2884
2885 \change_inserted 34634807 1499889413
2886
2887 \lang english
2888 \begin_inset Flex Noun
2889 status collapsed
2890
2891 \begin_layout Plain Layout
2892
2893 \change_inserted 34634807 1499889410
2894
2895 \lang english
2896 Style Format
2897 \end_layout
2898
2899 \end_inset
2900
2901  
2902 \begin_inset Flex Noun
2903 status collapsed
2904
2905 \begin_layout Plain Layout
2906
2907 \change_inserted 34634807 1499889410
2908
2909 \lang english
2910 Biblatex
2911 \end_layout
2912
2913 \end_inset
2914
2915
2916 \begin_inset Flex Noun
2917 status collapsed
2918
2919 \begin_layout Plain Layout
2920
2921 \change_inserted 34634807 1499889410
2922
2923 \lang english
2924 Biblatex (Natbib mode)
2925 \end_layout
2926
2927 \end_inset
2928
2929 ,
2930 \family sans
2931 \lang spanish
2932  
2933 \change_unchanged
2934 Natbib
2935 \change_inserted 34634807 1499889418
2936
2937 \family default
2938 \lang english
2939 (BibTeX)
2940 \change_unchanged
2941
2942 \end_layout
2943
2944 \end_inset
2945
2946  o
2947 \family sans
2948  
2949 \begin_inset Flex Noun
2950 status collapsed
2951
2952 \begin_layout Plain Layout
2953
2954 \family sans
2955 Jurabib
2956 \change_inserted 34634807 1499889432
2957
2958 \family default
2959 \lang english
2960  (BibTeX)
2961 \change_unchanged
2962
2963 \end_layout
2964
2965 \end_inset
2966
2967
2968 \change_inserted 34634807 1499889446
2969
2970 \family default
2971 \lang english
2972  (see sec.
2973 \begin_inset space ~
2974 \end_inset
2975
2976 6.5.3 in the User's Guide for more information on these choices)
2977 \change_unchanged
2978
2979 \lang spanish
2980 .
2981  Con 
2982 \change_deleted 34634807 1499889452
2983 ambos
2984 \change_inserted 34634807 1499889458
2985
2986 \lang english
2987 all these
2988 \change_unchanged
2989
2990 \lang spanish
2991  paquetes dispondrás de algunas características extras en el diálogo y podrás
2992  elegir el estilo de las citas (
2993 \begin_inset Quotes cld
2994 \end_inset
2995
2996 Knuth 1984
2997 \begin_inset Quotes crd
2998 \end_inset
2999
3000
3001 \begin_inset Quotes cld
3002 \end_inset
3003
3004 Knuth (1984)
3005 \begin_inset Quotes crd
3006 \end_inset
3007
3008
3009 \begin_inset Quotes cld
3010 \end_inset
3011
3012 Knuth, 1984
3013 \begin_inset Quotes crd
3014 \end_inset
3015
3016
3017 \begin_inset Quotes cld
3018 \end_inset
3019
3020 1984
3021 \begin_inset Quotes crd
3022 \end_inset
3023
3024  etc.).
3025  Ten en cuenta que los 
3026 \change_deleted 34634807 1499889480
3027 dos
3028 \change_inserted 34634807 1499889487
3029
3030 \lang english
3031 either
3032 \change_unchanged
3033
3034 \lang spanish
3035  paquete
3036 \change_deleted 34634807 1499889496
3037 s
3038 \change_unchanged
3039  necesitan archivos de estilo específicamente diseñados (
3040 \change_deleted 34634807 1499889523
3041 ambos
3042 \change_inserted 34634807 1499889526
3043 all
3044 \change_unchanged
3045  incluyen el suyo propio, pero hay muchos otros archivos de estilo disponibles
3046  e incluso un programa interactivo
3047 \begin_inset Foot
3048 status collapsed
3049
3050 \begin_layout Plain Layout
3051 Véase 
3052 \begin_inset Flex URL
3053 status collapsed
3054
3055 \begin_layout Plain Layout
3056
3057 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3058 \end_layout
3059
3060 \end_inset
3061
3062
3063 \end_layout
3064
3065 \end_inset
3066
3067  para confeccionar estilos para 
3068 \family typewriter
3069 natbib
3070 \family default
3071 ).
3072 \end_layout
3073
3074 \begin_layout Subsection
3075
3076 \change_inserted 34634807 1499889539
3077
3078 \lang english
3079 Subdivided
3080 \change_unchanged
3081
3082 \lang spanish
3083 Bibliografía
3084 \change_deleted 34634807 1499889545
3085  por secciones
3086 \change_unchanged
3087
3088 \end_layout
3089
3090 \begin_layout Standard
3091 En ocasiones, es posible que necesites dividir la bibliografía en secciones.
3092  Por ejemplo, si eres un historiador, la posibilidad de separar fuentes
3093  y trabajos científicos es probablemente un imperativo.
3094  Desafortunadamente, Bib\SpecialChar TeX
3095  no permite hacer esto por sí solo.
3096  Pero la buena noticia es que, con la ayuda de ciertos paquetes \SpecialChar LaTeX
3097 , Bib\SpecialChar TeX
3098  puede
3099  ampliar su cometido para conseguirlo.
3100 \end_layout
3101
3102 \begin_layout Standard
3103 \SpecialChar LyX
3104  provee soporte nativo para uno de estos paquetes, 
3105 \family typewriter
3106
3107 \begin_inset Flex Code
3108 status collapsed
3109
3110 \begin_layout Plain Layout
3111
3112 \family typewriter
3113 bibtopic
3114 \end_layout
3115
3116 \end_inset
3117
3118
3119 \family default
3120 .
3121 \begin_inset Foot
3122 status collapsed
3123
3124 \begin_layout Plain Layout
3125 Disponible en 
3126 \begin_inset Flex URL
3127 status collapsed
3128
3129 \begin_layout Plain Layout
3130
3131 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3132 \end_layout
3133
3134 \end_inset
3135
3136
3137 \end_layout
3138
3139 \end_inset
3140
3141  La ventaja de este paquete (comparado con otros como 
3142 \family typewriter
3143
3144 \begin_inset Flex Code
3145 status collapsed
3146
3147 \begin_layout Plain Layout
3148
3149 \family typewriter
3150 multibib
3151 \end_layout
3152
3153 \end_inset
3154
3155
3156 \family default
3157 ) es que no necesitas definir nuevos comandos de cita.
3158  Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos
3159  que incluyen las entradas para las distintas secciones de la bibliografía.
3160  Por ejemplo: si quieres dividir tu bibliografía en las secciones 
3161 \begin_inset Quotes cld
3162 \end_inset
3163
3164 Fuentes
3165 \begin_inset Quotes crd
3166 \end_inset
3167
3168  y 
3169 \begin_inset Quotes cld
3170 \end_inset
3171
3172 Trabajos científicos
3173 \begin_inset Quotes crd
3174 \end_inset
3175
3176 , primero debes crear dos bases de datos, p.
3177 \begin_inset space \thinspace{}
3178 \end_inset
3179
3180 ej.
3181 \begin_inset space ~
3182 \end_inset
3183
3184
3185 \family typewriter
3186
3187 \begin_inset Flex Code
3188 status collapsed
3189
3190 \begin_layout Plain Layout
3191
3192 \family typewriter
3193 fuentes.bib
3194 \end_layout
3195
3196 \end_inset
3197
3198
3199 \family default
3200  y 
3201 \family typewriter
3202
3203 \begin_inset Flex Code
3204 status collapsed
3205
3206 \begin_layout Plain Layout
3207
3208 \family typewriter
3209 trabajos.bib
3210 \end_layout
3211
3212 \end_inset
3213
3214
3215 \family default
3216 .
3217 \end_layout
3218
3219 \begin_layout Standard
3220 Ve a
3221 \family sans
3222  
3223 \begin_inset Flex Noun
3224 status collapsed
3225
3226 \begin_layout Plain Layout
3227
3228 \family sans
3229 Documento\SpecialChar menuseparator
3230 Configuración
3231 \end_layout
3232
3233 \end_inset
3234
3235
3236 \family default
3237  y selecciona en el panel
3238 \family sans
3239  
3240 \begin_inset Flex Noun
3241 status collapsed
3242
3243 \begin_layout Plain Layout
3244
3245 \family sans
3246 Bibliografía
3247 \end_layout
3248
3249 \end_inset
3250
3251  
3252 \family default
3253 la opción
3254 \family sans
3255  
3256 \begin_inset Flex Noun
3257 status collapsed
3258
3259 \begin_layout Plain Layout
3260
3261 \change_inserted 34634807 1499889591
3262
3263 \lang english
3264 Subdivided bibliography
3265 \change_deleted 34634807 1499889598
3266
3267 \family sans
3268 \lang spanish
3269 Bibliografía
3270 \begin_inset space ~
3271 \end_inset
3272
3273 por
3274 \begin_inset space ~
3275 \end_inset
3276
3277 secciones
3278 \change_unchanged
3279
3280 \end_layout
3281
3282 \end_inset
3283
3284
3285 \family default
3286 .
3287  Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3288 , una para cada sección
3289  de la bibliografía.
3290  Volviendo a nuestro ejemplo: Inserta una bibliografía Bib\SpecialChar TeX
3291  para la base
3292  de datos 
3293 \family typewriter
3294
3295 \begin_inset Flex Code
3296 status collapsed
3297
3298 \begin_layout Plain Layout
3299
3300 \family typewriter
3301 fuentes.bib
3302 \end_layout
3303
3304 \end_inset
3305
3306
3307 \family default
3308  y otra para la base de datos 
3309 \family typewriter
3310
3311 \begin_inset Flex Code
3312 status collapsed
3313
3314 \begin_layout Plain Layout
3315
3316 \family typewriter
3317 trabajos.bib
3318 \end_layout
3319
3320 \end_inset
3321
3322
3323 \family default
3324 .
3325  Eres libre de usar estilos diferentes o iguales para cada sección.
3326  Por otra parte, puedes elegir si la sección bibliográfica debe contener
3327  
3328 \begin_inset Quotes cld
3329 \end_inset
3330
3331 todas las referencias citadas
3332 \begin_inset Quotes crd
3333 \end_inset
3334
3335  de la base de datos especificada (así es por omisión), 
3336 \begin_inset Quotes cld
3337 \end_inset
3338
3339 todas las referencias no citadas
3340 \begin_inset Quotes crd
3341 \end_inset
3342
3343  o incluso 
3344 \begin_inset Quotes cld
3345 \end_inset
3346
3347 todas las referencias
3348 \begin_inset Quotes crd
3349 \end_inset
3350
3351 .
3352  Esto podría ser útil para separar la bibliografía en tres secciones: 
3353 \begin_inset Quotes cld
3354 \end_inset
3355
3356 Fuentes citadas
3357 \begin_inset Quotes crd
3358 \end_inset
3359
3360
3361 \begin_inset Quotes cld
3362 \end_inset
3363
3364 Fuentes no citadas
3365 \begin_inset Quotes crd
3366 \end_inset
3367
3368  y 
3369 \begin_inset Quotes cld
3370 \end_inset
3371
3372 Trabajos científicos
3373 \begin_inset Quotes crd
3374 \end_inset
3375
3376 .
3377  Los títulos para las secciones pueden añadirse como secciones ordinarias
3378  o como subsecciones.
3379  Como 
3380 \family typewriter
3381
3382 \begin_inset Flex Code
3383 status collapsed
3384
3385 \begin_layout Plain Layout
3386
3387 \family typewriter
3388 bibtopic
3389 \end_layout
3390
3391 \end_inset
3392
3393
3394 \family default
3395  quita el título de la bibliografía, debes reañadirlo manualmente (como
3396  un capítulo* o sección*, por ejemplo).
3397 \change_inserted 34634807 1499889620
3398
3399 \end_layout
3400
3401 \begin_layout Standard
3402
3403 \change_inserted 34634807 1499889623
3404
3405 \lang english
3406 With 
3407 \family sans
3408 Biblatex
3409 \family default
3410 , the procedure is a bit different.
3411  Since 
3412 \family typewriter
3413 bibtopic
3414 \family default
3415  does not work with 
3416 \family sans
3417 Biblatex
3418 \family default
3419 , the aforementioned 
3420 \begin_inset Flex Noun
3421 status collapsed
3422
3423 \begin_layout Plain Layout
3424
3425 \change_inserted 34634807 1499889623
3426
3427 \lang english
3428 Subdivided bibliography
3429 \end_layout
3430
3431 \end_inset
3432
3433  option is disabled if you use 
3434 \family sans
3435 Biblatex
3436 \family default
3437 .
3438  However, 
3439 \family sans
3440 Biblatex
3441 \family default
3442  provides its own means to generate subdivided bibliographies.
3443  You can either add keywords to bibliography entries via the 
3444 \begin_inset Flex Code
3445 status collapsed
3446
3447 \begin_layout Plain Layout
3448
3449 \change_inserted 34634807 1499889623
3450
3451 \lang english
3452 keywords
3453 \end_layout
3454
3455 \end_inset
3456
3457  entry option and then filter bibliography sections by keyword (by adding
3458  
3459 \begin_inset Flex Code
3460 status collapsed
3461
3462 \begin_layout Plain Layout
3463
3464 \change_inserted 34634807 1499889623
3465
3466 \lang english
3467 keyword=mykeyword
3468 \end_layout
3469
3470 \end_inset
3471
3472  to the 
3473 \begin_inset Flex Noun
3474 status collapsed
3475
3476 \begin_layout Plain Layout
3477
3478 \change_inserted 34634807 1499889623
3479
3480 \lang english
3481 Options
3482 \end_layout
3483
3484 \end_inset
3485
3486  field of the dialog that opens if you right-click on the 
3487 \begin_inset Flex Noun
3488 status collapsed
3489
3490 \begin_layout Plain Layout
3491
3492 \change_inserted 34634807 1499889623
3493
3494 \lang english
3495 Biblatex Generated Bibliography
3496 \end_layout
3497
3498 \end_inset
3499
3500  button), or you can filter by entry types (such as 
3501 \emph on
3502 book
3503 \emph default
3504  or 
3505 \emph on
3506 article
3507 \emph default
3508 ) by entering e.
3509 \begin_inset space \thinspace{}
3510 \end_inset
3511
3512 g.
3513  
3514 \begin_inset Flex Code
3515 status collapsed
3516
3517 \begin_layout Plain Layout
3518
3519 \change_inserted 34634807 1499889623
3520
3521 \lang english
3522 type=book
3523 \end_layout
3524
3525 \end_inset
3526
3527  or 
3528 \begin_inset Flex Code
3529 status collapsed
3530
3531 \begin_layout Plain Layout
3532
3533 \change_inserted 34634807 1499889623
3534
3535 \lang english
3536 nottype=collection
3537 \end_layout
3538
3539 \end_inset
3540
3541  to the mentioned 
3542 \begin_inset Flex Noun
3543 status collapsed
3544
3545 \begin_layout Plain Layout
3546
3547 \change_inserted 34634807 1499889623
3548
3549 \lang english
3550 Options
3551 \end_layout
3552
3553 \end_inset
3554
3555  field, or you can create so-called 
3556 \begin_inset Quotes eld
3557 \end_inset
3558
3559 Bibliography Categories
3560 \begin_inset Quotes erd
3561 \end_inset
3562
3563  to which you can assign individual entries.
3564  Please refer to the Biblatex manual, section 
3565 \emph on
3566 Subdivided Bibliographies
3567 \emph default
3568 , for details.
3569 \change_unchanged
3570
3571 \end_layout
3572
3573 \begin_layout Subsection
3574 Bibliografías múltiples
3575 \end_layout
3576
3577 \begin_layout Standard
3578 Bib\SpecialChar TeX
3579  no soporta por sí mismo bibliografías múltiples, p.
3580 \begin_inset space \thinspace{}
3581 \end_inset
3582
3583 ej.
3584 \begin_inset space \space{}
3585 \end_inset
3586
3587 una bibliografía para cada 
3588 \change_inserted 34634807 1499889656
3589
3590 \lang english
3591 part, chapter, 
3592 \change_unchanged
3593
3594 \lang spanish
3595 sección o 
3596 \change_inserted 34634807 1499889671
3597
3598 \lang english
3599 subsection
3600 \change_deleted 34634807 1499889674
3601
3602 \lang spanish
3603 capítulo
3604 \change_inserted 34634807 1499889689
3605
3606 \lang english
3607  or child (sub-document)
3608 \change_unchanged
3609
3610 \lang spanish
3611  del documento,
3612 \change_deleted 34634807 1499889741
3613  pero el paquete 
3614 \family typewriter
3615
3616 \begin_inset Flex Code
3617 status collapsed
3618
3619 \begin_layout Plain Layout
3620
3621 \family typewriter
3622 bibtopic
3623 \end_layout
3624
3625 \end_inset
3626
3627
3628 \family default
3629 , que sirve para crear bibliografías por secciones (véase la sección previa),
3630  provee una sencilla manera de hacer esta tarea si estás dispuesto a emplear
3631  un poco de 
3632 \begin_inset Flex Code
3633 status collapsed
3634
3635 \begin_layout Plain Layout
3636 código \SpecialChar TeX
3637
3638 \end_layout
3639
3640 \end_inset
3641
3642  (véase la sección
3643 \begin_inset space ~
3644 \end_inset
3645
3646
3647 \begin_inset CommandInset ref
3648 LatexCommand ref
3649 reference "sec:Insertar-Código-TeX"
3650
3651 \end_inset
3652
3653 ).
3654 \begin_inset Foot
3655 status collapsed
3656
3657 \begin_layout Plain Layout
3658 Una vía alternativa es usar los paquetes 
3659 \family typewriter
3660 chapterbib
3661 \family default
3662  o 
3663 \family typewriter
3664 bibunits
3665 \family default
3666 , respectivamente.
3667 \end_layout
3668
3669 \end_inset
3670
3671
3672 \end_layout
3673
3674 \begin_layout Standard
3675
3676 \change_deleted 34634807 1499889741
3677 En primer lugar, en
3678 \family sans
3679  
3680 \begin_inset Flex Noun
3681 status collapsed
3682
3683 \begin_layout Plain Layout
3684
3685 \family sans
3686 Documento\SpecialChar menuseparator
3687
3688 \family default
3689 C
3690 \family sans
3691 onfiguración
3692 \end_layout
3693
3694 \end_inset
3695
3696
3697 \family default
3698  selecciona en el panel
3699 \family sans
3700  
3701 \begin_inset Flex Noun
3702 status collapsed
3703
3704 \begin_layout Plain Layout
3705
3706 \family sans
3707 Bibliografía
3708 \end_layout
3709
3710 \end_inset
3711
3712
3713 \family default
3714  la opción 
3715 \family sans
3716
3717 \begin_inset Flex Noun
3718 status collapsed
3719
3720 \begin_layout Plain Layout
3721
3722 \family sans
3723 Bibliografía
3724 \begin_inset space ~
3725 \end_inset
3726
3727
3728 \family default
3729 por
3730 \family sans
3731
3732 \begin_inset space ~
3733 \end_inset
3734
3735 secciones
3736 \end_layout
3737
3738 \end_inset
3739
3740
3741 \family default
3742 .
3743  En el documento, debes encerrar las secciones, que contendrán su propia
3744  bibliografía (incluyendo la propia referencia Bib\SpecialChar TeX
3745 ), entre 
3746 \family typewriter
3747
3748 \begin_inset Flex Code
3749 status collapsed
3750
3751 \begin_layout Plain Layout
3752
3753 \family typewriter
3754
3755 \backslash
3756 begin{btUnit}
3757 \end_layout
3758
3759 \end_inset
3760
3761
3762 \family default
3763  y 
3764 \family typewriter
3765
3766 \begin_inset Flex Code
3767 status collapsed
3768
3769 \begin_layout Plain Layout
3770
3771 \family typewriter
3772
3773 \backslash
3774 end{btUnit}
3775 \end_layout
3776
3777 \end_inset
3778
3779
3780 \family default
3781  (estos comandos deben insertarse en 
3782 \begin_inset Flex Code
3783 status collapsed
3784
3785 \begin_layout Plain Layout
3786 código \SpecialChar TeX
3787
3788 \end_layout
3789
3790 \end_inset
3791
3792 ).
3793  La bibliografía contendrá todas las referencias que han sido citadas en
3794  el actual 
3795 \family typewriter
3796
3797 \begin_inset Flex Code
3798 status collapsed
3799
3800 \begin_layout Plain Layout
3801
3802 \family typewriter
3803 btUnit
3804 \end_layout
3805
3806 \end_inset
3807
3808
3809 \family default
3810 .
3811  
3812 \series bold
3813 Nota
3814 \series default
3815 : Si empleas este camino, entonces 
3816 \emph on
3817 cada 
3818 \emph default
3819 referencia de cita debe estar dentro de alguna 
3820 \family typewriter
3821
3822 \begin_inset Flex Code
3823 status collapsed
3824
3825 \begin_layout Plain Layout
3826
3827 \family typewriter
3828 btUnit
3829 \end_layout
3830
3831 \end_inset
3832
3833
3834 \family default
3835 .
3836  Además, 
3837 \begin_inset Flex Code
3838 status collapsed
3839
3840 \begin_layout Plain Layout
3841 btUnits
3842 \end_layout
3843
3844 \end_inset
3845
3846  no puede anidarse.
3847
3848 \change_inserted 34634807 1499889771
3849
3850 \lang english
3851  are also supported by \SpecialChar LyX
3852 .
3853  In order to enable it, go to 
3854 \begin_inset Flex Noun
3855 status collapsed
3856
3857 \begin_layout Plain Layout
3858
3859 \change_inserted 34634807 1499889771
3860
3861 \lang english
3862 Document\SpecialChar menuseparator
3863 Settings\SpecialChar menuseparator
3864 Bibliography
3865 \end_layout
3866
3867 \end_inset
3868
3869  and select the relevant unit (e.
3870 \begin_inset space \thinspace{}
3871 \end_inset
3872
3873 g., 
3874 \begin_inset Quotes eld
3875 \end_inset
3876
3877 per section
3878 \begin_inset Quotes erd
3879 \end_inset
3880
3881 ) in the 
3882 \begin_inset Flex Noun
3883 status collapsed
3884
3885 \begin_layout Plain Layout
3886
3887 \change_inserted 34634807 1499889771
3888
3889 \lang english
3890 Multiple Bibliographies
3891 \end_layout
3892
3893 \end_inset
3894
3895  combo box.
3896  Then add a Bib(la)\SpecialChar TeX
3897  bibliography to each unit (e.
3898 \begin_inset space \thinspace{}
3899 \end_inset
3900
3901 g., section) of your document.
3902  In the output, a separate bibliography, containing only the references
3903  done in the current unit is generated.
3904 \end_layout
3905
3906 \begin_layout Standard
3907
3908 \change_inserted 34634807 1499889771
3909
3910 \lang english
3911 If you use Bib\SpecialChar TeX
3912 , either the 
3913 \begin_inset Flex Code
3914 status collapsed
3915
3916 \begin_layout Plain Layout
3917
3918 \change_inserted 34634807 1499889771
3919
3920 \lang english
3921 chapterbib
3922 \end_layout
3923
3924 \end_inset
3925
3926  of the 
3927 \begin_inset Flex Code
3928 status collapsed
3929
3930 \begin_layout Plain Layout
3931
3932 \change_inserted 34634807 1499889771
3933
3934 \lang english
3935 bibtopic
3936 \end_layout
3937
3938 \end_inset
3939
3940  package is used to create multiple bibliographies.
3941  The former package is used if you select 
3942 \begin_inset Quotes eld
3943 \end_inset
3944
3945 per child document
3946 \begin_inset Quotes erd
3947 \end_inset
3948
3949  and do 
3950 \emph on
3951 not
3952 \emph default
3953  check 
3954 \begin_inset Flex Noun
3955 status collapsed
3956
3957 \begin_layout Plain Layout
3958
3959 \change_inserted 34634807 1499889771
3960
3961 \lang english
3962 Sectioned Bibliography
3963 \end_layout
3964
3965 \end_inset
3966
3967 .
3968  In all other cases, 
3969 \begin_inset Flex Code
3970 status collapsed
3971
3972 \begin_layout Plain Layout
3973
3974 \change_inserted 34634807 1499889771
3975
3976 \lang english
3977 bibtopic
3978 \end_layout
3979
3980 \end_inset
3981
3982  is used.
3983 \begin_inset Foot
3984 status collapsed
3985
3986 \begin_layout Plain Layout
3987
3988 \change_inserted 34634807 1499889771
3989
3990 \lang english
3991 An alternative approach, if you are willing to use some 
3992 \begin_inset Flex Noun
3993 status collapsed
3994
3995 \begin_layout Plain Layout
3996
3997 \change_inserted 34634807 1499889771
3998
3999 \lang english
4000 \SpecialChar TeX
4001  Code
4002 \end_layout
4003
4004 \end_inset
4005
4006  (see section
4007 \begin_inset space ~
4008 \end_inset
4009
4010
4011 \begin_inset CommandInset ref
4012 LatexCommand ref
4013 reference "sec:Inserting-TeX-Code"
4014
4015 \end_inset
4016
4017 ), is to use the 
4018 \begin_inset Flex Code
4019 status collapsed
4020
4021 \begin_layout Plain Layout
4022
4023 \change_inserted 34634807 1499889771
4024
4025 \lang english
4026 bibunits
4027 \end_layout
4028
4029 \end_inset
4030
4031  package.
4032 \end_layout
4033
4034 \end_inset
4035
4036  If 
4037 \begin_inset Flex Code
4038 status collapsed
4039
4040 \begin_layout Plain Layout
4041
4042 \change_inserted 34634807 1499889771
4043
4044 \lang english
4045 bibtopic
4046 \end_layout
4047
4048 \end_inset
4049
4050  is used, \SpecialChar LyX
4051  encloses the specified units in 
4052 \begin_inset Flex Code
4053 status collapsed
4054
4055 \begin_layout Plain Layout
4056
4057 \change_inserted 34634807 1499889771
4058
4059 \lang english
4060 bibtopic
4061 \end_layout
4062
4063 \end_inset
4064
4065 's 
4066 \begin_inset Flex Code
4067 status collapsed
4068
4069 \begin_layout Plain Layout
4070
4071 \change_inserted 34634807 1499889771
4072
4073 \lang english
4074
4075 \backslash
4076 begin{btUnit}
4077 \end_layout
4078
4079 \end_inset
4080
4081  and 
4082 \begin_inset Flex Code
4083 status collapsed
4084
4085 \begin_layout Plain Layout
4086
4087 \change_inserted 34634807 1499889771
4088
4089 \lang english
4090
4091 \backslash
4092 end{btUnit}
4093 \end_layout
4094
4095 \end_inset
4096
4097  in order to create the units.
4098  Note that this approach has some limitations.
4099  First, every citation reference has to be inside some 
4100 \begin_inset Flex Code
4101 status collapsed
4102
4103 \begin_layout Plain Layout
4104
4105 \change_inserted 34634807 1499889771
4106
4107 \lang english
4108 btUnit
4109 \end_layout
4110
4111 \end_inset
4112
4113 .
4114  So citations outside a defined unit (e.
4115 \begin_inset space \thinspace{}
4116 \end_inset
4117
4118 g., before the first section if you use 
4119 \begin_inset Quotes eld
4120 \end_inset
4121
4122 by section
4123 \begin_inset Quotes erd
4124 \end_inset
4125
4126 ) will appear as 
4127 \begin_inset Quotes eld
4128 \end_inset
4129
4130 ???
4131 \begin_inset Quotes erd
4132 \end_inset
4133
4134 .
4135  You can also create your own units by entering 
4136 \begin_inset Flex Code
4137 status collapsed
4138
4139 \begin_layout Plain Layout
4140
4141 \change_inserted 34634807 1499889771
4142
4143 \lang english
4144
4145 \backslash
4146 begin{btUnit}
4147 \end_layout
4148
4149 \end_inset
4150
4151  and 
4152 \begin_inset Flex Code
4153 status collapsed
4154
4155 \begin_layout Plain Layout
4156
4157 \change_inserted 34634807 1499889771
4158
4159 \lang english
4160
4161 \backslash
4162 end{btUnit}
4163 \end_layout
4164
4165 \end_inset
4166
4167  as \SpecialChar TeX
4168  code (for instance to work around the mentioned limitation).
4169  Note, though, that 
4170 \begin_inset Flex Code
4171 status collapsed
4172
4173 \begin_layout Plain Layout
4174
4175 \change_inserted 34634807 1499889771
4176
4177 \lang english
4178 btUnit
4179 \end_layout
4180
4181 \end_inset
4182
4183 s cannot be nested.
4184  A second limitation is that 
4185 \begin_inset Flex Code
4186 status collapsed
4187
4188 \begin_layout Plain Layout
4189
4190 \change_inserted 34634807 1499889771
4191
4192 \lang english
4193 bibtopic
4194 \end_layout
4195
4196 \end_inset
4197
4198  always processes all references of a bibliography database, even if they
4199  are not cited.
4200  This can result in odd labels (e.
4201 \begin_inset space \thinspace{}
4202 \end_inset
4203
4204 g.
4205  
4206 \begin_inset Quotes eld
4207 \end_inset
4208
4209 Miller 2014b
4210 \begin_inset Quotes erd
4211 \end_inset
4212
4213  if two works of this author from 2014 are in the database, even if only
4214  one is cited).
4215 \end_layout
4216
4217 \begin_layout Standard
4218
4219 \change_inserted 34634807 1499889771
4220
4221 \lang english
4222 If you use 
4223 \family sans
4224 Biblatex
4225 \family default
4226 , the 
4227 \begin_inset Flex Code
4228 status collapsed
4229
4230 \begin_layout Plain Layout
4231
4232 \change_inserted 34634807 1499889771
4233
4234 \lang english
4235 refsection
4236 \end_layout
4237
4238 \end_inset
4239
4240  option is used instead.
4241  If you need specific units, you can start them with the \SpecialChar TeX
4242  code 
4243 \begin_inset Flex Code
4244 status collapsed
4245
4246 \begin_layout Plain Layout
4247
4248 \change_inserted 34634807 1499889771
4249
4250 \lang english
4251
4252 \backslash
4253 newrefsection
4254 \end_layout
4255
4256 \end_inset
4257
4258  or 
4259 \begin_inset Flex Code
4260 status collapsed
4261
4262 \begin_layout Plain Layout
4263
4264 \change_inserted 34634807 1499889771
4265
4266 \lang english
4267
4268 \backslash
4269 newrefsegment
4270 \end_layout
4271
4272 \end_inset
4273
4274 , respectively.
4275  If you also want to control the end of the unit, use the environment 
4276 \begin_inset Flex Code
4277 status collapsed
4278
4279 \begin_layout Plain Layout
4280
4281 \change_inserted 34634807 1499889771
4282
4283 \lang english
4284
4285 \backslash
4286 begin{refsection}
4287 \end_layout
4288
4289 \end_inset
4290
4291  \SpecialChar ldots
4292  
4293 \begin_inset Flex Code
4294 status collapsed
4295
4296 \begin_layout Plain Layout
4297
4298 \change_inserted 34634807 1499889771
4299
4300 \lang english
4301
4302 \backslash
4303 end{refsection}
4304 \end_layout
4305
4306 \end_inset
4307
4308  instead.
4309  Note, though, that 
4310 \begin_inset Flex Code
4311 status collapsed
4312
4313 \begin_layout Plain Layout
4314
4315 \change_inserted 34634807 1499889771
4316
4317 \lang english
4318 refsection
4319 \end_layout
4320
4321 \end_inset
4322
4323 s cannot be nested.
4324  In addition to the individual bibliography of the current unit, 
4325 \family sans
4326 Biblatex
4327 \family default
4328  also provides an easy way to output all bibliographies, subsequently, at
4329  one place (e.
4330 \begin_inset space \thinspace{}
4331 \end_inset
4332
4333 g., at the end of the document).
4334  Select 
4335 \begin_inset Quotes eld
4336 \end_inset
4337
4338 all reference units
4339 \begin_inset Quotes erd
4340 \end_inset
4341
4342  from the Content combo box of the Bib(la)TeX inset dialog in order to achieve
4343  this.
4344  Please refer to the 
4345 \family sans
4346 Biblatex
4347 \family default
4348  manual for more information on this topic.
4349 \change_unchanged
4350
4351 \end_layout
4352
4353 \begin_layout Section
4354 Documentos con varias partes
4355 \end_layout
4356
4357 \begin_layout Subsection
4358 Operación general
4359 \end_layout
4360
4361 \begin_layout Standard
4362 Cuando trabajas en un extenso documento con muchas secciones, o si tienes
4363  una parte en la que un cuadro puede cambiar de vez en cuando pero no el
4364  texto precedente, suele ser conveniente dividir el documento en varios
4365  archivos.
4366  En estos casos, deberías considerar seriamente el uso de documentos hijo.
4367  Por ejemplo, los artículos científicos suelen tener cinco secciones principales
4368 : introducción, observaciones, resultados, discusión y conclusiones.
4369  Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4370 .
4371  Por otra parte un archivo 
4372 \begin_inset Quotes cld
4373 \end_inset
4374
4375 maestro
4376 \begin_inset Quotes crd
4377 \end_inset
4378
4379  contendría el título, los autores, el resumen, las referencias, etc., e
4380  incluiría los cinco archivos.
4381  Es importante tener en cuenta que cada uno de estos es un completo archivo
4382  \SpecialChar LyX
4383  que puede ser diseñado e impreso de forma independiente, además de estar
4384  incluido en el maestro.
4385  Sin embargo, todos deben ser de la misma clase de documento —no intentes
4386  mezclar, p.
4387 \begin_inset space \thinspace{}
4388 \end_inset
4389
4390 ej., libro y artículo—.
4391  También puedes incluir archivos \SpecialChar LaTeX
4392 ; pero no deben tener su propio preámbulo
4393  (es decir, debe eliminarse todo lo que precede a 
4394 \family typewriter
4395
4396 \begin_inset Flex Code
4397 status collapsed
4398
4399 \begin_layout Plain Layout
4400
4401 \family typewriter
4402
4403 \backslash
4404 begin{document}
4405 \end_layout
4406
4407 \end_inset
4408
4409
4410 \family default
4411 , así como esta misma línea y también
4412 \family typewriter
4413  
4414 \begin_inset Flex Code
4415 status collapsed
4416
4417 \begin_layout Plain Layout
4418
4419 \family typewriter
4420
4421 \backslash
4422 end{document}
4423 \end_layout
4424
4425 \end_inset
4426
4427
4428 \family default
4429 ), de lo contrario se generarán errores al procesar el archivo.
4430 \end_layout
4431
4432 \begin_layout Standard
4433 \SpecialChar LyX
4434  facilita la inclusión de archivos con la opción de menú
4435 \family sans
4436  
4437 \begin_inset Flex Noun
4438 status collapsed
4439
4440 \begin_layout Plain Layout
4441
4442 \family sans
4443 Insertar\SpecialChar menuseparator
4444 Archivo\SpecialChar menuseparator
4445 Documento
4446 \begin_inset space ~
4447 \end_inset
4448
4449 hijo
4450 \end_layout
4451
4452 \end_inset
4453
4454
4455 \family default
4456 .
4457  Surge entonces una ventana que permite seleccionar el archivo a incluir
4458  y el método de inclusión, y en la posición actual del cursor se inserta
4459  un cuadro gris con el nombre del archivo, que se puede desplegar con un
4460  clic para hacer modificaciones.
4461
4462 \family sans
4463  
4464 \end_layout
4465
4466 \begin_layout Standard
4467 Los métodos de inclusión de un archivo son 
4468 \begin_inset Quotes cld
4469 \end_inset
4470
4471 Anexar
4472 \begin_inset Quotes crd
4473 \end_inset
4474
4475
4476 \begin_inset Quotes cld
4477 \end_inset
4478
4479 Incorporar
4480 \begin_inset Quotes crd
4481 \end_inset
4482
4483  y 
4484 \begin_inset Quotes cld
4485 \end_inset
4486
4487 Literal
4488 \begin_inset Quotes crd
4489 \end_inset
4490
4491 .
4492  La diferencia entre los métodos 
4493 \begin_inset Quotes cld
4494 \end_inset
4495
4496 Anexar
4497 \begin_inset Quotes crd
4498 \end_inset
4499
4500  e 
4501 \begin_inset Quotes cld
4502 \end_inset
4503
4504 Incorporar
4505 \begin_inset Quotes crd
4506 \end_inset
4507
4508  solo es significativa para 
4509 \begin_inset Quotes cld
4510 \end_inset
4511
4512 \SpecialChar LaTeX
4513 pertos
4514 \begin_inset Quotes crd
4515 \end_inset
4516
4517 , pero en la práctica los archivos 
4518 \begin_inset Quotes cld
4519 \end_inset
4520
4521 anexados
4522 \begin_inset Quotes crd
4523 \end_inset
4524
4525  se imprimen en una página independiente, mientras que los archivos 
4526 \begin_inset Quotes cld
4527 \end_inset
4528
4529 incorporados
4530 \begin_inset Quotes crd
4531 \end_inset
4532
4533  se imprimen en la página en la que estén insertados.
4534  
4535 \end_layout
4536
4537 \begin_layout Standard
4538 Generalmente, el archivo maestro es convertido en un archivo \SpecialChar LaTeX
4539  completo antes
4540  de ser procesado, mientras que los archivos incluidos son convertidos a
4541  archivos \SpecialChar LaTeX
4542  que no tienen toda la información del preámbulo.
4543 \end_layout
4544
4545 \begin_layout Standard
4546 La inserción de un archivo 
4547 \begin_inset Quotes cld
4548 \end_inset
4549
4550 Literal
4551 \begin_inset Quotes crd
4552 \end_inset
4553
4554  permite incluirlo tal cual es, de forma literal, con los caracteres en
4555  tipografía de 
4556 \family typewriter
4557 ancho fijo
4558 \family default
4559 .
4560  Normalmente los espacios en este tipo de inclusión son invisibles, aunque
4561  se conservan dos espacios consecutivos, a diferencia del normal tratamiento
4562  de los espacios en \SpecialChar LyX
4563 .
4564  Sin embargo, si se marca en
4565 \family sans
4566  
4567 \begin_inset Flex Noun
4568 status collapsed
4569
4570 \begin_layout Plain Layout
4571
4572 \family sans
4573 Mar
4574 \family default
4575 car
4576 \family sans
4577
4578 \begin_inset space ~
4579 \end_inset
4580
4581 espacios
4582 \begin_inset space ~
4583 \end_inset
4584
4585 en
4586 \begin_inset space ~
4587 \end_inset
4588
4589 la
4590 \begin_inset space ~
4591 \end_inset
4592
4593 salida
4594 \end_layout
4595
4596 \end_inset
4597
4598
4599 \family default
4600 , se imprime una marca que señala sin ambigüedad la presencia de espacios.
4601 \end_layout
4602
4603 \begin_layout Subsection
4604 Referencias cruzadas entre archivos
4605 \end_layout
4606
4607 \begin_layout Standard
4608 \begin_inset Box Shadowbox
4609 position "t"
4610 hor_pos "c"
4611 has_inner_box 1
4612 inner_pos "t"
4613 use_parbox 0
4614 use_makebox 0
4615 width "100col%"
4616 special "none"
4617 height "1in"
4618 height_special "totalheight"
4619 thickness "0.4pt"
4620 separation "3pt"
4621 shadowsize "4pt"
4622 framecolor "black"
4623 backgroundcolor "none"
4624 status collapsed
4625
4626 \begin_layout Plain Layout
4627 Esta sección está algo anticuada.
4628  Es preciso describir los documentos maestros predeterminados y cómo son
4629  abiertos los hijos cuando está el maestro.
4630  [[PENDIENTE]]
4631 \end_layout
4632
4633 \end_inset
4634
4635
4636 \end_layout
4637
4638 \begin_layout Standard
4639 Se pueden configurar referencias cruzadas entre los distintos archivos.
4640  Primero, abre todos los archivos en cuestión: digamos A y B por ejemplo,
4641  donde B está incluido en A.
4642  Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4643  Abre el diálogo de referencias cruzadas en B y selecciona el 
4644 \begin_inset Quotes cld
4645 \end_inset
4646
4647 buffer
4648 \begin_inset Quotes crd
4649 \end_inset
4650
4651  a usar.
4652 \end_layout
4653
4654 \begin_layout Subsection
4655 Listas de bibliografía en todos los subdocumentos
4656 \end_layout
4657
4658 \begin_layout Standard
4659 \begin_inset Box Frameless
4660 position "t"
4661 hor_pos "c"
4662 has_inner_box 1
4663 inner_pos "t"
4664 use_parbox 0
4665 use_makebox 0
4666 width "100col%"
4667 special "none"
4668 height "1in"
4669 height_special "totalheight"
4670 thickness "0.4pt"
4671 separation "3pt"
4672 shadowsize "4pt"
4673 framecolor "black"
4674 backgroundcolor "none"
4675 status collapsed
4676
4677 \begin_layout Plain Layout
4678 Esta sección también requiere actualización.
4679  Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4680 \end_layout
4681
4682 \end_inset
4683
4684
4685 \end_layout
4686
4687 \begin_layout Standard
4688 Copia la lista de bibliografía con todas las entradas en todos los subdocumentos
4689  y transfórmalas en un comentario.
4690  De esta forma \SpecialChar LyX
4691  encontrará los archivos 
4692 \begin_inset Flex Code
4693 status collapsed
4694
4695 \begin_layout Plain Layout
4696 .bib
4697 \end_layout
4698
4699 \end_inset
4700
4701  y puedes fácilmente insertar referencias sin hacer visible la lista de
4702  bibliografía.
4703 \end_layout
4704
4705 \begin_layout Standard
4706 Como la lista de bibliografía está en un comentario, \SpecialChar LaTeX
4707  no la usará y las
4708  referencias se mostrarán así: [?], en lugar de así : [1].
4709  Una solución es usar el paquete \SpecialChar LaTeX
4710  
4711 \begin_inset Flex Code
4712 status collapsed
4713
4714 \begin_layout Plain Layout
4715 comment
4716 \end_layout
4717
4718 \end_inset
4719
4720  que solo incluirá comentarios procesando los archivos separadamente.
4721  Para hacer esto, añade en el preámbulo \SpecialChar LaTeX
4722  de cada subdocumento lo siguiente:
4723 \end_layout
4724
4725 \begin_layout LyX-Code
4726
4727 \backslash
4728 usepackage{comment}
4729 \end_layout
4730
4731 \begin_layout LyX-Code
4732
4733 \backslash
4734 includecomment{comment}
4735 \end_layout
4736
4737 \begin_layout Standard
4738 Véase también 
4739 \begin_inset Flex URL
4740 status collapsed
4741
4742 \begin_layout Plain Layout
4743
4744 http://wiki.lyx.org/FAQ/Unsorted#toc31
4745 \end_layout
4746
4747 \end_inset
4748
4749 .
4750 \end_layout
4751
4752 \begin_layout Section
4753 Archivos \SpecialChar LyX
4754
4755 \end_layout
4756
4757 \begin_layout Standard
4758 A veces, los usuarios necesitan 
4759 \begin_inset Quotes cld
4760 \end_inset
4761
4762 empaquetar
4763 \begin_inset Quotes crd
4764 \end_inset
4765
4766  un archivo \SpecialChar LyX
4767  junto con las imágenes (y otros archivos) de los que depende,
4768  bien para enviarlo a un editor o para compartirlo con un co-autor.
4769  \SpecialChar LyX
4770  2.0 incluye un guión en Python (
4771 \begin_inset Flex Code
4772 status collapsed
4773
4774 \begin_layout Plain Layout
4775 lyxpak.py
4776 \end_layout
4777
4778 \end_inset
4779
4780 ) que automatiza el proceso.
4781  Para usarlo, deben estar instalados los módulos Python 
4782 \begin_inset Flex Code
4783 status collapsed
4784
4785 \begin_layout Plain Layout
4786 zipfile
4787 \end_layout
4788
4789 \end_inset
4790
4791  o 
4792 \begin_inset Flex Code
4793 status collapsed
4794
4795 \begin_layout Plain Layout
4796 tarfile
4797 \end_layout
4798
4799 \end_inset
4800
4801 .
4802  Por omisión, el guión prefiere el formato 
4803 \begin_inset Flex Code
4804 status collapsed
4805
4806 \begin_layout Plain Layout
4807 tar
4808 \end_layout
4809
4810 \end_inset
4811
4812  comprimido con 
4813 \begin_inset Flex Code
4814 status collapsed
4815
4816 \begin_layout Plain Layout
4817 gzip
4818 \end_layout
4819
4820 \end_inset
4821
4822  en sistemas tipo Unix y el formato 
4823 \begin_inset Flex Code
4824 status collapsed
4825
4826 \begin_layout Plain Layout
4827 zip
4828 \end_layout
4829
4830 \end_inset
4831
4832  en Windows.
4833 \end_layout
4834
4835 \begin_layout Standard
4836 El proceso de configuración de \SpecialChar LyX
4837  preparará el guión para exportar a 
4838 \begin_inset Quotes cld
4839 \end_inset
4840
4841 Archivo \SpecialChar LyX
4842
4843 \begin_inset Quotes crd
4844 \end_inset
4845
4846 , que estará disponible en el menú 
4847 \begin_inset Flex Code
4848 status collapsed
4849
4850 \begin_layout Plain Layout
4851 Archivo\SpecialChar menuseparator
4852 Exportar
4853 \end_layout
4854
4855 \end_inset
4856
4857 .
4858 \end_layout
4859
4860 \begin_layout Standard
4861 Independientemente de la plataforma, la generación de un formato determinado
4862  de archivo puede controlarse añadiendo el conmutador 
4863 \begin_inset Flex Code
4864 status collapsed
4865
4866 \begin_layout Plain Layout
4867 -t
4868 \end_layout
4869
4870 \end_inset
4871
4872  (para el formato 
4873 \begin_inset Flex Code
4874 status collapsed
4875
4876 \begin_layout Plain Layout
4877 tar
4878 \end_layout
4879
4880 \end_inset
4881
4882 ) o el conmutador 
4883 \begin_inset Flex Code
4884 status collapsed
4885
4886 \begin_layout Plain Layout
4887 -z
4888 \end_layout
4889
4890 \end_inset
4891
4892  (para el formato 
4893 \begin_inset Flex Code
4894 status collapsed
4895
4896 \begin_layout Plain Layout
4897 zip
4898 \end_layout
4899
4900 \end_inset
4901
4902 ) al convertidor 
4903 \begin_inset Flex Code
4904 status collapsed
4905
4906 \begin_layout Plain Layout
4907 \SpecialChar LyX
4908 \SpecialChar menuseparator
4909 \SpecialChar LyX
4910  Archive
4911 \end_layout
4912
4913 \end_inset
4914
4915  en 
4916 \begin_inset Flex Code
4917 status collapsed
4918
4919 \begin_layout Plain Layout
4920 Herramientas\SpecialChar menuseparator
4921 Preferencias\SpecialChar menuseparator
4922 Gestión de archivos\SpecialChar menuseparator
4923 Convertidores
4924 \end_layout
4925
4926 \end_inset
4927
4928 .
4929  (Asegúrate de añadir el conmutador tras el nombre del guión, no delante.)
4930 \end_layout
4931
4932 \begin_layout Section
4933 Encabezados y pies de página elaborados
4934 \end_layout
4935
4936 \begin_layout Standard
4937 El formato de página predeterminado es más bien simple; para la clase 
4938 \family sans
4939
4940 \begin_inset Flex Code
4941 status collapsed
4942
4943 \begin_layout Plain Layout
4944
4945 \family sans
4946 article
4947 \end_layout
4948
4949 \end_inset
4950
4951
4952 \family default
4953 , todo lo que obtienes es un número centrado al final de la página.
4954  El presente documento es de la clase 
4955 \family sans
4956
4957 \begin_inset Flex Code
4958 status collapsed
4959
4960 \begin_layout Plain Layout
4961
4962 \family sans
4963 book
4964 \family default
4965  (KOMA-script)
4966 \end_layout
4967
4968 \end_inset
4969
4970
4971 \family default
4972 , así que resulta un poco más elaborado.
4973  Pero para montar un show de verdad, has de elegir 
4974 \begin_inset Quotes cld
4975 \end_inset
4976
4977 elaborado
4978 \begin_inset Quotes crd
4979 \end_inset
4980
4981
4982 \emph on
4983  
4984 \emph default
4985 para el estilo de página del documento, como se comenta en la 
4986 \emph on
4987 Guía del Usuario
4988 \emph default
4989 .
4990  En esta sección se describe el código \SpecialChar LaTeX
4991  que debes introducir en el preámbulo
4992  \SpecialChar LaTeX
4993  para conseguir los resultados deseados.
4994 \end_layout
4995
4996 \begin_layout Standard
4997 El encabezado de página se divide en tres zonas, 
4998 \begin_inset Quotes cld
4999 \end_inset
5000
5001 izquierda
5002 \begin_inset Quotes crd
5003 \end_inset
5004
5005
5006 \begin_inset Quotes cld
5007 \end_inset
5008
5009 central
5010 \begin_inset Quotes crd
5011 \end_inset
5012
5013  y 
5014 \begin_inset Quotes cld
5015 \end_inset
5016
5017 derecha
5018 \begin_inset Quotes crd
5019 \end_inset
5020
5021 .
5022  Y el pie de página, pues igual.
5023  Los comandos \SpecialChar LaTeX
5024  para configurar estas zonas en su forma más simple son 
5025 \family typewriter
5026
5027 \begin_inset Flex Code
5028 status collapsed
5029
5030 \begin_layout Plain Layout
5031
5032 \family typewriter
5033
5034 \backslash
5035 lhead
5036 \end_layout
5037
5038 \end_inset
5039
5040
5041 \family default
5042
5043 \family typewriter
5044
5045 \begin_inset Flex Code
5046 status collapsed
5047
5048 \begin_layout Plain Layout
5049
5050 \family typewriter
5051
5052 \backslash
5053 chead
5054 \end_layout
5055
5056 \end_inset
5057
5058
5059 \family default
5060
5061 \family typewriter
5062
5063 \begin_inset Flex Code
5064 status collapsed
5065
5066 \begin_layout Plain Layout
5067
5068 \family typewriter
5069
5070 \backslash
5071 rhead
5072 \end_layout
5073
5074 \end_inset
5075
5076
5077 \family default
5078
5079 \family typewriter
5080
5081 \begin_inset Flex Code
5082 status collapsed
5083
5084 \begin_layout Plain Layout
5085
5086 \family typewriter
5087
5088 \backslash
5089 lfoot
5090 \end_layout
5091
5092 \end_inset
5093
5094
5095 \family default
5096 , etc.
5097  Supongamos que quieres poner un nombre en la parte superior izquierda de
5098  cada página.
5099  Pues inserta el siguiente comando en el preámbulo:
5100 \end_layout
5101
5102 \begin_layout Standard
5103
5104 \family typewriter
5105
5106 \backslash
5107 lhead{John Q.
5108  DocWriter}
5109 \end_layout
5110
5111 \begin_layout Standard
5112 Con este comando el nombre saldrá en la parte superior izquierda.
5113  Si una zona tiene asignada una entrada por omisión y quieres eliminarla
5114  (p.
5115 \begin_inset space \thinspace{}
5116 \end_inset
5117
5118 ej.
5119 \begin_inset space ~
5120 \end_inset
5121
5122 el número de página en el pie central), pon un comando con el argumento
5123  vacío, p.
5124 \begin_inset space \thinspace{}
5125 \end_inset
5126
5127 ej.:
5128 \end_layout
5129
5130 \begin_layout Standard
5131
5132 \family typewriter
5133
5134 \backslash
5135 cfoot{}
5136 \end_layout
5137
5138 \begin_layout Standard
5139 Vamos ahora con algunos adornos: vamos a poner el número de sección con
5140  la palabra 
5141 \begin_inset Quotes cld
5142 \end_inset
5143
5144 Sección
5145 \begin_inset Quotes crd
5146 \end_inset
5147
5148  (p.
5149 \begin_inset space \thinspace{}
5150 \end_inset
5151
5152 ej.
5153 \begin_inset space ~
5154 \end_inset
5155
5156 Sección
5157 \begin_inset space ~
5158 \end_inset
5159
5160 3) en la superior izquierda, el número de página (p.
5161 \begin_inset space \thinspace{}
5162 \end_inset
5163
5164 ej.
5165 \begin_inset space ~
5166 \end_inset
5167
5168 Página
5169 \begin_inset space ~
5170 \end_inset
5171
5172 4) en la superior derecha, el nombre en la inferior izquierda y la fecha
5173  en la inferior derecha.
5174  Para ello deberíamos escribir las siguientes líneas en el preámbulo: 
5175 \end_layout
5176
5177 \begin_layout Standard
5178
5179 \family typewriter
5180
5181 \backslash
5182 lhead{Sección 
5183 \backslash
5184 thesection}
5185 \end_layout
5186
5187 \begin_layout Standard
5188
5189 \family typewriter
5190
5191 \backslash
5192 chead{}
5193 \end_layout
5194
5195 \begin_layout Standard
5196
5197 \family typewriter
5198
5199 \backslash
5200 rhead{Página 
5201 \backslash
5202 thepage}
5203 \end_layout
5204
5205 \begin_layout Standard
5206
5207 \family typewriter
5208
5209 \backslash
5210 lfoot{John Q.
5211  DocWriter}
5212 \end_layout
5213
5214 \begin_layout Standard
5215
5216 \family typewriter
5217
5218 \backslash
5219 cfoot{}
5220 \end_layout
5221
5222 \begin_layout Standard
5223
5224 \family typewriter
5225
5226 \backslash
5227 rfoot{
5228 \backslash
5229 today}
5230 \end_layout
5231
5232 \begin_layout Standard
5233 Los comandos 
5234 \family typewriter
5235
5236 \begin_inset Flex Code
5237 status collapsed
5238
5239 \begin_layout Plain Layout
5240
5241 \family typewriter
5242
5243 \backslash
5244 thesection
5245 \end_layout
5246
5247 \end_inset
5248
5249
5250 \family default
5251  y 
5252 \family typewriter
5253
5254 \begin_inset Flex Code
5255 status collapsed
5256
5257 \begin_layout Plain Layout
5258
5259 \family typewriter
5260
5261 \backslash
5262 thepage
5263 \end_layout
5264
5265 \end_inset
5266
5267
5268 \family default
5269  aluden a los contadores de sección y de página de \SpecialChar LaTeX
5270 , que se encargan de
5271  imprimir los números de la sección y la página actuales.
5272  
5273 \family typewriter
5274
5275 \begin_inset Flex Code
5276 status collapsed
5277
5278 \begin_layout Plain Layout
5279
5280 \family typewriter
5281
5282 \backslash
5283 today
5284 \end_layout
5285
5286 \end_inset
5287
5288
5289 \family default
5290  imprime la fecha de hoy.
5291 \end_layout
5292
5293 \begin_layout Standard
5294 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre
5295  el pie se puede modificar.
5296  Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5297  Por omisión, la línea de encabezado tiene 0.4
5298 \begin_inset space \thinspace{}
5299 \end_inset
5300
5301 pt de grosor y la de pie 0
5302 \begin_inset space \thinspace{}
5303 \end_inset
5304
5305 pt.
5306  Para cambiar estos valores se pueden usar los comandos 
5307 \family typewriter
5308
5309 \backslash
5310 renewcommand{
5311 \backslash
5312 headrulewidth}{0.4pt} 
5313 \family default
5314
5315 \family typewriter
5316
5317 \backslash
5318 renewcommand{
5319 \backslash
5320 footrulewidth}{0.4pt}
5321 \end_layout
5322
5323 \begin_layout Standard
5324 La configuración del encabezado y/o el pie para páginas individuales se
5325  puede alterar con comandos como
5326 \family typewriter
5327  
5328 \begin_inset Flex Code
5329 status collapsed
5330
5331 \begin_layout Plain Layout
5332
5333 \family typewriter
5334
5335 \backslash
5336 thispagestyle{empty}
5337 \end_layout
5338
5339 \end_inset
5340
5341
5342 \begin_inset Flex Code
5343 status collapsed
5344
5345 \begin_layout Plain Layout
5346
5347 \family typewriter
5348
5349 \backslash
5350 thispagestyle{plain}
5351 \end_layout
5352
5353 \end_inset
5354
5355
5356 \family default
5357  y
5358 \begin_inset Newline linebreak
5359 \end_inset
5360
5361  
5362 \family typewriter
5363
5364 \begin_inset Flex Code
5365 status collapsed
5366
5367 \begin_layout Plain Layout
5368
5369 \family typewriter
5370
5371 \backslash
5372 thispagestyle{fancy}
5373 \end_layout
5374
5375 \end_inset
5376
5377
5378 \family default
5379 .
5380  Simplemente se inserta en 
5381 \begin_inset Flex Code
5382 status collapsed
5383
5384 \begin_layout Plain Layout
5385 código \SpecialChar TeX
5386
5387 \end_layout
5388
5389 \end_inset
5390
5391  en la página que se quiere cambiar.
5392  De hecho las páginas de título tienen estilo simple por omisión, mientras
5393  que las páginas siguientes se marcan en estilo elaborado si este es el
5394  formato establecido globalmente.
5395  
5396 \end_layout
5397
5398 \begin_layout Standard
5399 Por último, veamos cómo incluir una imagen en el encabezado o en el pie;
5400  por ejemplo, un logotipo en la esquina superior izquierda.
5401  Prueba algo como esto:
5402 \end_layout
5403
5404 \begin_layout Standard
5405
5406 \family typewriter
5407
5408 \backslash
5409 lhead{
5410 \backslash
5411 resizebox{1in}{!}{
5412 \backslash
5413 includegraphics{logo.eps}}}
5414 \end_layout
5415
5416 \begin_layout Standard
5417 (quizá sea necesario anteponer 
5418 \family typewriter
5419
5420 \begin_inset Flex Code
5421 status collapsed
5422
5423 \begin_layout Plain Layout
5424
5425 \family typewriter
5426
5427 \backslash
5428 usepackage{graphics}
5429 \end_layout
5430
5431 \end_inset
5432
5433
5434 \family default
5435  si tu documento no incluye otros gráficos).
5436  
5437 \end_layout
5438
5439 \begin_layout Section
5440 Selección de marcas de listas
5441 \begin_inset CommandInset label
5442 LatexCommand label
5443 name "sec:Marcas"
5444
5445 \end_inset
5446
5447
5448 \end_layout
5449
5450 \begin_layout Standard
5451 por
5452 \noun on
5453  Allan Rae
5454 \end_layout
5455
5456 \begin_layout Subsection
5457 Introducción
5458 \end_layout
5459
5460 \begin_layout Standard
5461 \SpecialChar LyX
5462  suministra 216 símbolos de marcas a los que se accede mediante un simple
5463  diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5464  Esta elección es aplicable a la totalidad del documento, no es posible
5465  escoger distintos conjuntos de marcas para distintos párrafos.
5466 \begin_inset Foot
5467 status collapsed
5468
5469 \begin_layout Plain Layout
5470 Bien, en realidad sí se puede hacer, pero a mano.
5471 \end_layout
5472
5473 \end_inset
5474
5475  
5476 \end_layout
5477
5478 \begin_layout Subsection
5479 Cómo se ve
5480 \end_layout
5481
5482 \begin_layout Standard
5483 Abre el diálogo siguiendo el camino de menú 
5484 \family sans
5485 Document
5486 \family default
5487 o
5488 \family sans
5489 \SpecialChar menuseparator
5490 Configuración\SpecialChar menuseparator
5491 Marcas
5492 \family default
5493 .
5494 \end_layout
5495
5496 \begin_layout Standard
5497 El diálogo suministra un cuadro de símbolos para las marcas.
5498  En el cuadro 
5499 \family sans
5500 Tipografía 
5501 \family default
5502 hay una lista desplegable con seis paneles de símbolos.
5503  La lista 
5504 \family sans
5505 Nivel
5506 \family default
5507  permite elegir el nivel para el que elegimos la marca.
5508  Un campo de texto bajo el cuadro permite escoger un símbolo personalizado
5509  poniendo su código \SpecialChar LaTeX
5510 .
5511 \end_layout
5512
5513 \begin_layout Standard
5514 Los seis paneles de
5515 \family sans
5516  Tipografía
5517 \family default
5518  corresponden a los distintos paquetes requeridos.
5519  El cuadro siguiente recoge los nombres y sus paquetes asociados:
5520 \end_layout
5521
5522 \begin_layout Standard
5523 \align center
5524 \begin_inset Tabular
5525 <lyxtabular version="3" rows="7" columns="2">
5526 <features tabularvalignment="middle">
5527 <column alignment="center" valignment="top" width="0pt">
5528 <column alignment="center" valignment="top" width="0pt">
5529 <row>
5530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5531 \begin_inset Text
5532
5533 \begin_layout Plain Layout
5534
5535 \family roman
5536 \series medium
5537 \shape up
5538 \size normal
5539 \emph off
5540 \bar no
5541 \noun off
5542 \color none
5543 Tipografía
5544 \end_layout
5545
5546 \end_inset
5547 </cell>
5548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5549 \begin_inset Text
5550
5551 \begin_layout Plain Layout
5552
5553 \family roman
5554 \series medium
5555 \shape up
5556 \size normal
5557 \emph off
5558 \bar no
5559 \noun off
5560 \color none
5561 Paquete requerido
5562 \end_layout
5563
5564 \end_inset
5565 </cell>
5566 </row>
5567 <row>
5568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5569 \begin_inset Text
5570
5571 \begin_layout Plain Layout
5572
5573 \family sans
5574 \series medium
5575 \shape up
5576 \size normal
5577 \emph off
5578 \bar no
5579 \noun off
5580 \color none
5581 Normal
5582 \end_layout
5583
5584 \end_inset
5585 </cell>
5586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5587 \begin_inset Text
5588
5589 \begin_layout Plain Layout
5590
5591 \series medium
5592 \shape up
5593 \size normal
5594 \emph off
5595 \bar no
5596 \noun off
5597 \color none
5598 base \SpecialChar LaTeX
5599
5600 \end_layout
5601
5602 \end_inset
5603 </cell>
5604 </row>
5605 <row>
5606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5607 \begin_inset Text
5608
5609 \begin_layout Plain Layout
5610
5611 \family sans
5612 \series medium
5613 \shape up
5614 \size normal
5615 \emph off
5616 \bar no
5617 \noun off
5618 \color none
5619 Ecuaciones
5620 \end_layout
5621
5622 \end_inset
5623 </cell>
5624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5625 \begin_inset Text
5626
5627 \begin_layout Plain Layout
5628
5629 \family typewriter
5630 \series medium
5631 \shape up
5632 \size normal
5633 \emph off
5634 \bar no
5635 \noun off
5636 \color none
5637 amssymb.sty
5638 \end_layout
5639
5640 \end_inset
5641 </cell>
5642 </row>
5643 <row>
5644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5645 \begin_inset Text
5646
5647 \begin_layout Plain Layout
5648
5649 \family sans
5650 \series medium
5651 \shape up
5652 \size normal
5653 \emph off
5654 \bar no
5655 \noun off
5656 \color none
5657 Ding1
5658 \end_layout
5659
5660 \end_inset
5661 </cell>
5662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5663 \begin_inset Text
5664
5665 \begin_layout Plain Layout
5666
5667 \family typewriter
5668 \series medium
5669 \shape up
5670 \size normal
5671 \emph off
5672 \bar no
5673 \noun off
5674 \color none
5675 pifont.sty
5676 \end_layout
5677
5678 \end_inset
5679 </cell>
5680 </row>
5681 <row>
5682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5683 \begin_inset Text
5684
5685 \begin_layout Plain Layout
5686
5687 \family sans
5688 \series medium
5689 \shape up
5690 \size normal
5691 \emph off
5692 \bar no
5693 \noun off
5694 \color none
5695 Ding2
5696 \end_layout
5697
5698 \end_inset
5699 </cell>
5700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5701 \begin_inset Text
5702
5703 \begin_layout Plain Layout
5704
5705 \family typewriter
5706 \series medium
5707 \shape up
5708 \size normal
5709 \emph off
5710 \bar no
5711 \noun off
5712 \color none
5713 pifont.sty
5714 \end_layout
5715
5716 \end_inset
5717 </cell>
5718 </row>
5719 <row>
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5721 \begin_inset Text
5722
5723 \begin_layout Plain Layout
5724
5725 \family sans
5726 \series medium
5727 \shape up
5728 \size normal
5729 \emph off
5730 \bar no
5731 \noun off
5732 \color none
5733 Ding3
5734 \end_layout
5735
5736 \end_inset
5737 </cell>
5738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5739 \begin_inset Text
5740
5741 \begin_layout Plain Layout
5742
5743 \family typewriter
5744 \series medium
5745 \shape up
5746 \size normal
5747 \emph off
5748 \bar no
5749 \noun off
5750 \color none
5751 pifont.sty
5752 \end_layout
5753
5754 \end_inset
5755 </cell>
5756 </row>
5757 <row>
5758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5759 \begin_inset Text
5760
5761 \begin_layout Plain Layout
5762
5763 \family sans
5764 \series medium
5765 \shape up
5766 \size normal
5767 \emph off
5768 \bar no
5769 \noun off
5770 \color none
5771 Ding4
5772 \end_layout
5773
5774 \end_inset
5775 </cell>
5776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5777 \begin_inset Text
5778
5779 \begin_layout Plain Layout
5780
5781 \family typewriter
5782 \series medium
5783 \shape up
5784 \size normal
5785 \emph off
5786 \bar no
5787 \noun off
5788 \color none
5789 pifont.sty
5790 \end_layout
5791
5792 \end_inset
5793 </cell>
5794 </row>
5795 </lyxtabular>
5796
5797 \end_inset
5798
5799
5800 \end_layout
5801
5802 \begin_layout Standard
5803 \SpecialChar LyX
5804  no se detiene si usas marcas de paquetes no disponibles.
5805  Pero si se producen errores de \SpecialChar LaTeX
5806  al intentar ver o imprimir el archivo,
5807  probablemente se debe a la falta de algún paquete.
5808 \begin_inset Foot
5809 status collapsed
5810
5811 \begin_layout Plain Layout
5812 \SpecialChar LyX
5813  no restringe su uso porque puede que estés editando localmente el archivo
5814  para procesarlo luego en otra máquina.
5815 \end_layout
5816
5817 \end_inset
5818
5819
5820 \end_layout
5821
5822 \begin_layout Subsection
5823 Cómo se emplea
5824 \end_layout
5825
5826 \begin_layout Standard
5827 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5828  Los cambios no serán visibles en \SpecialChar LyX
5829  pero sí lo serán en la salida procesada.
5830 \end_layout
5831
5832 \begin_layout Standard
5833 Se puede reiniciar una marca a su valor predeterminado con clic-derecha
5834  sobre el botón apropiado de nivel de profundidad.
5835 \begin_inset Foot
5836 status open
5837
5838 \begin_layout Plain Layout
5839 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de
5840  marcas en cada uno, tendrás que enfangarte con código \SpecialChar TeX
5841 .
5842  El diálogo de selección de marcas puede, no obstante, ayudarte porque te
5843  suministra el código \SpecialChar LaTeX
5844  para un amplio rango de símbolos de marcas.
5845  Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5846 \end_layout
5847
5848 \begin_layout Plain Layout
5849 \begin_inset ERT
5850 status collapsed
5851
5852 \begin_layout Plain Layout
5853
5854
5855 \backslash
5856 let
5857 \backslash
5858 savelabelitemi=
5859 \backslash
5860 labelitemi
5861 \end_layout
5862
5863 \end_inset
5864
5865
5866 \end_layout
5867
5868 \begin_layout Plain Layout
5869 \begin_inset ERT
5870 status collapsed
5871
5872 \begin_layout Plain Layout
5873
5874
5875 \backslash
5876 renewcommand
5877 \backslash
5878 labelitemi[0]{
5879 \backslash
5880 small
5881 \backslash
5882 (
5883 \backslash
5884 sharp
5885 \backslash
5886 )}
5887 \end_layout
5888
5889 \end_inset
5890
5891
5892 \end_layout
5893
5894 \begin_layout Itemize
5895 Usa el comando \SpecialChar LaTeX
5896  
5897 \begin_inset Flex Code
5898 status collapsed
5899
5900 \begin_layout Plain Layout
5901
5902 \backslash
5903 renewcommand{}{}
5904 \end_layout
5905
5906 \end_inset
5907
5908  para especificar un símbolo de marca para una profundidad determinada.
5909  Además tendrás que guardar la marca actual para que puedas recuperarla
5910  más adelante.
5911  En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5912  para cambiar
5913  la marca del primer nivel:
5914 \end_layout
5915
5916 \begin_deeper
5917 \begin_layout LyX-Code
5918
5919 \backslash
5920 let
5921 \backslash
5922 savelabelitemi=
5923 \backslash
5924 labelitemi 
5925 \end_layout
5926
5927 \begin_layout LyX-Code
5928
5929 \backslash
5930 renewcommand
5931 \backslash
5932 labelitemi[0]{
5933 \backslash
5934 small
5935 \backslash
5936 (
5937 \backslash
5938 sharp
5939 \backslash
5940 )}
5941 \end_layout
5942
5943 \end_deeper
5944 \begin_layout Itemize
5945 Observa que el nivel de profundidad se especifica en números romanos como
5946  parte del comando 
5947 \family typewriter
5948
5949 \begin_inset Flex Code
5950 status collapsed
5951
5952 \begin_layout Plain Layout
5953
5954 \family typewriter
5955
5956 \backslash
5957 labelitem
5958 \end_layout
5959
5960 \end_inset
5961
5962
5963 \end_layout
5964
5965 \begin_layout Itemize
5966 \begin_inset ERT
5967 status collapsed
5968
5969 \begin_layout Plain Layout
5970
5971 [
5972 \backslash
5973 (
5974 \backslash
5975 star
5976 \backslash
5977 )]
5978 \end_layout
5979
5980 \end_inset
5981
5982  Especifica cada entrada individual empezando cada ítem con el símbolo escogido
5983  encerrado entre corchetes y en 
5984 \begin_inset Flex Code
5985 status collapsed
5986
5987 \begin_layout Plain Layout
5988 código \SpecialChar TeX
5989
5990 \end_layout
5991
5992 \end_inset
5993
5994 .
5995  Por ejemplo, este ítem se inicia con 
5996 \begin_inset Flex Code
5997 status collapsed
5998
5999 \begin_layout Plain Layout
6000 [
6001 \backslash
6002 (
6003 \backslash
6004 star
6005 \backslash
6006 )]
6007 \end_layout
6008
6009 \end_inset
6010
6011 .
6012 \end_layout
6013
6014 \begin_layout Plain Layout
6015 \begin_inset ERT
6016 status collapsed
6017
6018 \begin_layout Plain Layout
6019
6020
6021 \backslash
6022 renewcommand
6023 \backslash
6024 labelitemi[0]{
6025 \backslash
6026 savelabelitemi}
6027 \end_layout
6028
6029 \end_inset
6030
6031
6032 \end_layout
6033
6034 \begin_layout Plain Layout
6035 Además tendrás que volver a la configuración inicial global de marcas para
6036  que esta vuelva a funcionar.
6037  Así hemos hecho con:
6038 \end_layout
6039
6040 \begin_layout LyX-Code
6041
6042 \backslash
6043 renewcommand
6044 \backslash
6045 labelitemi[0]{
6046 \backslash
6047 savelabelitemi}
6048 \end_layout
6049
6050 \begin_layout LyX-Code
6051
6052 \end_layout
6053
6054 \end_inset
6055
6056
6057 \end_layout
6058
6059 \begin_layout Chapter
6060 \SpecialChar LyX
6061  y World Wide Web
6062 \end_layout
6063
6064 \begin_layout Standard
6065 \SpecialChar LyX
6066  soporta desde hace tiempo la exportación de documentos a varios formatos
6067  adecuados para la web, como HTML.
6068  Sin embargo, antes de la versión 2.0, la exportación a HTML siempre se hacía
6069  mediante el uso de convertidores externos.
6070 \begin_inset Foot
6071 status open
6072
6073 \begin_layout Plain Layout
6074 Véase la sección 
6075 \size normal
6076 \emph on
6077 Convertidores
6078 \emph default
6079  del manual 
6080 \emph on
6081 Personalización
6082 \emph default
6083 .
6084 \end_layout
6085
6086 \end_inset
6087
6088  Pueden actuar de dos maneras: usando \SpecialChar LaTeX
6089  como formato intermedio, como 
6090 \family typewriter
6091 htlatex
6092 \family default
6093
6094 \family typewriter
6095 html2latex
6096 \family default
6097  y 
6098 \family typewriter
6099 plastex
6100 \family default
6101 , encargándose \SpecialChar LyX
6102  de la generación del \SpecialChar LaTeX
6103 , o trabajando directamente sobre archivos
6104  \SpecialChar LyX
6105 , como 
6106 \family typewriter
6107 e\SpecialChar LyX
6108 er
6109 \family default
6110 .
6111  Cada método tiene distintas ventajas e inconvenientes.
6112  
6113 \end_layout
6114
6115 \begin_layout Standard
6116 Los convertidores basados en \SpecialChar LaTeX
6117  tienen la ventaja de que, en principio, lo
6118  saben todo sobre el documento que exporta \SpecialChar LaTeX
6119 .
6120  Estos convertidores no se preocupan, por ejemplo, de si determinado bloque
6121  de código fue generado por \SpecialChar LyX
6122  o si era código \SpecialChar TeX
6123  (o ERT, 
6124 \emph on
6125 Evil Red Text
6126 \emph default
6127 ).
6128  Saben manejar archivos 
6129 \family typewriter
6130 aux
6131 \family default
6132 , contadores, referencias, y generalmente pueden manejar archivos 
6133 \family typewriter
6134 bbl
6135 \family default
6136  generados por Bib\SpecialChar TeX
6137 .
6138  Por otra parte, \SpecialChar LaTeX
6139  es un lenguaje complejo de analizar —a veces se comenta
6140  que solo \SpecialChar TeX
6141  comprende a \SpecialChar TeX
6142 — y los convertidores basados en \SpecialChar LaTeX
6143  se atascan a menudo
6144  con estructuras aparentemente simples; las complejas pueden ahogarlos totalment
6145 e; en el momento de escribir esto, por ejemplo, el manual 
6146 \emph on
6147 Objetos insertados
6148 \emph default
6149  no se puede exportar con 
6150 \family typewriter
6151 htlatex
6152 \family default
6153 , sí con los otros.
6154  Las matemáticas son otro tema: estos convertidores suelen convertir las
6155  ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento
6156  HTML.
6157  Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
6158 , son correctas.
6159  Pero no redimensionan bien su tamaño, y ajustar su aspecto al que debería
6160  tener en el documento —de forma que los tamaños de los caracteres parezcan
6161  aproximadamente iguales— puede ser un reto.
6162  
6163 \end_layout
6164
6165 \begin_layout Standard
6166
6167 \family typewriter
6168 \begin_inset Flex Code
6169 status collapsed
6170
6171 \begin_layout Plain Layout
6172
6173 \family typewriter
6174 e\SpecialChar LyX
6175 er
6176 \end_layout
6177
6178 \end_inset
6179
6180
6181 \family default
6182 , de Alex Fernández, (
6183 \begin_inset CommandInset href
6184 LatexCommand href
6185 name "http://elyxer.nongnu.org/"
6186 target "http://elyxer.nongnu.org/"
6187 literal "false"
6188
6189 \end_inset
6190
6191 ) resuelve algunos de estos problemas.
6192  En particular, las ecuaciones generadas redimensionan el tamaño perfectamente,
6193  ya que las procesa usando una combinación de HTML y CSS en lugar de convertirla
6194 s a imágenes.
6195  Pero incluso expresiones moderadamente complejas tienen un aspecto no tan
6196  bueno como con 
6197 \family typewriter
6198 htlatex
6199 \family default
6200 ; esto refleja las limitaciones de HTML.
6201 \begin_inset Foot
6202 status collapsed
6203
6204 \begin_layout Plain Layout
6205 Dicho esto, 
6206 \family typewriter
6207 e\SpecialChar LyX
6208 er
6209 \family default
6210  también puede usar jsMath y MathJax, pero estas opciones solo están disponibles
6211  globalmente y requieren acceso al servidor que ejecuta el entorno.
6212 \end_layout
6213
6214 \end_inset
6215
6216  Y más importante (al menos desde la versión 1.1.1), 
6217 \begin_inset Flex Code
6218 status collapsed
6219
6220 \begin_layout Plain Layout
6221 e\SpecialChar LyX
6222 er
6223 \end_layout
6224
6225 \end_inset
6226
6227  tiene soporte limitado para macros de ecuación y no lo tiene para párrafos
6228  o estilos de texto definidos por el usuario.
6229  Estas limitaciones hacen a 
6230 \begin_inset Flex Code
6231 status collapsed
6232
6233 \begin_layout Plain Layout
6234 e\SpecialChar LyX
6235 er
6236 \end_layout
6237
6238 \end_inset
6239
6240  inadecuado para muchos documentos de \SpecialChar LyX
6241 .
6242  En principio, por supuesto, estos problemas se podrían resolver, pero los
6243  desarrolladores de \SpecialChar LyX
6244  han decidido seguir una vía diferente y hacer al propio
6245  \SpecialChar LyX
6246  capaz de escribir XHTML, igual que es capaz de escribir \SpecialChar LaTeX
6247 , DocBook o texto
6248  simple.
6249 \end_layout
6250
6251 \begin_layout Standard
6252 En el momento de escribir esto, La salida XHTML está en desarrollo y debería
6253  considerarse como 
6254 \begin_inset Quotes cld
6255 \end_inset
6256
6257 experimental
6258 \begin_inset Quotes crd
6259 \end_inset
6260
6261 .
6262 \begin_inset Foot
6263 status collapsed
6264
6265 \begin_layout Plain Layout
6266 El archivo 
6267 \begin_inset Flex Code
6268 status collapsed
6269
6270 \begin_layout Plain Layout
6271 development/HTML.notes
6272 \end_layout
6273
6274 \end_inset
6275
6276  que está en el código fuente de \SpecialChar LyX
6277  o 
6278 \begin_inset CommandInset href
6279 LatexCommand href
6280 name "accessed online"
6281 target "http://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6282 literal "false"
6283
6284 \end_inset
6285
6286 , contiene información actualizada sobre el estado de XHTML.
6287  Véase también la lista de fallos en XHTML en 
6288 \begin_inset CommandInset href
6289 LatexCommand href
6290 name "the bug tracker"
6291 target "http://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"
6292 literal "false"
6293
6294 \end_inset
6295
6296 .
6297 \end_layout
6298
6299 \end_inset
6300
6301  Aún así, los desarrolladores han escogido este camino porque tiene ventajas
6302  potenciales sobre los otros dos.
6303 \end_layout
6304
6305 \begin_layout Standard
6306 Estas ventajas se deben, en primer lugar, al hecho de que las rutinas para
6307  exportar XHTML, ya que son parte de \SpecialChar LyX
6308 , conocen todo lo que \SpecialChar LyX
6309  sabe sobre el
6310  documento a exportar.
6311 \begin_inset Foot
6312 status collapsed
6313
6314 \begin_layout Plain Layout
6315 Otra ventaja es que, puesto que estas rutinas son internas de \SpecialChar LyX
6316 , son inmunes
6317  a los cambios en el formato de los archivos de \SpecialChar LyX
6318  o en la semántica de los
6319  recuadros insertados.
6320  
6321 \end_layout
6322
6323 \end_inset
6324
6325  Así pues, conocen sobre los índices (mostrados en el contorno), sobre los
6326  contadores asociados a estilos de párrafo, y sobre estilos personalizados.
6327  Las rutinas XHTML también saben sobre internacionalización lo mismo que
6328  \SpecialChar LyX
6329 , de modo que la salida dirá 
6330 \begin_inset Quotes cld
6331 \end_inset
6332
6333 Capítulo 1
6334 \begin_inset Quotes crd
6335 \end_inset
6336
6337  o 
6338 \begin_inset Quotes cld
6339 \end_inset
6340
6341 Kapitel 1
6342 \begin_inset Quotes crd
6343 \end_inset
6344
6345  según el idioma activo.
6346 \end_layout
6347
6348 \begin_layout Standard
6349 En general, las rutinas de salida saben lo mismo que \SpecialChar LyX
6350  sobre el formato del
6351  documento, es decir, sobre cómo se mostrará el documento en pantalla.
6352  Usamos esta información cuando exportamos a XHTML.
6353  En particular, \SpecialChar LyX
6354  genera 
6355 \emph on
6356 automáticamente
6357 \emph default
6358  la información de estilo CSS correspondiente a la información que maneja
6359  para mostrar el documento en pantalla: si los encabezados de sección son
6360  palo seco en negrita en pantalla, entonces también (por omisión) serán
6361  palo seco negrita en un navegador web.
6362  Y esto es cierto no solo para estilos predefinidos, como una sección, sino
6363  para cualquier estilo, incluyendo los definidos por el usuario.
6364  En realidad, las rutinas XHTML no distinguen entre estilos de texto y de
6365  párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6366 : en cada caso
6367  todo lo que \SpecialChar LyX
6368  sabe sobre estilos está contenido en los archivos de formato.
6369  Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6370  como notas al pie y varios recuadros personalizados.
6371 \end_layout
6372
6373 \begin_layout Standard
6374 El resultado es que la salida XHTML se puede personalizar y extender de
6375  igual forma que se puede hacer con la salida \SpecialChar LaTeX
6376 : mediante archivos de formato
6377  y módulos.
6378  Véase el capítulo 5 del manual 
6379 \emph on
6380 Personalización
6381 \emph default
6382  para más detalles.
6383 \end_layout
6384
6385 \begin_layout Standard
6386 El resto de este capítulo contiene información más detallada sobre la salida
6387  XHTML, sus limitaciones y formas de evitarlas.
6388 \end_layout
6389
6390 \begin_layout Section
6391 Las ecuaciones en XHTML
6392 \end_layout
6393
6394 \begin_layout Standard
6395 \SpecialChar LyX
6396  ofrece cuatro posibilidades para el procesamiento de matemáticas.
6397  Cada una tiene sus ventajas y sus inconvenientes.
6398 \end_layout
6399
6400 \begin_layout Itemize
6401 MathML
6402 \begin_inset Newline newline
6403 \end_inset
6404
6405 MathML es un dialecto de XML diseñado específicamente para matemáticas en
6406  la web, y habitualmente rinde muy bien en los navegadores que lo soportan.
6407  La desventaja es que no todos los navegadores soportan MathML, y el soporte
6408  no es completo en navegadores basados en Gecko, como Firefox.
6409 \begin_inset Newline newline
6410 \end_inset
6411
6412 Si \SpecialChar LyX
6413  no es capaz de procesar una fórmula como MathML —por ejemplo, si la
6414  ecuación usa el paquete 
6415 \begin_inset Flex Code
6416 status collapsed
6417
6418 \begin_layout Plain Layout
6419 xymatrix
6420 \end_layout
6421
6422 \end_inset
6423
6424  o código \SpecialChar TeX
6425 — la transformará en imagen.
6426 \end_layout
6427
6428 \begin_layout Itemize
6429 HTML
6430 \begin_inset Newline newline
6431 \end_inset
6432
6433 Como se ha dicho antes, 
6434 \begin_inset Flex Code
6435 status collapsed
6436
6437 \begin_layout Plain Layout
6438 e\SpecialChar LyX
6439 er
6440 \end_layout
6441
6442 \end_inset
6443
6444  procesa las matemáticas como HTML usando estilos CSS.
6445 \begin_inset Foot
6446 status collapsed
6447
6448 \begin_layout Plain Layout
6449 \SpecialChar LyX
6450  ha tomado de 
6451 \begin_inset Flex Code
6452 status collapsed
6453
6454 \begin_layout Plain Layout
6455 e\SpecialChar LyX
6456 er
6457 \end_layout
6458
6459 \end_inset
6460
6461  parte del CSS para su salida HTML.
6462 \end_layout
6463
6464 \end_inset
6465
6466  Para ecuaciones simple funciona bastante bien, aunque con expresiones más
6467  complejas tiende a fallar.
6468  Aún así, este método tiene la ventaja de que es ampliamente soportado y
6469  puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6470 \begin_inset Newline newline
6471 \end_inset
6472
6473 Si \SpecialChar LyX
6474  es incapaz de procesar una ecuación como HTML —por ejemplo, si la ecuación
6475  usa el paquete 
6476 \begin_inset Flex Code
6477 status collapsed
6478
6479 \begin_layout Plain Layout
6480 xymatrix
6481 \end_layout
6482
6483 \end_inset
6484
6485  o código \SpecialChar TeX
6486 — la transformará en imagen.
6487 \end_layout
6488
6489 \begin_layout Itemize
6490 Imágenes
6491 \begin_inset Newline newline
6492 \end_inset
6493
6494 Como 
6495 \begin_inset Flex Code
6496 status collapsed
6497
6498 \begin_layout Plain Layout
6499 htlatex
6500 \end_layout
6501
6502 \end_inset
6503
6504 , \SpecialChar LyX
6505  transformará las ecuaciones en imágenes, las mismas, de hecho, que se
6506  usan para la visualización instantánea.
6507 \begin_inset Foot
6508 status open
6509
6510 \begin_layout Plain Layout
6511
6512 \emph on
6513 No
6514 \emph default
6515  es preciso que esté activa la previsualización instantánea para ver las
6516  imágenes en la salida.
6517 \end_layout
6518
6519 \end_inset
6520
6521  La ventaja de este método es que las imágenes son simplemente generadas
6522  por \SpecialChar LaTeX
6523 , por lo que son muy precisas.
6524  La desventaja, como ya hemos dicho, es que son imágenes mapa de bits, por
6525  lo que no se redimensionan nada bien y no se pueden copiar, etc.
6526  (Además, en estos momentos hay problemas con la numeración de ecuaciones.
6527  Véase 
6528 \begin_inset CommandInset href
6529 LatexCommand href
6530 name "bug 6894"
6531 target "http://www.lyx.org/trac/ticket/6894"
6532 literal "false"
6533
6534 \end_inset
6535
6536 .)
6537 \begin_inset Newline newline
6538 \end_inset
6539
6540 El tamaño de las imágenes se puede controlar estableciendo el parámetro
6541  
6542 \begin_inset Quotes cld
6543 \end_inset
6544
6545 Escala de imágenes de ecuaciones
6546 \begin_inset Quotes crd
6547 \end_inset
6548
6549  en 
6550 \begin_inset Flex Noun
6551 status collapsed
6552
6553 \begin_layout Plain Layout
6554 Documento\SpecialChar menuseparator
6555 Configuración\SpecialChar menuseparator
6556 Salidas
6557 \end_layout
6558
6559 \end_inset
6560
6561 .
6562  
6563 \begin_inset Foot
6564 status collapsed
6565
6566 \begin_layout Plain Layout
6567 Por si interesa: esto controla la resolución de la imagen en puntos por
6568  pulgada, y se basa en un valor inicial de 75 ppp.
6569 \end_layout
6570
6571 \end_inset
6572
6573
6574 \begin_inset Newline newline
6575 \end_inset
6576
6577 Si, por alguna razón, \SpecialChar LyX
6578  falla al crear una imagen para una ecuación (p.
6579 \begin_inset space ~
6580 \end_inset
6581
6582 ej., si no está instalado un paquete \SpecialChar LaTeX
6583  requerido), generará la salida en \SpecialChar LaTeX
6584
6585  puro.
6586 \end_layout
6587
6588 \begin_layout Itemize
6589 \SpecialChar LaTeX
6590
6591 \begin_inset Newline newline
6592 \end_inset
6593
6594 Para acabar, \SpecialChar LyX
6595  generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6596 .
6597  Siendo la solución de último recurso, este método puede usarse con herramientas
6598  como 
6599 \begin_inset CommandInset href
6600 LatexCommand href
6601 name "jsMath"
6602 target "http://www.math.union.edu/~dpvc/jsMath/"
6603 literal "false"
6604
6605 \end_inset
6606
6607 , que usa JavaScript para insertar \SpecialChar LaTeX
6608  en documentos HTML.
6609  \SpecialChar LyX
6610  envuelve el \SpecialChar LaTeX
6611  en un 
6612 \begin_inset Flex Code
6613 status collapsed
6614
6615 \begin_layout Plain Layout
6616 span
6617 \end_layout
6618
6619 \end_inset
6620
6621  (para fórmulas en línea) o en un 
6622 \begin_inset Flex Code
6623 status collapsed
6624
6625 \begin_layout Plain Layout
6626 div
6627 \end_layout
6628
6629 \end_inset
6630
6631  (para fórmulas presentadas) con 
6632 \begin_inset Flex Code
6633 status collapsed
6634
6635 \begin_layout Plain Layout
6636 class='math'
6637 \end_layout
6638
6639 \end_inset
6640
6641 , tal como requiere jsMath.
6642 \end_layout
6643
6644 \begin_layout Standard
6645 Debemos seleccionar uno de estos métodos en 
6646 \begin_inset Flex Noun
6647 status collapsed
6648
6649 \begin_layout Plain Layout
6650 Documento\SpecialChar menuseparator
6651 Configuración\SpecialChar menuseparator
6652 Salidas
6653 \end_layout
6654
6655 \end_inset
6656
6657 .
6658  Por omisión, \SpecialChar LyX
6659  genera MathML.
6660  Se trata de una configuración para todo el documento.
6661 \end_layout
6662
6663 \begin_layout Standard
6664 Eventualmente, \SpecialChar LyX
6665  ofrecerá al usuario la opción de seleccionar un método alternati
6666 vo para algún recuadro en particular, en el caso de que no se procese adecuadame
6667 nte con MathML.
6668 \begin_inset Foot
6669 status collapsed
6670
6671 \begin_layout Plain Layout
6672 Dicho esto, como \SpecialChar LyX
6673  recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6674 , es
6675  posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6676  inocuo en la
6677  ecuación, por ejemplo 
6678 \begin_inset Formula $a=b\relax$
6679 \end_inset
6680
6681 .
6682 \end_layout
6683
6684 \end_inset
6685
6686
6687 \end_layout
6688
6689 \begin_layout Section
6690 Bibliografía y citas
6691 \end_layout
6692
6693 \begin_layout Standard
6694 XHTML soporta totalmente bibliografías y citas.
6695 \end_layout
6696
6697 \begin_layout Standard
6698 Las etiquetas de citas se generan con el mismo mecanismo que genera las
6699  etiquetas en la pantalla de \SpecialChar LyX
6700 , así que las etiquetas tendrán el mismo aspecto
6701  que en \SpecialChar LyX
6702 , o incluso mejor.
6703  Si se usan citas numeradas, \SpecialChar LyX
6704  generará etiquetas numeradas, como [1], [17],
6705  en vez de mostrar las claves de las citas entre corchetes, como hace en
6706  pantalla.
6707  Si se usan citas autor-año, \SpecialChar LyX
6708  añadirá letras minúsculas a los años, como
6709  hace Bib\SpecialChar TeX
6710 , si encuentra más de una cita para una combinación dada autor-año.
6711  Las etiquetas se imprimirán con las entradas bibliográficas.
6712  Hay que advertir que, por el momento, no hay forma de personalizar el aspecto
6713  de las etiquetas, por ejemplo para elegir entre corchetes o paréntesis.
6714 \end_layout
6715
6716 \begin_layout Standard
6717 Para la salida de la bibliografía interviene el mismo mecanismo que maneja
6718  la presentación de la información de las referencias en el diálogo de citas,
6719  de modo que se verán en XHTML como se ven en el diálogo de citas.
6720  El formato se puede personalizar en un archivo de usuario o, preferiblemente,
6721  en un módulo.
6722  Véase el manual 
6723 \emph on
6724 Personalización
6725 \emph default
6726  para más detalles.
6727 \end_layout
6728
6729 \begin_layout Standard
6730 El defecto principal en estos momentos es que la información de las referencias
6731  cruzadas se imprime junto con cada entrada con la que está asociada.
6732  Entonces, puedes ver cosas como estas:
6733 \end_layout
6734
6735 \begin_layout Quote
6736 Jason Stanley, 
6737 \begin_inset Quotes eld
6738 \end_inset
6739
6740 Context and Logical Form
6741 \begin_inset Quotes erd
6742 \end_inset
6743
6744 , in 
6745 \emph on
6746 Language in Context: Selected Essays
6747 \emph default
6748  (Oxford: Oxford University Press, 2007), pp.
6749  30–68.
6750 \end_layout
6751
6752 \begin_layout Quote
6753 Jason Stanley, 
6754 \begin_inset Quotes eld
6755 \end_inset
6756
6757 Semantics in Context
6758 \begin_inset Quotes erd
6759 \end_inset
6760
6761 , in 
6762 \emph on
6763 Language in Context: Selected Essays
6764 \emph default
6765  (Oxford: Oxford University Press, 2007), pp.
6766  201–30.
6767 \end_layout
6768
6769 \begin_layout Standard
6770 Esto debería estar pronto solucionado.
6771 \end_layout
6772
6773 \begin_layout Standard
6774 De momento no hay soporte para bibliografías por secciones.
6775  Si tienes múltiples bibliografías, \SpecialChar LyX
6776  imprimirá la misma una y otra vez.
6777 \end_layout
6778
6779 \begin_layout Section
6780 Índices
6781 \end_layout
6782
6783 \begin_layout Standard
6784 Afortunadamente, \SpecialChar LyX
6785  exportará los índices como XHTML, aunque con ciertas limitacio
6786 nes, por el momento.
6787 \end_layout
6788
6789 \begin_layout Standard
6790 La exportación de índices será más fiable si no intentas usar las elegantes
6791  estructuras que se describen en la sección sobre índices de ls 
6792 \emph on
6793 Guía del usuario
6794 \emph default
6795 .
6796 \begin_inset Foot
6797 status collapsed
6798
6799 \begin_layout Plain Layout
6800 La cuestión principal es que \SpecialChar LyX
6801  no maneja esto por sí mismo.
6802  Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6803  puro.
6804 \end_layout
6805
6806 \end_inset
6807
6808  Describiremos cómo se manejan usando los encabezados de subsección de esta
6809  sección.
6810 \end_layout
6811
6812 \begin_layout Itemize
6813 Agrupación de entradas de índice (subentradas): \SpecialChar LyX
6814  se esfuerza en soportar
6815  esto, pero las entradas deben separarse por 
6816 \begin_inset Quotes cld
6817 \end_inset
6818
6819  ! 
6820 \begin_inset Quotes crd
6821 \end_inset
6822
6823 , es decir, debe haber espacios alrededor del signo de exclamación.
6824  Esto es porque de otra manera sería complicado comprobar puntos de exclamación
6825  escapados en matemáticas, etc.
6826 \end_layout
6827
6828 \begin_layout Itemize
6829 Rangos de páginas: no hay soporte para rangos de páginas, puesto que esto
6830  no tiene sentido en XHTML.
6831  En su lugar, solo se mostrarán dos entradas de índice, uno en cada extremo.
6832 \end_layout
6833
6834 \begin_layout Itemize
6835 Referencias cruzadas: no hay soporte para esto.
6836  Si \SpecialChar LyX
6837  encuentra una entrada de la forma 
6838 \begin_inset Quotes cld
6839 \end_inset
6840
6841 |see...
6842 \begin_inset Quotes crd
6843 \end_inset
6844
6845  la ignora y el resto lo considera como una entrada de índice ordinaria.
6846 \end_layout
6847
6848 \begin_layout Itemize
6849 Orden de las entradas de índice: \SpecialChar LyX
6850  no soporta maniobras para fijar el orden
6851  de las entradas.
6852  Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6853  tomando lo que sigue a @ como la entrada real.
6854  Por el momento \SpecialChar LyX
6855  no identifica la @ escapada, por tanto no intentes indexar
6856  direcciones de correo.
6857 \end_layout
6858
6859 \begin_layout Itemize
6860 Formato de entradas de índice: Se pueden formatear entradas mediante el
6861  diálogo de estilo del texto, o con otro método disponible en \SpecialChar LyX
6862 .
6863  No hay soporte para estructuras como 
6864 \begin_inset Quotes cld
6865 \end_inset
6866
6867 entrada|textbf
6868 \begin_inset Quotes crd
6869 \end_inset
6870
6871 .
6872  Si \SpecialChar LyX
6873  encuentra un símbolo de tubería, '|' en una entrada lo borrará, y todo
6874  lo que sigue.
6875 \end_layout
6876
6877 \begin_layout Itemize
6878 Índices múltiples: no hay soporte para esto.
6879  Todas las entradas de estos índices se imprimirán como un solo índice.
6880  Para evitar la impresión de varias versiones del índice, imprimiremos solo
6881  el índice principal, de modo que asegúrate de tener uno.
6882 \end_layout
6883
6884 \begin_layout Section
6885 Nomenclatura y glosario
6886 \end_layout
6887
6888 \begin_layout Standard
6889 Por ahora no hay soporte para glosarios.
6890  Añadirlo debería ser bastante trivial, y bienvenido.
6891 \end_layout
6892
6893 \begin_layout Chapter
6894 El servidor \SpecialChar LyX
6895
6896 \end_layout
6897
6898 \begin_layout Section
6899 Introducción
6900 \end_layout
6901
6902 \begin_layout Standard
6903 El 'servidor \SpecialChar LyX
6904 ' permite a otros programas comunicarse con \SpecialChar LyX
6905 , ejecutar comandos
6906  \SpecialChar LyX
6907  y recabar información sobre el estado interno de \SpecialChar LyX
6908 .
6909  Esto está dirigido solo a usuarios avanzados, quienes descubrirán su utilidad.
6910  Escribiendo al servidor, por ejemplo, los administradores de bibliografía,
6911  como JabRef, pueden dar 
6912 \begin_inset Quotes cld
6913 \end_inset
6914
6915 empuje
6916 \begin_inset Quotes crd
6917 \end_inset
6918
6919  a las citas en \SpecialChar LyX
6920 .
6921 \end_layout
6922
6923 \begin_layout Section
6924 Iniciar el servidor \SpecialChar LyX
6925
6926 \end_layout
6927
6928 \begin_layout Standard
6929 El servidor \SpecialChar LyX
6930  funciona mediante el uso de un par de las denominadas tuberías.
6931  Estas se encuentran generalmente en 
6932 \begin_inset Flex Code
6933 status collapsed
6934
6935 \begin_layout Plain Layout
6936 UserDir
6937 \end_layout
6938
6939 \end_inset
6940
6941  (no en Windows, en donde las tuberías 
6942 \emph on
6943 locales 
6944 \emph default
6945 se ubican en 
6946 \begin_inset Flex Code
6947 status collapsed
6948
6949 \begin_layout Plain Layout
6950
6951 \backslash
6952
6953 \backslash
6954 .
6955 \backslash
6956 pipe
6957 \end_layout
6958
6959 \end_inset
6960
6961 ) con los nombres 
6962 \begin_inset Flex Code
6963 status collapsed
6964
6965 \begin_layout Plain Layout
6966 lyxpipe.in
6967 \end_layout
6968
6969 \end_inset
6970
6971  y 
6972 \begin_inset Flex Code
6973 status collapsed
6974
6975 \begin_layout Plain Layout
6976 lyxpipe.out
6977 \end_layout
6978
6979 \end_inset
6980
6981 .
6982  Los programas externos escriben en 
6983 \begin_inset Flex Code
6984 status collapsed
6985
6986 \begin_layout Plain Layout
6987 lyxpipe.in
6988 \end_layout
6989
6990 \end_inset
6991
6992  y leen datos de 
6993 \begin_inset Flex Code
6994 status collapsed
6995
6996 \begin_layout Plain Layout
6997 lyxpipe.out
6998 \end_layout
6999
7000 \end_inset
7001
7002 .
7003  La raíz de los nombres de las tuberías se puede definir en el diálogo 
7004 \family sans
7005 Herramientas\SpecialChar menuseparator
7006 Preferencias
7007 \family default
7008 , por ejemplo, 
7009 \begin_inset Flex Code
7010 status collapsed
7011
7012 \begin_layout Plain Layout
7013 "/home/myhome/lyxpipe"
7014 \end_layout
7015
7016 \end_inset
7017
7018  o 
7019 \begin_inset Flex Code
7020 status collapsed
7021
7022 \begin_layout Plain Layout
7023 "
7024 \backslash
7025
7026 \backslash
7027 .
7028 \backslash
7029 pipe
7030 \backslash
7031 lyxpipe"
7032 \end_layout
7033
7034 \end_inset
7035
7036  en Windows (donde se puede usar cualquier ruta en vez de lyxpipe, por ejemplo
7037  
7038 \begin_inset Flex Code
7039 status collapsed
7040
7041 \begin_layout Plain Layout
7042 "
7043 \backslash
7044
7045 \backslash
7046 .
7047 \backslash
7048 pipe
7049 \backslash
7050 my
7051 \backslash
7052 lyx
7053 \backslash
7054 pipe"
7055 \end_layout
7056
7057 \end_inset
7058
7059  debería funcionar).
7060  
7061 \emph on
7062 Debes
7063 \emph default
7064  configurar esto a mano para que arranque el servidor.
7065 \end_layout
7066
7067 \begin_layout Standard
7068 \SpecialChar LyX
7069  añadirá las extensiones '
7070 \begin_inset Flex Code
7071 status collapsed
7072
7073 \begin_layout Plain Layout
7074 .in
7075 \end_layout
7076
7077 \end_inset
7078
7079 ' y '
7080 \begin_inset Flex Code
7081 status collapsed
7082
7083 \begin_layout Plain Layout
7084 .out
7085 \end_layout
7086
7087 \end_inset
7088
7089 ' para crear las tuberías.
7090  Si alguna de ellas ya existe, \SpecialChar LyX
7091  asumirá que se está ejecutando otro proceso
7092  y no iniciará el servidor.
7093  Esto significa que si \SpecialChar LyX
7094  se bloquea, o si por alguna otra razón queda una
7095  tubería 
7096 \begin_inset Quotes cld
7097 \end_inset
7098
7099 vieja
7100 \begin_inset Quotes crd
7101 \end_inset
7102
7103  cuando \SpecialChar LyX
7104  se cierra, entonces \SpecialChar LyX
7105  no iniciará el servidor.
7106  (Bug 641).
7107  Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
7108 .
7109 \end_layout
7110
7111 \begin_layout Standard
7112 Para tener al mismo tiempo varios procesos con servidores hay que usar diferente
7113 s configuraciones, quizás usando distintos directorios de usuario, cada
7114  uno con su propio archivo 
7115 \begin_inset Flex Code
7116 status collapsed
7117
7118 \begin_layout Plain Layout
7119 preferences
7120 \end_layout
7121
7122 \end_inset
7123
7124  para cada proceso.
7125 \end_layout
7126
7127 \begin_layout Standard
7128 Si estás desarrollando un programa cliente, podría ser útil activar la informaci
7129 ón de depuración del servidor de \SpecialChar LyX
7130 .
7131  Esto se hace iniciando \SpecialChar LyX
7132  con 
7133 \begin_inset Flex Code
7134 status collapsed
7135
7136 \begin_layout Plain Layout
7137 lyx -dbg lyxserver
7138 \end_layout
7139
7140 \end_inset
7141
7142 .
7143 \end_layout
7144
7145 \begin_layout Standard
7146 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribució
7147 n fuente como 
7148 \begin_inset Flex Code
7149 status collapsed
7150
7151 \begin_layout Plain Layout
7152 development/lyxserver/server_monitor.cpp
7153 \end_layout
7154
7155 \end_inset
7156
7157 .
7158 \end_layout
7159
7160 \begin_layout Standard
7161 Otra herramienta útil es el cliente en línea de comandos 
7162 \begin_inset Flex Code
7163 status collapsed
7164
7165 \begin_layout Plain Layout
7166 src/client/lyxclient
7167 \end_layout
7168
7169 \end_inset
7170
7171 .
7172 \end_layout
7173
7174 \begin_layout Section
7175 Comunicación normal
7176 \end_layout
7177
7178 \begin_layout Standard
7179 Para emitir una llamada a \SpecialChar LyX
7180 , el cliente escribe una línea de texto ASCII
7181  en la tubería de entrada.
7182  Esta línea tiene el siguiente formato:
7183 \end_layout
7184
7185 \begin_layout Quote
7186 LYXCMD:
7187 \emph on
7188 clientname
7189 \emph default
7190 :
7191 \emph on
7192 function
7193 \emph default
7194 :
7195 \emph on
7196 argument
7197 \end_layout
7198
7199 \begin_layout Description
7200 clientname es un nombre que el cliente puede escoger arbitrariamente.
7201  Su única función es que \SpecialChar LyX
7202  lo repetirá si envía una respuesta —así un cliente
7203  puede enviar resultados desde diferentes solicitantes.
7204 \end_layout
7205
7206 \begin_layout Description
7207 function es la función que quieres que \SpecialChar LyX
7208  lleve a cabo.
7209  Es lo mismo que los comandos que usarías en el minibúfer.
7210 \end_layout
7211
7212 \begin_layout Description
7213 argument es un argumento opcional que solo es significativo para ciertas
7214  funciones (por ejemplo, la función LFUN 
7215 \begin_inset Quotes cld
7216 \end_inset
7217
7218 self-insert
7219 \begin_inset Quotes crd
7220 \end_inset
7221
7222  insertará el argumento como texto en la posición del cursor).
7223 \end_layout
7224
7225 \begin_layout Standard
7226 La respuesta de \SpecialChar LyX
7227  llegará en la tubería de salida y será de la forma
7228 \end_layout
7229
7230 \begin_layout Quote
7231 INFO:
7232 \emph on
7233 clientname
7234 \emph default
7235 :
7236 \emph on
7237 function
7238 \emph default
7239 :
7240 \emph on
7241 data
7242 \end_layout
7243
7244 \begin_layout Standard
7245 donde 
7246 \emph on
7247 clientname
7248 \emph default
7249  y 
7250 \emph on
7251 function
7252 \emph default
7253  solo son respuestas del comando solicitante, mientras que 
7254 \emph on
7255 data
7256 \emph default
7257  es información más o menos útil sobre cómo ha funcionado la ejecución del
7258  comando.
7259  Algunos comandos, tales como 
7260 \begin_inset Quotes cld
7261 \end_inset
7262
7263 font-state
7264 \begin_inset Quotes crd
7265 \end_inset
7266
7267 , devolverán información sobre el estado interno de \SpecialChar LyX
7268 , mientras que otros
7269  devolverán una respuesta vacía.
7270  Esto significa que la ejecución del comando fue correcta.
7271 \end_layout
7272
7273 \begin_layout Standard
7274 En caso de errores la respuesta de \SpecialChar LyX
7275  será de la forma
7276 \end_layout
7277
7278 \begin_layout Quote
7279 ERROR:
7280 \emph on
7281 clientname
7282 \emph default
7283 :
7284 \emph on
7285 function
7286 \emph default
7287 :
7288 \emph on
7289 error message
7290 \end_layout
7291
7292 \begin_layout Standard
7293 donde el 
7294 \emph on
7295 error message
7296 \emph default
7297  debería contener una explicación de por qué falló el comando.
7298 \end_layout
7299
7300 \begin_layout Standard
7301 Ejemplos:
7302 \end_layout
7303
7304 \begin_layout LyX-Code
7305 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7306 \end_layout
7307
7308 \begin_layout LyX-Code
7309 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7310 \begin_inset Newline newline
7311 \end_inset
7312
7313 read a <~/.lyxpipe.out
7314 \begin_inset Newline newline
7315 \end_inset
7316
7317 echo $a
7318 \end_layout
7319
7320 \begin_layout Subsection
7321 AppleScript (Mac OS X)
7322 \end_layout
7323
7324 \begin_layout Standard
7325 Desde \SpecialChar LyX
7326  2.1, \SpecialChar LyX
7327  soporta interacciones básicas con AppleScript para comunicación
7328  normal mediante el comando run.
7329  Este comando toma un argumento directo (la 
7330 \series bold
7331 function
7332 \series default
7333  a realizar) y un argumento opcional.
7334  Devuelve la salida de la función o desencadena un error con un mensaje
7335  y el código.
7336 \end_layout
7337
7338 \begin_layout Standard
7339 Ejemplo:
7340 \end_layout
7341
7342 \begin_layout LyX-Code
7343 tell application "\SpecialChar LyX
7344 "
7345 \end_layout
7346
7347 \begin_layout LyX-Code
7348   try
7349 \end_layout
7350
7351 \begin_layout LyX-Code
7352     -- Stores the current file name into f
7353 \end_layout
7354
7355 \begin_layout LyX-Code
7356     set f to (run "server-get-filename" with argument "")
7357 \end_layout
7358
7359 \begin_layout LyX-Code
7360     on error the error_message number the error_number
7361 \end_layout
7362
7363 \begin_layout LyX-Code
7364       display dialog "Error: " & the error_number & ".
7365  " ¬
7366 \end_layout
7367
7368 \begin_layout LyX-Code
7369               & the error_message buttons {"OK"} default button 1
7370 \end_layout
7371
7372 \begin_layout LyX-Code
7373   end try
7374 \end_layout
7375
7376 \begin_layout LyX-Code
7377 end tell
7378 \end_layout
7379
7380 \begin_layout Section
7381 Notificación
7382 \end_layout
7383
7384 \begin_layout Standard
7385 \SpecialChar LyX
7386  puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7387  Actualmente solo lo hará si el usuario liga una secuencia de teclas a la
7388  función 
7389 \begin_inset Quotes cld
7390 \end_inset
7391
7392 notify
7393 \begin_inset Quotes crd
7394 \end_inset
7395
7396 .
7397  El formato de la cadena que envía \SpecialChar LyX
7398  es como sigue:
7399 \end_layout
7400
7401 \begin_layout Quote
7402 \begin_inset Flex Code
7403 status collapsed
7404
7405 \begin_layout Plain Layout
7406 NOTIFY:
7407 \end_layout
7408
7409 \end_inset
7410
7411
7412 \emph on
7413 key-sequence
7414 \end_layout
7415
7416 \begin_layout Standard
7417 donde 
7418 \emph on
7419 key-sequence
7420 \emph default
7421  es la representación impresa de la secuencia de teclas que fue realmente
7422  tecleada por el usuario.
7423 \end_layout
7424
7425 \begin_layout Standard
7426 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de
7427  \SpecialChar LyX
7428  e implementar macros.
7429  Asocia alguna secuencia de teclas a 
7430 \begin_inset Quotes cld
7431 \end_inset
7432
7433 notify
7434 \begin_inset Quotes crd
7435 \end_inset
7436
7437 .
7438  Después inicia un cliente que escucha en la tubería de salida, envía el
7439  comando acorde con la secuencia e inicia una función que pueda usar llamadas
7440  y solicitudes a \SpecialChar LyX
7441  para emitir un comando o una serie de comandos a \SpecialChar LyX
7442 .
7443 \end_layout
7444
7445 \begin_layout Section
7446 El sencillo protocolo del servidor \SpecialChar LyX
7447
7448 \end_layout
7449
7450 \begin_layout Standard
7451 \SpecialChar LyX
7452  implementa un protocolo sencillo que puede utilizarse para administrar
7453  sesiones.
7454  Todos los mensajes son de la forma
7455 \end_layout
7456
7457 \begin_layout Quote
7458 LYXSRV:
7459 \emph on
7460 clientname
7461 \emph default
7462 :
7463 \emph on
7464 protocol message
7465 \end_layout
7466
7467 \begin_layout Standard
7468 donde 
7469 \emph on
7470 protocol message
7471 \emph default
7472  puede ser 
7473 \begin_inset Quotes cld
7474 \end_inset
7475
7476 hello
7477 \begin_inset Quotes crd
7478 \end_inset
7479
7480  o 
7481 \begin_inset Quotes cld
7482 \end_inset
7483
7484 bye
7485 \begin_inset Quotes crd
7486 \end_inset
7487
7488 .
7489  Si se recibe 
7490 \begin_inset Quotes cld
7491 \end_inset
7492
7493 hello
7494 \begin_inset Quotes crd
7495 \end_inset
7496
7497  de un cliente, \SpecialChar LyX
7498  devolverá información al cliente de que está escuchando
7499  sus mensajes, mientras que 
7500 \begin_inset Quotes cld
7501 \end_inset
7502
7503 bye
7504 \begin_inset Quotes crd
7505 \end_inset
7506
7507  enviado desde \SpecialChar LyX
7508  informará a los clientes que \SpecialChar LyX
7509  se ha cerrado.
7510 \end_layout
7511
7512 \begin_layout Section
7513 Búsqueda inversa DVI/PDF
7514 \end_layout
7515
7516 \begin_layout Standard
7517 Algunos visores DVI/PDF
7518 \begin_inset Foot
7519 status collapsed
7520
7521 \begin_layout Plain Layout
7522 Okular en KDE/Linux, Qpdfview en Unix, Skim en Mac OSX y SumatraPDF en Windows.
7523 \end_layout
7524
7525 \end_inset
7526
7527  ofrecen la posibilidad de 
7528 \emph on
7529 búsqueda inversa
7530 \emph default
7531 .
7532  Esto quiere decir que puedes indicar a \SpecialChar LyX
7533  que coloque el cursor en una línea
7534  determinada en el documento haciendo clic en la posición correspondiente
7535  en la salida DVI/PDF.
7536  Para ello, el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7537 .
7538  Esto se consigue mediante el servidor \SpecialChar LyX
7539  usando la tubería (
7540 \emph on
7541 lyxpipe
7542 \emph default
7543 ) o el zócalo de dominio UNIX (
7544 \emph on
7545 lyxsocket
7546 \emph default
7547 ) que \SpecialChar LyX
7548  crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7549  se comunica
7550  con el programa 
7551 \begin_inset Flex Code
7552 status collapsed
7553
7554 \begin_layout Plain Layout
7555 lyxclient
7556 \end_layout
7557
7558 \end_inset
7559
7560 .
7561  En algunos casos, hará falta un guión de apoyo que medie entre el visor
7562  y \SpecialChar LyX
7563 , en otros, el visor se podrá comunicar directamente con \SpecialChar LyX
7564 .
7565  Esto depende del visor seleccionado y del sistema operativo.
7566  Lo mismo es aplicable a la forma en que los visores deben configurarse
7567  y la forma en que la búsqueda inversa se lleva a cabo realmente.
7568  En lo que sigue, describiremos cómo se configura la búsqueda en visores
7569  determinados.
7570  Antes, sin embargo, explicamos lo que hay que hacer en general para habilitar
7571  la búsqueda inversa en el DVI/PDF.
7572 \end_layout
7573
7574 \begin_layout Subsection
7575 Activación automática
7576 \begin_inset CommandInset label
7577 LatexCommand label
7578 name "subsec:Activación-automática"
7579
7580 \end_inset
7581
7582
7583 \end_layout
7584
7585 \begin_layout Standard
7586 En la mayoría de los casos \SpecialChar LyX
7587  funcionará marcando la opción 
7588 \begin_inset Flex Noun
7589 status collapsed
7590
7591 \begin_layout Plain Layout
7592 Documento\SpecialChar menuseparator
7593 Configuración\SpecialChar menuseparator
7594 Salidas\SpecialChar menuseparator
7595 Sincronizar con salida
7596 \end_layout
7597
7598 \end_inset
7599
7600 .
7601  En estos casos \SpecialChar LyX
7602  insertará automáticamente la macro 
7603 \begin_inset Flex Code
7604 status collapsed
7605
7606 \begin_layout Plain Layout
7607 Sync\SpecialChar TeX
7608
7609 \end_layout
7610
7611 \end_inset
7612
7613  (para PDF) o el paquete 
7614 \begin_inset Flex Code
7615 status collapsed
7616
7617 \begin_layout Plain Layout
7618 srcltx
7619 \end_layout
7620
7621 \end_inset
7622
7623  (para DVI).
7624  Esta opción está fácilmente disponible, además, en la barra de herramientas
7625  
7626 \begin_inset Flex Noun
7627 status collapsed
7628
7629 \begin_layout Plain Layout
7630 Ver/Actualizar
7631 \end_layout
7632
7633 \end_inset
7634
7635 .
7636 \end_layout
7637
7638 \begin_layout Standard
7639 Si necesitas una configuración diferente, puedes seleccionar o introducir
7640  una macro personalizada desde el cuadro desplegable bajo 
7641 \begin_inset Flex Noun
7642 status collapsed
7643
7644 \begin_layout Plain Layout
7645 Documento\SpecialChar menuseparator
7646 Configuración\SpecialChar menuseparator
7647 Salidas\SpecialChar menuseparator
7648 Sincronizar con salida
7649 \end_layout
7650
7651 \end_inset
7652
7653 .
7654 \end_layout
7655
7656 \begin_layout Standard
7657 El método 
7658 \begin_inset Flex Code
7659 status collapsed
7660
7661 \begin_layout Plain Layout
7662
7663 \backslash
7664 synctex=1
7665 \end_layout
7666
7667 \end_inset
7668
7669  activa compresión gzip.
7670  Si el visor no lo soporta, sería mejor usar 
7671 \begin_inset Flex Code
7672 status collapsed
7673
7674 \begin_layout Plain Layout
7675
7676 \backslash
7677 synctex=-1
7678 \end_layout
7679
7680 \end_inset
7681
7682 .
7683 \end_layout
7684
7685 \begin_layout Standard
7686 Advirtamos que la inclusión de los paquetes 
7687 \begin_inset Flex Code
7688 status collapsed
7689
7690 \begin_layout Plain Layout
7691 srcltx
7692 \end_layout
7693
7694 \end_inset
7695
7696  o 
7697 \begin_inset Flex Code
7698 status collapsed
7699
7700 \begin_layout Plain Layout
7701 src-specials
7702 \end_layout
7703
7704 \end_inset
7705
7706  puede tener a veces un impacto no deseado en la tipografía; entonces, si
7707  se usa alguno de dichos paquetes habría que desactivar la sincronización
7708  para la composición final.
7709 \end_layout
7710
7711 \begin_layout Standard
7712 En caso de necesitar otros ajustes más específicos no cubiertos por la configura
7713 ción automática, lee la sección siguiente sobre activación manual.
7714  Si la configuración automática cubre tus necesidades, puedes pasar directamente
7715  a la sección 
7716 \begin_inset CommandInset ref
7717 LatexCommand ref
7718 reference "subsec:Configuración-y-uso-de-visores"
7719
7720 \end_inset
7721
7722 , en la que se describen los pasos necesarios para configurar el visor —necesari
7723 os tanto para configuración automática como manual.
7724 \end_layout
7725
7726 \begin_layout Subsection
7727 Activación manual
7728 \end_layout
7729
7730 \begin_layout Standard
7731 \SpecialChar LaTeX
7732  proporciona varios métodos para la búsqueda inversa.
7733  Algunos son parte del programa 
7734 \begin_inset Flex Code
7735 status collapsed
7736
7737 \begin_layout Plain Layout
7738 latex/pdflatex
7739 \end_layout
7740
7741 \end_inset
7742
7743 , otros forman parte de paquetes externos.
7744  La elección depende de si la distribución \SpecialChar LaTeX
7745  instalada ya proporciona un
7746  método (los métodos incorporados son bastante nuevos) y si el visor a usar
7747  puede enfrentarse a este.
7748  Describimos a continuación los métodos disponibles.
7749 \end_layout
7750
7751 \begin_layout Subsubsection*
7752 Buscador DVI incorporado vía src-specials (solo DVI)
7753 \end_layout
7754
7755 \begin_layout Standard
7756 Este método proporciona el archivo DVI con la información necesaria para
7757  realizar búsqueda inversa.
7758  Está disponible en \SpecialChar LaTeX
7759  desde hace tiempo (cualquier distribución reciente
7760  lo debe incluir) y es fiable.
7761  Para habilitarlo, cambia el convertidor 
7762 \begin_inset Flex Code
7763 status collapsed
7764
7765 \begin_layout Plain Layout
7766 LaTeX (plain)->DVI
7767 \end_layout
7768
7769 \end_inset
7770
7771  o 
7772 \begin_inset Flex Code
7773 status collapsed
7774
7775 \begin_layout Plain Layout
7776 LaTeX (plain)->DraftDVI
7777 \end_layout
7778
7779 \end_inset
7780
7781  en 
7782 \begin_inset Flex Noun
7783 status collapsed
7784
7785 \begin_layout Plain Layout
7786 Herramientas\SpecialChar menuseparator
7787 Preferencias\SpecialChar menuseparator
7788 Gestión de archivos\SpecialChar menuseparator
7789 Convertidores
7790 \end_layout
7791
7792 \end_inset
7793
7794  por 
7795 \begin_inset Flex Code
7796 status collapsed
7797
7798 \begin_layout Plain Layout
7799 latex -src-specials $$i
7800 \end_layout
7801
7802 \end_inset
7803
7804 .
7805  Si no funciona, comprueba si tu maquinaria \SpecialChar TeX
7806  necesita opciones diferentes
7807  (la sintaxis podría diferir en algunas distribuciones).
7808 \end_layout
7809
7810 \begin_layout Subsubsection*
7811 Paquetes externos (PDFSync y srcltx)
7812 \end_layout
7813
7814 \begin_layout Standard
7815 Los paquetes 
7816 \begin_inset Flex Code
7817 status collapsed
7818
7819 \begin_layout Plain Layout
7820 PDFSync
7821 \end_layout
7822
7823 \end_inset
7824
7825  y 
7826 \begin_inset Flex Code
7827 status collapsed
7828
7829 \begin_layout Plain Layout
7830 srcltx
7831 \end_layout
7832
7833 \end_inset
7834
7835  proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7836  respectivamente.
7837  Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7838 :
7839 \end_layout
7840
7841 \begin_layout Itemize
7842 \begin_inset Flex Code
7843 status collapsed
7844
7845 \begin_layout Plain Layout
7846
7847 \backslash
7848 usepackage{pdfsync}
7849 \end_layout
7850
7851 \end_inset
7852
7853  para búsqueda inversa en PDF
7854 \end_layout
7855
7856 \begin_layout Itemize
7857 \begin_inset Flex Code
7858 status collapsed
7859
7860 \begin_layout Plain Layout
7861
7862 \backslash
7863 usepackage[active]{srcltx}
7864 \end_layout
7865
7866 \end_inset
7867
7868  para búsqueda inversa en DVI
7869 \end_layout
7870
7871 \begin_layout Standard
7872 Para habilitar el uso de ambos inserta las siguientes líneas:
7873 \end_layout
7874
7875 \begin_layout LyX-Code
7876
7877 \backslash
7878 usepackage{ifpdf}
7879 \begin_inset Newline newline
7880 \end_inset
7881
7882
7883 \backslash
7884 ifpdf
7885 \begin_inset Newline newline
7886 \end_inset
7887
7888   
7889 \backslash
7890 usepackage{pdfsync}
7891 \begin_inset Newline newline
7892 \end_inset
7893
7894
7895 \backslash
7896 else
7897 \begin_inset Newline newline
7898 \end_inset
7899
7900   
7901 \backslash
7902 usepackage[active]{srcltx}
7903 \begin_inset Newline newline
7904 \end_inset
7905
7906
7907 \backslash
7908 fi
7909 \end_layout
7910
7911 \begin_layout Standard
7912 Así, el archivo se puede ver tanto como DVI como PDF (pdflatex), usando
7913  el paquete adecuado.
7914 \end_layout
7915
7916 \begin_layout Standard
7917 Advirtamos que PDFSync podría afectar el formato de salida del documento.
7918  Por eso es conveniente deshabilitar PDFSync para componer el documento
7919  final.
7920 \end_layout
7921
7922 \begin_layout Subsubsection*
7923 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
7924  (DVI y PDF)
7925 \end_layout
7926
7927 \begin_layout Standard
7928 Las recientes versiones de 
7929 \begin_inset Flex Code
7930 status collapsed
7931
7932 \begin_layout Plain Layout
7933 (pdf)latex
7934 \end_layout
7935
7936 \end_inset
7937
7938  incorporan soporte para búsqueda inversa en PDF y DVI.
7939  La instalación llamada 
7940 \emph on
7941 Sync\SpecialChar TeX
7942
7943 \emph default
7944  es básicamente el resultado de integrar el paquete PDFSync en pdftex y
7945  su fusión con el enfoque 
7946 \emph on
7947 src-specials
7948 \emph default
7949 .
7950  Para usarla hace falta al menos \SpecialChar TeX
7951 Live 2008 o una distribución Mik\SpecialChar TeX
7952  reciente.
7953  Además, solo unos pocos visores PDF (Okular y Qpdfview en Unix, Skim en
7954  Mac, SumatraPDF en Windows) proporcionan por ahora soporte para Sync\SpecialChar TeX
7955 .
7956 \end_layout
7957
7958 \begin_layout Standard
7959 Para activar Sync\SpecialChar TeX
7960  en DVI, cambia el convertidor 
7961 \begin_inset Flex Code
7962 status collapsed
7963
7964 \begin_layout Plain Layout
7965 LaTeX (plain) -> DVI
7966 \end_layout
7967
7968 \end_inset
7969
7970  o 
7971 \begin_inset Flex Code
7972 status collapsed
7973
7974 \begin_layout Plain Layout
7975 LaTeX (plain) -> DraftDVI
7976 \end_layout
7977
7978 \end_inset
7979
7980  en 
7981 \begin_inset Flex Noun
7982 status collapsed
7983
7984 \begin_layout Plain Layout
7985 Herramientas\SpecialChar menuseparator
7986 Preferencias\SpecialChar menuseparator
7987 Gestión de archivos\SpecialChar menuseparator
7988 Convertidores
7989 \end_layout
7990
7991 \end_inset
7992
7993  por 
7994 \begin_inset Flex Code
7995 status collapsed
7996
7997 \begin_layout Plain Layout
7998 latex -synctex=1 $$i
7999 \end_layout
8000
8001 \end_inset
8002
8003 , y para PDF cambia 
8004 \begin_inset Flex Code
8005 status collapsed
8006
8007 \begin_layout Plain Layout
8008 LaTeX (pdflatex) -> PDF (pdflatex)
8009 \end_layout
8010
8011 \end_inset
8012
8013  por 
8014 \begin_inset Flex Code
8015 status collapsed
8016
8017 \begin_layout Plain Layout
8018 pdflatex -synctex=1 $$i
8019 \end_layout
8020
8021 \end_inset
8022
8023 .
8024  Consulta en la documentación de tu visor si necesita ser configurado para
8025  usarlo con Sync\SpecialChar TeX
8026 .
8027 \begin_inset Foot
8028 status collapsed
8029
8030 \begin_layout Plain Layout
8031 La opción 
8032 \begin_inset Flex Code
8033 status collapsed
8034
8035 \begin_layout Plain Layout
8036 -synctex=1
8037 \end_layout
8038
8039 \end_inset
8040
8041  permite compresión gzip.
8042  Si el visor no lo soporta, entonces usa 
8043 \begin_inset Flex Code
8044 status collapsed
8045
8046 \begin_layout Plain Layout
8047 -synctex=-1
8048 \end_layout
8049
8050 \end_inset
8051
8052 .
8053 \end_layout
8054
8055 \end_inset
8056
8057
8058 \end_layout
8059
8060 \begin_layout Subsection
8061 Configuración y uso de visores específicos
8062 \begin_inset CommandInset label
8063 LatexCommand label
8064 name "subsec:Configuración-y-uso-de-visores"
8065
8066 \end_inset
8067
8068
8069 \end_layout
8070
8071 \begin_layout Subsubsection*
8072 Xdvi (todas las plataformas)
8073 \end_layout
8074
8075 \begin_layout Standard
8076 Si usas 
8077 \begin_inset Flex Code
8078 status collapsed
8079
8080 \begin_layout Plain Layout
8081 xdvi
8082 \end_layout
8083
8084 \end_inset
8085
8086  no necesitas hacer nada para utilizar la búsqueda inversa en DVI, ya que
8087  \SpecialChar LyX
8088  proporciona los ganchos necesarios para usar automáticamente el programa
8089  
8090 \begin_inset Flex Code
8091 status collapsed
8092
8093 \begin_layout Plain Layout
8094 lyxclient
8095 \end_layout
8096
8097 \end_inset
8098
8099 .
8100  Basta con configurar tu documento como se describió antes (la búsqueda
8101  inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
8102 \end_layout
8103
8104 \begin_layout Standard
8105 Sin embargo, si por la razón que sea quieres usar la tubería en vez del
8106  zócalo para comunicar con \SpecialChar LyX
8107 , simplemente cambia el visor DVI en 
8108 \begin_inset Flex Noun
8109 status collapsed
8110
8111 \begin_layout Plain Layout
8112 Herramientas\SpecialChar menuseparator
8113 Preferencias\SpecialChar menuseparator
8114 Gestión de archivos\SpecialChar menuseparator
8115 Formatos de archivo
8116 \end_layout
8117
8118 \end_inset
8119
8120  a 
8121 \begin_inset Flex Code
8122 status collapsed
8123
8124 \begin_layout Plain Layout
8125 xdvi -editor "lyxeditor.sh %f %l"
8126 \end_layout
8127
8128 \end_inset
8129
8130 ,
8131 \begin_inset Foot
8132 status collapsed
8133
8134 \begin_layout Plain Layout
8135 En Mac OSX hay que usar 
8136 \begin_inset Flex Code
8137 status collapsed
8138
8139 \begin_layout Plain Layout
8140 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
8141 \end_layout
8142
8143 \end_inset
8144
8145
8146 \end_layout
8147
8148 \end_inset
8149
8150  donde 
8151 \begin_inset Flex Code
8152 status collapsed
8153
8154 \begin_layout Plain Layout
8155 lyxeditor.sh
8156 \end_layout
8157
8158 \end_inset
8159
8160  es un guión apropiado.
8161  Por ejemplo, un mínimo guión de shell es el siguiente:
8162 \end_layout
8163
8164 \begin_layout LyX-Code
8165 #!/bin/sh
8166 \begin_inset Newline newline
8167 \end_inset
8168
8169 LYXPIPE="/ruta/a/lyxpipe"
8170 \begin_inset Newline newline
8171 \end_inset
8172
8173 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
8174 \begin_inset Newline newline
8175 \end_inset
8176
8177 echo "$COMMAND" > "${LYXPIPE}".in || exit
8178 \begin_inset Newline newline
8179 \end_inset
8180
8181 read TMP < "${LYXPIPE}".out || exit
8182 \end_layout
8183
8184 \begin_layout Standard
8185 donde 
8186 \begin_inset Flex Code
8187 status collapsed
8188
8189 \begin_layout Plain Layout
8190 /ruta/a/lyxpipe
8191 \end_layout
8192
8193 \end_inset
8194
8195  es la ruta de la tubería \SpecialChar LyX
8196 Server especificada en 
8197 \begin_inset Flex Noun
8198 status collapsed
8199
8200 \begin_layout Plain Layout
8201 Herramientas\SpecialChar menuseparator
8202 Preferencias\SpecialChar menuseparator
8203 Rutas
8204 \end_layout
8205
8206 \end_inset
8207
8208 .
8209 \begin_inset Foot
8210 status collapsed
8211
8212 \begin_layout Plain Layout
8213 En la carpeta 
8214 \begin_inset Flex Code
8215 status collapsed
8216
8217 \begin_layout Plain Layout
8218 development/tools
8219 \end_layout
8220
8221 \end_inset
8222
8223  de una distribución fuente puedes encontrar un guión 
8224 \begin_inset Flex Code
8225 status collapsed
8226
8227 \begin_layout Plain Layout
8228 lyxeditor
8229 \end_layout
8230
8231 \end_inset
8232
8233  que puede localizar 
8234 \size normal
8235 \emph on
8236 lyxpipe
8237 \emph default
8238  basado en tus preferencias.
8239 \end_layout
8240
8241 \end_inset
8242
8243
8244 \end_layout
8245
8246 \begin_layout Subsubsection*
8247 MacDviX (Mac OSX)
8248 \end_layout
8249
8250 \begin_layout Standard
8251 Al final de 
8252 \begin_inset Flex Code
8253 status collapsed
8254
8255 \begin_layout Plain Layout
8256 /Applications/MacDviX_Folder/calleditor.script
8257 \end_layout
8258
8259 \end_inset
8260
8261 , añade las líneas:
8262 \end_layout
8263
8264 \begin_layout LyX-Code
8265 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8266 \begin_inset Newline newline
8267 \end_inset
8268
8269 exit 1
8270 \end_layout
8271
8272 \begin_layout Standard
8273 Modifica las líneas si \SpecialChar LyX
8274  está instalado en algún otro lugar distinto de la
8275  carpeta 'Applications'.
8276 \end_layout
8277
8278 \begin_layout Standard
8279 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8280 \end_layout
8281
8282 \begin_layout Subsubsection*
8283 Skim (Mac OSX)
8284 \end_layout
8285
8286 \begin_layout Standard
8287 Introduce 
8288 \begin_inset Flex Code
8289 status collapsed
8290
8291 \begin_layout Plain Layout
8292 open -a Skim.app $$i
8293 \end_layout
8294
8295 \end_inset
8296
8297  en la configuración del visor en 
8298 \begin_inset Flex Noun
8299 status collapsed
8300
8301 \begin_layout Plain Layout
8302 Herramientas\SpecialChar menuseparator
8303 Preferencias\SpecialChar menuseparator
8304 Gestión de archivos\SpecialChar menuseparator
8305 PDF (pdflatex)
8306 \end_layout
8307
8308 \end_inset
8309
8310 , y luego en 
8311 \begin_inset Flex Code
8312 status collapsed
8313
8314 \begin_layout Plain Layout
8315 Skim\SpecialChar menuseparator
8316 Preferences\SpecialChar menuseparator
8317 Sync
8318 \end_layout
8319
8320 \end_inset
8321
8322  selecciona \SpecialChar LyX
8323 .
8324 \end_layout
8325
8326 \begin_layout Standard
8327 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8328 \end_layout
8329
8330 \begin_layout Subsubsection*
8331 Okular (KDE)
8332 \end_layout
8333
8334 \begin_layout Standard
8335 En 
8336 \begin_inset Flex Noun
8337 status collapsed
8338
8339 \begin_layout Plain Layout
8340 Configurar\SpecialChar menuseparator
8341 Configurar Okular\SpecialChar menuseparator
8342 Editor
8343 \end_layout
8344
8345 \end_inset
8346
8347 , selecciona 
8348 \begin_inset Quotes cld
8349 \end_inset
8350
8351 Editor personalizado
8352 \begin_inset Quotes crd
8353 \end_inset
8354
8355  y añade el comando 
8356 \begin_inset Flex Code
8357 status collapsed
8358
8359 \begin_layout Plain Layout
8360 lyxclient -g %f %l
8361 \end_layout
8362
8363 \end_inset
8364
8365 .
8366 \end_layout
8367
8368 \begin_layout Standard
8369 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8370 \end_layout
8371
8372 \begin_layout Subsubsection*
8373 Qpdfview (Unix)
8374 \end_layout
8375
8376 \begin_layout Standard
8377 Qpdfview soporta Sync\SpecialChar TeX
8378  desde la versión 0.3.5.
8379  En 
8380 \begin_inset Flex Noun
8381 status collapsed
8382
8383 \begin_layout Plain Layout
8384 Editar\SpecialChar menuseparator
8385 Configuración\SpecialChar menuseparator
8386 Comportamiento
8387 \end_layout
8388
8389 \end_inset
8390
8391 , clic en el campo de entrada del 
8392 \begin_inset Quotes eld
8393 \end_inset
8394
8395 Editor de fuente
8396 \begin_inset Quotes erd
8397 \end_inset
8398
8399  y añade el comando 
8400 \begin_inset Flex Code
8401 status collapsed
8402
8403 \begin_layout Plain Layout
8404 lyxclient -g %1 %2
8405 \end_layout
8406
8407 \end_inset
8408
8409 .
8410 \end_layout
8411
8412 \begin_layout Standard
8413 La búsqueda inversa se lanza con doble clic.
8414 \end_layout
8415
8416 \begin_layout Subsubsection*
8417 YAP (Windows)
8418 \end_layout
8419
8420 \begin_layout Standard
8421 En yap, en el menú Ver Opciones marca 
8422 \begin_inset Quotes cld
8423 \end_inset
8424
8425 Búsqueda inversa DVI
8426 \begin_inset Quotes crd
8427 \end_inset
8428
8429 .
8430  Botón 
8431 \begin_inset Quotes cld
8432 \end_inset
8433
8434 Nuevo
8435 \begin_inset Quotes crd
8436 \end_inset
8437
8438  e introduce 
8439 \begin_inset Quotes cld
8440 \end_inset
8441
8442 \SpecialChar LyX
8443  editor
8444 \begin_inset Quotes crd
8445 \end_inset
8446
8447  en 
8448 \begin_inset Quotes cld
8449 \end_inset
8450
8451 Nombre
8452 \begin_inset Quotes crd
8453 \end_inset
8454
8455 .
8456  Abre el diálogo 
8457 \begin_inset Quotes cld
8458 \end_inset
8459
8460 ...
8461 \begin_inset Quotes crd
8462 \end_inset
8463
8464  y busca el archivo 
8465 \begin_inset Flex Code
8466 status collapsed
8467
8468 \begin_layout Plain Layout
8469 lyxeditor.bat
8470 \end_layout
8471
8472 \end_inset
8473
8474  (véase abajo).
8475  Selecciona 
8476 \begin_inset Flex Code
8477 status collapsed
8478
8479 \begin_layout Plain Layout
8480 lyxeditor.bat
8481 \end_layout
8482
8483 \end_inset
8484
8485 , con los argumentos %f %l.
8486 \end_layout
8487
8488 \begin_layout LyX-Code
8489 @echo off
8490 \begin_inset Newline newline
8491 \end_inset
8492
8493 echo LYXCMD:revdvi:server-goto-file-row:%1 %2> 
8494 \backslash
8495
8496 \backslash
8497 .
8498 \backslash
8499 pipe
8500 \backslash
8501 lyxpipe.in
8502 \begin_inset Newline newline
8503 \end_inset
8504
8505 type 
8506 \backslash
8507
8508 \backslash
8509 .
8510 \backslash
8511 pipe
8512 \backslash
8513 lyxpipe.out
8514 \end_layout
8515
8516 \begin_layout Standard
8517 Se lanza con doble clic.
8518 \end_layout
8519
8520 \begin_layout Subsubsection*
8521 SumatraPDF (Windows)
8522 \end_layout
8523
8524 \begin_layout Standard
8525 Introduce 
8526 \family typewriter
8527 SumatraPDF -inverse-search "lyxeditor.bat %f %l" 
8528 \family default
8529 en
8530 \family typewriter
8531  
8532 \family default
8533
8534 \begin_inset Flex Noun
8535 status collapsed
8536
8537 \begin_layout Plain Layout
8538 Herramientas\SpecialChar menuseparator
8539 Preferencias\SpecialChar menuseparator
8540 Gestión de archivos\SpecialChar menuseparator
8541 PDF (pdflatex)
8542 \end_layout
8543
8544 \end_inset
8545
8546 , donde 
8547 \family typewriter
8548 lyxeditor.bat es el anterior.
8549  Si SumatraPDF.exe
8550 \family default
8551  no está en la ruta de comandos usa su nombre completo.
8552 \end_layout
8553
8554 \begin_layout Standard
8555 Se inicia con doble clic.
8556 \end_layout
8557
8558 \begin_layout Subsubsection*
8559 YAP (Cygwin)
8560 \end_layout
8561
8562 \begin_layout Standard
8563 Si yap es el visor por defecto en Windows, ejecuta y elige 
8564 \family sans
8565 Ver Opciones
8566 \family default
8567  y 
8568 \begin_inset Quotes cld
8569 \end_inset
8570
8571 Búsqueda inversa DVI
8572 \begin_inset Quotes crd
8573 \end_inset
8574
8575 .
8576  En el botón 
8577 \begin_inset Quotes cld
8578 \end_inset
8579
8580 Nuevo...
8581 \begin_inset Quotes crd
8582 \end_inset
8583
8584  escribe 
8585 \begin_inset Quotes cld
8586 \end_inset
8587
8588 \SpecialChar LyX
8589  editor
8590 \begin_inset Quotes crd
8591 \end_inset
8592
8593  en el campo 
8594 \begin_inset Quotes cld
8595 \end_inset
8596
8597 Nombre
8598 \begin_inset Quotes crd
8599 \end_inset
8600
8601 .
8602  Ahora, en el botón 
8603 \begin_inset Quotes cld
8604 \end_inset
8605
8606 ...
8607 \begin_inset Quotes crd
8608 \end_inset
8609
8610  y navega hasta el directorio del ejecutable 
8611 \family typewriter
8612 lyxeditor.exe.
8613
8614 \family default
8615  Especifica los argumentos -g %f %l.
8616  Así, se usará el zócalo 
8617 \emph on
8618 lyxsocket
8619 \emph default
8620  para comunicar con \SpecialChar LyX
8621 .
8622  Si prefieres usar 
8623 \emph on
8624 lyxpipe
8625 \emph default
8626  omite -g y escribe la tubería \SpecialChar LyX
8627 Server en las preferencias de \SpecialChar LyX
8628 .
8629 \end_layout
8630
8631 \begin_layout Standard
8632 Se lanza con doble clic.
8633 \end_layout
8634
8635 \begin_layout Subsubsection*
8636 SumatraPDF (Cygwin)
8637 \end_layout
8638
8639 \begin_layout Standard
8640 En 
8641 \begin_inset Flex Noun
8642 status collapsed
8643
8644 \begin_layout Plain Layout
8645 Herramientas\SpecialChar menuseparator
8646 Preferencias\SpecialChar menuseparator
8647 Gestión de archivos\SpecialChar menuseparator
8648 PDF (pdflatex)
8649 \end_layout
8650
8651 \end_inset
8652
8653  introduce 
8654 \begin_inset Flex Code
8655 status collapsed
8656
8657 \begin_layout Plain Layout
8658 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8659 \end_layout
8660
8661 \end_inset
8662
8663  en la configuración del visor.
8664  Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa
8665  en el guión.
8666  La -g habilita comunicación vía 
8667 \emph on
8668 lyxsocket
8669 \emph default
8670 .
8671  Sin la -g, se usa 
8672 \emph on
8673 lyxpipe
8674 \emph default
8675 , y verifica la ruta de \SpecialChar LyX
8676 Server en las preferencias de \SpecialChar LyX
8677 .
8678 \end_layout
8679
8680 \begin_layout Standard
8681 Se inicia con doble clic.
8682 \end_layout
8683
8684 \begin_layout Section
8685 Búsqueda directa
8686 \end_layout
8687
8688 \begin_layout Standard
8689 La búsqueda directa, como su nombre indica, es en cierto sentido lo 
8690 \begin_inset Quotes cld
8691 \end_inset
8692
8693 opuesto
8694 \begin_inset Quotes crd
8695 \end_inset
8696
8697  a búsqueda inversa.
8698  Permite saltar a una posición determinada del documento en el visor desde
8699  dentro de \SpecialChar LyX
8700 .
8701  Si la búsqueda directa está habilitada (como se describe a continuación),
8702  puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8703  y, con el menú
8704  
8705 \family sans
8706 Navegar\SpecialChar menuseparator
8707 Búsqueda directa
8708 \family default
8709  (o seleccionando 
8710 \family sans
8711 Búsqueda directa
8712 \family default
8713  en el menú contextual mediante clic derecho), en el visor se mostrará esa
8714  misma posición.
8715  Esto implica, por supuesto, que el visor soporte esta función.
8716 \end_layout
8717
8718 \begin_layout Standard
8719 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF
8720  de salida información adicional sobre el código \SpecialChar TeX
8721 .
8722  Se puede hacer mediante los métodos descritos en la sección 
8723 \begin_inset CommandInset ref
8724 LatexCommand ref
8725 reference "subsec:Activación-automática"
8726
8727 \end_inset
8728
8729 .
8730 \end_layout
8731
8732 \begin_layout Standard
8733 Adicionalmente, hay que configurar \SpecialChar LyX
8734  para usar los visores en 
8735 \begin_inset Flex Noun
8736 status collapsed
8737
8738 \begin_layout Plain Layout
8739 Herramientas\SpecialChar menuseparator
8740 Preferencias\SpecialChar menuseparator
8741 Salidas\SpecialChar menuseparator
8742 General
8743 \end_layout
8744
8745 \end_inset
8746
8747 .
8748  Proporcionamos un conjunto de configuraciones comprobadas para algunos
8749  visores, que pueden seleccionarse en la lista desplegable.
8750  Si ninguna de estas configuraciones te satisface, tienes que introducir
8751  a mano una configuración adecuada.
8752  La sintaxis de las definiciones usa los siguientes marcadores:
8753 \end_layout
8754
8755 \begin_layout Itemize
8756 \noindent
8757 \begin_inset Flex Code
8758 status collapsed
8759
8760 \begin_layout Plain Layout
8761 $$n
8762 \end_layout
8763
8764 \end_inset
8765
8766 : número de fila
8767 \end_layout
8768
8769 \begin_layout Itemize
8770 \noindent
8771 \begin_inset Flex Code
8772 status collapsed
8773
8774 \begin_layout Plain Layout
8775 $$t
8776 \end_layout
8777
8778 \end_inset
8779
8780 : nombre del archivo .tex exportado (temporal)
8781 \end_layout
8782
8783 \begin_layout Itemize
8784 \noindent
8785 \begin_inset Flex Code
8786 status collapsed
8787
8788 \begin_layout Plain Layout
8789 $$o
8790 \end_layout
8791
8792 \end_inset
8793
8794 : nombre del archivo de salida exportado (dvi o pdf, según el que exista
8795  en el directorio temporal)
8796 \end_layout
8797
8798 \begin_layout Standard
8799 Solo algunos visores permiten completamente la búsqueda directa, entre ellos
8800  yap, xdvi, okular
8801 \lang english
8802
8803 \begin_inset Foot
8804 status collapsed
8805
8806 \begin_layout Plain Layout
8807
8808 \lang english
8809 You might want to set 
8810 \begin_inset Flex Code
8811 status collapsed
8812
8813 \begin_layout Plain Layout
8814
8815 \lang english
8816 okular –unique
8817 \end_layout
8818
8819 \end_inset
8820
8821  in 
8822 \lang spanish
8823
8824 \begin_inset Flex Noun
8825 status collapsed
8826
8827 \begin_layout Plain Layout
8828
8829 \lang english
8830 Tools\SpecialChar menuseparator
8831 Preferences\SpecialChar menuseparator
8832 File Handling\SpecialChar menuseparator
8833 File
8834 \begin_inset space ~
8835 \end_inset
8836
8837 Formats
8838 \end_layout
8839
8840 \end_inset
8841
8842
8843 \end_layout
8844
8845 \end_inset
8846
8847
8848 \lang spanish
8849 , qpdfview y SumatraPDF
8850 \lang english
8851
8852 \begin_inset Foot
8853 status collapsed
8854
8855 \begin_layout Plain Layout
8856
8857 \lang english
8858 SumatraPDF can also use DDE commands through the external program CMCDDE
8859  — downloadable from 
8860 \begin_inset CommandInset href
8861 LatexCommand href
8862 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
8863 literal "false"
8864
8865 \end_inset
8866
8867
8868 \end_layout
8869
8870 \end_inset
8871
8872
8873 \lang spanish
8874 .
8875  Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no
8876  soportan búsqueda directa, otros (como evince y pdf) permiten al menos
8877  recargar el documento y mostrar una página determinada, por lo que al menos
8878  permiten una navegación 
8879 \begin_inset Quotes cld
8880 \end_inset
8881
8882 cercana
8883 \begin_inset Quotes crd
8884 \end_inset
8885
8886 .
8887  Esta última funcionalidad es facilitada mediante una llamada externa a
8888  synctex (consulta los ejemplos predefinidos en Preferencias).
8889  
8890 \end_layout
8891
8892 \begin_layout Standard
8893 La búsqueda directa funciona con DVI y PDF.
8894  \SpecialChar LyX
8895  comprueba qué formato de vista preliminar has usado antes (o sea, el que
8896  ya está en el directorio temporal) y elige dinámicamente la configuración
8897  adecuada para el formato en cuestión.
8898 \end_layout
8899
8900 \begin_layout Chapter
8901 Clases especiales de documentos 
8902 \end_layout
8903
8904 \begin_layout Section
8905 A&A Paper
8906 \end_layout
8907
8908 \begin_layout Standard
8909 por 
8910 \noun on
8911 Peter Sütterlin
8912 \end_layout
8913
8914 \begin_layout Subsection
8915 Introducción
8916 \end_layout
8917
8918 \begin_layout Standard
8919 Esta sección describe el uso de \SpecialChar LyX
8920  para escribir artículos destinados a la
8921  revista científica 
8922 \emph on
8923 Astronomy and Astrophysics
8924 \emph default
8925  (
8926 \begin_inset Flex URL
8927 status collapsed
8928
8929 \begin_layout Plain Layout
8930
8931 http://www.edpsciences.fr/aa/
8932 \end_layout
8933
8934 \end_inset
8935
8936 ), usando la versión
8937 \begin_inset space ~
8938 \end_inset
8939
8940 5.01 de la clase de documento 
8941 \family typewriter
8942 aa.cls
8943 \family default
8944 .
8945  Este paquete se puede descargar del sitio ftp
8946 \end_layout
8947
8948 \begin_layout Standard
8949 \begin_inset VSpace medskip
8950 \end_inset
8951
8952
8953 \end_layout
8954
8955 \begin_layout Standard
8956 \align center
8957 \begin_inset Flex URL
8958 status collapsed
8959
8960 \begin_layout Plain Layout
8961
8962 ftp://ftp.edpsciences.org/pub/aa/readme.html
8963 \end_layout
8964
8965 \end_inset
8966
8967
8968 \end_layout
8969
8970 \begin_layout Standard
8971 \begin_inset VSpace medskip
8972 \end_inset
8973
8974
8975 \end_layout
8976
8977 \begin_layout Standard
8978 El paquete contiene un manual, y este texto no aspira a reemplazar al original,
8979  se trata solo de una breve guía de uso.
8980 \end_layout
8981
8982 \begin_layout Standard
8983 Ten en cuenta que el editor de la revista ha cambiado de 
8984 \emph on
8985 Springer
8986 \emph default
8987  a 
8988 \emph on
8989 EDP Sciences
8990 \emph default
8991  desde 1 de enero de 2001.
8992  Este cambio implica ligeros cambios en los archivos de estilo, a saber,
8993  la eliminación del comando 
8994 \family typewriter
8995 thesaurus
8996 \family default
8997 .
8998  La clase \SpecialChar LyX
8999  
9000 \family sans
9001 aa
9002 \family default
9003  soporta las versiones más nuevas de estos archivos de estilo, V 5.01.
9004  Si tienes instalada una versión más antigua, actualízala, por favor.
9005  Por compatibilidad, el antiguo formato (versión 4) se ha mantenido como
9006  
9007 \family sans
9008 article (A&A V4)
9009 \family default
9010 .
9011  Puedes acudir a los comentarios en el archivo 
9012 \family typewriter
9013 \SpecialChar LyX
9014 Dir/layouts/aapaper.layout
9015 \family default
9016 .
9017 \end_layout
9018
9019 \begin_layout Subsection
9020 Cómo empezar
9021 \end_layout
9022
9023 \begin_layout Standard
9024 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
9025 .
9026  Si no es así, observa los siguientes aspectos:
9027 \end_layout
9028
9029 \begin_layout Itemize
9030 Selecciona 
9031 \family sans
9032 article (A&A)
9033 \family default
9034  en el diálogo 
9035 \family sans
9036 Documento\SpecialChar menuseparator
9037 Configuración
9038 \family default
9039  (vale, esto era obvio).
9040 \end_layout
9041
9042 \begin_layout Itemize
9043 No cambies la opción 
9044 \family sans
9045 Estilo
9046 \begin_inset space ~
9047 \end_inset
9048
9049 de
9050 \begin_inset space ~
9051 \end_inset
9052
9053
9054 \family default
9055 página: déjala en 
9056 \family sans
9057 predeterminado
9058 \family default
9059 .
9060  Todo el formato está hecho por macros y no deberías cambiar nada.
9061 \end_layout
9062
9063 \begin_layout Subsection
9064 El bloque del encabezado
9065 \end_layout
9066
9067 \begin_layout Standard
9068 Lo primero que hay que introducir es la información del encabezado.
9069  Consta de siete entradas, de las que algunas son opcionales.
9070  Son:
9071 \end_layout
9072
9073 \begin_layout Itemize
9074
9075 \family sans
9076 Título
9077 \family default
9078 : (requerido) 
9079 \end_layout
9080
9081 \begin_layout Itemize
9082
9083 \family sans
9084 Subtítulo
9085 \family default
9086 : (opcional) 
9087 \end_layout
9088
9089 \begin_layout Itemize
9090
9091 \family sans
9092 Autor
9093 \family default
9094 : (requerido)
9095 \end_layout
9096
9097 \begin_layout Itemize
9098
9099 \family sans
9100 Dirección
9101 \family default
9102 : (requerido)
9103 \end_layout
9104
9105 \begin_layout Itemize
9106 Separatas: (opcional) si hay más de un autor: a quien dirigirse.
9107 \end_layout
9108
9109 \begin_layout Itemize
9110 Correo: (opcional) dirección de contacto.
9111 \end_layout
9112
9113 \begin_layout Itemize
9114
9115 \family sans
9116 Fecha
9117 \family default
9118 : (requerido).
9119  El formato sugerido es 
9120 \family typewriter
9121 Recibido: <fecha>; Aceptado <fecha> 
9122 \end_layout
9123
9124 \begin_layout Standard
9125 No es necesario poner el comando 
9126 \family typewriter
9127
9128 \backslash
9129 maketitle
9130 \family default
9131 , \SpecialChar LyX
9132  lo hace automáticamente cuando se termina el encabezado.
9133  Aunque el orden de las entradas del encabezado no importa, es conveniente
9134  mantener la secuencia de arriba, solo por conseguir un mejor aspecto y
9135  respetar el formato del documento real.
9136 \end_layout
9137
9138 \begin_layout Standard
9139 Si quieres poner notas al pie en el encabezado, p.
9140 \begin_inset space \thinspace{}
9141 \end_inset
9142
9143 e.
9144 \begin_inset space ~
9145 \end_inset
9146
9147 para consignar tu actual dirección, usa la nota al pie estándar con 
9148 \family sans
9149 Insertar\SpecialChar menuseparator
9150 Nota
9151 \begin_inset space ~
9152 \end_inset
9153
9154 al
9155 \begin_inset space ~
9156 \end_inset
9157
9158 pie.
9159
9160 \family default
9161  \SpecialChar LyX
9162
9163 \begin_inset Quotes cld
9164 \end_inset
9165
9166 automágicamente
9167 \begin_inset Quotes crd
9168 \end_inset
9169
9170 , usará el término 
9171 \family typewriter
9172
9173 \backslash
9174 thanks{}
9175 \family default
9176  en ese caso.
9177 \end_layout
9178
9179 \begin_layout Standard
9180 Además, las macros emplean tres comandos \SpecialChar LaTeX
9181  adicionales que no tienen contrapartid
9182 a en \SpecialChar LyX
9183 :
9184 \end_layout
9185
9186 \begin_layout Itemize
9187
9188 \family typewriter
9189
9190 \backslash
9191 and
9192 \family default
9193  para separar nombres diferentes de más de un autor e instituto, respectivamente.
9194 \end_layout
9195
9196 \begin_layout Itemize
9197
9198 \family typewriter
9199
9200 \backslash
9201 inst{<nr>}
9202 \family default
9203  para señalar pares de autor/institución correspondientes.
9204  Las instituciones se numeran secuencialmente tal como aparecen en el campo
9205  
9206 \family sans
9207 Dirección
9208 \family default
9209 , así que tienes que poner un marcador a cada autor.
9210 \end_layout
9211
9212 \begin_layout Itemize
9213
9214 \family typewriter
9215
9216 \backslash
9217 email{address}
9218 \family default
9219  para proporcionar un correo electrónico para contacto rápido.
9220 \end_layout
9221
9222 \begin_layout Standard
9223 En todos los casos, el comando apropiado ha de introducirse en \SpecialChar LyX
9224  marcado
9225  como código \SpecialChar LaTeX
9226 .
9227  Véanse los ejemplos.
9228  
9229 \end_layout
9230
9231 \begin_layout Subsection
9232 El resumen
9233 \end_layout
9234
9235 \begin_layout Standard
9236 El resumen debería ir a continuación del encabezado.
9237  Con la versión 5 el resumen cambió de entorno a comando, y ahora hay una
9238  restricción a un único párrafo.
9239  Además, debería contener una entrada con las claves.
9240  Esto no está aún implementado en \SpecialChar LyX
9241 , por tanto hay que introducir el comando
9242  \SpecialChar LaTeX
9243  
9244 \family typewriter
9245
9246 \backslash
9247 keywords{}
9248 \family default
9249  a mano en código \SpecialChar LaTeX
9250 .
9251  Véase el ejemplo.
9252 \end_layout
9253
9254 \begin_layout Subsection
9255 Entornos soportados
9256 \end_layout
9257
9258 \begin_layout Standard
9259 El formato A&A soporta los entornos siguientes para estructurar el texto:
9260 \end_layout
9261
9262 \begin_layout Itemize
9263
9264 \family sans
9265 Normal
9266 \end_layout
9267
9268 \begin_layout Itemize
9269
9270 \family sans
9271 Sección
9272 \end_layout
9273
9274 \begin_layout Itemize
9275
9276 \family sans
9277 Subsección
9278 \end_layout
9279
9280 \begin_layout Itemize
9281
9282 \family sans
9283 Subsubsección
9284 \end_layout
9285
9286 \begin_layout Itemize
9287
9288 \family sans
9289 Enumeración*
9290 \end_layout
9291
9292 \begin_layout Itemize
9293
9294 \family sans
9295 Enumeración
9296 \end_layout
9297
9298 \begin_layout Itemize
9299
9300 \family sans
9301 Descripción
9302 \end_layout
9303
9304 \begin_layout Itemize
9305
9306 \family sans
9307 Leyenda
9308 \end_layout
9309
9310 \begin_layout Itemize
9311
9312 \family sans
9313 Resumen
9314 \end_layout
9315
9316 \begin_layout Itemize
9317
9318 \family sans
9319 Agradecimientos
9320 \end_layout
9321
9322 \begin_layout Itemize
9323
9324 \family sans
9325 Bibliografía
9326 \end_layout
9327
9328 \begin_layout Itemize
9329
9330 \family sans
9331 \SpecialChar LaTeX
9332
9333 \end_layout
9334
9335 \begin_layout Subsection
9336 Comandos no soportados por \SpecialChar LyX
9337
9338 \end_layout
9339
9340 \begin_layout Standard
9341 Algunos comandos aún no son soportados por el formato 
9342 \family sans
9343 paper (A&A)
9344 \family default
9345 .
9346  Algunos se han mencionado ya.
9347
9348 \family typewriter
9349  
9350 \family default
9351 Pero aquí están todos juntos:
9352 \end_layout
9353
9354 \begin_layout Itemize
9355
9356 \family typewriter
9357
9358 \backslash
9359 and
9360 \end_layout
9361
9362 \begin_layout Itemize
9363
9364 \family typewriter
9365
9366 \backslash
9367 email
9368 \end_layout
9369
9370 \begin_layout Itemize
9371
9372 \family typewriter
9373
9374 \backslash
9375 appendix
9376 \end_layout
9377
9378 \begin_layout Itemize
9379
9380 \family typewriter
9381
9382 \backslash
9383 authorrunning
9384 \end_layout
9385
9386 \begin_layout Itemize
9387
9388 \family typewriter
9389
9390 \backslash
9391 inst{}
9392 \end_layout
9393
9394 \begin_layout Itemize
9395
9396 \family typewriter
9397
9398 \backslash
9399 keywords{}
9400 \end_layout
9401
9402 \begin_layout Itemize
9403
9404 \family typewriter
9405
9406 \backslash
9407 object{}
9408 \end_layout
9409
9410 \begin_layout Itemize
9411
9412 \family typewriter
9413
9414 \backslash
9415 titlerunning{}
9416 \end_layout
9417
9418 \begin_layout Standard
9419 Si quieres usar alguno de ellos tienes que introducirlos a mano, y 
9420 \series bold
9421 ¡no olvides marcarlos en código \SpecialChar LaTeX
9422 !
9423 \end_layout
9424
9425 \begin_layout Subsection
9426 Figuras y cuadros flotantes
9427 \end_layout
9428
9429 \begin_layout Standard
9430 \SpecialChar LyX
9431  proporciona soporte para poner figuras y cuadros flotantes, por tanto no
9432  queremos decir mucho más sobre ello.
9433  Acude a la 
9434 \emph on
9435 Guía del Usuario
9436 \emph default
9437 .
9438  Solo recordaremos que los cuadros deben alinearse a la izquierda.
9439  Para eso selecciona el cuadro y cambia la alineación en 
9440 \family sans
9441 Editar\SpecialChar menuseparator
9442 Configuración
9443 \begin_inset space ~
9444 \end_inset
9445
9446 del
9447 \begin_inset space ~
9448 \end_inset
9449
9450 párrafo.
9451 \end_layout
9452
9453 \begin_layout Standard
9454 Hay un apunte particular: las figuras que deben llevar el título del encabezado
9455  a un lado.
9456  Para insertar estas figuras has de hacer lo siguiente:
9457 \end_layout
9458
9459 \begin_layout Enumerate
9460 Crea un flotante de figura ancha:
9461 \family sans
9462  
9463 \family default
9464 selecciona 
9465 \family sans
9466 Insertar\SpecialChar menuseparator
9467 Flotante\SpecialChar menuseparator
9468 Figura
9469 \family default
9470 , después haz clic derecho en la figura y selecciona 
9471 \family sans
9472 Extender
9473 \begin_inset space ~
9474 \end_inset
9475
9476 columnas
9477 \family default
9478 .
9479 \end_layout
9480
9481 \begin_layout Enumerate
9482 Introduce el texto del encabezado.
9483 \end_layout
9484
9485 \begin_layout Enumerate
9486 Pulsa 
9487 \family sans
9488 Retorno
9489 \family default
9490  para mover el cursor sobre el encabezado.
9491 \end_layout
9492
9493 \begin_layout Enumerate
9494 Inserta la figura.
9495 \end_layout
9496
9497 \begin_layout Enumerate
9498 Coloca el cursor tras la figura e inserta un relleno horizontal: 
9499 \family sans
9500 Insertar\SpecialChar menuseparator
9501 Formato
9502 \begin_inset space ~
9503 \end_inset
9504
9505 especial\SpecialChar menuseparator
9506 Relleno
9507 \begin_inset space ~
9508 \end_inset
9509
9510 horizontal
9511 \family default
9512 .
9513 \end_layout
9514
9515 \begin_layout Enumerate
9516 Cambia a modo \SpecialChar LaTeX
9517
9518 \family sans
9519 C-l
9520 \family default
9521 .
9522 \end_layout
9523
9524 \begin_layout Enumerate
9525 Introduce 
9526 \family typewriter
9527
9528 \backslash
9529 parbox[b]{55mm}{
9530 \family default
9531 .
9532  
9533 \series bold
9534 ¡No cierres la llave!
9535 \end_layout
9536
9537 \begin_layout Enumerate
9538 Coloca el cursor tras el texto del encabezado, cambia a modo \SpecialChar LaTeX
9539  e inserta
9540  la llave de cierre: 
9541 \family sans
9542 C-l 
9543 \family typewriter
9544 }
9545 \family default
9546 .
9547 \end_layout
9548
9549 \begin_layout Standard
9550 Además, consulta el ejemplo de 
9551 \family sans
9552 paper
9553 \family default
9554 .
9555 \end_layout
9556
9557 \begin_layout Subsection
9558 Formato «referee»
9559 \end_layout
9560
9561 \begin_layout Standard
9562 Antes de remitir el artículo a los editores hay que darle un formato especial
9563  a doble espacio.
9564  Para eso hay que pasar la opción 
9565 \family typewriter
9566 referee
9567 \family default
9568  a la clase de documento, simplemente introduciendo esa palabra en el campo
9569  
9570 \family sans
9571 Opciones 
9572 \family default
9573 de la solapa 
9574 \family sans
9575 Configuración
9576 \family default
9577
9578 \begin_inset space ~
9579 \end_inset
9580
9581
9582 \family sans
9583 de
9584 \family default
9585
9586 \begin_inset space ~
9587 \end_inset
9588
9589
9590 \family sans
9591 clase
9592 \family default
9593 , submenú 
9594 \family sans
9595 Documento
9596 \family default
9597 \SpecialChar menuseparator
9598
9599 \family sans
9600 Configuración
9601 \family default
9602 .
9603 \end_layout
9604
9605 \begin_layout Subsection
9606 El ejemplo «paper»
9607 \end_layout
9608
9609 \begin_layout Standard
9610 El directorio 
9611 \family sans
9612 Examples
9613 \family default
9614  contiene un ejemplo del formato 
9615 \family sans
9616 paper
9617 \family default
9618  escrito con \SpecialChar LyX
9619 .
9620  Es el ejemplo del paquete de macros original, traducido a \SpecialChar LyX
9621 .
9622  Puede servirte de inspiración, y para comparar el código \SpecialChar LaTeX
9623  original con
9624  el generado por \SpecialChar LyX
9625 .
9626 \end_layout
9627
9628 \begin_layout Section
9629 AAS\SpecialChar TeX
9630
9631 \end_layout
9632
9633 \begin_layout Standard
9634 por 
9635 \noun on
9636 Mike Ressler
9637 \end_layout
9638
9639 \begin_layout Subsection
9640 Introducción
9641 \end_layout
9642
9643 \begin_layout Standard
9644 AAS\SpecialChar TeX
9645  es un conjunto de macros producidas por la 
9646 \emph on
9647 American Astronomical Society
9648 \emph default
9649  para facilitar la remisión de manuscritos electrónicos a las tres revistas
9650  que publica: 
9651 \emph on
9652 Astrophysical Journal
9653 \emph default
9654  (incluyendo Cartas y Suplemento), 
9655 \emph on
9656 Astronomical Journal
9657 \emph default
9658 , y 
9659 \emph on
9660 Publications of the Astronomical Society of the Pacific
9661 \emph default
9662 .
9663  \SpecialChar LyX
9664  ha demostrado ser una herramienta excelente para generar estos documentos,
9665  especialmente por su capacidad para el manejo de ecuaciones, citas y figuras.
9666  \SpecialChar LyX
9667  requiere la versión 5.0 (o superior) de estas macros; preferiblemente 5.2,
9668  que es la versión aquí explicada, o mayor.
9669  Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9670 2.09 y son básicament
9671 e incompatibles con \SpecialChar LyX
9672 .
9673  El paquete AAS\SpecialChar TeX
9674  se puede obtener del sitio web de AAS\SpecialChar TeX
9675
9676 \end_layout
9677
9678 \begin_layout Standard
9679 \begin_inset VSpace medskip
9680 \end_inset
9681
9682
9683 \end_layout
9684
9685 \begin_layout Standard
9686 \align center
9687 \begin_inset Flex URL
9688 status collapsed
9689
9690 \begin_layout Plain Layout
9691
9692 https://aas.org/aastex/aastex-downloads
9693 \end_layout
9694
9695 \end_inset
9696
9697
9698 \end_layout
9699
9700 \begin_layout Standard
9701 \begin_inset VSpace medskip
9702 \end_inset
9703
9704
9705 \end_layout
9706
9707 \begin_layout Standard
9708 Contiene una completa guía del usuario con la que deberías familiarizarte
9709  antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9710 .
9711  \SpecialChar LyX
9712  no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9713 , pero disminuye
9714  la tediosa faena de teclearlo todo.
9715  Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9716  es completam
9717 ente conforme con los requerimientos de la revista a la que se remite.
9718 \end_layout
9719
9720 \begin_layout Subsection
9721 Empezar un artículo nuevo
9722 \end_layout
9723
9724 \begin_layout Standard
9725 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo
9726  de AAS\SpecialChar TeX
9727 .
9728  Clic en 
9729 \family sans
9730 Archivo\SpecialChar menuseparator
9731 Nuevo
9732 \begin_inset space ~
9733 \end_inset
9734
9735 desde
9736 \begin_inset space ~
9737 \end_inset
9738
9739 plantilla
9740 \family default
9741 , introduce el nombre del nuevo archivo, y luego escoge el archivo 
9742 \family typewriter
9743 aastex.lyx
9744 \family default
9745 .
9746  Este contempla los campos más habituales presentes en un manuscrito.
9747  Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas
9748
9749 \family typewriter
9750 <>
9751 \family default
9752 ) con el texto personal.
9753  Muchos de los comandos y entornos AAS\SpecialChar TeX
9754  se pueden implementar directamente
9755  en \SpecialChar LyX
9756 , pero algunos no: los más destacables son 
9757 \family typewriter
9758
9759 \backslash
9760 altaffilmark
9761 \family default
9762  y 
9763 \family typewriter
9764
9765 \backslash
9766 altaffiltext
9767 \family default
9768 , que resaltarán como luciérnagas en la noche en la plantilla recién abierta.
9769  Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9770 , (antes
9771  conocido por ERT, 
9772 \emph on
9773 Evil Red Text
9774 \emph default
9775 ).
9776  He intentado reducir la cantidad de código \SpecialChar TeX
9777  necesario en documentos AAS\SpecialChar TeX
9778 ,
9779  pero aún queda más del que quisiéramos.
9780 \end_layout
9781
9782 \begin_layout Subsection
9783 Finalizar el artículo
9784 \end_layout
9785
9786 \begin_layout Standard
9787 Cuando has acabado satisfactoriamente el artículo, y se puede ver/imprimir
9788  correctamente, quedan pendientes algunas acciones de 
9789 \begin_inset Quotes cld
9790 \end_inset
9791
9792 posprocesamiento
9793 \begin_inset Quotes crd
9794 \end_inset
9795
9796  antes de remitir el trabajo.
9797 \end_layout
9798
9799 \begin_layout Enumerate
9800 Exporta el documento a archivo \SpecialChar LaTeX
9801  (
9802 \family sans
9803 Archivo\SpecialChar menuseparator
9804 Exportar\SpecialChar menuseparator
9805 LaTeX
9806 \family default
9807  (
9808 \family sans
9809 simple
9810 \family default
9811 )).
9812  
9813 \end_layout
9814
9815 \begin_layout Enumerate
9816 Edita el archivo resultante 
9817 \family typewriter
9818 .tex
9819 \family default
9820  con tu editor de textos favorito.
9821 \end_layout
9822
9823 \begin_deeper
9824 \begin_layout Enumerate
9825 quita las líneas de comentario antes del comando 
9826 \family typewriter
9827
9828 \backslash
9829 documentclass.
9830 \end_layout
9831
9832 \begin_layout Enumerate
9833 quita la línea 
9834 \family typewriter
9835
9836 \backslash
9837 usepackage...{fontenc}
9838 \family default
9839  si está (generalmente justo detrás de 
9840 \family typewriter
9841
9842 \backslash
9843 documentclass
9844 \family default
9845 }; quita también la línea 
9846 \family typewriter
9847
9848 \backslash
9849 secnumdepth
9850 \family default
9851 , si está.
9852 \end_layout
9853
9854 \begin_layout Enumerate
9855 quita todo entre los comandos 
9856 \family typewriter
9857
9858 \backslash
9859 makeatletter
9860 \family default
9861  y 
9862 \family typewriter
9863
9864 \backslash
9865 makeatother
9866 \family default
9867 , ambos incluidos, excepto comandos que hayas puesto específicamente en
9868  el preámbulo (que deberían aparecer inmediatamente después del comentario
9869  
9870 \begin_inset Quotes cld
9871 \end_inset
9872
9873 User specified \SpecialChar LaTeX
9874  commands
9875 \begin_inset Quotes crd
9876 \end_inset
9877
9878  en el archivo 
9879 \family typewriter
9880 .tex
9881 \family default
9882 ).
9883 \end_layout
9884
9885 \end_deeper
9886 \begin_layout Enumerate
9887 Ejecuta el archivo resultante con \SpecialChar LaTeX
9888  para asegurar que se procesa correctamente.
9889 \end_layout
9890
9891 \begin_layout Enumerate
9892 Relee los requerimientos del editor para comprobar que los nombres de los
9893  archivos y los formatos son correctos.
9894 \end_layout
9895
9896 \begin_layout Enumerate
9897 Remítelo.
9898 \end_layout
9899
9900 \begin_layout Subsection
9901 Comentarios sobre comandos específicos
9902 \end_layout
9903
9904 \begin_layout Standard
9905 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
9906 :
9907  la Guía del Usuario de AAS\SpecialChar TeX
9908  (
9909 \family typewriter
9910 aasguide.tex
9911 \family default
9912 ) da una buena descripción de ellos.
9913  Así que lo más fácil para mí es dar la lista tal como aparece en la guía
9914  y hacer comentarios donde proceda.
9915  Comencemos\SpecialChar ldots
9916
9917 \end_layout
9918
9919 \begin_layout Subsubsection
9920 Cosas que funcionan como es de esperar
9921 \end_layout
9922
9923 \begin_layout Standard
9924 Puesto que funcionan como es de esperar, solo las enumero con la sección
9925  donde se encuentran: 
9926 \family typewriter
9927
9928 \backslash
9929 documentclass
9930 \family default
9931  (2.1.1), 
9932 \family typewriter
9933
9934 \backslash
9935 begin{document}
9936 \family default
9937  (2.2), 
9938 \family typewriter
9939
9940 \backslash
9941 title
9942 \family default
9943  (2.3), 
9944 \family typewriter
9945
9946 \backslash
9947 author
9948 \family default
9949  (2.3), 
9950 \family typewriter
9951
9952 \backslash
9953 affil
9954 \family default
9955  (2.3), 
9956 \family typewriter
9957
9958 \backslash
9959 abstract
9960 \family default
9961  (2.4), 
9962 \family typewriter
9963
9964 \backslash
9965 keywords
9966 \family default
9967  (2.5), 
9968 \family typewriter
9969
9970 \backslash
9971 section
9972 \family default
9973  (2.7), 
9974 \family typewriter
9975
9976 \backslash
9977 subsection
9978 \family default
9979  (2.7), 
9980 \family typewriter
9981
9982 \backslash
9983 subsubsection
9984 \family default
9985  (2.7), 
9986 \family typewriter
9987
9988 \backslash
9989 paragraph
9990 \family default
9991  (2.7), 
9992 \family typewriter
9993
9994 \backslash
9995 facility
9996 \family default
9997  (2.10), 
9998 \family typewriter
9999
10000 \backslash
10001 begin{displaymath}
10002 \family default
10003  (2.12), 
10004 \family typewriter
10005
10006 \backslash
10007 begin{equation}
10008 \family default
10009  (2.12), 
10010 \family typewriter
10011
10012 \backslash
10013 begin{eqnarray}
10014 \family default
10015  (2.12), 
10016 \family typewriter
10017
10018 \backslash
10019 begin{mathletters}
10020 \family default
10021  (2.12), 
10022 \family typewriter
10023
10024 \backslash
10025 begin{thebibliography}
10026 \family default
10027  (2.13.1), 
10028 \family typewriter
10029
10030 \backslash
10031 bibitem
10032 \family default
10033  (2.13.2), todos los comandos de citas y sus variantes (2.13.2), los comandos
10034  genéricos de figuras, 
10035 \family sans
10036 graphicx
10037 \family default
10038  (2.14.1), 
10039 \family typewriter
10040
10041 \backslash
10042 begin{table}
10043 \family default
10044  (2.15.4), 
10045 \family typewriter
10046
10047 \backslash
10048 begin{tabular}
10049 \family default
10050  (2.15.4), 
10051 \family typewriter
10052
10053 \backslash
10054 caption
10055 \family default
10056  (2.15.4), 
10057 \family typewriter
10058
10059 \backslash
10060 label
10061 \family default
10062  (2.15.4, entre otros sitios), 
10063 \family typewriter
10064
10065 \backslash
10066 tablerefs
10067 \family default
10068  (2.15.5), 
10069 \family typewriter
10070
10071 \backslash
10072 tablecomments
10073 \family default
10074  (2.15.5), 
10075 \family typewriter
10076
10077 \backslash
10078 url
10079 \family default
10080  (2.17.4), 
10081 \family typewriter
10082
10083 \backslash
10084 end{document}
10085 \family default
10086  (2.18).
10087 \end_layout
10088
10089 \begin_layout Standard
10090 Las siguientes opciones de estilo también funcionan: 
10091 \family typewriter
10092 longabstract
10093 \family default
10094  (2.4), 
10095 \family typewriter
10096 preprint
10097 \family default
10098  (3.2.1), 
10099 \family typewriter
10100 preprint2
10101 \family default
10102  (3.2.2), 
10103 \family typewriter
10104 eqsecnum
10105 \family default
10106  (3.3), 
10107 \family typewriter
10108 flushrt
10109 \family default
10110  (3.4).
10111  Simplemente pónlos en el cuadro de 
10112 \family sans
10113 Opciones
10114 \family default
10115  de 
10116 \family sans
10117 Documento
10118 \family default
10119 \SpecialChar menuseparator
10120
10121 \family sans
10122 Configuración
10123 \family default
10124 .
10125 \end_layout
10126
10127 \begin_layout Subsubsection
10128 Cosas que funcionan, pero\SpecialChar ldots
10129
10130 \end_layout
10131
10132 \begin_layout Standard
10133 Las siguientes opciones funcionan, pero requieren algunas aclaraciones:
10134 \end_layout
10135
10136 \begin_layout Itemize
10137 Las siguientes se reservan para los editores, pero puedes ponerlas en el
10138  preámbulo \SpecialChar LaTeX
10139  si fuera preciso: 
10140 \family typewriter
10141
10142 \backslash
10143 received
10144 \family default
10145
10146 \family typewriter
10147
10148 \backslash
10149 revised
10150 \family default
10151
10152 \family typewriter
10153
10154 \backslash
10155 accepted
10156 \family default
10157
10158 \family typewriter
10159
10160 \backslash
10161 ccc
10162 \family default
10163
10164 \family typewriter
10165
10166 \backslash
10167 cpright
10168 \family default
10169  (todas desde 2.1.3)
10170 \end_layout
10171
10172 \begin_layout Itemize
10173 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
10174 , y se incluyen en blanco
10175  en la plantilla: 
10176 \family typewriter
10177
10178 \backslash
10179 slugcomment
10180 \family default
10181  (2.1.4), 
10182 \family typewriter
10183
10184 \backslash
10185 shorttitle
10186 \family default
10187  (2.1.5), 
10188 \family typewriter
10189
10190 \backslash
10191 shortauthors
10192 \family default
10193  (2.1.5)
10194 \end_layout
10195
10196 \begin_layout Itemize
10197
10198 \family typewriter
10199
10200 \backslash
10201 email
10202 \family default
10203  (2.3) solo se puede poner separado, no en mitad de un párrafo.
10204  Usa código \SpecialChar TeX
10205  si necesitas empotrarlo.
10206 \end_layout
10207
10208 \begin_layout Itemize
10209
10210 \family typewriter
10211
10212 \backslash
10213 and
10214 \family default
10215  (2.3) tendrá {} extra tras él.
10216  Esto no debería producir error.
10217 \end_layout
10218
10219 \begin_layout Itemize
10220
10221 \family typewriter
10222
10223 \backslash
10224 notetoeditor
10225 \family default
10226  (2.6) solo se puede poner separado, no en mitad de un párrafo.
10227  Usa código \SpecialChar TeX
10228  si necesitas empotrarlo.
10229 \end_layout
10230
10231 \begin_layout Itemize
10232
10233 \family typewriter
10234
10235 \backslash
10236 placetable
10237 \family default
10238  (2.8) no puede insertar etiquetas de referencias cruzadas, hay que introducirlo
10239  a mano.
10240 \end_layout
10241
10242 \begin_layout Itemize
10243
10244 \family typewriter
10245
10246 \backslash
10247 placefigure
10248 \family default
10249  (2.8) igual que para 
10250 \family typewriter
10251
10252 \backslash
10253 placetable
10254 \end_layout
10255
10256 \begin_layout Itemize
10257
10258 \family typewriter
10259
10260 \backslash
10261 acknowledgements
10262 \family default
10263  (2.9) tendrá {} extra tras él.
10264  Esto no debería producir error.
10265 \end_layout
10266
10267 \begin_layout Itemize
10268
10269 \family typewriter
10270
10271 \backslash
10272 appendix
10273 \family default
10274  (2.11) tendrá {} extra tras él.
10275  Esto no debería producir error.
10276 \end_layout
10277
10278 \begin_layout Itemize
10279
10280 \family typewriter
10281
10282 \backslash
10283 figcaption
10284 \family default
10285  (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor
10286  al inicio del texto y seleccionando 
10287 \family sans
10288 Insertar\SpecialChar menuseparator
10289 Título breve
10290 \family default
10291 .
10292  
10293 \begin_inset Quotes cld
10294 \end_inset
10295
10296 Título breve
10297 \begin_inset Quotes crd
10298 \end_inset
10299
10300  inserta un argumento opcional del tipo necesitado por 
10301 \family typewriter
10302
10303 \backslash
10304 figcaption
10305 \family default
10306 .
10307  Debería ser renombrado algún día.
10308  
10309 \end_layout
10310
10311 \begin_layout Itemize
10312
10313 \family typewriter
10314
10315 \backslash
10316 objectname
10317 \family default
10318  (2.17.1) lo mismo que en
10319 \family typewriter
10320  
10321 \backslash
10322 figcaption
10323 \family default
10324  para el parámetro opcional de catálogo ID.
10325 \end_layout
10326
10327 \begin_layout Itemize
10328
10329 \family typewriter
10330
10331 \backslash
10332 dataset
10333 \family default
10334  (2.17.1) lo mismo que en
10335 \family typewriter
10336  
10337 \backslash
10338 figcaption
10339 \family default
10340  para el parámetro opcional de catálogo ID.
10341 \end_layout
10342
10343 \begin_layout Subsubsection
10344 Cosas no implementadas, código \SpecialChar TeX
10345  necesario
10346 \end_layout
10347
10348 \begin_layout Standard
10349
10350 \family typewriter
10351
10352 \backslash
10353 altaffilmark
10354 \family default
10355  (2.3), 
10356 \family typewriter
10357
10358 \backslash
10359 altaffiltext
10360 \family default
10361  (2.3), 
10362 \family typewriter
10363
10364 \backslash
10365 eqnum
10366 \family default
10367  (2.12), 
10368 \family typewriter
10369
10370 \backslash
10371 setcounter{equation}
10372 \family default
10373  (2.12), Journal abreviaciones (2.13.4), 
10374 \family typewriter
10375
10376 \backslash
10377 figurenum
10378 \family default
10379  (2.14.1), 
10380 \family typewriter
10381
10382 \backslash
10383 epsscale
10384 \family default
10385  (2.14.1), 
10386 \family typewriter
10387
10388 \backslash
10389 plotone
10390 \family default
10391  (2.14.1), 
10392 \family typewriter
10393
10394 \backslash
10395 plottwo
10396 \family default
10397  (2.14.1), 
10398 \family typewriter
10399
10400 \backslash
10401 tablenum
10402 \family default
10403  (2.15.4), 
10404 \family typewriter
10405
10406 \backslash
10407 tableline
10408 \family default
10409  (2.15.4, insertar como primer elemento en la celda izquierda y después donde
10410  se quiera.
10411  No uses ninguna regla de \SpecialChar LyX
10412  en el cuadro), 
10413 \family typewriter
10414
10415 \backslash
10416 tablenotemark
10417 \family default
10418  (2.15.5), 
10419 \family typewriter
10420
10421 \backslash
10422 tablenotetext
10423 \family default
10424  (2.15.5), mucho de Misc (2.17, excepto 
10425 \family typewriter
10426
10427 \backslash
10428 objectname
10429 \family default
10430
10431 \family typewriter
10432
10433 \backslash
10434 dataset
10435 \family default
10436
10437 \family typewriter
10438
10439 \backslash
10440 url
10441 \family default
10442 , y 
10443 \family typewriter
10444
10445 \backslash
10446 email
10447 \family default
10448 ; véase arriba), 
10449 \family typewriter
10450
10451 \backslash
10452 singlespace
10453 \family default
10454  (3.1), 
10455 \family typewriter
10456
10457 \backslash
10458 doublespace
10459 \family default
10460  (3.1), 
10461 \family typewriter
10462
10463 \backslash
10464 onecolumn
10465 \family default
10466  (3.2), 
10467 \family typewriter
10468
10469 \backslash
10470 twocolumn
10471 \family default
10472  (3.2)
10473 \end_layout
10474
10475 \begin_layout Subsubsection
10476 Cosas que no pueden implementarse
10477 \end_layout
10478
10479 \begin_layout Standard
10480 \SpecialChar ldots
10481  al menos de forma significativa, así que sugiero ignorarlas.
10482  Están los entornos 
10483 \family sans
10484 references
10485 \family default
10486  (2.13.3) y 
10487 \family sans
10488 deluxetable
10489 \family default
10490  (2.15).
10491  Si de verdad necesitas usar 
10492 \family sans
10493 deluxetable
10494 \family default
10495 , sugiero editar un archivo aparte con un editor de textos, y luego incluirlo
10496  en el documento \SpecialChar LyX
10497  con 
10498 \family sans
10499 Insertar\SpecialChar menuseparator
10500 Documento
10501 \family default
10502
10503 \begin_inset space ~
10504 \end_inset
10505
10506
10507 \family sans
10508 hijo
10509 \family default
10510 .
10511  Véase el archivo 
10512 \family typewriter
10513 aas_sample.lyx
10514 \family default
10515  como ejemplo.
10516 \end_layout
10517
10518 \begin_layout Subsection
10519 FAQs, consejos, trucos, y otras reflexiones
10520 \end_layout
10521
10522 \begin_layout Subsubsection
10523 Conseguir que \SpecialChar LyX
10524  y AAS\SpecialChar TeX
10525  cooperen
10526 \end_layout
10527
10528 \begin_layout Standard
10529 Puede ser un poco complicado hacer que \SpecialChar LyX
10530  reconozca un nuevo formato y una
10531  nueva clase.
10532  Si todo lo demás falla, haz lo siguiente:
10533 \end_layout
10534
10535 \begin_layout Enumerate
10536 Comprueba que \SpecialChar LaTeX
10537  encuentra a AAS\SpecialChar TeX
10538 .
10539  Copia 
10540 \family typewriter
10541 sample.tex
10542 \family default
10543  (y quizá 
10544 \family typewriter
10545 table.tex
10546 \family default
10547 ) de la distribución de AAS\SpecialChar TeX
10548  en un directorio totalmente independiente de
10549  \SpecialChar LaTeX
10550  y
10551 \family typewriter
10552  de
10553 \family default
10554  AAS\SpecialChar TeX
10555  y ejecuta \SpecialChar LaTeX
10556  sobre 
10557 \family typewriter
10558 sample.tex
10559 \family default
10560 .
10561 \end_layout
10562
10563 \begin_layout Enumerate
10564 Comprueba que 
10565 \family typewriter
10566 aastex.layout
10567 \family default
10568  está en 
10569 \family typewriter
10570 /usr/.../share/lyx/layouts
10571 \family default
10572  o en 
10573 \family typewriter
10574 ~/.lyx/layouts
10575 \family default
10576 .
10577 \end_layout
10578
10579 \begin_layout Enumerate
10580 Ejecuta 
10581 \family sans
10582 Herramientas\SpecialChar menuseparator
10583 Reconfigurar
10584 \family default
10585  en \SpecialChar LyX
10586 , y reinicia \SpecialChar LyX
10587 .
10588 \end_layout
10589
10590 \begin_layout Enumerate
10591 Abre un archivo nuevo normal, no desde plantilla.
10592  ¿Aparece AAS\SpecialChar TeX
10593  en la lista desplegable de clases en 
10594 \family sans
10595 Documento\SpecialChar menuseparator
10596 Configuración
10597 \family default
10598 ?
10599 \end_layout
10600
10601 \begin_layout Standard
10602 Si al abrir un documento AAS\SpecialChar TeX
10603  recibes un aviso de que no se encuentra la
10604  clase AAS\SpecialChar TeX
10605 , o un mensaje como 
10606 \begin_inset Quotes cld
10607 \end_inset
10608
10609 You should not mix title layouts with normal ones
10610 \begin_inset Quotes crd
10611 \end_inset
10612
10613 , la instalación no ha sido correcta.
10614 \end_layout
10615
10616 \begin_layout Subsubsection
10617 Error de \SpecialChar LaTeX
10618  al procesar un cuadro
10619 \end_layout
10620
10621 \begin_layout Standard
10622 \SpecialChar LyX
10623 , por omisión, intenta centrar el encabezado/título del cuadro.
10624  Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10625 ; entonces debes hacer
10626  clic en algún sitio del encabezado/título, después abrir la 
10627 \family sans
10628 Configuración
10629 \family default
10630
10631 \begin_inset space ~
10632 \end_inset
10633
10634
10635 \family sans
10636 del
10637 \family default
10638
10639 \begin_inset space ~
10640 \end_inset
10641
10642
10643 \family sans
10644 párrafo
10645 \family default
10646 , y elegir 
10647 \family sans
10648 Alineación
10649 \family default
10650 :
10651 \family sans
10652  Centro
10653 \family default
10654 .
10655  En mi caso, esto ha resuelto el problema.
10656 \end_layout
10657
10658 \begin_layout Subsubsection
10659 Referencias
10660 \end_layout
10661
10662 \begin_layout Standard
10663 Un par de cosas: 1) He observado algunos espacios raros en las entradas
10664  de la bibliografía.
10665  Cuando introduzcas los datos de los ítems de la bibliografía, cuida que
10666  
10667 \emph on
10668 no
10669 \emph default
10670  haya espacio entre el último autor y el paréntesis que contiene el año;
10671  p.
10672 \begin_inset space \thinspace{}
10673 \end_inset
10674
10675 ej., escribe 
10676 \family typewriter
10677 Ressler(1992)
10678 \family default
10679 , no 
10680 \family typewriter
10681 Ressler (1992)
10682 \family default
10683 .
10684  2) Introducir las referencias no es nada obvio.
10685  La cosa más fácil es empezar escribiendo tu primera cita al final del documento
10686 , y después marcarla como 
10687 \family sans
10688 Referencia
10689 \family default
10690 .
10691  Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10692  Clic en el recuadro para rellenar el resto de la información.
10693  Para nuevas referencias, ve al final de una referencia existente y pulsa
10694  
10695 \family typewriter
10696 Return
10697 \family default
10698 .
10699  Esto creará una línea nueva con su propio recuadro, etc.
10700 \end_layout
10701
10702 \begin_layout Subsubsection
10703 Incluir archivos EPS
10704 \end_layout
10705
10706 \begin_layout Standard
10707 Aunque AAS\SpecialChar TeX
10708  provee sus propios comandos de gráficos (
10709 \family typewriter
10710
10711 \backslash
10712 plotone
10713 \family default
10714 , por ejemplo), prefiero los comandos estándar de \SpecialChar LaTeX
10715  (con el predeterminado
10716  
10717 \family typewriter
10718 graphicx
10719 \family default
10720 ).
10721  Puedes insertar los comandos 
10722 \family typewriter
10723
10724 \backslash
10725 plotone
10726 \family default
10727 , etc.
10728 \begin_inset space ~
10729 \end_inset
10730
10731 como código \SpecialChar TeX
10732  en una Figura Flotante si lo deseas, pero yo nunca he tenido
10733  la suerte de conseguir un formato correcto.
10734  Con los gráficos estándar, \SpecialChar LyX
10735  inserta el comando 
10736 \family typewriter
10737
10738 \backslash
10739 usepackage{graphicx}
10740 \family default
10741  en el preámbulo \SpecialChar LaTeX
10742  y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10743 , intercalando
10744  las figuras en el texto.
10745  Recuerdo que ApJ acepta ahora figuras exactamente de esta forma; AJ podría
10746  usar todavía la técnica 
10747 \begin_inset Quotes cld
10748 \end_inset
10749
10750 apilar todo al final
10751 \begin_inset Quotes crd
10752 \end_inset
10753
10754 .
10755 \end_layout
10756
10757 \begin_layout Subsubsection
10758 Cosas que podría haber hecho, y no he hecho
10759 \end_layout
10760
10761 \begin_layout Standard
10762 Podría haber implementado unas pocas cosas 
10763 \begin_inset Quotes cld
10764 \end_inset
10765
10766 bonitas
10767 \begin_inset Quotes crd
10768 \end_inset
10769
10770 , pero decidí no hacerlo.
10771  Por ejemplo, no veía la utilidad en presentar doble espacio entre líneas
10772  en la ventana de \SpecialChar LyX
10773 , aunque lo tenga en la salida impresa.
10774  También decidí no hacer formatos separados para los estilos 
10775 \family typewriter
10776 preprint
10777 \family default
10778  y 
10779 \family typewriter
10780 preprint2
10781 \family default
10782 .
10783  Como supongo que pasas la mayor parte del tiempo en el modo manuscrito
10784  simple, he preferido no comer más espacio de disco con esto.
10785  
10786 \end_layout
10787
10788 \begin_layout Subsection
10789 Advertencia final
10790 \end_layout
10791
10792 \begin_layout Standard
10793 Tu recorrido puede variar.
10794  He escrito artículos publicados por ApJ y AJ en los que el 98
10795 \begin_inset space \thinspace{}
10796 \end_inset
10797
10798 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10799 ; el 2
10800 \begin_inset space \thinspace{}
10801 \end_inset
10802
10803 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
10804  y un poco de limpieza
10805  final.
10806  No he tenido problemas con el procedimiento de envío, y estoy seguro de
10807  que los editores no notaron diferencias.
10808  Así pues, ¡adelante, a publicar!
10809 \end_layout
10810
10811 \begin_layout Section
10812 AMS \SpecialChar LaTeX
10813
10814 \end_layout
10815
10816 \begin_layout Standard
10817 por 
10818 \noun on
10819 David Johnson; 
10820 \noun default
10821 actualizado por 
10822 \noun on
10823 Richard Heck
10824 \end_layout
10825
10826 \begin_layout Standard
10827 \begin_inset VSpace bigskip
10828 \end_inset
10829
10830
10831 \end_layout
10832
10833 \begin_layout Standard
10834 \noindent
10835 Los formatos AMS \SpecialChar LaTeX
10836  están configurados para adaptarse a los estilos recomendados
10837  por la 
10838 \emph on
10839 American Mathematical Society
10840 \emph default
10841  para sus publicaciones.
10842  Estos formatos no están definidos para una revista en particular, pero
10843  se pueden adaptar fácilmente.
10844  En la documentación de AMS (disponible en 
10845 \begin_inset Flex URL
10846 status collapsed
10847
10848 \begin_layout Plain Layout
10849
10850 http://www.ams.org
10851 \end_layout
10852
10853 \end_inset
10854
10855  o 
10856 \begin_inset Flex URL
10857 status collapsed
10858
10859 \begin_layout Plain Layout
10860
10861 ftp://ftp.ams.org/pub/tex/amslatex/
10862 \end_layout
10863
10864 \end_inset
10865
10866 ) encontrarás instrucciones específicas para cada publicación (generalmente
10867  será cuestión de cambiar una simple línea).
10868  Estos formatos son apropiados, y útiles, para cualquier escrito de matemáticas.
10869 \end_layout
10870
10871 \begin_layout Standard
10872 \noindent
10873 Hay dos formatos básicos AMS \SpecialChar LaTeX
10874
10875 \end_layout
10876
10877 \begin_layout Itemize
10878 amsart: formato estándar de artículo AMS
10879 \end_layout
10880
10881 \begin_layout Itemize
10882 amsbook: formato estándar de libro AMS (en realidad, monografía) 
10883 \end_layout
10884
10885 \begin_layout Standard
10886 Los formatos por sí mismos solo contienen el mínimo necesario para usar
10887  las clases AMS.
10888  En particular, no contienen ninguno de los entornos 'teorema' utilizados
10889  para establecer teoremas, lemas y demás.
10890  Estos se encuentran, en cambio, en el módulo 
10891 \begin_inset Flex Code
10892 status collapsed
10893
10894 \begin_layout Plain Layout
10895 Teoremas (AMS)
10896 \end_layout
10897
10898 \end_inset
10899
10900 , que se carga por omisión cuando seleccionas una de las clases AMS.
10901  (Además se puede usar con otras clases y se puede quitar, si prefieres
10902  usar otra cosa).
10903  Hay entornos menos utilizados en el módulo 
10904 \begin_inset Flex Code
10905 status collapsed
10906
10907 \begin_layout Plain Layout
10908 Teoremas (AMS-Extendido)
10909 \end_layout
10910
10911 \end_inset
10912
10913 , que se debe cargar a mano.
10914 \end_layout
10915
10916 \begin_layout Standard
10917 Por omisión, los teoremas y demás se numeran consecutivamente a lo largo
10918  del documento, pero esto se puede modificar cargando el módulo 
10919 \begin_inset Flex Code
10920 status collapsed
10921
10922 \begin_layout Plain Layout
10923 Teoremas (por secciones)
10924 \end_layout
10925
10926 \end_inset
10927
10928  o, si estás usando 
10929 \begin_inset Flex Code
10930 status collapsed
10931
10932 \begin_layout Plain Layout
10933 book (AMS)
10934 \end_layout
10935
10936 \end_inset
10937
10938 , el módulo 
10939 \begin_inset Flex Code
10940 status collapsed
10941
10942 \begin_layout Plain Layout
10943 Teoremas (por capítulos)
10944 \end_layout
10945
10946 \end_inset
10947
10948 .
10949  Estos numerarán los resultados como 
10950 \begin_inset Formula $n.m$
10951 \end_inset
10952
10953 , donde el primer número se refiere a la sección (o capítulo) y el segundo
10954  al número total de resultados hasta ese momento en la sección (o capítulo).
10955  Muchos entornos también están disponibles sin numeración.
10956  Estos se indican mediante un asterisco al final.
10957  Si es el caso que quieres 
10958 \emph on
10959 solo
10960 \emph default
10961  resultados sin numerar, el módulo 
10962 \begin_inset Flex Code
10963 status collapsed
10964
10965 \begin_layout Plain Layout
10966 Teoremas (asterisco)
10967 \end_layout
10968
10969 \end_inset
10970
10971  proporciona esta opción.
10972 \end_layout
10973
10974 \begin_layout Standard
10975 Hay que tener en cuenta que estos módulos no
10976 \emph on
10977  deben 
10978 \emph default
10979 utilizarse con las clases AMS.
10980  Es perfectamente posible usar el módulo 
10981 \begin_inset Flex Code
10982 status collapsed
10983
10984 \begin_layout Plain Layout
10985 Teoremas (AMS)
10986 \end_layout
10987
10988 \end_inset
10989
10990  y los otros mencionados con otras clases, como 
10991 \begin_inset Flex Code
10992 status collapsed
10993
10994 \begin_layout Plain Layout
10995 article
10996 \end_layout
10997
10998 \end_inset
10999
11000
11001 \begin_inset Flex Code
11002 status collapsed
11003
11004 \begin_layout Plain Layout
11005 report
11006 \end_layout
11007
11008 \end_inset
11009
11010
11011 \begin_inset Flex Code
11012 status collapsed
11013
11014 \begin_layout Plain Layout
11015 book (KOMA-script)
11016 \end_layout
11017
11018 \end_inset
11019
11020 , etc.
11021 \end_layout
11022
11023 \begin_layout Subsection
11024 Qué proporcionan estos formatos
11025 \end_layout
11026
11027 \begin_layout Standard
11028 Estos formatos proporcionan una larga lista de entornos incluidos.
11029  En AMS-\SpecialChar LaTeX
11030  se puede definir, de hecho, una variedad ilimitada de entornos
11031  'teorema'.
11032  Sin embargo AMS recomienda utilizar los entornos que están disponibles
11033  en \SpecialChar LyX
11034 .
11035  
11036 \end_layout
11037
11038 \begin_layout Standard
11039 Los siguientes entornos —así como los entornos estándar como 
11040 \begin_inset Flex Noun
11041 status collapsed
11042
11043 \begin_layout Plain Layout
11044 sección
11045 \end_layout
11046
11047 \end_inset
11048
11049
11050 \begin_inset Flex Noun
11051 status collapsed
11052
11053 \begin_layout Plain Layout
11054 bibliografía
11055 \end_layout
11056
11057 \end_inset
11058
11059
11060 \begin_inset Flex Noun
11061 status collapsed
11062
11063 \begin_layout Plain Layout
11064 título
11065 \end_layout
11066
11067 \end_inset
11068
11069
11070 \begin_inset Flex Noun
11071 status collapsed
11072
11073 \begin_layout Plain Layout
11074 autor
11075 \end_layout
11076
11077 \end_inset
11078
11079 , y 
11080 \begin_inset Flex Noun
11081 status collapsed
11082
11083 \begin_layout Plain Layout
11084 Fecha
11085 \end_layout
11086
11087 \end_inset
11088
11089 — son suministrados por 
11090 \begin_inset Flex Code
11091 status collapsed
11092
11093 \begin_layout Plain Layout
11094 article (AMS)
11095 \end_layout
11096
11097 \end_inset
11098
11099  y 
11100 \begin_inset Flex Code
11101 status collapsed
11102
11103 \begin_layout Plain Layout
11104 book (AMS)
11105 \end_layout
11106
11107 \end_inset
11108
11109 :
11110 \end_layout
11111
11112 \begin_layout Description
11113 Dirección Esto debería ser la dirección permanente del autor.
11114 \end_layout
11115
11116 \begin_layout Description
11117 Dirección
11118 \begin_inset space ~
11119 \end_inset
11120
11121 actual Debería ser la dirección provisional del autor en el momento de la
11122  presentación, si es diferente de la Dirección.
11123 \end_layout
11124
11125 \begin_layout Description
11126 Correo
11127 \begin_inset space ~
11128 \end_inset
11129
11130 electrónico Dirección de correo electrónico del autor.
11131 \end_layout
11132
11133 \begin_layout Description
11134 URL Dirección de la página web del autor, si se quiere.
11135 \end_layout
11136
11137 \begin_layout Description
11138 Claves Palabras o frases claves usadas para identificar temas específicos
11139  tratados en el artículo.
11140 \end_layout
11141
11142 \begin_layout Description
11143 ClaseTema Se refiere a la Clasificación de temas de AMS, publicada y descrita
11144  en 
11145 \emph on
11146 Mathematical Reviews
11147 \emph default
11148 .
11149  También están disponibles en línea en los sitios AMS citados arriba.
11150 \end_layout
11151
11152 \begin_layout Description
11153 Agradecimientos
11154 \end_layout
11155
11156 \begin_layout Description
11157 Dedicatoria
11158 \end_layout
11159
11160 \begin_layout Description
11161 Traductor
11162 \end_layout
11163
11164 \begin_layout Standard
11165 Los siguientes entornos son suministrados por ambos módulos 
11166 \begin_inset Flex Code
11167 status collapsed
11168
11169 \begin_layout Plain Layout
11170 Teoremas
11171 \end_layout
11172
11173 \end_inset
11174
11175  y 
11176 \begin_inset Flex Code
11177 status collapsed
11178
11179 \begin_layout Plain Layout
11180 Teoremas (AMS)
11181 \end_layout
11182
11183 \end_inset
11184
11185 , en el segundo caso en ambas versiones no numerada (asterisco) y numerada
11186  (sin asterisco).
11187  Estos mismos entornos son suministrados solo en la versión con asterisco
11188  por el módulo 
11189 \begin_inset Flex Code
11190 status collapsed
11191
11192 \begin_layout Plain Layout
11193 Teoremas (asterisco)
11194 \end_layout
11195
11196 \end_inset
11197
11198 :
11199 \end_layout
11200
11201 \begin_layout Theorem
11202 Se usa típicamente para declaraciones fundamentales.
11203 \end_layout
11204
11205 \begin_layout Corollary*
11206 Se usa para declaraciones que se siguen justa y directamente de declaraciones
11207  previas.
11208  De nuevo, pueden ser resultados fundamentales.
11209  
11210 \end_layout
11211
11212 \begin_layout Lemma
11213 Resultados de menor importancia necesarios para probar otras declaraciones.
11214 \end_layout
11215
11216 \begin_layout Proposition
11217 Son resultados menos importantes que (es de esperar) se añaden a la teoría
11218  general en discusión.
11219 \end_layout
11220
11221 \begin_layout Conjecture
11222 Son afirmaciones propuestas sin justificación, que el autor no sabe como
11223  probar, pero que parecen ser ciertas (al menos para el autor).
11224 \end_layout
11225
11226 \begin_layout Definition*
11227 Adivina para qué es esto.
11228  La letra es distinta en este entorno que en los anteriores.
11229 \end_layout
11230
11231 \begin_layout Example*
11232 Se usa para ejemplos que ilustran resultados probados.
11233 \end_layout
11234
11235 \begin_layout Problem
11236 Realmente no se sabe para qué es esto.
11237  Imagínatelo.
11238 \end_layout
11239
11240 \begin_layout Exercise*
11241 Escribe una descripción para esto.
11242 \end_layout
11243
11244 \begin_layout Remark
11245 Este entorno es también un tipo de teorema, generalmente un tipo menor de
11246  observación.
11247 \end_layout
11248
11249 \begin_layout Claim*
11250 Usada a menudo en el curso de una demostración de un resultado más amplio.
11251 \end_layout
11252
11253 \begin_layout Case
11254 Generalmente se usan para interrumpir argumentos largos, usando casos específico
11255 s de alguna condición.
11256 \end_layout
11257
11258 \begin_layout Case
11259 El esquema de numeración de casos es propio, independiente de otras declaracione
11260 s numeradas.
11261 \end_layout
11262
11263 \begin_layout Proof
11264 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11265  aunque puede variar con estilos diferentes).
11266  Si quieres tener otros entornos dentro de este —por ejemplo, un entorno
11267  Caso— y quieres que el símbolo QED aparezca solo tras ellos, entonces los
11268  demás entornos tienen que anidarse dentro del entorno demostración.
11269  Véase la sección 
11270 \emph on
11271 Anidación de entornos
11272 \emph default
11273  de la 
11274 \emph on
11275 Guía del usuario
11276 \emph default
11277  para información sobre anidación.
11278 \end_layout
11279
11280 \begin_layout Standard
11281 Y estos son los entornos suministrados por 
11282 \begin_inset Flex Code
11283 status collapsed
11284
11285 \begin_layout Plain Layout
11286 Teoremas (AMS extendido)
11287 \end_layout
11288
11289 \end_inset
11290
11291 :
11292 \end_layout
11293
11294 \begin_layout Criterion*
11295 Una condición requerida.
11296 \end_layout
11297
11298 \begin_layout Algorithm*
11299 Un procedimiento general a utilizar.
11300 \end_layout
11301
11302 \begin_layout Axiom*
11303 Esto es una propiedad o declaración tomada como verdadera dentro del sistema
11304  en discusión.
11305 \end_layout
11306
11307 \begin_layout Condition*
11308 Utilizado a veces para establecer una condición asumida en el presente contexto
11309  de discusión.
11310 \end_layout
11311
11312 \begin_layout Note*
11313 Similar a Observación.
11314 \end_layout
11315
11316 \begin_layout Notation*
11317 Usado para la explicación de una notación, sí.
11318 \end_layout
11319
11320 \begin_layout Summary
11321 ¿Necesitamos explicarlo?
11322 \end_layout
11323
11324 \begin_layout Acknowledgement*
11325 Agradecimiento.
11326 \end_layout
11327
11328 \begin_layout Conclusion*
11329 Usado a veces al final de una larga cadena de argumentos.
11330 \end_layout
11331
11332 \begin_layout Fact
11333 Se usa en forma parecida a Proposición, aunque quizá a una menor escala.
11334 \end_layout
11335
11336 \begin_layout Standard
11337 Además, Las clases AMS suministran automáticamente los paquetes de tipografía
11338  AMS \SpecialChar LaTeX
11339  y AMS.
11340  Deben estar disponibles en tu sistema para usar estos entornos.
11341 \end_layout
11342
11343 \begin_layout Section
11344 Publicaciones de AGU (
11345 \family sans
11346 aguplus
11347 \family default
11348 )
11349 \end_layout
11350
11351 \begin_layout Standard
11352 por 
11353 \shape smallcaps
11354 Martin Vermeer
11355 \end_layout
11356
11357 \begin_layout Subsection
11358 Descripción
11359 \end_layout
11360
11361 \begin_layout Standard
11362 Son los archivos de formato para algunas de las publicaciones de la 
11363 \emph on
11364 American Geophysical Society
11365 \emph default
11366 .
11367  Se supone que tienes instalados los archivos de clase propios de AGU y
11368  AGUplus (todo se encuentra en 
11369 \begin_inset Flex URL
11370 status collapsed
11371
11372 \begin_layout Plain Layout
11373
11374 http://publications.agu.org/files/2013/08/AGU-LaTeX.zip
11375 \end_layout
11376
11377 \end_inset
11378
11379 ).
11380 \end_layout
11381
11382 \begin_layout Subsection
11383 Estilos nuevos
11384 \end_layout
11385
11386 \begin_layout Standard
11387 Se han redefinido 
11388 \family sans
11389 Paragraph
11390 \family default
11391  y 
11392 \family sans
11393 Paragraph*
11394 \family default
11395 .
11396  Aún se llaman así en la interfaz de \SpecialChar LyX
11397 , aunque sus equivalentes \SpecialChar LaTeX
11398  en las clases
11399  AGU son 
11400 \family sans
11401 Subsubsubsection
11402 \family default
11403  y 
11404 \family sans
11405 Subsubsubsection*
11406 \family default
11407 .
11408 \end_layout
11409
11410 \begin_layout Standard
11411 Los estilos definidos de nuevo son 
11412 \family sans
11413 Left_Header
11414 \family default
11415
11416 \family sans
11417 Right_Header
11418 \family default
11419
11420 \family sans
11421 Received
11422 \family default
11423
11424 \family sans
11425 Revised
11426 \family default
11427
11428 \family sans
11429 Accepted
11430 \family default
11431
11432 \family sans
11433 CCC
11434 \family default
11435
11436 \family sans
11437 PaperId
11438 \family default
11439
11440 \family sans
11441 AuthorAddr
11442 \family default
11443
11444 \family sans
11445 SlugComment
11446 \family default
11447 .
11448  En su mayoría son atributos del manuscrito definidos en la documentación
11449  de la clase AGU.
11450 \end_layout
11451
11452 \begin_layout Standard
11453 Sospecho que esto aún está incompleto.
11454 \end_layout
11455
11456 \begin_layout Subsection
11457 Flotantes nuevos
11458 \end_layout
11459
11460 \begin_layout Standard
11461
11462 \family sans
11463 Planotable
11464 \family default
11465  y 
11466 \family sans
11467 Plate
11468 \family default
11469 .
11470  También tenemos un nuevo 
11471 \family sans
11472 Table_Caption
11473 \family default
11474 .
11475 \end_layout
11476
11477 \begin_layout Subsection
11478 Publicaciones soportadas
11479 \end_layout
11480
11481 \begin_layout Itemize
11482
11483 \emph on
11484 Journal of Geophysical Research
11485 \emph default
11486
11487 \family typewriter
11488 jgrga.layout
11489 \family default
11490  — Martin Vermeer
11491 \end_layout
11492
11493 \begin_layout Standard
11494 ¡Añade los tuyos, no es tan duro! Mira en los ejemplos 
11495 \family typewriter
11496 jgrga.layout
11497 \family default
11498  y 
11499 \family typewriter
11500 aguplus.inc
11501 \family default
11502 .
11503 \end_layout
11504
11505 \begin_layout Subsection
11506 Fallos y cosas que recordar
11507 \end_layout
11508
11509 \begin_layout Standard
11510 Para usar los nuevos formatos, debes tener en cuenta lo siguiente:
11511 \end_layout
11512
11513 \begin_layout Enumerate
11514
11515 \emph on
11516 Desactiva babel
11517 \emph default
11518 .
11519  Esto se hace en 
11520 \family sans
11521 Herramientas\SpecialChar menuseparator
11522 Preferencias\SpecialChar menuseparator
11523 Idioma
11524 \family default
11525 .
11526  (Los artículos AGU siempre son en inglés ¿de acuerdo? Así que 
11527 \emph on
11528 no 
11529 \emph default
11530 cambies el lenguaje).
11531 \end_layout
11532
11533 \begin_layout Enumerate
11534 Introduce 
11535 \family typewriter
11536 jgrga
11537 \family default
11538  en el campo 
11539 \family sans
11540 Opciones 
11541 \family default
11542 de la configuración del documento.
11543  (Sí, hay un fallo).
11544 \end_layout
11545
11546 \begin_layout Enumerate
11547 Comprueba que usas el estilo de bibliografía 
11548 \family typewriter
11549 agu.bst
11550 \family default
11551 , introduciendo 
11552 \family sans
11553 agu
11554 \family default
11555  en el segundo campo de Bib\SpecialChar TeX
11556 .
11557  Ninguno de los estilos estándar lo hace.
11558 \end_layout
11559
11560 \begin_layout Section
11561 Broadway
11562 \end_layout
11563
11564 \begin_layout Standard
11565 por 
11566 \shape smallcaps
11567 Garst Reese
11568 \end_layout
11569
11570 \begin_layout Subsection
11571 Introducción
11572 \end_layout
11573
11574 \begin_layout Standard
11575 Broadway se usa para escribir guiones teatrales.
11576  El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11577  Este formato debería ser adecuado para los lugares de trabajo.
11578 \end_layout
11579
11580 \begin_layout Subsection
11581 Problemas especiales
11582 \end_layout
11583
11584 \begin_layout Standard
11585 Los mismos que en el caso de 
11586 \family sans
11587 Hollywood
11588 \family default
11589 .
11590 \end_layout
11591
11592 \begin_layout Subsection
11593 Características especiales
11594 \end_layout
11595
11596 \begin_layout Standard
11597 Introduce los nombres de los personajes 
11598 \family sans
11599 (Portavoz)
11600 \family default
11601  como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11602  el nombre.
11603  El diálogo de referencia cruzada mostrará el conjunto de personajes.
11604 \end_layout
11605
11606 \begin_layout Subsection
11607 Tamaño del papel y márgenes
11608 \end_layout
11609
11610 \begin_layout Standard
11611 USLetter, izquierdo 1.6
11612 \begin_inset space \thinspace{}
11613 \end_inset
11614
11615 in, derecho 0.75
11616 \begin_inset space \thinspace{}
11617 \end_inset
11618
11619 in, superior 0.5
11620 \begin_inset space \thinspace{}
11621 \end_inset
11622
11623 in, inferior 0.75
11624 \begin_inset space \thinspace{}
11625 \end_inset
11626
11627 in
11628 \end_layout
11629
11630 \begin_layout Subsection
11631 Entornos
11632 \end_layout
11633
11634 \begin_layout Standard
11635 Están disponibles los entornos siguientes.
11636  Los atajos de teclado indicados a la derecha funcionan con el archivo
11637 \family typewriter
11638  broadway.bind
11639 \family default
11640 .
11641 \end_layout
11642
11643 \begin_layout Itemize
11644
11645 \family sans
11646 Normal
11647 \begin_inset Newline newline
11648 \end_inset
11649
11650
11651 \family default
11652 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11653  de los demás entornos.
11654 \end_layout
11655
11656 \begin_layout Itemize
11657
11658 \family sans
11659 Narrativa
11660 \begin_inset space \hfill{}
11661 \end_inset
11662
11663 M-z n
11664 \begin_inset Newline newline
11665 \end_inset
11666
11667
11668 \family default
11669 Se usa para la descripción del escenario y de la acción.
11670  La primera aparición de un personaje en MAYÚSCULAS.
11671 \end_layout
11672
11673 \begin_layout Itemize
11674
11675 \family sans
11676 ACTO
11677 \begin_inset space \hfill{}
11678 \end_inset
11679
11680 M-z a
11681 \begin_inset Newline newline
11682 \end_inset
11683
11684
11685 \family default
11686 Automáticamente numerado.
11687  En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11688 \end_layout
11689
11690 \begin_layout Itemize
11691
11692 \family sans
11693 ACTO*
11694 \begin_inset space \hfill{}
11695 \end_inset
11696
11697 M-z S at
11698 \begin_inset Newline newline
11699 \end_inset
11700
11701
11702 \family default
11703 Subtítulo para 
11704 \family sans
11705 ACTO.
11706
11707 \family default
11708  Es texto centrado.
11709 \end_layout
11710
11711 \begin_layout Itemize
11712
11713 \family sans
11714 ESCENA
11715 \begin_inset space \hfill{}
11716 \end_inset
11717
11718 M-z S-S
11719 \begin_inset Newline newline
11720 \end_inset
11721
11722
11723 \family default
11724 No es automáticamente numerado, debes ponerlo.
11725  Esto es porque no he sabido cómo hacerlo.
11726 \end_layout
11727
11728 \begin_layout Itemize
11729
11730 \family sans
11731 SUBIR_TELÓN:
11732 \begin_inset space \hfill{}
11733 \end_inset
11734
11735 M-z S-R
11736 \begin_inset Newline newline
11737 \end_inset
11738
11739
11740 \family default
11741 Un caso especial de 
11742 \family sans
11743 Narrativa
11744 \family default
11745  para describir el escenario y la acción cuando se levanta el telón.
11746 \end_layout
11747
11748 \begin_layout Itemize
11749
11750 \family sans
11751 Portavoz
11752 \begin_inset space \hfill{}
11753 \end_inset
11754
11755 M-z s
11756 \begin_inset Newline newline
11757 \end_inset
11758
11759
11760 \family default
11761 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11762 \end_layout
11763
11764 \begin_layout Itemize
11765
11766 \family sans
11767 Entre_Paréntesis
11768 \begin_inset space \hfill{}
11769 \end_inset
11770
11771 M-z p
11772 \begin_inset Newline newline
11773 \end_inset
11774
11775
11776 \family default
11777 Instrucciones para el portavoz.
11778  Los paréntesis se insertan automáticamente.
11779  Solo ( se muestra en pantalla, pero se imprimirán ambos.
11780  Este entorno solo se usa dentro del entorno 
11781 \family sans
11782 Diálogo
11783 \family default
11784 .
11785 \end_layout
11786
11787 \begin_layout Itemize
11788
11789 \family sans
11790 Diálogo
11791 \begin_inset space \hfill{}
11792 \end_inset
11793
11794 M-z d
11795 \begin_inset Newline newline
11796 \end_inset
11797
11798
11799 \family default
11800 Lo que dice el personaje portavoz.
11801 \end_layout
11802
11803 \begin_layout Itemize
11804
11805 \family sans
11806 CORTINA
11807 \begin_inset space \hfill{}
11808 \end_inset
11809
11810 M-z S-C
11811 \begin_inset Newline newline
11812 \end_inset
11813
11814
11815 \family default
11816 Cae el telón.
11817 \end_layout
11818
11819 \begin_layout Itemize
11820
11821 \family sans
11822 Título
11823 \begin_inset space \hfill{}
11824 \end_inset
11825
11826 M-z S-T
11827 \end_layout
11828
11829 \begin_layout Itemize
11830
11831 \family sans
11832 Autor
11833 \begin_inset space \hfill{}
11834 \end_inset
11835
11836 M-z S-A
11837 \end_layout
11838
11839 \begin_layout Itemize
11840
11841 \family sans
11842 Dirección_dcha
11843 \begin_inset space \hfill{}
11844 \end_inset
11845
11846 M-z r
11847 \end_layout
11848
11849 \begin_layout Standard
11850 Un saludo para todos.
11851 \end_layout
11852
11853 \begin_layout Section
11854 Dinbrief
11855 \end_layout
11856
11857 \begin_layout Standard
11858 La clase de documento 
11859 \family sans
11860 dinbrief
11861 \family default
11862  sirve para escribir cartas de acuerdo con las convenciones alemanas.
11863  Se incluye un archivo modelo como punto de partida, en 
11864 \family typewriter
11865 .../lyx/share/templates
11866 \family default
11867 .
11868 \end_layout
11869
11870 \begin_layout Section
11871 Publicaciones de EGS (
11872 \family sans
11873 egs
11874 \family default
11875 )
11876 \end_layout
11877
11878 \begin_layout Standard
11879 por 
11880 \shape smallcaps
11881 Martin Vermeer
11882 \end_layout
11883
11884 \begin_layout Subsection
11885 Descripción
11886 \end_layout
11887
11888 \begin_layout Standard
11889 Este es el formato para las revistas de 
11890 \emph on
11891 European Geophysical Society
11892 \emph default
11893 .
11894  Los archivos 
11895 \family typewriter
11896 egs.cls
11897 \family default
11898  necesarios se pueden descargar del sitio web de EGS: 
11899 \begin_inset Flex URL
11900 status collapsed
11901
11902 \begin_layout Plain Layout
11903
11904 www.copernicus.org
11905 \end_layout
11906
11907 \end_inset
11908
11909 .
11910 \end_layout
11911
11912 \begin_layout Subsection
11913 Estilos nuevos
11914 \end_layout
11915
11916 \begin_layout Standard
11917
11918 \family sans
11919 Dirección_dcha, Título_Latex, Afil, Publicación, NúmeroMS, PrimerAutor,
11920  Recibido, Aceptad
11921 \family default
11922 o, 
11923 \family sans
11924 Compensaciones
11925 \family default
11926 .
11927  Desgraciadamente, el actual archivo de formato es muy poco modular y podría
11928  beneficiarse de la inclusión de varios archivos 
11929 \family typewriter
11930 std*.inc
11931 \family default
11932 .
11933 \end_layout
11934
11935 \begin_layout Section
11936 Publicaciones de Elsevier
11937 \end_layout
11938
11939 \begin_layout Standard
11940 Véase el archivo de plantilla de \SpecialChar LyX
11941  
11942 \family typewriter
11943 elsarticle.lyx
11944 \family default
11945 .
11946  Contiene la información necesaria.
11947 \end_layout
11948
11949 \begin_layout Section
11950 Foils (antes 
11951 \family sans
11952 Foil
11953 \family default
11954 \noun on
11955 \SpecialChar TeX
11956
11957 \noun default
11958 )
11959 \begin_inset CommandInset label
11960 LatexCommand label
11961 name "sec:foiltex"
11962
11963 \end_inset
11964
11965
11966 \end_layout
11967
11968 \begin_layout Standard
11969 por 
11970 \noun on
11971 Allan Rae
11972 \end_layout
11973
11974 \begin_layout Subsection
11975 Introducción
11976 \end_layout
11977
11978 \begin_layout Standard
11979 En esta sección se describe cómo hacer transparencias para proyectores con
11980  \SpecialChar LyX
11981 .
11982  Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11983  
11984 \family sans
11985 slides
11986 \family default
11987 \emph on
11988  
11989 \emph default
11990 y la clase 
11991 \family sans
11992 Foil
11993 \family default
11994 \SpecialChar TeX
11995 .
11996  Esta sección se ocupa de esta última.
11997 \end_layout
11998
11999 \begin_layout Standard
12000 Repito de nuevo alto y claro, para que no haya equívocos:
12001 \end_layout
12002
12003 \begin_layout Standard
12004 \begin_inset VSpace bigskip
12005 \end_inset
12006
12007
12008 \end_layout
12009
12010 \begin_layout Standard
12011 \align center
12012
12013 \size large
12014 Esta sección trata 
12015 \emph on
12016 solo
12017 \emph default
12018
12019 \begin_inset space ~
12020 \end_inset
12021
12022  la clase 
12023 \family sans
12024 FoilTeX
12025 \family default
12026 \emph on
12027 .
12028 \end_layout
12029
12030 \begin_layout Standard
12031 \begin_inset VSpace bigskip
12032 \end_inset
12033
12034
12035 \end_layout
12036
12037 \begin_layout Standard
12038 Si buscas la documentación para 
12039 \family sans
12040 slides (default)
12041 \family default
12042 , mira la sección
12043 \begin_inset space ~
12044 \end_inset
12045
12046
12047 \begin_inset CommandInset ref
12048 LatexCommand ref
12049 reference "sec:slitex"
12050
12051 \end_inset
12052
12053 .
12054  Si tu sistema no dispone de la clase 
12055 \family sans
12056 FoilTeX
12057 \family default
12058 , tendrás que usar la clase 
12059 \family sans
12060 slides
12061 \family default
12062 , que no es tan buena como 
12063 \family sans
12064 foils.
12065 \end_layout
12066
12067 \begin_layout Standard
12068 La clase 
12069 \family sans
12070 foils
12071 \family default
12072  está diseñada para usar con la versión
12073 \begin_inset space ~
12074 \end_inset
12075
12076 2.1 de la clase \SpecialChar LaTeX
12077  
12078 \family sans
12079 foils.cls
12080 \family default
12081 , que forma parte de \SpecialChar LaTeX2e
12082 .
12083 \end_layout
12084
12085 \begin_layout Subsection
12086 Para empezar
12087 \end_layout
12088
12089 \begin_layout Standard
12090 Obviamente, para usar esta clase, debes seleccionar 
12091 \family sans
12092 FoilTeX
12093 \family default
12094  en el diálogo 
12095 \family sans
12096 Documento\SpecialChar menuseparator
12097 Configuración
12098 \family default
12099 .
12100  Algunas de las configuraciones de este diálogo son específicas de esta
12101  clase y deberían quedar así:
12102 \end_layout
12103
12104 \begin_layout Itemize
12105 No cambies las opciones 
12106 \family sans
12107 Caras
12108 \family default
12109  y 
12110 \family sans
12111 Columnas
12112 \family default
12113 .
12114  No se tienen en cuenta por la clase 
12115 \family sans
12116 foils
12117 \family default
12118 .
12119 \end_layout
12120
12121 \begin_layout Itemize
12122 El tamaño de letra por omisión es 20
12123 \begin_inset space \thinspace{}
12124 \end_inset
12125
12126 pt, y las otras opciones son 17
12127 \begin_inset space \thinspace{}
12128 \end_inset
12129
12130 pt, 25
12131 \begin_inset space \thinspace{}
12132 \end_inset
12133
12134 pt y 30
12135 \begin_inset space \thinspace{}
12136 \end_inset
12137
12138 pt.
12139 \end_layout
12140
12141 \begin_layout Itemize
12142 La tipografía predeterminada es 
12143 \family sans
12144 sans
12145 \family default
12146  
12147 \family sans
12148 serif
12149 \family default
12150 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
12151 \end_layout
12152
12153 \begin_layout Itemize
12154
12155 \family sans
12156 Foil
12157 \family default
12158 \SpecialChar TeX
12159  soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
12160  trabajar con diapositivas de 35
12161 \begin_inset space \thinspace{}
12162 \end_inset
12163
12164 mm.
12165  No soporta los tamaños A5, B5, legal o executive.
12166 \end_layout
12167
12168 \begin_layout Itemize
12169 No enredes cambiando la colocación de flotantes porque se ignoran en todo
12170  caso.
12171  Los flotantes aparecen siempre en el lugar del texto donde se pongan.
12172 \end_layout
12173
12174 \begin_layout Itemize
12175 La configuración del 
12176 \family sans
12177 Diseño
12178 \begin_inset space ~
12179 \end_inset
12180
12181 de
12182 \begin_inset space ~
12183 \end_inset
12184
12185 página
12186 \family default
12187  funciona un poco distinto para esta clase.
12188  
12189 \family sans
12190 Foil
12191 \family default
12192 \SpecialChar TeX
12193  proporciona amplias capacidades para el encabezado y el pie, incluyendo
12194  el uso de logos personalizados.
12195  Véase la sección
12196 \begin_inset space ~
12197 \end_inset
12198
12199
12200 \begin_inset CommandInset ref
12201 LatexCommand ref
12202 reference "sec:foilfoot"
12203
12204 \end_inset
12205
12206  para más detalles.
12207  La página de título se trata de manera diferente a las demás páginas, 
12208 \emph on
12209 siempre 
12210 \emph default
12211 va sin numerar y 
12212 \emph on
12213 siempre 
12214 \emph default
12215 pone el logo, (si se define uno), centrado en la parte inferior de la página.
12216  Las opciones posibles de estilo de página son:
12217 \end_layout
12218
12219 \begin_deeper
12220 \begin_layout Labeling
12221 \labelwidthstring MMMMMMM
12222
12223 \family sans
12224 \series bold
12225 empty
12226 \family default
12227 \series default
12228  El documento de salida no contiene números de página, ni encabezados ni
12229  pies (excepto notas al pie, claro).
12230  
12231 \end_layout
12232
12233 \begin_layout Labeling
12234 \labelwidthstring MMMMMMM
12235
12236 \family sans
12237 \series bold
12238 plain
12239 \family default
12240 \series default
12241  La salida contiene números de página centrados en la parte inferior.
12242  No contiene encabezados ni pies (que no sean notas).
12243 \end_layout
12244
12245 \begin_layout Labeling
12246 \labelwidthstring MMMMMMM
12247
12248 \family sans
12249 \series bold
12250 foilheadings
12251 \family default
12252 \series default
12253  Números de página en la esquina inferior derecha.
12254  Además se muestran encabezados y pies.
12255  Esta es la opción por omisión.
12256 \end_layout
12257
12258 \begin_layout Labeling
12259 \labelwidthstring MMMMMMM
12260
12261 \family sans
12262 \series bold
12263 fancy
12264 \family default
12265 \series default
12266  Da acceso al paquete 
12267 \family sans
12268 fancyheadings
12269 \family default
12270  aunque el autor de 
12271 \family sans
12272 Foil
12273 \family default
12274 \SpecialChar TeX
12275  desaconseja su empleo a causa de potenciales conflictos con el diseño de
12276  la página.
12277 \end_layout
12278
12279 \end_deeper
12280 \begin_layout Subsubsection
12281 Opciones extras
12282 \end_layout
12283
12284 \begin_layout Standard
12285 En el diálogo 
12286 \family sans
12287 Documento\SpecialChar menuseparator
12288 Configuración
12289 \family default
12290  se pueden poner las siguientes opciones extras:
12291 \end_layout
12292
12293 \begin_layout Labeling
12294 \labelwidthstring MMMMMMx
12295
12296 \series bold
12297 35mmSlide
12298 \series default
12299  Establece el formato de papel en 7.33
12300 \begin_inset space \thinspace{}
12301 \end_inset
12302
12303 in por 11
12304 \begin_inset space \thinspace{}
12305 \end_inset
12306
12307 in, que es aproximadamente el aspecto de una diapositiva de 35
12308 \begin_inset space \thinspace{}
12309 \end_inset
12310
12311 mm, Haciendo algo más fácil trabajar con este soporte.
12312 \end_layout
12313
12314 \begin_layout Labeling
12315 \labelwidthstring MMMMMMx
12316
12317 \series bold
12318 headrule
12319 \series default
12320  Dibuja una línea bajo el encabezado en cada página excepto la de título.
12321 \end_layout
12322
12323 \begin_layout Labeling
12324 \labelwidthstring MMMMMMx
12325
12326 \series bold
12327 footrule
12328 \series default
12329  Dibuja una línea sobre el pie de cada página excepto la de título.
12330 \end_layout
12331
12332 \begin_layout Labeling
12333 \labelwidthstring MMMMMMx
12334
12335 \series bold
12336 dvips
12337 \series default
12338  Esto se configura automáticamente con cada nuevo documento 
12339 \family sans
12340 foils
12341 \family default
12342 .
12343  Indica a 
12344 \family sans
12345 Foil
12346 \family default
12347 \SpecialChar TeX
12348  que use el driver dvips para girar las páginas establecidas en modo apaisado.
12349 \end_layout
12350
12351 \begin_layout Labeling
12352 \labelwidthstring MMMMMMx
12353
12354 \series bold
12355 landscape
12356 \series default
12357  Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
12358  rotación.
12359  Por tanto si usas esta opción necesitas un programa externo para rotar
12360  las páginas y alimentar la impresora en modo apaisado.
12361  Ten en cuenta que esta opción invierte los comportamientos de los entornos
12362  
12363 \family sans
12364 Foilhead
12365 \family default
12366  y 
12367 \family sans
12368 Rotatefoilhead
12369 \family default
12370  (que se describen en la siguiente sección).
12371 \end_layout
12372
12373 \begin_layout Labeling
12374 \labelwidthstring MMMMMMx
12375
12376 \series bold
12377 leqno
12378 \series default
12379  Números de ecuación a la izquierda.
12380 \end_layout
12381
12382 \begin_layout Labeling
12383 \labelwidthstring MMMMMMx
12384
12385 \series bold
12386 fleqn
12387 \series default
12388  Ecuaciones ajustadas a la izquierda.
12389 \end_layout
12390
12391 \begin_layout Subsection
12392 Entornos soportados
12393 \end_layout
12394
12395 \begin_layout Standard
12396 La mayoría de los entornos habitualmente soportados en otras clases lo son
12397  también por la clase 
12398 \family sans
12399 foils
12400 \family default
12401 .
12402  Hay varios entornos adicionales suministrados por 
12403 \family sans
12404 Foil
12405 \family default
12406 \SpecialChar TeX
12407  así como un par añadidos por \SpecialChar LyX
12408 .
12409  Los entornos siguientes son compartidos con otras clases:
12410 \end_layout
12411
12412 \begin_layout Standard
12413 \begin_inset Flex Multiple Columns
12414 status open
12415
12416 \begin_layout Itemize
12417
12418 \family sans
12419 Normal
12420 \end_layout
12421
12422 \begin_layout Itemize
12423
12424 \family sans
12425 Enumeración*
12426 \end_layout
12427
12428 \begin_layout Itemize
12429
12430 \family sans
12431 Enumeración
12432 \end_layout
12433
12434 \begin_layout Itemize
12435
12436 \family sans
12437 Descripción
12438 \end_layout
12439
12440 \begin_layout Itemize
12441
12442 \family sans
12443 Lista
12444 \end_layout
12445
12446 \begin_layout Itemize
12447
12448 \family sans
12449 Código-\SpecialChar LyX
12450
12451 \end_layout
12452
12453 \begin_layout Itemize
12454
12455 \family sans
12456 Verso
12457 \end_layout
12458
12459 \begin_layout Itemize
12460
12461 \family sans
12462 Cita
12463 \end_layout
12464
12465 \begin_layout Itemize
12466
12467 \family sans
12468 Citar
12469 \end_layout
12470
12471 \begin_layout Itemize
12472
12473 \family sans
12474 Título
12475 \end_layout
12476
12477 \begin_layout Itemize
12478
12479 \family sans
12480 Autor
12481 \end_layout
12482
12483 \begin_layout Itemize
12484
12485 \family sans
12486 Fecha
12487 \end_layout
12488
12489 \begin_layout Itemize
12490
12491 \family sans
12492 Resumen
12493 \end_layout
12494
12495 \begin_layout Itemize
12496
12497 \family sans
12498 Bibliografía
12499 \end_layout
12500
12501 \begin_layout Itemize
12502
12503 \family sans
12504 Dirección
12505 \end_layout
12506
12507 \begin_layout Itemize
12508
12509 \family sans
12510 Dirección derecha
12511 \end_layout
12512
12513 \begin_layout Itemize
12514
12515 \family sans
12516 Encabezado
12517 \end_layout
12518
12519 \begin_layout Itemize
12520
12521 \family sans
12522 Comentario
12523 \end_layout
12524
12525 \end_inset
12526
12527
12528 \end_layout
12529
12530 \begin_layout Standard
12531 Esto es, todos los entornos principales aparte de los entornos de secciones.
12532  Puesto que 
12533 \family sans
12534 foils
12535 \family default
12536  contiene sus propias secciones, con un título y un cuerpo, 
12537 \family sans
12538 Foil
12539 \family default
12540 \SpecialChar TeX
12541  proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12542 \end_layout
12543
12544 \begin_layout Itemize
12545
12546 \family sans
12547 Encabezado_Diapositiva
12548 \end_layout
12549
12550 \begin_layout Itemize
12551
12552 \family sans
12553 Encabezado_Diapositiva_Giro
12554 \end_layout
12555
12556 \begin_layout Standard
12557 Además, \SpecialChar LyX
12558  provee versiones ligeramente modificadas de estos dos entornos,
12559  llamados:
12560 \end_layout
12561
12562 \begin_layout Itemize
12563
12564 \family sans
12565 Encabezado_Diapositiva_Corto
12566 \end_layout
12567
12568 \begin_layout Itemize
12569
12570 \family sans
12571 Encabezado_Diapositiva_Giro_Corto
12572 \end_layout
12573
12574 \begin_layout Standard
12575 cuyas diferencias serán explicadas en la siguiente sección.
12576 \end_layout
12577
12578 \begin_layout Standard
12579 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12580  de ideas, teoremas y demás, 
12581 \family sans
12582 Foil
12583 \family default
12584 \SpecialChar TeX
12585  proporciona además una extensa colección de entornos para estas cosas:
12586 \end_layout
12587
12588 \begin_layout Standard
12589
12590 \family sans
12591 \begin_inset Flex Multiple Columns
12592 status open
12593
12594 \begin_layout Itemize
12595
12596 \family sans
12597 Teorema
12598 \end_layout
12599
12600 \begin_layout Itemize
12601
12602 \family sans
12603 Lema
12604 \end_layout
12605
12606 \begin_layout Itemize
12607
12608 \family sans
12609 Corolario
12610 \end_layout
12611
12612 \begin_layout Itemize
12613
12614 \family sans
12615 Proposición
12616 \end_layout
12617
12618 \begin_layout Itemize
12619
12620 \family sans
12621 Definición
12622 \end_layout
12623
12624 \begin_layout Itemize
12625
12626 \family sans
12627 Demostración
12628 \end_layout
12629
12630 \begin_layout Itemize
12631
12632 \family sans
12633 Teorema*
12634 \end_layout
12635
12636 \begin_layout Itemize
12637
12638 \family sans
12639 Lema*
12640 \end_layout
12641
12642 \begin_layout Itemize
12643
12644 \family sans
12645 Corolario*
12646 \end_layout
12647
12648 \begin_layout Itemize
12649
12650 \family sans
12651 Proposición*
12652 \end_layout
12653
12654 \begin_layout Itemize
12655
12656 \family sans
12657 Definición*
12658 \end_layout
12659
12660 \end_inset
12661
12662
12663 \end_layout
12664
12665 \begin_layout Standard
12666 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12667  Además hay dos entornos de lista añadidos por \SpecialChar LyX
12668 :
12669 \end_layout
12670
12671 \begin_layout Itemize
12672
12673 \family sans
12674 Lista_Marca
12675 \end_layout
12676
12677 \begin_layout Itemize
12678
12679 \family sans
12680 Lista_Cruzada
12681 \end_layout
12682
12683 \begin_layout Standard
12684
12685 \family sans
12686 Foil
12687 \family default
12688 \SpecialChar TeX
12689  proporciona algunas capacidades poderosas para encabezados y pies, que
12690  es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12691  lugar del documento.
12692  Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12693 va, justo detrás del encabezado de la misma.
12694 \end_layout
12695
12696 \begin_layout Standard
12697 Para este propósito se suministran los siguientes estilos [
12698 \shape smallcaps
12699 Martin Vermeer
12700 \shape default
12701 ]:
12702 \end_layout
12703
12704 \begin_layout Standard
12705 \begin_inset Flex Multiple Columns
12706 status open
12707
12708 \begin_layout Itemize
12709
12710 \family sans
12711 Mi_Logotipo
12712 \end_layout
12713
12714 \begin_layout Itemize
12715
12716 \family sans
12717 Restrición
12718 \end_layout
12719
12720 \begin_layout Itemize
12721
12722 \family sans
12723 Pie_Derecho
12724 \end_layout
12725
12726 \begin_layout Itemize
12727
12728 \family sans
12729 Encabezado_Derecho
12730 \end_layout
12731
12732 \begin_layout Itemize
12733
12734 \family sans
12735 Encabezado_Izquierdo
12736 \end_layout
12737
12738 \begin_deeper
12739 \begin_layout Plain Layout
12740 \begin_inset space ~
12741 \end_inset
12742
12743
12744 \end_layout
12745
12746 \end_deeper
12747 \end_inset
12748
12749
12750 \end_layout
12751
12752 \begin_layout Standard
12753 Hay algunos comandos de 
12754 \family sans
12755 Foil
12756 \family default
12757 \SpecialChar TeX
12758  que \SpecialChar LyX
12759  no soporta directamente, pero se explica su función y su empleo en
12760  la sección
12761 \begin_inset space ~
12762 \end_inset
12763
12764
12765 \begin_inset CommandInset ref
12766 LatexCommand ref
12767 reference "sec:unsuppfoils"
12768
12769 \end_inset
12770
12771 .
12772 \end_layout
12773
12774 \begin_layout Subsection
12775 Diseño de una colección de diapositivas
12776 \end_layout
12777
12778 \begin_layout Standard
12779 Esta sección da una simple introducción a los diferentes entornos para construir
12780  una colección de diapositivas.
12781  
12782 \family sans
12783 Para
12784 \family default
12785  ver un ejemplo echa un vistazo al archivo 
12786 \family typewriter
12787 Foils.lyx
12788 \family default
12789 , accesible desde el botón 
12790 \family sans
12791 Ejemplos
12792 \family default
12793  del diálogo 
12794 \family sans
12795 Archivo\SpecialChar menuseparator
12796 Abrir
12797 \end_layout
12798
12799 \begin_layout Subsubsection
12800 Página de título
12801 \end_layout
12802
12803 \begin_layout Standard
12804 A diferencia de otras clases que proporcionan los entornos 
12805 \family sans
12806 Título
12807 \family default
12808
12809 \family sans
12810 Autor
12811 \family default
12812
12813 \family sans
12814 Fecha
12815 \family default
12816  y 
12817 \family sans
12818 Resumen
12819 \family default
12820
12821 \family sans
12822 foils
12823 \family default
12824  crea el título en una página propia.
12825  Si no pones entorno 
12826 \family sans
12827 Fecha
12828 \family default
12829  \SpecialChar LaTeX
12830  pondrá la fecha actual (cada vez que generes salida).
12831 \end_layout
12832
12833 \begin_layout Subsubsection
12834 Comenzar una diapositiva
12835 \end_layout
12836
12837 \begin_layout Standard
12838 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12839  Para la portada deberías usar 
12840 \family sans
12841 Encabezado
12842 \begin_inset space ~
12843 \end_inset
12844
12845 Diapositiva
12846 \family default
12847  o 
12848 \family sans
12849 Encabezado
12850 \begin_inset space ~
12851 \end_inset
12852
12853 Diapositiva
12854 \begin_inset space ~
12855 \end_inset
12856
12857 Corto.
12858
12859 \family default
12860  La diferencia entre estos es la cantidad de espacio entre el título (el
12861  encabezado) y el cuerpo de la diapositiva.
12862 \end_layout
12863
12864 \begin_layout Standard
12865 Las diapositivas apaisadas se generan con los entornos 
12866 \family sans
12867 Encabezado
12868 \begin_inset space ~
12869 \end_inset
12870
12871 Diapositiva
12872 \begin_inset space ~
12873 \end_inset
12874
12875 Giro 
12876 \family default
12877
12878 \family sans
12879 Encabezado
12880 \begin_inset space ~
12881 \end_inset
12882
12883 Diapositiva
12884 \begin_inset space ~
12885 \end_inset
12886
12887 Giro
12888 \begin_inset space ~
12889 \end_inset
12890
12891 Corto
12892 \family default
12893 .
12894  De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12895  Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12896  
12897 \end_layout
12898
12899 \begin_layout Standard
12900 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12901  de que debes usar el driver 
12902 \family typewriter
12903 dvips
12904 \family default
12905  para generar la salida PostScript, si no las diapositivas no se giran.
12906  Es posible conseguir orientación apaisada incluso si no dispones de 
12907 \family typewriter
12908 dvips
12909 \family default
12910  driver al configurar la salida a través de la impresora ;-)
12911 \end_layout
12912
12913 \begin_layout Subsubsection
12914 Teoremas, lemas, demostraciones y más
12915 \end_layout
12916
12917 \begin_layout Standard
12918 Debido a un pequeño fallo de \SpecialChar LyX
12919  no puedes poner seguidos dos de estos entornos
12920  del mismo tipo.
12921  Deben estar separados por algo.
12922  Si lo pruebas, observarás que el contenido del segundo entorno se añade
12923  al primero sin separación.
12924  ¿Cómo remediar este problema? Lo más sencillo es insertar algún texto entre
12925  los dos entornos, o añadir un entorno 
12926 \family sans
12927 \SpecialChar LaTeX
12928
12929 \family default
12930  entre los dos con solo un 
12931 \begin_inset Quotes cld
12932 \end_inset
12933
12934
12935 \family typewriter
12936 %
12937 \family default
12938
12939 \begin_inset Quotes crd
12940 \end_inset
12941
12942  en él.
12943  Est forzará a \SpecialChar LyX
12944  a producir dos entornos separados y la salida será correcta.
12945  En el archivo de ejemplo suministrado con \SpecialChar LyX
12946  lo puedes ver.
12947  Recuerda, este problema solo sucede si intentas poner seguidos dos entornos
12948  de tipos como teorema.
12949 \end_layout
12950
12951 \begin_layout Subsubsection
12952 Listas
12953 \end_layout
12954
12955 \begin_layout Standard
12956 Dispones de todos los tipos de listas habituales en otras clases más dos
12957  nuevas.
12958  Solo describiré estas últimas.
12959  Para más información sobre los demás entornos de listas mira la 
12960 \emph on
12961 Guía del usuario
12962 \emph default
12963 .
12964  Si piensas usar el entorno 
12965 \family sans
12966 Enumeración*
12967 \family default
12968 \emph on
12969  
12970 \emph default
12971 podrías mirar también en la sección
12972 \begin_inset space ~
12973 \end_inset
12974
12975
12976 \begin_inset CommandInset ref
12977 LatexCommand ref
12978 reference "sec:Marcas"
12979
12980 \end_inset
12981
12982  la descripción de la Selección de Marcas de Listas.
12983 \end_layout
12984
12985 \begin_layout Standard
12986 Los dos estilos nuevos de lista, 
12987 \family sans
12988 Lista
12989 \begin_inset space ~
12990 \end_inset
12991
12992 Marcas
12993 \family default
12994  y 
12995 \family sans
12996 Lista
12997 \family default
12998
12999 \begin_inset space ~
13000 \end_inset
13001
13002
13003 \family sans
13004 Cruzada
13005 \family default
13006 , están diseñadas para facilitar la creación de listas del tipo 
13007 \begin_inset Quotes cld
13008 \end_inset
13009
13010 Sí/No
13011 \begin_inset Quotes crd
13012 \end_inset
13013
13014  o 
13015 \begin_inset Quotes cld
13016 \end_inset
13017
13018 Verdadero/Falso
13019 \begin_inset Quotes crd
13020 \end_inset
13021
13022  suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
13023  De hecho, estas listas son versiones particularizadas del entorno 
13024 \family sans
13025 Enumeración*
13026 \family default
13027 .
13028  El paquete 
13029 \family typewriter
13030 psnfss
13031 \family default
13032  debe estar instalado.
13033 \end_layout
13034
13035 \begin_layout Subsubsection
13036 Figuras y cuadros
13037 \end_layout
13038
13039 \begin_layout Standard
13040
13041 \family sans
13042 Foil
13043 \family default
13044 \SpecialChar TeX
13045  redefine los flotantes de figuras y cuadros para que aparezcan exactamente
13046  en su lugar en el texto más bien que al principio de la página o en alguna
13047  otra posición.
13048  De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
13049  en cuenta.
13050 \end_layout
13051
13052 \begin_layout Subsubsection
13053 Encabezados y pies de página
13054 \begin_inset CommandInset label
13055 LatexCommand label
13056 name "sec:foilfoot"
13057
13058 \end_inset
13059
13060
13061 \end_layout
13062
13063 \begin_layout Standard
13064
13065 \family sans
13066 Mi
13067 \begin_inset space ~
13068 \end_inset
13069
13070 Logotipo
13071 \family default
13072  y 
13073 \family sans
13074 Restricción
13075 \family default
13076  son comandos usados para controlar el texto del pie izquierdo de la página.
13077  El primero permite incluir un logotipo gráfico en las transparencias; por
13078  omisión se imprime el logotipo 
13079 \begin_inset Quotes cld
13080 \end_inset
13081
13082 -Typeset by 
13083 \family sans
13084 Foil
13085 \family default
13086 \SpecialChar TeX
13087 -
13088 \begin_inset Quotes crd
13089 \end_inset
13090
13091 .
13092  El segundo permite poner una clasificación para los asistentes, p.
13093 \begin_inset space \thinspace{}
13094 \end_inset
13095
13096 ej.
13097 \begin_inset space ~
13098 \end_inset
13099
13100 Confidencial.
13101  Está vacío por omisión.
13102 \end_layout
13103
13104 \begin_layout Standard
13105 Las restantes esquinas de la página se pueden completar con 
13106 \family sans
13107 Pie
13108 \begin_inset space ~
13109 \end_inset
13110
13111 derecho
13112 \family default
13113  (por omisión los números de página), 
13114 \family sans
13115 Encabezado
13116 \begin_inset space ~
13117 \end_inset
13118
13119 derecho
13120 \family default
13121  (arriba derecha) y 
13122 \family sans
13123 Encabezado
13124 \begin_inset space ~
13125 \end_inset
13126
13127 izquierdo
13128 \family default
13129  (arriba izquierda).
13130 \end_layout
13131
13132 \begin_layout Subsection
13133 Características de 
13134 \family sans
13135 Foil
13136 \family default
13137 \SpecialChar TeX
13138  no soportadas
13139 \begin_inset CommandInset label
13140 LatexCommand label
13141 name "sec:unsuppfoils"
13142
13143 \end_inset
13144
13145
13146 \end_layout
13147
13148 \begin_layout Standard
13149 Todos los comandos mencionados a continuación deben ponerse en un entorno
13150  \SpecialChar LaTeX
13151 , o en modo \SpecialChar TeX
13152  dentro de otro entorno.
13153 \end_layout
13154
13155 \begin_layout Subsubsection
13156 Longitudes
13157 \end_layout
13158
13159 \begin_layout Standard
13160 Todas las longitudes se ajustan con el comando:
13161 \end_layout
13162
13163 \begin_layout Standard
13164
13165 \family typewriter
13166
13167 \backslash
13168 setlength{
13169 \family default
13170 \emph on
13171 nombre_longitud
13172 \family typewriter
13173 \emph default
13174 }{
13175 \family default
13176 \emph on
13177 nueva_longitud
13178 \family typewriter
13179 \emph default
13180 },
13181 \family default
13182
13183 \begin_inset Newline newline
13184 \end_inset
13185
13186 donde 
13187 \emph on
13188 nombre_longitud
13189 \emph default
13190  es el nombre de la variable de longitud que se quiere cambiar y 
13191 \emph on
13192 nueva_longitud
13193 \emph default
13194  es el valor deseado para esa longitud.
13195  Las longitudes deben expresarse en unidades como pulgadas (
13196 \family typewriter
13197 in
13198 \family default
13199 ), milímetros (
13200 \family typewriter
13201 mm
13202 \family default
13203 ) o puntos (
13204 \family typewriter
13205 pt
13206 \family default
13207 )
13208 \family typewriter
13209 ,
13210 \family default
13211  o en unidades relativas a la dimensión de alguna parte del deocumento,
13212  tal como 
13213 \family typewriter
13214
13215 \backslash
13216 textwidth
13217 \family default
13218 .
13219  
13220 \end_layout
13221
13222 \begin_layout Standard
13223 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
13224 ia especificando una longitud con 
13225 \family typewriter
13226
13227 \backslash
13228 foilheadskip
13229 \family default
13230 .
13231  Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
13232  pon en el preámbulo: 
13233 \family typewriter
13234
13235 \backslash
13236 setlength{
13237 \backslash
13238 foilheadskip}{-0.5in}
13239 \end_layout
13240
13241 \begin_layout Standard
13242 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
13243  de longitud:
13244 \end_layout
13245
13246 \begin_layout Labeling
13247 \labelwidthstring MMMMMMMMMMM
13248
13249 \family typewriter
13250
13251 \backslash
13252 abovefloatskip
13253 \family default
13254  Separación entre el texto y la parte superior del flotante;
13255 \end_layout
13256
13257 \begin_layout Labeling
13258 \labelwidthstring MMMMMMMMMMM
13259
13260 \family typewriter
13261
13262 \backslash
13263 abovecaptionskip
13264 \family default
13265  Separación entre el flotante y el encabezado;
13266 \end_layout
13267
13268 \begin_layout Labeling
13269 \labelwidthstring MMMMMMMMMMM
13270
13271 \family typewriter
13272
13273 \backslash
13274 belowcaptionskip
13275 \family default
13276  Separación entre el encabezado y el texto siguiente;
13277 \end_layout
13278
13279 \begin_layout Labeling
13280 \labelwidthstring MMMMMMMMMMM
13281
13282 \family typewriter
13283
13284 \backslash
13285 captionwidth
13286 \family default
13287  Para poner encabezados más estrechos que el texto circundante.
13288  Lo mejor es definirlo en función de 
13289 \family typewriter
13290
13291 \backslash
13292 textwidth
13293 \family default
13294 .
13295 \end_layout
13296
13297 \begin_layout Standard
13298 Hay otras longitudes relativas a la página de título que te pueden ser útiles
13299  en el caso de títulos largos o de varios autores::
13300 \end_layout
13301
13302 \begin_layout Labeling
13303 \labelwidthstring MMMMMMMMMMM
13304
13305 \family typewriter
13306
13307 \backslash
13308 abovetitleskip
13309 \family default
13310  Separación entre los encabezamientos y el 
13311 \family sans
13312 Título;
13313 \end_layout
13314
13315 \begin_layout Labeling
13316 \labelwidthstring MMMMMMMMMMM
13317
13318 \family typewriter
13319
13320 \backslash
13321 titleauthorskip
13322 \family default
13323  entre los entornos 
13324 \family sans
13325 Título
13326 \family default
13327  y 
13328 \family sans
13329 Autor;
13330 \end_layout
13331
13332 \begin_layout Labeling
13333 \labelwidthstring MMMMMMMMMMM
13334
13335 \family typewriter
13336
13337 \backslash
13338 authorauthorskip
13339 \family default
13340  entre varias líneas de 
13341 \family sans
13342 Autor;
13343 \end_layout
13344
13345 \begin_layout Labeling
13346 \labelwidthstring MMMMMMMMMMM
13347
13348 \family typewriter
13349
13350 \backslash
13351 authordateskip
13352 \family default
13353  entre 
13354 \family sans
13355 Autor
13356 \family default
13357  y 
13358 \family sans
13359 Fecha;
13360 \end_layout
13361
13362 \begin_layout Labeling
13363 \labelwidthstring MMMMMMMMMMM
13364
13365 \family typewriter
13366
13367 \backslash
13368 dateabstractskip
13369 \family default
13370  entre 
13371 \family sans
13372 Fecha 
13373 \family default
13374
13375 \family sans
13376 Resumen.
13377 \end_layout
13378
13379 \begin_layout Standard
13380 Esta última variable de longitud afecta a todos los entornos de listas.
13381  Si pones 
13382 \family typewriter
13383
13384 \backslash
13385 zerolistvertdimens
13386 \family default
13387  
13388 \emph on
13389 dentro
13390 \emph default
13391  de un entorno de lista, se suprimen todos los espacios verticales entre
13392  los ítems de la lista.
13393  Ten en cuenta que este es un comando, no una variable de longitud, así
13394  que no requiere 
13395 \family typewriter
13396
13397 \backslash
13398 setlength
13399 \family default
13400  como las variables mencionadas antes.
13401 \end_layout
13402
13403 \begin_layout Subsubsection
13404 Encabezamientos y pies
13405 \end_layout
13406
13407 \begin_layout Standard
13408 Los comandos 
13409 \family typewriter
13410
13411 \backslash
13412 LogoOn
13413 \family default
13414  y 
13415 \family typewriter
13416
13417 \backslash
13418 LogoOff
13419 \family default
13420  controlan si el logotipo definido en 
13421 \family sans
13422 Mi_Logotipo
13423 \family default
13424  aparece o no en una página dada.
13425  Si pones 
13426 \family typewriter
13427
13428 \backslash
13429 LogoOff
13430 \family default
13431  en el preámbulo, ninguna de las transparencias tendrá logotipo.
13432  Si no quieres poner el logotipo en cierta página,
13433 \family sans
13434  
13435 \family default
13436 pon 
13437 \family typewriter
13438
13439 \backslash
13440 LogoOff
13441 \family default
13442  directamente detrás del principio de la página y 
13443 \family typewriter
13444
13445 \backslash
13446 LogoOn
13447 \family default
13448  directamente detrás del comienzo de la siguiente.
13449 \end_layout
13450
13451 \begin_layout Standard
13452 Si decides poner estilo de página 
13453 \family sans
13454 fancy
13455 \family default
13456  en el diálogo 
13457 \family sans
13458 Documento\SpecialChar menuseparator
13459 Configuración,
13460 \family default
13461  deberías seguramente añadir 
13462 \family typewriter
13463
13464 \backslash
13465 let
13466 \backslash
13467 headwidth
13468 \backslash
13469 textwidth
13470 \family default
13471  al preámbulo para que los encabezamientos y pies en páginas apaisadas se
13472  sitúen correctamente.
13473  Esto es debido a ciertas incompatibilidades entre el formato de página
13474  impuesto por el paquete que 
13475 \family sans
13476 fancyheadings
13477 \family default
13478  y la clase 
13479 \family sans
13480 foils
13481 \family default
13482 .
13483 \end_layout
13484
13485 \begin_layout Section
13486 Hollywood (Guiones de Hollywood)
13487 \end_layout
13488
13489 \begin_layout Standard
13490 por 
13491 \shape smallcaps
13492 Garst Reese
13493 \end_layout
13494
13495 \begin_layout Subsection
13496 Introducción
13497 \end_layout
13498
13499 \begin_layout Standard
13500 Dar formato a un guión de Hollywood es un 
13501 \begin_inset Quotes cld
13502 \end_inset
13503
13504 rito de trámite
13505 \begin_inset Quotes crd
13506 \end_inset
13507
13508 .
13509  Está diseñado para que los lectores se centren en el contenido y resulte
13510  familiar y fácil de leer por los actores.
13511  Cada página de un guión debería representar un minuto de película.
13512  En el guión no hay nada que no veas u oigas en la pantalla.
13513  Debe emplearse el tipo de letra courier 12
13514 \begin_inset space \thinspace{}
13515 \end_inset
13516
13517 pt en todo el guión.
13518  Sin cursivas.
13519 \end_layout
13520
13521 \begin_layout Subsection
13522 Detalles particulares
13523 \end_layout
13524
13525 \begin_layout Standard
13526 Las palabras de un diálogo NUNCA se cortan a final de línea.
13527  Si el texto de un 
13528 \family sans
13529 portavoz
13530 \family default
13531  debe continuar tras un salto de página, se repite el nombre del mismo (
13532 \family sans
13533 continuación
13534 \family default
13535 ).
13536 \end_layout
13537
13538 \begin_layout Subsection
13539 Características especiales
13540 \end_layout
13541
13542 \begin_layout Standard
13543 Introduce los nombres de los personajes 
13544 \family sans
13545 (Portavoz)
13546 \family default
13547  como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
13548  el nombre.
13549  El diálogo de referencia cruzada mostrará el conjunto de personajes.
13550  Esto lo puedes usar también para introducir el nombre de un personaje en
13551  las partes narrativas.
13552 \end_layout
13553
13554 \begin_layout Subsection
13555 Tamaño del papel y márgenes
13556 \end_layout
13557
13558 \begin_layout Standard
13559 USLetter, izquierdo 1.6
13560 \begin_inset space \thinspace{}
13561 \end_inset
13562
13563 in, derecho 0.75
13564 \begin_inset space \thinspace{}
13565 \end_inset
13566
13567 in, superior 0.5
13568 \begin_inset space \thinspace{}
13569 \end_inset
13570
13571 in, inferior 0.75
13572 \begin_inset space \thinspace{}
13573 \end_inset
13574
13575 in
13576 \end_layout
13577
13578 \begin_layout Subsection
13579 Entornos
13580 \end_layout
13581
13582 \begin_layout Standard
13583 Los siguientes entornos están disponibles.
13584  Puedes usar 
13585 \family typewriter
13586 hollywood.bind
13587 \family default
13588  para disponer de los atajos de teclado indicados a la derecha.
13589 \end_layout
13590
13591 \begin_layout Itemize
13592
13593 \family sans
13594 General
13595 \begin_inset Newline newline
13596 \end_inset
13597
13598
13599 \family default
13600 Para el caso de que no convenga ningún otro.
13601  Intenta evitarlo.
13602 \end_layout
13603
13604 \begin_layout Itemize
13605
13606 \family sans
13607 APARICIÓN_GRADUAL
13608 \family default
13609 :
13610 \begin_inset space \hfill{}
13611 \end_inset
13612
13613
13614 \family sans
13615 M-z S-I
13616 \family default
13617
13618 \begin_inset Newline newline
13619 \end_inset
13620
13621 Generalmente seguido de algo como 
13622 \begin_inset Quotes cld
13623 \end_inset
13624
13625 al levantarse Sally.
13626 \begin_inset Quotes crd
13627 \end_inset
13628
13629
13630 \end_layout
13631
13632 \begin_layout Itemize
13633
13634 \family sans
13635 INT
13636 \family default
13637 .
13638 \family sans
13639
13640 \begin_inset space \hfill{}
13641 \end_inset
13642
13643 M-z i
13644 \begin_inset Newline newline
13645 \end_inset
13646
13647
13648 \family default
13649 Introduce una nueva secuencia en INTERIOR.
13650  Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13651  requerida.
13652  Esta línea, toda en MAYÚSCULAS.
13653 \end_layout
13654
13655 \begin_layout Itemize
13656
13657 \family sans
13658 EXT
13659 \family default
13660 .
13661 \family sans
13662
13663 \begin_inset space \hfill{}
13664 \end_inset
13665
13666 M-z e
13667 \begin_inset Newline newline
13668 \end_inset
13669
13670
13671 \family default
13672 Introduce una nueva secuencia en EXTERIOR.
13673  Esta línea, toda en MAYÚSCULAS.
13674 \end_layout
13675
13676 \begin_layout Itemize
13677
13678 \family sans
13679 Portavoz
13680 \begin_inset space \hfill{}
13681 \end_inset
13682
13683 M-z s
13684 \begin_inset Newline newline
13685 \end_inset
13686
13687
13688 \family default
13689 El personaje que habla.
13690 \end_layout
13691
13692 \begin_layout Itemize
13693
13694 \family sans
13695 EntreParéntesis
13696 \begin_inset space \hfill{}
13697 \end_inset
13698
13699 M-z p
13700 \begin_inset Newline newline
13701 \end_inset
13702
13703
13704 \family default
13705 Instrucciones para el personaje portavoz.
13706  Los () se insertan automáticamente, pero solo el ( se verá en \SpecialChar LyX
13707 .
13708  Se imprimirán los dos.
13709 \end_layout
13710
13711 \begin_layout Itemize
13712
13713 \family sans
13714 Di
13715 \family default
13716 á
13717 \family sans
13718 logo
13719 \begin_inset space \hfill{}
13720 \end_inset
13721
13722 M-z d
13723 \begin_inset Newline newline
13724 \end_inset
13725
13726
13727 \family default
13728 Lo que dice el personaje.
13729 \end_layout
13730
13731 \begin_layout Itemize
13732
13733 \family sans
13734 Transición
13735 \begin_inset space \hfill{}
13736 \end_inset
13737
13738 M-z t
13739 \begin_inset Newline newline
13740 \end_inset
13741
13742
13743 \family default
13744 Instrucciones para el movimiento de cámara, p.
13745 \begin_inset space \thinspace{}
13746 \end_inset
13747
13748 ej.
13749 \begin_inset space ~
13750 \end_inset
13751
13752 CAMBIA A:
13753 \end_layout
13754
13755 \begin_layout Itemize
13756
13757 \family sans
13758 DESAPARICIÓN_GRADUAL:
13759 \begin_inset space \hfill{}
13760 \end_inset
13761
13762 M-z S-I
13763 \end_layout
13764
13765 \begin_layout Itemize
13766
13767 \family sans
13768 Autor
13769 \begin_inset space \hfill{}
13770 \end_inset
13771
13772 M-z S-A
13773 \end_layout
13774
13775 \begin_layout Itemize
13776
13777 \family sans
13778 Título
13779 \begin_inset space \hfill{}
13780 \end_inset
13781
13782 M-z S-T
13783 \end_layout
13784
13785 \begin_layout Itemize
13786
13787 \family sans
13788 Dirección_dcha
13789 \begin_inset space \hfill{}
13790 \end_inset
13791
13792 M-z r
13793 \end_layout
13794
13795 \begin_layout Subsection
13796 Jerga de un guión
13797 \end_layout
13798
13799 \begin_layout Itemize
13800 (O.S) — off screen (fuera de pantalla)
13801 \end_layout
13802
13803 \begin_layout Itemize
13804 (V.0) — voice over (voz en off)
13805 \end_layout
13806
13807 \begin_layout Itemize
13808 b.g.
13809  — background
13810 \end_layout
13811
13812 \begin_layout Itemize
13813 C.U.
13814  — close-up (primer plano)
13815 \end_layout
13816
13817 \begin_layout Itemize
13818 PAN — movimiento de cámara
13819 \end_layout
13820
13821 \begin_layout Itemize
13822 INSERT — pasa a primer plano
13823 \end_layout
13824
13825 \begin_layout Section
13826 ijmpc e ijmpd
13827 \end_layout
13828
13829 \begin_layout Standard
13830 por 
13831 \noun on
13832 Panayotis Papasotiriou
13833 \end_layout
13834
13835 \begin_layout Subsection
13836 Visión previa
13837 \end_layout
13838
13839 \begin_layout Standard
13840 El paquete 
13841 \family sans
13842 ijmpc
13843 \family default
13844  es una colección de macros que facilitan la presentación de manuscritos
13845  electrónicos para 
13846 \emph on
13847 International Journal of Modern Physics C
13848 \emph default
13849 .
13850  Igualmente, el paquete 
13851 \family sans
13852 ijmpd
13853 \family default
13854  sirve para escribir artículos para 
13855 \emph on
13856 International Journal of Modern Physics D
13857 \emph default
13858 .
13859  Ambas revistas son editadas por 
13860 \emph on
13861 World Scientific
13862 \emph default
13863 .
13864  Las correspondientes clases de documento se llaman 
13865 \family typewriter
13866 ws-ijmpc.cls
13867 \family default
13868  y 
13869 \family typewriter
13870 ws-ijmpd.cls
13871 \family default
13872 , respectivamente.
13873  Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13874  de los sitios 
13875 \begin_inset Flex URL
13876 status collapsed
13877
13878 \begin_layout Plain Layout
13879
13880 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13881 \end_layout
13882
13883 \end_inset
13884
13885  y 
13886 \begin_inset Flex URL
13887 status collapsed
13888
13889 \begin_layout Plain Layout
13890
13891 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13892 \end_layout
13893
13894 \end_inset
13895
13896 .
13897  Ambos paquetes son versiones modificadas del paquete estándar 
13898 \family sans
13899 article
13900 \family default
13901 , y son casi idénticos.
13902  La mayor parte de sus características son soportadas en \SpecialChar LyX
13903 .
13904  He utilizado \SpecialChar LyX
13905  con éxito para escribir artículos para ambas revistas sin
13906  problemas.
13907 \end_layout
13908
13909 \begin_layout Subsection
13910 Escribir un artículo
13911 \end_layout
13912
13913 \begin_layout Standard
13914 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13915  de una plantilla.
13916  Clic en 
13917 \family sans
13918 Archivo\SpecialChar menuseparator
13919 Nuevo desde plantilla
13920 \family default
13921 , y elige una plantilla 
13922 \family typewriter
13923 ijmpc.lyx
13924 \family default
13925  o 
13926 \family typewriter
13927 ijmpd.lyx
13928 \family default
13929 .
13930  Así se muestra un documento casi vacío que incluye los campos más habituales
13931  en un documento.
13932  Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13933  Debes tener en cuenta los siguientes puntos:
13934 \end_layout
13935
13936 \begin_layout Enumerate
13937 \SpecialChar LyX
13938  no permite el cambio del tamaño de letra ni del estilo de página porque
13939  estos paquetes no lo permiten.
13940 \end_layout
13941
13942 \begin_layout Enumerate
13943 No debería cambiarse el lenguaje del documento.
13944  Antes de ver tu artículo, asegúrate 
13945 \family sans
13946 que no está cargado el paquete babel.
13947  
13948 \family default
13949 En
13950 \family sans
13951  Herramientas
13952 \family default
13953 \SpecialChar menuseparator
13954
13955 \family sans
13956 Preferencias 
13957 \family default
13958 selecciona 
13959 \family sans
13960 Idioma 
13961 \family default
13962 y desmarca la opción 
13963 \family sans
13964 Usar babel
13965 \family default
13966 .
13967  Pulsa 
13968 \family sans
13969 Aplicar 
13970 \family default
13971 (o 
13972 \family sans
13973 Guardar
13974 \family default
13975  si deseas el cambio permanente).
13976  
13977 \end_layout
13978
13979 \begin_layout Enumerate
13980 El estilo 
13981 \begin_inset Quotes cld
13982 \end_inset
13983
13984 Keywords
13985 \begin_inset Quotes crd
13986 \end_inset
13987
13988  se debe utilizar para definir palabras-clave.
13989 \end_layout
13990
13991 \begin_layout Enumerate
13992 El paquete 
13993 \family sans
13994 ijmpc
13995 \family default
13996  provee un estilo llamado 
13997 \begin_inset Quotes cld
13998 \end_inset
13999
14000 Classification Codes
14001 \begin_inset Quotes crd
14002 \end_inset
14003
14004 , que se puede usar para definir códigos de clasificación, como números
14005  PACS.
14006  Esta facilidad no es soportada por el paquete 
14007 \family sans
14008 ijmpd
14009 \family default
14010 .
14011 \end_layout
14012
14013 \begin_layout Enumerate
14014 Hay varios entornos nuevos disponibles: 
14015 \begin_inset Quotes cld
14016 \end_inset
14017
14018 Definición
14019 \begin_inset Quotes crd
14020 \end_inset
14021
14022
14023 \begin_inset Quotes cld
14024 \end_inset
14025
14026 Paso
14027 \begin_inset Quotes crd
14028 \end_inset
14029
14030
14031 \begin_inset Quotes cld
14032 \end_inset
14033
14034 Ejemplo
14035 \begin_inset Quotes crd
14036 \end_inset
14037
14038
14039 \begin_inset Quotes cld
14040 \end_inset
14041
14042 Observación
14043 \begin_inset Quotes crd
14044 \end_inset
14045
14046
14047 \begin_inset Quotes cld
14048 \end_inset
14049
14050 Notación
14051 \begin_inset Quotes crd
14052 \end_inset
14053
14054
14055 \begin_inset Quotes cld
14056 \end_inset
14057
14058 Teorema
14059 \begin_inset Quotes crd
14060 \end_inset
14061
14062
14063 \begin_inset Quotes cld
14064 \end_inset
14065
14066 Demostración
14067 \begin_inset Quotes crd
14068 \end_inset
14069
14070
14071 \begin_inset Quotes cld
14072 \end_inset
14073
14074 Corolario
14075 \begin_inset Quotes crd
14076 \end_inset
14077
14078
14079 \begin_inset Quotes cld
14080 \end_inset
14081
14082 Lema
14083 \begin_inset Quotes crd
14084 \end_inset
14085
14086
14087 \begin_inset Quotes cld
14088 \end_inset
14089
14090 Proposición
14091 \begin_inset Quotes crd
14092 \end_inset
14093
14094
14095 \begin_inset Quotes cld
14096 \end_inset
14097
14098 Prop
14099 \begin_inset Quotes crd
14100 \end_inset
14101
14102
14103 \begin_inset Quotes cld
14104 \end_inset
14105
14106 Pregunta
14107 \begin_inset Quotes crd
14108 \end_inset
14109
14110
14111 \begin_inset Quotes cld
14112 \end_inset
14113
14114 Afirmación
14115 \begin_inset Quotes crd
14116 \end_inset
14117
14118  y 
14119 \begin_inset Quotes cld
14120 \end_inset
14121
14122 Conjetura
14123 \begin_inset Quotes crd
14124 \end_inset
14125
14126 .
14127  Su uso es más o menos obvio.
14128  \SpecialChar LyX
14129  soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
14130  esquema de numeración más apropiados para cada caso.
14131 \end_layout
14132
14133 \begin_layout Enumerate
14134 Ambos paquetes usan citas básicas; el paquete 
14135 \family sans
14136 natbib
14137 \family default
14138  no debería usarse.
14139  En \SpecialChar LyX
14140  las referencias a citas se ven normalmente; en la salida se ven como
14141  voladitas.
14142  Si quieres usar una cita como texto normal, debes emplear el comando 
14143 \family typewriter
14144 refcite
14145 \family default
14146 , p.
14147 \begin_inset space \thinspace{}
14148 \end_inset
14149
14150 e., 
14151 \begin_inset Quotes cld
14152 \end_inset
14153
14154 Véase Ref.
14155 \begin_inset space ~
14156 \end_inset
14157
14158
14159 \family typewriter
14160
14161 \backslash
14162 refcite{key}
14163 \family default
14164
14165 \begin_inset Quotes crd
14166 \end_inset
14167
14168 .
14169 \end_layout
14170
14171 \begin_layout Enumerate
14172 No hay 
14173 \begin_inset Quotes cld
14174 \end_inset
14175
14176 Agradecimientos
14177 \begin_inset Quotes crd
14178 \end_inset
14179
14180  en ninguno de estos paquetes.
14181  Para ponerlo usa el entorno 
14182 \begin_inset Quotes cld
14183 \end_inset
14184
14185 Sección*
14186 \begin_inset Quotes crd
14187 \end_inset
14188
14189 .
14190 \end_layout
14191
14192 \begin_layout Enumerate
14193 Se pueden añadir apéndices 
14194 \emph on
14195 después
14196 \emph default
14197  de los Agradecimientos y 
14198 \emph on
14199 antes
14200 \emph default
14201  de las Referencias.
14202  \SpecialChar LyX
14203  provee un entorno especial, llamado 
14204 \begin_inset Quotes cld
14205 \end_inset
14206
14207 Appendices Section
14208 \begin_inset Quotes crd
14209 \end_inset
14210
14211  que marca el inicio de los apéndices.
14212  Este entorno debería dejarse en blanco; lo único que hace es enviar un
14213  comando \SpecialChar LaTeX
14214  pero realmente no se imprime nada.
14215  En \SpecialChar LyX
14216 , la palabra 
14217 \begin_inset Quotes cld
14218 \end_inset
14219
14220 Apéndice
14221 \begin_inset Quotes crd
14222 \end_inset
14223
14224  se imprime con letras azules, para indicar que todas las secciones posteriores
14225  son apéndices.
14226  Para escribir un apéndice usa el entorno 
14227 \begin_inset Quotes cld
14228 \end_inset
14229
14230 Apéndice
14231 \begin_inset Quotes crd
14232 \end_inset
14233
14234 .
14235  \SpecialChar LyX
14236  ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
14237  Observa que 
14238 \begin_inset Quotes cld
14239 \end_inset
14240
14241 Appendices Section
14242 \begin_inset Quotes crd
14243 \end_inset
14244
14245  
14246 \emph on
14247 debe
14248 \emph default
14249  estar presente antes del primer apéndice; si no, los apéndices se numerarán
14250  como secciones normales.
14251 \end_layout
14252
14253 \begin_layout Enumerate
14254 Los paquetes 
14255 \family sans
14256 ijmpc
14257 \family default
14258  y 
14259 \family sans
14260 ijmpd
14261 \family default
14262  usan el comando 
14263 \family typewriter
14264 tbl
14265 \family default
14266  para implementar encabezados de cuadro.
14267  Como resultado, un cuadro creado por \SpecialChar LyX
14268  se imprime correctamente, pero se
14269  ignora su encabezado.
14270  Sin embargo puedes emplear código \SpecialChar TeX
14271  para sortear este problema, de forma
14272  que los encabezados se impriman como es de esperar.
14273  Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
14274  y reemplázalo por 
14275 \family typewriter
14276
14277 \backslash
14278 tbl{
14279 \emph on
14280 encabezado del cuadro
14281 \emph default
14282 }{
14283 \family default
14284  en código \SpecialChar TeX
14285  —atención a la llave de apertura 
14286 \begin_inset Quotes cld
14287 \end_inset
14288
14289 {
14290 \begin_inset Quotes crd
14291 \end_inset
14292
14293 —, y cierra inmediatamente detrás del contenido del cuadro con 
14294 \family typewriter
14295 }
14296 \family default
14297  en código \SpecialChar TeX
14298 .
14299  Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
14300  se realiza este procedimiento.
14301  Alternativamente, si necesitas encabezados de cuadro, podrías construir
14302  el cuadro flotante completo en un archivo 
14303 \family typewriter
14304 .tex
14305 \family default
14306 , que después puedes incluir mediante 
14307 \family sans
14308 Insertar\SpecialChar menuseparator
14309 Archivo\SpecialChar menuseparator
14310 Documento
14311 \begin_inset space ~
14312 \end_inset
14313
14314 hijo
14315 \family default
14316 .
14317  En los archivos 
14318 \family typewriter
14319 ws-ijmpc.tex
14320 \family default
14321  y 
14322 \family typewriter
14323 ws-ijmpd.tex
14324 \family default
14325  puedes ver más detalles sobre la creación de cuadros flotantes.
14326 \end_layout
14327
14328 \begin_layout Subsection
14329 Preparar un artículo para su remisión
14330 \end_layout
14331
14332 \begin_layout Standard
14333 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
14334  (
14335 \family sans
14336 Archivo\SpecialChar menuseparator
14337 Exportar\SpecialChar menuseparator
14338 La
14339 \family default
14340 T
14341 \family sans
14342 eX
14343 \family default
14344 )
14345 \begin_inset Foot
14346 status collapsed
14347
14348 \begin_layout Plain Layout
14349 Realmente dispones de las opciones \SpecialChar LaTeX
14350  (simple) y pdflatex.
14351  Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
14352  estarán en formato PDF.
14353 \end_layout
14354
14355 \end_inset
14356
14357 , después haz los cambios siguientes en el resultante archivo 
14358 \family typewriter
14359 .tex
14360 \family default
14361 .
14362 \end_layout
14363
14364 \begin_layout Enumerate
14365 Elimina las líneas de comentarios anteriores al comando 
14366 \family typewriter
14367
14368 \backslash
14369 documentclass
14370 \family default
14371 .
14372 \end_layout
14373
14374 \begin_layout Enumerate
14375 Elimina los comandos 
14376 \family typewriter
14377
14378 \backslash
14379 makeatletter
14380 \family default
14381  y 
14382 \family typewriter
14383
14384 \backslash
14385 makeatother 
14386 \family default
14387 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
14388  expresamente al preámbulo \SpecialChar LaTeX
14389 .
14390 \end_layout
14391
14392 \begin_layout Standard
14393 El archivo 
14394 \family typewriter
14395 .tex
14396 \family default
14397  modificado debe ser guardado y procesado con \SpecialChar LaTeX
14398  tantas veces como sea necesario.
14399  Comprueba después el documento 
14400 \family typewriter
14401 .dvi
14402 \family default
14403  resultante.
14404 \end_layout
14405
14406 \begin_layout Subsection
14407 Uso de código \SpecialChar TeX
14408
14409 \end_layout
14410
14411 \begin_layout Standard
14412 El uso de código \SpecialChar TeX
14413  se reduce a dos comandos, que deben colocarse al principio
14414  del documento.
14415  Si has empezado tu artículo a partir de una plantilla 
14416 \family typewriter
14417 ijmpc.lyx
14418 \family default
14419  o 
14420 \family typewriter
14421 ijmpd.lyx
14422 \family default
14423 , el código \SpecialChar TeX
14424  necesario ya está en su sitio; generalmente no necesitas borrarlo.
14425  Solo puedes modificar el primer código \SpecialChar TeX
14426  para especificar la información
14427  impresa en la parte superior de las páginas pares e impares (título corto
14428  del artículo y nombre del autor, respectivamente).
14429  Este código \SpecialChar TeX
14430  debe ser de la forma 
14431 \family typewriter
14432
14433 \backslash
14434 markboth{Nombres de autores}{Título corto del artículo}
14435 \family default
14436 .
14437 \end_layout
14438
14439 \begin_layout Section
14440 iopart
14441 \end_layout
14442
14443 \begin_layout Standard
14444 por 
14445 \noun on
14446 Uwe Stöhr
14447 \end_layout
14448
14449 \begin_layout Subsection
14450 Visión previa
14451 \end_layout
14452
14453 \begin_layout Standard
14454 El paquete 
14455 \family sans
14456 iopart
14457 \family default
14458  suministra una clase de documento para remitir documentos electrónicos
14459  a publicaciones del 
14460 \emph on
14461 Institute of Physics
14462 \emph default
14463 .
14464  Las instrucciones para los autores que quieran crear documentos de esta
14465  clase y el paquete 
14466 \family sans
14467 iopart 
14468 \family default
14469 se pueden descargar del sitio 
14470 \begin_inset Flex URL
14471 status collapsed
14472
14473 \begin_layout Plain Layout
14474
14475 ftp://ftp.iop.org/pub/journals/latex2e
14476 \end_layout
14477
14478 \end_inset
14479
14480 .
14481 \end_layout
14482
14483 \begin_layout Subsection
14484 Escribir un documento
14485 \end_layout
14486
14487 \begin_layout Standard
14488 La forma más sencilla de escribir un documento es empezar con el archivo
14489  
14490 \emph on
14491 IOP-article.lyx
14492 \emph default
14493 , disponible en el directorio de ejemplos de \SpecialChar LyX
14494 .
14495  Abre el archivo, guárdalo con otro nombre y comienza a escribir.
14496  El archivo de ejemplo explica cómo usar los entornos especiales de texto.
14497  Aquí están los consejos más importantes:
14498 \end_layout
14499
14500 \begin_layout Itemize
14501 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que las dos
14502  opciones 
14503 \family sans
14504 Usar el paquete de ecuaciones AMS
14505 \family default
14506  de la configuración del documento, en el apartado 
14507 \family sans
14508 Ecuaciones
14509 \family default
14510 , ¡no están marcadas!
14511 \end_layout
14512
14513 \begin_layout Itemize
14514 El entorno de título define la clase de tu documento.
14515  Por tanto usa uno de los siguientes entornos para el título:
14516 \end_layout
14517
14518 \begin_deeper
14519 \begin_layout Itemize
14520
14521 \family sans
14522 Title
14523 \family default
14524  para un artículo
14525 \end_layout
14526
14527 \begin_layout Itemize
14528
14529 \family sans
14530 Review
14531 \family default
14532  para una revista
14533 \end_layout
14534
14535 \begin_layout Itemize
14536
14537 \family sans
14538 Topical
14539 \family default
14540  para una reseña de actualidad
14541 \end_layout
14542
14543 \begin_layout Itemize
14544
14545 \family sans
14546 Comment
14547 \family default
14548  para un comentario
14549 \end_layout
14550
14551 \begin_layout Itemize
14552
14553 \family sans
14554 Note
14555 \family default
14556  para una nota
14557 \end_layout
14558
14559 \begin_layout Itemize
14560
14561 \family sans
14562 Paper
14563 \family default
14564  para un artículo (igual que Title)
14565 \end_layout
14566
14567 \begin_layout Itemize
14568
14569 \family sans
14570 Prelim
14571 \family default
14572  para una comunicación preliminar
14573 \end_layout
14574
14575 \begin_layout Itemize
14576
14577 \family sans
14578 Rapid
14579 \family default
14580  para una comunicación rápida
14581 \end_layout
14582
14583 \begin_layout Itemize
14584
14585 \family sans
14586 Letter
14587 \family default
14588  para una carta al editor
14589 \end_layout
14590
14591 \end_deeper
14592 \begin_layout Itemize
14593 Todos los entornos de título excepto 
14594 \family sans
14595 Letter
14596 \family default
14597  pueden tener un título breve opcional.
14598 \end_layout
14599
14600 \begin_layout Itemize
14601 Hay un entorno general de título 
14602 \family sans
14603 Article
14604 \family default
14605  que no es soportado directamente por \SpecialChar LyX
14606 .
14607  Puede usarse en código \SpecialChar TeX
14608  si tu documento no se adecúa a ninguno de los otros
14609  tipos de título.
14610 \end_layout
14611
14612 \begin_layout Standard
14613 Para más información, como consejos para formatos especiales de ecuaciones
14614  y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14615 \end_layout
14616
14617 \begin_layout Section
14618 Kluwer
14619 \end_layout
14620
14621 \begin_layout Standard
14622 por 
14623 \noun on
14624 Panayotis Papasotiriou
14625 \end_layout
14626
14627 \begin_layout Subsection
14628 Visión previa
14629 \end_layout
14630
14631 \begin_layout Standard
14632 El paquete Kluwer es un conjunto de macros producido por 
14633 \emph on
14634 Kluwer Academic Publishers
14635 \emph default
14636  que facilita la confección de manuscritos electrónicos con destino a sus
14637  publicaciones.
14638  Las más conocidas (al menos en mi parcela de interés) son 
14639 \emph on
14640 Astrophysics and Space Science
14641 \emph default
14642  y 
14643 \emph on
14644 Solar Physics
14645 \emph default
14646 , aunque hay muchas otras (véase una lista completa en 
14647 \begin_inset Flex URL
14648 status collapsed
14649
14650 \begin_layout Plain Layout
14651
14652 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14653 \end_layout
14654
14655 \end_inset
14656
14657 ).
14658  El paquete Kluwer puede ser descargado del sitio 
14659 \begin_inset Flex URL
14660 status collapsed
14661
14662 \begin_layout Plain Layout
14663
14664 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14665 \end_layout
14666
14667 \end_inset
14668
14669 .
14670  Contiene una completa guía de uso, que también puede descargarse separadamente.
14671 \end_layout
14672
14673 \begin_layout Standard
14674 \SpecialChar LyX
14675  soporta muchas características del paquete pero no todas.
14676  No obstante, el código \SpecialChar TeX
14677  necesario se reduce a ciertos 
14678 \begin_inset Quotes cld
14679 \end_inset
14680
14681 peculiares
14682 \begin_inset Quotes crd
14683 \end_inset
14684
14685  comandos (véase
14686 \begin_inset space ~
14687 \end_inset
14688
14689
14690 \begin_inset CommandInset ref
14691 LatexCommand ref
14692 reference "subsec:kluwer_peculiaridades"
14693
14694 \end_inset
14695
14696 ).
14697  He usado \SpecialChar LyX
14698  recientemente para escribir un artículo para 
14699 \emph on
14700 Astrophysics and Space Science
14701 \emph default
14702  sin ningún problema.
14703 \end_layout
14704
14705 \begin_layout Subsection
14706 Escribir un artículo
14707 \end_layout
14708
14709 \begin_layout Standard
14710 La forma más sencilla de escribir un artículo es empezar con la plantilla
14711  de Kluwer.
14712  Abre 
14713 \family sans
14714 Archivo\SpecialChar menuseparator
14715 Nuevo
14716 \family default
14717
14718 \begin_inset space ~
14719 \end_inset
14720
14721
14722 \family sans
14723 desde
14724 \family default
14725
14726 \begin_inset space ~
14727 \end_inset
14728
14729
14730 \family sans
14731 plantilla
14732 \family default
14733 , y elige 
14734 \family typewriter
14735 kluwer.lyx
14736 \family default
14737 .
14738  Se trata de un documento casi vacío que incluye la mayoría de campos más
14739  habituales y una breve descripción de su uso.
14740  Como es habitual en las plantillas, simplemente debes sobreescribir el
14741  texto presente (incluidas las abrazaderas <>) con la información correcta.
14742 \end_layout
14743
14744 \begin_layout Subsection
14745 Preparar un artículo para su remisión
14746 \end_layout
14747
14748 \begin_layout Standard
14749 Como en el paquete AAS\SpecialChar TeX
14750 , antes de remitir tu trabajo a una publicación debes
14751  procesarlo como sigue:
14752 \end_layout
14753
14754 \begin_layout Enumerate
14755 Exporta tu documento a \SpecialChar LaTeX
14756
14757 \family sans
14758 Archivo\SpecialChar menuseparator
14759 Exportar\SpecialChar menuseparator
14760 LaTeX
14761 \family default
14762 .
14763  
14764 \end_layout
14765
14766 \begin_layout Enumerate
14767 Edita el archivo 
14768 \family typewriter
14769 .tex
14770 \family default
14771  resultante con un editor de texto y haz los siguientes cambios:
14772 \end_layout
14773
14774 \begin_deeper
14775 \begin_layout Enumerate
14776 borra las líneas de comentarios anteriores al comando 
14777 \family typewriter
14778
14779 \backslash
14780 documentclass
14781 \family default
14782 ,
14783 \end_layout
14784
14785 \begin_layout Enumerate
14786 quita todo entre los comandos 
14787 \family typewriter
14788
14789 \backslash
14790 makeatletter
14791 \family default
14792  y 
14793 \family typewriter
14794
14795 \backslash
14796 makeatother
14797 \family default
14798 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14799  \SpecialChar LaTeX
14800 .
14801 \end_layout
14802
14803 \begin_layout Standard
14804 Guarda el archivo 
14805 \family typewriter
14806 .tex
14807 \family default
14808  modificado.
14809 \end_layout
14810
14811 \end_deeper
14812 \begin_layout Enumerate
14813 Ejecuta el archivo 
14814 \family typewriter
14815 .tex
14816 \family default
14817  con \SpecialChar LaTeX
14818  tantas veces como sea necesario (generalmente hasta tres).
14819 \end_layout
14820
14821 \begin_layout Enumerate
14822 Mira el documento resultante 
14823 \family typewriter
14824 .dvi
14825 \family default
14826  , p.
14827 \begin_inset space \thinspace{}
14828 \end_inset
14829
14830 e., con 
14831 \family sans
14832 xdvi
14833 \family default
14834 , y comprueba si todo está bien (debería, si no has cometido algún error).
14835 \end_layout
14836
14837 \begin_layout Subsection
14838 «Peculiaridades» del paquete Kluwer
14839 \begin_inset CommandInset label
14840 LatexCommand label
14841 name "subsec:kluwer_peculiaridades"
14842
14843 \end_inset
14844
14845
14846 \end_layout
14847
14848 \begin_layout Standard
14849 El paquete Kluwer tiene algunas 
14850 \begin_inset Quotes cld
14851 \end_inset
14852
14853 peculiaridades
14854 \begin_inset Quotes crd
14855 \end_inset
14856
14857 .
14858 \end_layout
14859
14860 \begin_layout Enumerate
14861 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14862
14863 \begin_inset Foot
14864 status collapsed
14865
14866 \begin_layout Plain Layout
14867 No puedo imaginar una buena razón para hacer esto.
14868 \end_layout
14869
14870 \end_inset
14871
14872 .
14873  Cada artículo debe estar incluido en un entorno 
14874 \begin_inset Quotes cld
14875 \end_inset
14876
14877 article
14878 \begin_inset Quotes crd
14879 \end_inset
14880
14881 .
14882  Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14883  un solo artículo.
14884  Por esto, cada artículo empieza con el comando 
14885 \family typewriter
14886
14887 \backslash
14888 begin{article}
14889 \family default
14890  y, termina, obviamente, con el comando 
14891 \family typewriter
14892
14893 \backslash
14894 end{article}
14895 \family default
14896 .
14897  Aunque esto se puede implementar en \SpecialChar LyX
14898 , no lo he incluido, puesto que se
14899  ve feo y puede confundir al novato.
14900  Así pues hay que introducirlo en código \SpecialChar LaTeX
14901  (
14902 \begin_inset Quotes cld
14903 \end_inset
14904
14905 código \SpecialChar TeX
14906
14907 \begin_inset Quotes crd
14908 \end_inset
14909
14910 ).
14911 \end_layout
14912
14913 \begin_layout Enumerate
14914 La información dada al principio del artículo (p.
14915 \begin_inset space \thinspace{}
14916 \end_inset
14917
14918 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14919  resumen y palabras-clave) deben incluirse en un entorno llamado 
14920 \begin_inset Quotes cld
14921 \end_inset
14922
14923 opening
14924 \begin_inset Quotes crd
14925 \end_inset
14926
14927 .
14928  Esto no está implementado en \SpecialChar LyX
14929 , así que hay que introducir el título, subtítulo,
14930  etc., entre dos líneas en código \SpecialChar TeX
14931  (
14932 \family typewriter
14933
14934 \backslash
14935 begin{opening}
14936 \family default
14937  y 
14938 \family typewriter
14939
14940 \backslash
14941 end{opening}
14942 \family default
14943 ).
14944 \end_layout
14945
14946 \begin_layout Enumerate
14947 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14948  escribirse como 
14949 \family typewriter
14950
14951 \backslash
14952 protect
14953 \backslash
14954 citeauthoryear{
14955 \family default
14956 \emph on
14957 autor(es)
14958 \family typewriter
14959 \emph default
14960 }{
14961 \family default
14962 \emph on
14963 año
14964 \family typewriter
14965 \emph default
14966 }
14967 \family default
14968 .
14969 \end_layout
14970
14971 \begin_layout Standard
14972 La plantilla 
14973 \family typewriter
14974 kluwer.lyx
14975 \family default
14976  se cuida de todas estas 
14977 \begin_inset Quotes cld
14978 \end_inset
14979
14980 peculiaridades
14981 \begin_inset Quotes crd
14982 \end_inset
14983
14984 .
14985  Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14986  nada especial.
14987  Ten en cuenta: 
14988 \end_layout
14989
14990 \begin_layout Enumerate
14991 no borrar el código \SpecialChar TeX
14992  incluido en el modelo, y
14993 \end_layout
14994
14995 \begin_layout Enumerate
14996 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14997  como haga falta para introducir nuevas entradas.
14998 \end_layout
14999
15000 \begin_layout Section
15001 Koma-Script
15002 \end_layout
15003
15004 \begin_layout Standard
15005 por 
15006 \noun on
15007 Bernd Rellermeyer
15008 \end_layout
15009
15010 \begin_layout Subsection
15011 Visión previa
15012 \end_layout
15013
15014 \begin_layout Standard
15015 En \SpecialChar LyX
15016 , las clases de documento
15017 \family sans
15018 \emph on
15019  
15020 \emph default
15021 article (koma-script)
15022 \emph on
15023
15024 \emph default
15025 report (koma-script)
15026 \emph on
15027
15028 \emph default
15029 book
15030 \emph on
15031  
15032 \emph default
15033 (koma-script)
15034 \family default
15035 , y 
15036 \family sans
15037 letter
15038 \emph on
15039  
15040 \emph default
15041 (koma-script)
15042 \family default
15043  corresponden respectivamente a las clases de \SpecialChar LaTeX
15044  
15045 \family typewriter
15046 scrartcl.cls
15047 \family default
15048
15049 \family typewriter
15050 scrreprt.cls
15051 \family default
15052
15053 \family typewriter
15054 scrbook.cls
15055 \family default
15056 , y 
15057 \family typewriter
15058 scrlettr.cls
15059 \family default
15060 , de la familia Koma-Script.
15061  Son alternativas a las correspondientes clases estándar 
15062 \family typewriter
15063 article.cls
15064 \family default
15065
15066 \family typewriter
15067 report.cls
15068 \family default
15069
15070 \family typewriter
15071 book.cls
15072 \family default
15073  y 
15074 \family typewriter
15075 letter.cls
15076 \family default
15077 , y en ciertos aspectos
15078 \emph on
15079  
15080 \emph default
15081 se adaptan mejor a las convenciones tipográficas
15082 \family typewriter
15083  
15084 \family default
15085 europeas.
15086 \end_layout
15087
15088 \begin_layout Itemize
15089 El tamaño estándar de letra es 11
15090 \begin_inset space \thinspace{}
15091 \end_inset
15092
15093 pt en 
15094 \family sans
15095 article (koma-script)
15096 \emph on
15097
15098 \emph default
15099 report (koma-script)
15100 \family default
15101 , y 
15102 \family sans
15103 book (koma-script)
15104 \family default
15105 , y 12
15106 \begin_inset space \thinspace{}
15107 \end_inset
15108
15109 pt en 
15110 \family sans
15111 letter (koma-script)
15112 \family default
15113 .
15114 \end_layout
15115
15116 \begin_layout Itemize
15117 Los encabezados, los marcadores del entorno
15118 \family sans
15119  Descripción
15120 \family default
15121  y otros elementos de la clase 
15122 \family sans
15123 letter (koma-script)
15124 \family default
15125 \emph on
15126  
15127 \emph default
15128 se ponen en sans serif negrita.
15129 \begin_inset Foot
15130 status collapsed
15131
15132 \begin_layout Plain Layout
15133 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
15134  y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
15135  encabezados.
15136  En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
15137  El paquete \SpecialChar LaTeX
15138  
15139 \family typewriter
15140 cmsd.sty 
15141 \family default
15142 de 
15143 \shape smallcaps
15144 Walter Schmidt
15145 \shape default
15146  permite generar la apariencia 
15147 \begin_inset Quotes cld
15148 \end_inset
15149
15150 habitual
15151 \begin_inset Quotes crd
15152 \end_inset
15153
15154  cuando se emplean las tipografías ec.
15155 \end_layout
15156
15157 \end_inset
15158
15159  La numeración de los encabezados de capítulo se hace de la misma forma
15160  que la numeración de los encabezados de sección, o sea, sin la línea extra
15161  
15162 \begin_inset Quotes cld
15163 \end_inset
15164
15165 Capítulo\SpecialChar ldots
15166
15167 \begin_inset Quotes crd
15168 \end_inset
15169
15170 .
15171  Además, el aspecto de los encabezados se puede modificar mediante algunas
15172  opciones (en \SpecialChar LyX
15173  se introducen en el diálogo D
15174 \family sans
15175 ocumento\SpecialChar menuseparator
15176 Configuración
15177 \family default
15178 ).
15179  Se puede encontrar una completa descripción de estas opciones, en alemán,
15180  en la documentación de Koma-Script 
15181 \emph on
15182 scrguide
15183 \emph default
15184 .
15185 \end_layout
15186
15187 \begin_layout Itemize
15188 En las clases Koma-Script, los aspectos principales del diseño del área
15189  imprimible se controlan con las opciones 
15190 \family sans
15191 BCOR
15192 \family default
15193  y 
15194 \family sans
15195 DIV
15196 \family default
15197  (en \SpecialChar LyX
15198  se introducen en el campo de opciones de clase del diálogo 
15199 \family sans
15200 Documento\SpecialChar menuseparator
15201 Configuración
15202 \family default
15203 ).
15204  Dichas opciones permiten un ajuste más claro de los márgenes posibles de
15205  página.
15206  En la documentación de Koma-Script 
15207 \emph on
15208 scrguide
15209 \emph default
15210 , (en alemán), hay una detallada descripción de estas y otras opciones de
15211  configuración del área imprimible.
15212 \end_layout
15213
15214 \begin_layout Itemize
15215 Las clases \SpecialChar LaTeX
15216  de documentos de la familia Koma-Script definen un cierto número
15217  de comandos adicionales.
15218  Aquellos que tienen sentido en \SpecialChar LyX
15219  se implementan en los correspondientes
15220  tipos de párrafo.
15221 \end_layout
15222
15223 \begin_layout Standard
15224 En la documentación de Koma-Script, 
15225 \emph on
15226 scrguide
15227 \emph default
15228  (alemán) y 
15229 \emph on
15230 scrguien
15231 \emph default
15232  (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
15233  de la familia Koma-Scrip
15234 t.
15235 \end_layout
15236
15237 \begin_layout Subsection
15238 article (koma-script), report (koma-script), y book (koma-script)
15239 \end_layout
15240
15241 \begin_layout Standard
15242 Las clases de documento 
15243 \family sans
15244 article (koma-script)
15245 \emph on
15246
15247 \emph default
15248 report (koma-script)
15249 \family default
15250 , y 
15251 \family sans
15252 book
15253 \emph on
15254  
15255 \emph default
15256 (koma-script)
15257 \family default
15258  están implementadas en los archivos de formato 
15259 \family typewriter
15260 scrartcl.layout
15261 \family default
15262
15263 \family typewriter
15264 scrreprt.layout
15265 \family default
15266 , y 
15267 \family typewriter
15268 scrbook.layout
15269 \family default
15270 , respectivamente.
15271  Contienen todos los tipos de párrafo de las correspondientes clases estándar
15272  
15273 \family sans
15274 article
15275 \emph on
15276
15277 \emph default
15278 report
15279 \emph on
15280
15281 \family default
15282 \emph default
15283 y
15284 \family sans
15285 \emph on
15286  
15287 \emph default
15288 book
15289 \family default
15290 , parcialmente modificados, con la excepción del tipo 
15291 \family sans
15292 List
15293 \family default
15294 a, específico de \SpecialChar LyX
15295 , que es reemplazado por el nuevo tipo 
15296 \family sans
15297 Etiquetado
15298 \family default
15299 , que tiene la misma funcionalidad.
15300  Además del tipo 
15301 \family sans
15302 Etiquetado 
15303 \family default
15304 se han añadido otros nuevos tipos de párrafo.
15305  Pero 
15306 \emph on
15307 no 
15308 \emph default
15309 se encuentran en la clase 
15310 \family sans
15311 letter (koma-script)
15312 \family default
15313 .
15314 \end_layout
15315
15316 \begin_layout Itemize
15317
15318 \family sans
15319 Añadir_Parte, Añadir_Cap
15320 \family default
15321
15322 \family sans
15323 Añadir_Sec
15324 \family default
15325 : son los equivalentes respectivos a 
15326 \family sans
15327 Parte*, Capítulo*
15328 \family default
15329  y 
15330 \family sans
15331 Sección*
15332 \family default
15333 , pero además añaden una entrada en el índice general.
15334  
15335 \family sans
15336 Añadir_Parte
15337 \family default
15338  y 
15339 \family sans
15340 Añadir_Cap
15341 \family default
15342  no están en 
15343 \family sans
15344 article (koma-script)
15345 \family default
15346 .
15347 \end_layout
15348
15349 \begin_layout Itemize
15350
15351 \family sans
15352 Añadir_Cap
15353 \family default
15354 *, 
15355 \family sans
15356 Añadir_Sec*
15357 \family default
15358 : se comportan igual que 
15359 \family sans
15360 Añadir_Cap
15361 \family default
15362  y 
15363 \family sans
15364 Añadir_Sec
15365 \family default
15366  pero no indican la numeración del capítulo o sección.
15367  
15368 \family sans
15369 Añadir_Cap
15370 \family default
15371 * no está disponible en 
15372 \family sans
15373 article (koma-script)
15374 \family default
15375 .
15376 \begin_inset Foot
15377 status collapsed
15378
15379 \begin_layout Plain Layout
15380 En 
15381 \emph on
15382 book (koma-script)
15383 \emph default
15384  y en 
15385 \emph on
15386 report (koma-script)
15387 \emph default
15388 ,
15389 \emph on
15390  
15391 \emph default
15392 hay también un comando 
15393 \family typewriter
15394
15395 \backslash
15396 addpart*
15397 \family default
15398 , pero como es idéntico a 
15399 \family sans
15400 Parte*
15401 \family default
15402 , no ha sido implementado en \SpecialChar LyX
15403 .
15404 \end_layout
15405
15406 \end_inset
15407
15408
15409 \end_layout
15410
15411 \begin_layout Itemize
15412
15413 \family sans
15414 Mini
15415 \family default
15416 _S
15417 \family sans
15418 ec
15419 \family default
15420 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
15421  de carácter estándar sin afectar a la estructura del documento.
15422 \end_layout
15423
15424 \begin_layout Itemize
15425
15426 \family sans
15427 Encabezado_Arriba 
15428 \family default
15429
15430 \family sans
15431 Encabezado_Abajo
15432 \family default
15433  son encabezados especiales que respetan los espacios diferentes para encabezado
15434 s situados sobre y bajo un elemento (si sigues estrictamente las normas
15435  tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
15436  También puedes usar la opción de clase 
15437 \family typewriter
15438 tablecaptionsabove
15439 \family default
15440 , que cambiará 
15441 \family sans
15442 Encabezado
15443 \family default
15444  por 
15445 \family sans
15446 Encabezado_Arriba
15447 \family default
15448  para los cuadros y por 
15449 \family sans
15450 Encabezado_Abajo
15451 \family default
15452  para las figuras.
15453  Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
15454 \end_layout
15455
15456 \begin_layout Itemize
15457
15458 \family sans
15459 Sentencia
15460 \family default
15461 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
15462  un capítulo.
15463  Si utilizas el parámetro opcional 
15464 \family sans
15465 Insertar\SpecialChar menuseparator
15466 Título
15467 \begin_inset space ~
15468 \end_inset
15469
15470 breve
15471 \family default
15472 , puedes insertar aquí el nombre del autor de la sentencia.
15473  La sentencia y su autor se separan con una línea.
15474  Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
15475  
15476 \family sans
15477 Sentencia
15478 \family default
15479  no está incluido en 
15480 \family sans
15481 article (koma-script)
15482 \family default
15483 .
15484 \end_layout
15485
15486 \begin_layout Standard
15487 Los entornos siguientes, junto con los habituales 
15488 \family sans
15489 Título
15490 \family default
15491
15492 \family sans
15493 Autor
15494 \family default
15495 , y 
15496 \family sans
15497 Fecha
15498 \family default
15499 , forman la zona de título del documento.
15500  Deben introducirse sobre el primer párrafo 
15501 \begin_inset Quotes cld
15502 \end_inset
15503
15504 normal
15505 \begin_inset Quotes crd
15506 \end_inset
15507
15508 .
15509 \begin_inset Foot
15510 status collapsed
15511
15512 \begin_layout Plain Layout
15513 Los comandos \SpecialChar LaTeX
15514  correspondientes deben aparecer antes de 
15515 \family typewriter
15516
15517 \backslash
15518 maketitle
15519 \family default
15520 .
15521 \end_layout
15522
15523 \end_inset
15524
15525  Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
15526  lo que implica que para cada tipo solo es válida la última entrada.
15527  El orden de los distintos entornos no influye en el documento final, lo
15528  mismo que sucede con 
15529 \family sans
15530 Título
15531 \family default
15532
15533 \family sans
15534 Autor
15535 \family default
15536 , y 
15537 \family sans
15538 Fecha
15539 \family default
15540 .
15541 \end_layout
15542
15543 \begin_layout Itemize
15544
15545 \family sans
15546 Tema
15547 \family default
15548 : genera un párrafo centrado sobre el título ordinario (
15549 \family sans
15550 Título
15551 \family default
15552
15553 \family sans
15554 Autor
15555 \family default
15556
15557 \family sans
15558 Fecha
15559 \family default
15560 ) para poner el tema del documento.
15561 \end_layout
15562
15563 \begin_layout Itemize
15564
15565 \family sans
15566 Editores
15567 \family default
15568 : genera un párrafo centrado bajo el título ordinario (
15569 \family sans
15570 Título
15571 \family default
15572
15573 \family sans
15574 Autor
15575 \family default
15576
15577 \family sans
15578 Fecha
15579 \family default
15580 ) para los nombres de los editores.
15581 \end_layout
15582
15583 \begin_layout Itemize
15584
15585 \family sans
15586 Dedicatoria
15587 \family default
15588 : en 
15589 \family sans
15590 report (koma-script)
15591 \family default
15592  y 
15593 \family sans
15594 book (koma-script)
15595 \family default
15596  produce un párrafo centrado en su propia página detrás de la de título,
15597  o en 
15598 \family sans
15599 article (koma-script)
15600 \family default
15601  produce un párrafo centrado bajo el título ordinario (
15602 \family sans
15603 Título
15604 \family default
15605
15606 \family sans
15607 Autor
15608 \family default
15609
15610 \family sans
15611 Fecha
15612 \family default
15613
15614 \family sans
15615 Editores
15616 \family default
15617 ).
15618 \end_layout
15619
15620 \begin_layout Itemize
15621
15622 \family sans
15623 Encabezado_Título
15624 \family default
15625 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15626 \family sans
15627 Título
15628 \family default
15629
15630 \family sans
15631 Autor
15632 \family default
15633
15634 \family sans
15635 Fecha
15636 \family default
15637
15638 \family sans
15639 Tema
15640 \family default
15641 ).
15642 \end_layout
15643
15644 \begin_layout Itemize
15645
15646 \family sans
15647 Reverso_Título_Superior
15648 \family default
15649 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15650  en la parte superior del reverso de la página titular en 
15651 \family sans
15652 report (koma-script)
15653 \family default
15654  y 
15655 \family sans
15656 book (koma-script)
15657 \family default
15658 ; no afecta a documentos a una cara ni a
15659 \family sans
15660 \emph on
15661  
15662 \emph default
15663 article (koma-script)
15664 \family default
15665 .
15666 \end_layout
15667
15668 \begin_layout Itemize
15669
15670 \family sans
15671 Reverso_Título_Inferior
15672 \family default
15673 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15674  en la parte inferior del reverso de la página titular en 
15675 \family sans
15676 report (koma-script)
15677 \family default
15678  y 
15679 \family sans
15680 book (koma-script)
15681 \family default
15682 ; no afecta a documentos a una cara ni a 
15683 \family sans
15684 article (koma-script)
15685 \family default
15686 .
15687 \end_layout
15688
15689 \begin_layout Itemize
15690
15691 \family sans
15692 Extra_T
15693 \family default
15694 ítulo: produce una página especial al principio del documento con un párrafo
15695  sin formato.
15696 \end_layout
15697
15698 \begin_layout Standard
15699 Los archivos de formato para las clases 
15700 \family sans
15701 article (koma-script)
15702 \emph on
15703
15704 \emph default
15705 report (koma-script)
15706 \family default
15707 , y 
15708 \family sans
15709 book (koma-script)
15710 \family default
15711  incluyen el archivo 
15712 \family typewriter
15713 scrmacros.inc
15714 \family default
15715 .
15716  Este está pensado como un lugar para definir tus propios tipos.
15717  ¡Copia s
15718 \family typewriter
15719 crmacros.inc
15720 \family default
15721  en tu directorio personal y edítalo!
15722 \end_layout
15723
15724 \begin_layout Subsection
15725 letter (koma-script)
15726 \end_layout
15727
15728 \begin_layout Standard
15729 \noindent
15730 La clase de documento 
15731 \family sans
15732 letter (koma-script)
15733 \family default
15734  se implementa en el archivo de formato 
15735 \family typewriter
15736 scrlettr.layout
15737 \family default
15738 .
15739  Contiene todos los tipos de párrafo de la clase 
15740 \family sans
15741 letter
15742 \family default
15743 \emph on
15744  
15745 \emph default
15746 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15747  
15748 \family sans
15749 Código-\SpecialChar LyX
15750
15751 \family default
15752  y 
15753 \family sans
15754 Comentario y el tipo
15755 \family default
15756  
15757 \family sans
15758 Lista
15759 \family default
15760 , que es reemplazado por el nuevo tipo 
15761 \family sans
15762 Etiquetado
15763 \family default
15764 .
15765  Además contiene, a diferencia de la clase estándar, los entornos estándar
15766  \SpecialChar LaTeX
15767
15768 \family sans
15769 Cita, Citar 
15770 \family default
15771 y
15772 \family sans
15773  Verso
15774 \family default
15775 , más un número de nuevos tipos específicos para cartas.
15776 \end_layout
15777
15778 \begin_layout Standard
15779 El aspecto de las cartas producidas por esta clase de documento se puede
15780  controlar mediante comandos \SpecialChar LaTeX
15781  que puedes poner en el preámbulo.
15782 \begin_inset Foot
15783 status collapsed
15784
15785 \begin_layout Plain Layout
15786 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15787  direcciones, se consigue con estos comandos \SpecialChar LaTeX
15788  en el preámbulo:
15789 \end_layout
15790
15791 \begin_layout LyX-Code
15792
15793 \backslash
15794 firsthead{
15795 \backslash
15796 parbox[b]{
15797 \backslash
15798 textwidth}
15799 \end_layout
15800
15801 \begin_layout LyX-Code
15802   {
15803 \backslash
15804 ignorespaces 
15805 \backslash
15806 fromname
15807 \backslash
15808
15809 \backslash
15810  
15811 \backslash
15812 ignorespaces 
15813 \backslash
15814 fromaddress}} 
15815 \end_layout
15816
15817 \begin_layout LyX-Code
15818
15819 \backslash
15820 nexthead{
15821 \backslash
15822 parbox[b]{
15823 \backslash
15824 textwidth}
15825 \end_layout
15826
15827 \begin_layout LyX-Code
15828   {
15829 \backslash
15830 ignorespaces 
15831 \backslash
15832 fromname 
15833 \backslash
15834 hfill 
15835 \backslash
15836 ignorespaces 
15837 \backslash
15838 pagename
15839 \backslash
15840  
15841 \backslash
15842 thepage}}
15843 \end_layout
15844
15845 \end_inset
15846
15847  Hay una detallada descripción de ellos en la documentación de Koma-Script,
15848  
15849 \emph on
15850 scrguide
15851 \emph default
15852  (en alemán).
15853  Con su ayuda puedes producir formatos personalizados de cartas.
15854 \end_layout
15855
15856 \begin_layout Standard
15857 Los entornos 
15858 \family sans
15859 Carta
15860 \family default
15861  y 
15862 \family sans
15863 Apertura
15864 \family default
15865  definen el comienzo de la carta y deben ponerse en todas ellas.
15866  Se pueden escribir varias
15867 \family sans
15868  
15869 \family default
15870 cartas en el mismo archivo.
15871  Un entorno 
15872 \family sans
15873 Apertura 
15874 \family default
15875 da comienzo a una nueva carta para el mismo destinatario mientras que un
15876  entorno 
15877 \family sans
15878 Carta
15879 \family default
15880  da lugar a una nueva carta para distinto destinatario.
15881  Los tipos 
15882 \family sans
15883 Cierre
15884 \family default
15885
15886 \family sans
15887 PS
15888 \family default
15889
15890 \family sans
15891 CC
15892 \family default
15893 , y 
15894 \family sans
15895 Encl
15896 \family default
15897  son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15898 \end_layout
15899
15900 \begin_layout Itemize
15901
15902 \family sans
15903 Carta
15904 \family default
15905 : produce un párrafo para poner el destinatario y define implícitamente
15906  el inicio de la carta.
15907 \end_layout
15908
15909 \begin_layout Itemize
15910
15911 \family sans
15912 Apertura
15913 \family default
15914 : produce un párrafo para poner el destinatario e inicia implícitamente
15915  una nueva carta.
15916 \end_layout
15917
15918 \begin_layout Itemize
15919
15920 \family sans
15921 Cierre
15922 \family default
15923 : da lugar a un párrafo para el cierre de la carta.
15924 \end_layout
15925
15926 \begin_layout Itemize
15927
15928 \family sans
15929 PS
15930 \family default
15931 : párrafo para poner una postdata.
15932 \end_layout
15933
15934 \begin_layout Itemize
15935
15936 \family sans
15937 CC
15938 \family default
15939 : párrafo para una lista de co-destinatarios.
15940 \end_layout
15941
15942 \begin_layout Itemize
15943
15944 \family sans
15945 Encl
15946 \family default
15947 : párrafo para documentos adjuntos.
15948 \end_layout
15949
15950 \begin_layout Standard
15951 Los tipos de entorno 
15952 \family sans
15953 Nombre
15954 \family default
15955
15956 \family sans
15957 Firma
15958 \family default
15959
15960 \family sans
15961 Dirección
15962 \family default
15963
15964 \family sans
15965 Teléfono
15966 \family default
15967
15968 \family sans
15969 Lugar
15970 \family default
15971
15972 \family sans
15973 Remite
15974 \family default
15975
15976 \family sans
15977 Correo
15978 \begin_inset space ~
15979 \end_inset
15980
15981 especial
15982 \family default
15983
15984 \family sans
15985 Localización
15986 \family default
15987
15988 \family sans
15989 Título
15990 \family default
15991 , y 
15992 \family sans
15993 Tema
15994 \family default
15995  son entradas provistas de una etiqueta para introducir información que
15996  será procesada por la clase de documento.
15997 \begin_inset Foot
15998 status collapsed
15999
16000 \begin_layout Plain Layout
16001 Podría ser inconsecuente que 
16002 \family sans
16003 Carta 
16004 \family default
16005
16006 \family sans
16007 Apertura
16008 \family default
16009 , descritos arriba, no sean también entornos con etiqueta de entrada.
16010  Sin embargo, debido al signifificado particular de estos tipos, los he
16011  implementado como párrafos ordinarios con una letra en el margen.
16012  Además, afectaría a mi sensación de simetría si los tipos 
16013 \family sans
16014 Apertura
16015 \family default
16016  y 
16017 \family sans
16018 Cierre
16019 \family default
16020  tuvieran aspectos muy distintos.
16021 \end_layout
16022
16023 \end_inset
16024
16025  Estos tipos deben ponerse antes de la 
16026 \family sans
16027 Apertura
16028 \family default
16029  correspondiente.
16030 \end_layout
16031
16032 \begin_layout Standard
16033 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
16034  el aspecto real de la carta no solo depende del uso de un tipo particular,
16035  sino también de otros factores.
16036  Por ejemplo, en el comportamiento predeterminado, una firma introducida
16037  en el tipo 
16038 \family sans
16039 Firma 
16040 \family default
16041 solo aparecerá en la carta si se usa, además, el tipo 
16042 \family sans
16043 Cierre
16044 \family default
16045 .
16046  El valor introducido en 
16047 \family sans
16048 Teléfono 
16049 \family default
16050 tampoco aparece en la carta.
16051  La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
16052  antes en una nota al pie.
16053 \end_layout
16054
16055 \begin_layout Standard
16056 Los entornos para introducir datos también se pueden usar como párrafos
16057  vacíos.
16058  Esto tiene sentido, p.
16059 \begin_inset space \thinspace{}
16060 \end_inset
16061
16062 e., para el entorno 
16063 \family sans
16064 Firma
16065 \family default
16066 .
16067  Si no se pone 
16068 \family sans
16069 Firma
16070 \family default
16071 , en el comportamiento estándar se usará el valor de 
16072 \family sans
16073 Nombre 
16074 \family default
16075 como firma, mientras que si se define una 
16076 \family sans
16077 Firma 
16078 \family default
16079 vacía no saldrá ninguna.
16080 \end_layout
16081
16082 \begin_layout Standard
16083 Los entornos para introducir datos también pueden servir para escribir una
16084  plantilla, que contenga campos cumplimentados con tus datos personales
16085  (nombre, dirección, etc.), y campos vacíos listos para ser completados con
16086  otros datos.
16087 \end_layout
16088
16089 \begin_layout Itemize
16090
16091 \family sans
16092 Nombre
16093 \family default
16094 : nombre del remitente, en el comportamiento normal aparece en versalitas,
16095  en un párrafo centrado en el encabezado de la carta.
16096 \end_layout
16097
16098 \begin_layout Itemize
16099
16100 \family sans
16101 Firma
16102 \family default
16103 : firma del remitente, en el comportamiento normal aparece bajo el 
16104 \family sans
16105 Cierre
16106 \family default
16107 .
16108  Si no se utiliza el párrafo 
16109 \family sans
16110 Firma
16111 \family default
16112 , se escribe en su lugar el valor del campo 
16113 \family sans
16114 Nombre
16115 \family default
16116 .
16117 \end_layout
16118
16119 \begin_layout Itemize
16120
16121 \family sans
16122 Dirección
16123 \family default
16124 : dirección del remitente, en el comportamiento normal aparece en un párrafo
16125  centrado, en el encabezado, bajo el 
16126 \family sans
16127 Nombre
16128 \family default
16129  del remitente.
16130 \end_layout
16131
16132 \begin_layout Itemize
16133
16134 \family sans
16135 Teléfon
16136 \family default
16137 o: teléfono del remitente, en el comportamiento normal corresponde a la
16138  variable 
16139 \family typewriter
16140
16141 \backslash
16142 telephonenum
16143 \family default
16144  de \SpecialChar LaTeX
16145 .
16146 \end_layout
16147
16148 \begin_layout Itemize
16149
16150 \family sans
16151 Lugar
16152 \family default
16153 : lugar donde se ha escrito la carta.
16154 \end_layout
16155
16156 \begin_layout Itemize
16157
16158 \family sans
16159 Fecha
16160 \family default
16161 : fecha de escritura de la carta.
16162  
16163 \family sans
16164 Lugar
16165 \family default
16166  y 
16167 \family sans
16168 Fecha
16169 \family default
16170 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
16171  Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
16172 mente del valor puesto en 
16173 \family sans
16174 Lugar
16175 \family default
16176 .
16177  Si no se pone párrafo de 
16178 \family sans
16179 Fecha
16180 \family default
16181 , se usará la fecha del día.
16182 \end_layout
16183
16184 \begin_layout Itemize
16185
16186 \family sans
16187 Remite
16188 \family default
16189 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
16190 io (
16191 \family sans
16192 Carta
16193 \family default
16194 ) en tipografía sans serif pequeña, subrayado.
16195 \end_layout
16196
16197 \begin_layout Itemize
16198
16199 \family sans
16200 Correo_Especial
16201 \family default
16202 : información especial de correo, en el comportamiento normal aparece subrayado
16203  sobre la dirección y bajo el remite.
16204 \end_layout
16205
16206 \begin_layout Itemize
16207
16208 \family sans
16209 Loca
16210 \family default
16211 lizació
16212 \family sans
16213 n
16214 \family default
16215 : información adicional, en el comportamiento normal aparece a la derecha
16216  bajo el campo del destinatario (
16217 \family sans
16218 Carta
16219 \family default
16220 ).
16221 \end_layout
16222
16223 \begin_layout Itemize
16224
16225 \family sans
16226 Título
16227 \family default
16228 : título de la carta, en el comportamiento normal aparece en letra sans
16229  serif grande, en negrita, sobre el 
16230 \family sans
16231 Tema
16232 \family default
16233 .
16234 \end_layout
16235
16236 \begin_layout Itemize
16237
16238 \family sans
16239 Tema
16240 \family default
16241 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
16242  el párrafo de 
16243 \family sans
16244 Apertura
16245 \family default
16246 .
16247 \end_layout
16248
16249 \begin_layout Standard
16250 Los tipos 
16251 \family sans
16252 Su_ref
16253 \family default
16254
16255 \family sans
16256 Su_Correo
16257 \family default
16258
16259 \family sans
16260 Mi_ref
16261 \family default
16262
16263 \family sans
16264 C
16265 \family default
16266 liente, y 
16267 \family sans
16268 Factura
16269 \family default
16270  generan, a la manera de las cartas comerciales, una línea sobre el 
16271 \family sans
16272 Título
16273 \family default
16274  con los campos 
16275 \begin_inset Quotes cld
16276 \end_inset
16277
16278 Su ref.
16279 \begin_inset Quotes crd
16280 \end_inset
16281
16282
16283 \begin_inset Quotes cld
16284 \end_inset
16285
16286 Su carta de
16287 \begin_inset Quotes crd
16288 \end_inset
16289
16290
16291 \begin_inset Quotes cld
16292 \end_inset
16293
16294 Nuestra ref.
16295 \begin_inset Quotes crd
16296 \end_inset
16297
16298
16299 \begin_inset Quotes cld
16300 \end_inset
16301
16302 Nº de Cliente
16303 \begin_inset Quotes crd
16304 \end_inset
16305
16306
16307 \begin_inset Quotes cld
16308 \end_inset
16309
16310 Nº de Factura:
16311 \begin_inset Quotes crd
16312 \end_inset
16313
16314 , y 
16315 \begin_inset Quotes cld
16316 \end_inset
16317
16318 Fecha
16319 \begin_inset Quotes crd
16320 \end_inset
16321
16322 .
16323  Para el campo 
16324 \begin_inset Quotes cld
16325 \end_inset
16326
16327 Fecha
16328 \begin_inset Quotes crd
16329 \end_inset
16330
16331  toma el valor del entorno 
16332 \family sans
16333 Fecha
16334 \family default
16335 .
16336  Si se utiliza uno de estos tipos para 
16337 \begin_inset Quotes cld
16338 \end_inset
16339
16340 cartas comerciales
16341 \begin_inset Quotes crd
16342 \end_inset
16343
16344 , el valor dado en 
16345 \family sans
16346 Lugar
16347 \family default
16348  no aparece, solo se define la variable \SpecialChar LaTeX
16349  
16350 \family typewriter
16351
16352 \backslash
16353 fromplace
16354 \family default
16355 .
16356  La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
16357  campo del destinatario se suprime.
16358  Los tipos se implementan para introducción de datos, provistos con una
16359  etiqueta, y deben utilizarse antes del correspondiente tipo 
16360 \family sans
16361 Apertura
16362 \family default
16363 .
16364 \end_layout
16365
16366 \begin_layout Itemize
16367
16368 \family sans
16369 Su_ref
16370 \family default
16371 : su ref.
16372 \end_layout
16373
16374 \begin_layout Itemize
16375 Su
16376 \family sans
16377 _
16378 \family default
16379 Correo: su carta de.
16380 \end_layout
16381
16382 \begin_layout Itemize
16383
16384 \family sans
16385 Mi
16386 \family default
16387 _
16388 \family sans
16389 ref
16390 \family default
16391 : mi ref.
16392 \end_layout
16393
16394 \begin_layout Itemize
16395
16396 \family sans
16397 Cliente
16398 \family default
16399 : Nº de cliente.
16400 \end_layout
16401
16402 \begin_layout Itemize
16403
16404 \family sans
16405 Factura
16406 \family default
16407 : Nº de factura.
16408 \end_layout
16409
16410 \begin_layout Subsection
16411 La nueva clase de carta: letter (koma-script v.2)
16412 \end_layout
16413
16414 \begin_layout Standard
16415 por 
16416 \noun on
16417 Jürgen Spitzmüller
16418 \end_layout
16419
16420 \begin_layout Standard
16421 \begin_inset VSpace medskip
16422 \end_inset
16423
16424
16425 \end_layout
16426
16427 \begin_layout Standard
16428 \noindent
16429 Koma-Script versión 2.8 ha introducido una clase nueva 
16430 \family sans
16431 de 
16432 \family default
16433 cartas, 
16434 \family typewriter
16435 scrlttr2
16436 \family default
16437 , que reemplaza a 
16438 \family typewriter
16439 scrlettr
16440 \family default
16441 , que ya no se desarrolla.
16442  Tiene, en lo que respecta a \SpecialChar LaTeX
16443 , una interfaz completamente nueva incompatible
16444  con la clase antigua.
16445  \SpecialChar LyX
16446  soporta las dos, pero se recomienda usar la nueva.
16447 \end_layout
16448
16449 \begin_layout Standard
16450 Esta clase cubre las mismas funciones que 
16451 \family sans
16452 letter (koma-script)
16453 \family default
16454 \emph on
16455 ,
16456 \emph default
16457  y algunas más.
16458  Las funciones básicas son 
16459 \family sans
16460 Dirección
16461 \family default
16462  (dirección del destinatario, como
16463 \family sans
16464  Carta
16465 \family default
16466  en el formato antiguo), 
16467 \family sans
16468 Apertura
16469 \family default
16470 , y 
16471 \family sans
16472 Cierre
16473 \family default
16474 .
16475  
16476 \family sans
16477 Dirección
16478 \family default
16479 _
16480 \family sans
16481 Siguiente
16482 \family default
16483  comenzará una carta nueva (o sea, que puedes escribir varias cartas en
16484  el mismo documento).
16485  Los elementos nuevos de remitente son 
16486 \family sans
16487 Correo_Electrónico
16488 \family default
16489
16490 \family sans
16491 URL
16492 \family default
16493
16494 \family sans
16495 Fax
16496 \family default
16497
16498 \family sans
16499 Bank
16500 \family default
16501  y la posibilidad de usar un 
16502 \family sans
16503 Logotipo
16504 \family default
16505  (vía 
16506 \family sans
16507 Insertar\SpecialChar menuseparator
16508 Imagen
16509 \family default
16510 ) en el encabezado.
16511 \end_layout
16512
16513 \begin_layout Standard
16514 La mejora más importante es, creo, que el formato de la carta es configurable
16515  para casi cualquier necesidad.
16516  Esto se puede hacer en el preámbulo o con un archivo de estilo especial
16517  (extensión 
16518 \family typewriter
16519 .lco
16520 \family default
16521 , Letter Class Option), que será leído como una opción de clase.
16522 \begin_inset Foot
16523 status collapsed
16524
16525 \begin_layout Plain Layout
16526 El paquete KOMA viene con algunos archivos 
16527 \family typewriter
16528 .lco
16529 \family default
16530  predefinidos.
16531  Hay, por ejemplo, un archivo 
16532 \family typewriter
16533 DIN.lco
16534 \family default
16535  que sigue las normas tipográficas alemanas, o 
16536 \family typewriter
16537 KOMAold.lco
16538 \family default
16539  que proporciona el formato predefinido de la antigua clase 
16540 \family typewriter
16541 scrlettr
16542 \family default
16543 .
16544  Esta última puede cargarse como opción de clase 
16545 \family typewriter
16546 KOMAold
16547 \family default
16548 , en el campo 
16549 \family sans
16550 Opciones 
16551 \family default
16552 de 
16553 \family sans
16554 Documento\SpecialChar menuseparator
16555 Configuración\SpecialChar menuseparator
16556 Clase
16557 \begin_inset space ~
16558 \end_inset
16559
16560 de
16561 \begin_inset space ~
16562 \end_inset
16563
16564 documento
16565 \family default
16566 .
16567 \end_layout
16568
16569 \end_inset
16570
16571  Echa una ojeada a la plantilla 
16572 \emph on
16573 koma-letter2
16574 \emph default
16575  que se incluye como ejemplo en \SpecialChar LyX
16576 .
16577  En la documentación de Koma-Script (
16578 \emph on
16579 scrguide
16580 \emph default
16581 ) hay una descripción detallada.
16582 \end_layout
16583
16584 \begin_layout Subsection
16585 Problemas
16586 \end_layout
16587
16588 \begin_layout Standard
16589 En \SpecialChar LyX
16590 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16591  problemas.
16592 \end_layout
16593
16594 \begin_layout Itemize
16595 El número de capítulo en un párrafo 
16596 \family sans
16597 Capítulo
16598 \family default
16599  aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16600  delante en la misma línea.
16601  La causa de esto es el comportamiento interno de \SpecialChar LyX
16602  en relación a los marcadores
16603  del tipo 
16604 \family sans
16605 Counter_Chapter 
16606 \family default
16607 en el archivo de formato.
16608 \end_layout
16609
16610 \begin_layout Itemize
16611 Los encabezados de los entornos 
16612 \family sans
16613 Añadir_Cap
16614 \family default
16615  y 
16616 \family sans
16617 Añadir_Sec
16618 \family default
16619  solo se ponen en el índice generado por \SpecialChar LaTeX
16620 , no en el índice de \SpecialChar LyX
16621  (
16622 \family sans
16623 Documento\SpecialChar menuseparator
16624 Índice
16625 \begin_inset space ~
16626 \end_inset
16627
16628 general
16629 \family default
16630 ).
16631 \end_layout
16632
16633 \begin_layout Itemize
16634 Los párrafos en documentos de la clase 
16635 \emph on
16636 letter
16637 \emph default
16638  aparecen separados con espacio adicional entre ellos, no con sangrado.
16639  Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16640  para eso.
16641  Sin embargo, en el diálogo 
16642 \family sans
16643 Documento\SpecialChar menuseparator
16644 Configuración
16645 \family default
16646  el botón que aparece marcado es 
16647 \family sans
16648 Sangrado
16649 \family default
16650 .
16651  Si se introduce un valor de 
16652 \family sans
16653 Espacio
16654 \begin_inset space ~
16655 \end_inset
16656
16657 vertical
16658 \family default
16659  se insertan en el documento comandos \SpecialChar LaTeX
16660  adicionales para dar ese espacio,
16661  lo que en este caso no es lo que queremos.
16662 \end_layout
16663
16664 \begin_layout Section
16665 Memoir
16666 \end_layout
16667
16668 \begin_layout Standard
16669 por 
16670 \noun on
16671 Jürgen Spitzmüller
16672 \end_layout
16673
16674 \begin_layout Subsection
16675 Visión previa
16676 \end_layout
16677
16678 \begin_layout Standard
16679 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16680  Se ha diseñado para escribir literatura de ficción y de no ficción.
16681  Su objetivo es dar al usuario el máximo control sobre su documento.
16682  Memoir está basada en la clase estándar 
16683 \family sans
16684 book
16685 \family default
16686 , pero también puede emular la clase 
16687 \family sans
16688 article 
16689 \family default
16690 (véase más adelante).
16691 \end_layout
16692
16693 \begin_layout Standard
16694 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16695  paquetes en el mundillo de \SpecialChar LaTeX
16696 .
16697  La mayoría de ellos se han combinado con Memoir.
16698  Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16699  y demás.
16700  \SpecialChar LyX
16701 , no obstante, no soporta por sí mismo todas sus características.
16702  Algunas se podrán añadir en futuras versiones
16703 \begin_inset Foot
16704 status collapsed
16705
16706 \begin_layout Plain Layout
16707 Estás invitado a enviar sugerencias a 
16708 \begin_inset Flex URL
16709 status collapsed
16710
16711 \begin_layout Plain Layout
16712
16713 lyx-devel@lists.lyx.org
16714 \end_layout
16715
16716 \end_inset
16717
16718 .
16719 \end_layout
16720
16721 \end_inset
16722
16723 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16724 .
16725  Por supuesto, puedes usar todas las características con ayuda de comandos
16726  \SpecialChar LaTeX
16727  (código \SpecialChar TeX
16728
16729 \begin_inset Foot
16730 status collapsed
16731
16732 \begin_layout Plain Layout
16733 Consulta la sección
16734 \begin_inset space ~
16735 \end_inset
16736
16737
16738 \begin_inset CommandInset ref
16739 LatexCommand ref
16740 reference "sec:Insertar-Código-TeX"
16741
16742 \end_inset
16743
16744  para más detalles.
16745 \end_layout
16746
16747 \end_inset
16748
16749 ).
16750  En esta sección solo trataremos las características soportadas directamente
16751  por \SpecialChar LyX
16752 .
16753  Para una decripción más completa (y para el resto de características) recomenda
16754 mos la consulta del manual de Memoir
16755 \begin_inset Foot
16756 status collapsed
16757
16758 \begin_layout Plain Layout
16759 \begin_inset Flex URL
16760 status collapsed
16761
16762 \begin_layout Plain Layout
16763
16764 CTAN:/macros/latex/memoir/memman.pdf
16765 \end_layout
16766
16767 \end_inset
16768
16769 .
16770 \end_layout
16771
16772 \end_inset
16773
16774 , que es, no solo una guía de usuario, sino también una completa guía sobre
16775  normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16776 \end_layout
16777
16778 \begin_layout Subsection
16779 Características básicas y restricciones
16780 \end_layout
16781
16782 \begin_layout Standard
16783 Memoir soporta básicamente todas las características de las clases estándar
16784  de 
16785 \family sans
16786 book
16787 \family default
16788 .
16789  Pero hay algunas diferencias:
16790 \end_layout
16791
16792 \begin_layout Description
16793 Tamaños
16794 \begin_inset space ~
16795 \end_inset
16796
16797 de
16798 \begin_inset space ~
16799 \end_inset
16800
16801 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16802  11, 12, 14, 17
16803 \end_layout
16804
16805 \begin_layout Description
16806 Estilo
16807 \begin_inset space ~
16808 \end_inset
16809
16810 de
16811 \begin_inset space ~
16812 \end_inset
16813
16814 página: El estilo 
16815 \begin_inset Quotes cld
16816 \end_inset
16817
16818 fancy
16819 \begin_inset Quotes crd
16820 \end_inset
16821
16822  no está soportado, debido a un conflicto entre Memoir y el paquete 
16823 \family sans
16824 fancyhdr
16825 \family default
16826  (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16827 ).
16828  En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16829  
16830 \family sans
16831 Documento\SpecialChar menuseparator
16832 Configuración\SpecialChar menuseparator
16833 Diseño
16834 \begin_inset space ~
16835 \end_inset
16836
16837 de
16838 \begin_inset space ~
16839 \end_inset
16840
16841 página
16842 \family default
16843 ).
16844  Si quieres usar estos para las páginas de capítulos, tienes que usar el
16845  comando 
16846 \family typewriter
16847
16848 \backslash
16849 chapterstyle
16850 \family default
16851  en el texto o en el preámbulo (p.
16852 \begin_inset space \thinspace{}
16853 \end_inset
16854
16855 ej.
16856 \begin_inset space ~
16857 \end_inset
16858
16859
16860 \family typewriter
16861
16862 \backslash
16863 chapterstyle{companion}
16864 \family default
16865 ).
16866 \end_layout
16867
16868 \begin_layout Description
16869 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16870  subsección, etc.) van con un argumento opcional con el que puedes especificar
16871  una versión alternativa del título de la sección para el índice y para
16872  los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16873  largo).
16874  En \SpecialChar LyX
16875 , puedes hacerlo con la opción de menú 
16876 \family sans
16877 Insertar\SpecialChar menuseparator
16878 Título
16879 \begin_inset space ~
16880 \end_inset
16881
16882 breve
16883 \family default
16884  al principio de un capítulo/sección.
16885  
16886 \family sans
16887 Memoir
16888 \family default
16889  suministra un segundo argumento opcional para separar el índice del encabezamie
16890 nto.
16891  Con esto puedes definir tres variantes de un título: una para el texto
16892  principal, otra para el índice general y otra para los encabezamientos.
16893  Simplemente, inserta dos argumentos opcionales si necesitas esta característica
16894 , el primero contiene el título breve para el Índice General, el segundo
16895  contiene un título breve alternativo para los encabezamientos.
16896 \end_layout
16897
16898 \begin_layout Description
16899 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16900  (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16901  en página nueva.
16902  
16903 \family sans
16904 Memoir
16905 \family default
16906  no sigue esta regla.
16907  Si lo quieres, tienes que insertar a mano el salto de página.
16908 \end_layout
16909
16910 \begin_layout Description
16911 Página
16912 \begin_inset space ~
16913 \end_inset
16914
16915 de
16916 \begin_inset space ~
16917 \end_inset
16918
16919 Título: Por razones desconocidas, 
16920 \family sans
16921 Memoir
16922 \family default
16923  usa paginación en la página del título (en las clases estándar, las páginas
16924  de título van en estilo 
16925 \begin_inset Quotes cld
16926 \end_inset
16927
16928
16929 \family sans
16930 empty
16931 \family default
16932
16933 \begin_inset Quotes crd
16934 \end_inset
16935
16936 , sin número).
16937  Si quieres una página de título en dicho estilo, pon 
16938 \family typewriter
16939
16940 \backslash
16941 aliaspagestyle{title}{empty}
16942 \family default
16943  en el preámbulo.
16944 \end_layout
16945
16946 \begin_layout Description
16947 Article: Con la opción de clase 
16948 \emph on
16949 article
16950 \emph default
16951  (que se debe introducir en 
16952 \family sans
16953 Documento\SpecialChar menuseparator
16954 Configuración\SpecialChar menuseparator
16955 Clase
16956 \begin_inset space ~
16957 \end_inset
16958
16959 de
16960 \begin_inset space ~
16961 \end_inset
16962
16963 documento\SpecialChar menuseparator
16964 Opciones
16965 \family default
16966 ), puedes emular algunos comportamientos de estilo de la clase 
16967 \family sans
16968 article
16969 \family default
16970 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16971  al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16972  (aunque, a diferencia de las clases 
16973 \family sans
16974 article 
16975 \family default
16976
16977 \begin_inset Quotes cld
16978 \end_inset
16979
16980 de verdad
16981 \begin_inset Quotes crd
16982 \end_inset
16983
16984 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16985  en las clases 
16986 \family sans
16987 book
16988 \family default
16989 .
16990 \end_layout
16991
16992 \begin_layout Description
16993 Comandos
16994 \begin_inset space ~
16995 \end_inset
16996
16997 de
16998 \begin_inset space ~
16999 \end_inset
17000
17001 tipografía
17002 \begin_inset space ~
17003 \end_inset
17004
17005 antiguos: por omisión, 
17006 \family sans
17007 Memoir
17008 \family default
17009  no permite el uso de los comandos de tipografía obsoletos que se usaban
17010  en la antigua versión de \SpecialChar LaTeX
17011 , 2.09 (p.
17012 \begin_inset space \thinspace{}
17013 \end_inset
17014
17015 ej.
17016 \family typewriter
17017
17018 \begin_inset space ~
17019 \end_inset
17020
17021
17022 \backslash
17023 rm
17024 \family default
17025 ,
17026 \begin_inset space ~
17027 \end_inset
17028
17029
17030 \family typewriter
17031
17032 \backslash
17033 it
17034 \family default
17035 ).
17036  Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
17037 .
17038  La opción de clase 
17039 \emph on
17040 oldfontcommands
17041 \emph default
17042  readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
17043  al menos no detiene a \SpecialChar LaTeX
17044 ).
17045  Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
17046  en sus archivos de estilo,
17047  todavía utilizan estos comandos, hemos decidido mantener esta opción como
17048  predeterminada.
17049 \end_layout
17050
17051 \begin_layout Subsection
17052 Características adicionales
17053 \end_layout
17054
17055 \begin_layout Standard
17056 Solo indicaremos las soportadas por \SpecialChar LyX
17057  (que actualmente no son muchas).
17058  Consulta el manual de 
17059 \family sans
17060 Memoir
17061 \family default
17062  para más detalles.
17063 \begin_inset Foot
17064 status collapsed
17065
17066 \begin_layout Plain Layout
17067 \begin_inset Flex URL
17068 status collapsed
17069
17070 \begin_layout Plain Layout
17071
17072 CTAN:/macros/latex/memoir/memman.pdf
17073 \end_layout
17074
17075 \end_inset
17076
17077 .
17078 \end_layout
17079
17080 \end_inset
17081
17082
17083 \end_layout
17084
17085 \begin_layout Description
17086 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
17087  Bien, lo es en la clase 
17088 \family sans
17089 book
17090 \family default
17091 .
17092  Usualmente los libros no tienen resúmenes.
17093  
17094 \family sans
17095 Memoir
17096 \family default
17097 , sin embargo, sí.
17098  Puedes usarlo donde, como y cuantas veces quieras.
17099 \end_layout
17100
17101 \begin_layout Description
17102 Capítulo
17103 \begin_inset space ~
17104 \end_inset
17105
17106 conciso: Quizá conozcas esto de 
17107 \begin_inset Quotes cld
17108 \end_inset
17109
17110 belletristic
17111 \begin_inset Quotes crd
17112 \end_inset
17113
17114
17115 \begin_inset Foot
17116 status collapsed
17117
17118 \begin_layout Plain Layout
17119 Estilo de escritura en que se da más importancia a la bella apariencia que
17120  al contenido.
17121
17122 \emph on
17123  (N.
17124  del t.)
17125 \end_layout
17126
17127 \end_inset
17128
17129 : El contenido de un capítulo es brevemente descrito debajo del título y
17130  también en el índice general (p.
17131 \begin_inset space \thinspace{}
17132 \end_inset
17133
17134 ej.
17135 \begin_inset space ~
17136 \end_inset
17137
17138
17139 \emph on
17140 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
17141 \emph default
17142 ).
17143  Capítulo_Conciso hace precisamente eso.
17144  Por tanto solo tiene sentido bajo un título de un capítulo.
17145 \end_layout
17146
17147 \begin_layout Description
17148 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
17149  El entorno epígrafe lo presenta de manera elegante.
17150  El propio lema (texto) y su autor (origen) se separan con una línea corta.
17151  Desafortunadamente, tenemos que marear un poco a \SpecialChar LyX
17152 , porque el entorno necesita
17153  dos argumentos (texto y origen).
17154  En este caso tenemos que usar llaves (}{, en modo \SpecialChar TeX
17155 ) entre ambos argumentos:
17156  
17157 \emph on
17158 <un elegante lema>
17159 \emph default
17160  
17161 \family typewriter
17162 }{
17163 \family default
17164  
17165 \emph on
17166 <autor del lema>.
17167 \end_layout
17168
17169 \begin_layout Description
17170 Título
17171 \begin_inset space ~
17172 \end_inset
17173
17174 poema: 
17175 \family sans
17176 Memoir
17177 \family default
17178  ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
17179  figurativos).
17180  Lyx solo soporta unas pocas de ellas.
17181  Una es 
17182 \family sans
17183 Título_Poema
17184 \family default
17185 , que pone un título centrado para el poema y que también se añade al índice
17186  general.
17187  (
17188 \family sans
17189 Verso
17190 \family default
17191  es el entorno estándar para poesía.
17192  
17193 \family sans
17194 Memoir
17195 \family default
17196  dispone de algunas versiones mejoradas de 
17197 \family sans
17198 verse
17199 \family default
17200 , pero necesitas usar código \SpecialChar TeX
17201 , porque tienen que anidarse en entornos regulares
17202  de verso, lo que no es posible en \SpecialChar LyX
17203 ).
17204 \end_layout
17205
17206 \begin_layout Description
17207 Título
17208 \begin_inset space ~
17209 \end_inset
17210
17211 poema*: Igual que 
17212 \family sans
17213 Título
17214 \begin_inset space ~
17215 \end_inset
17216
17217 poema
17218 \family default
17219 , pero no añade entrada al índice general.
17220 \end_layout
17221
17222 \begin_layout Section
17223 Article (mwart), book (mwbk) y report (mwrep)
17224 \begin_inset Argument 1
17225 status collapsed
17226
17227 \begin_layout Plain Layout
17228 Las clases 
17229 \family typewriter
17230 mw
17231 \end_layout
17232
17233 \end_inset
17234
17235
17236 \end_layout
17237
17238 \begin_layout Standard
17239 por 
17240 \noun on
17241 Tomasz Luczak
17242 \end_layout
17243
17244 \begin_layout Standard
17245 Las clases de documento 
17246 \family sans
17247 article (mwart)
17248 \emph on
17249
17250 \emph default
17251 report (mwrep)
17252 \family default
17253  y 
17254 \family sans
17255 book
17256 \emph on
17257  
17258 \emph default
17259 (mwbk)
17260 \family default
17261  de \SpecialChar LyX
17262  corresponden a las clases de documentos \SpecialChar LaTeX
17263  
17264 \family typewriter
17265 mwart.cls
17266 \family default
17267
17268 \family typewriter
17269 mwrep.cls
17270 \family default
17271  y 
17272 \family typewriter
17273 mwbk.cls
17274 \family default
17275 , respectivamente.
17276  Son remodelaciones de las clases estándar de documentos 
17277 \family typewriter
17278 article.cls
17279 \family default
17280
17281 \family typewriter
17282 report.cls
17283 \family default
17284  y 
17285 \family typewriter
17286 book.cls
17287 \family default
17288 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
17289  en varios aspectos.
17290  
17291 \end_layout
17292
17293 \begin_layout Standard
17294 Las diferencias fundamentales son:
17295 \end_layout
17296
17297 \begin_layout Itemize
17298 Encabezados no numerados (con asterisco, p.
17299 \begin_inset space \thinspace{}
17300 \end_inset
17301
17302 ej.
17303  
17304 \family sans
17305 Sección*
17306 \family default
17307 ) en el índice.
17308 \end_layout
17309
17310 \begin_layout Itemize
17311 Estilos de página adicionales:
17312 \end_layout
17313
17314 \begin_deeper
17315 \begin_layout Description
17316 uheadings encabezados en líneas separadas,
17317 \end_layout
17318
17319 \begin_layout Description
17320 myheadings encabezados personalizados con 
17321 \family typewriter
17322
17323 \backslash
17324 markright
17325 \family default
17326  y 
17327 \family typewriter
17328
17329 \backslash
17330 markboth
17331 \family default
17332 ,
17333 \end_layout
17334
17335 \begin_layout Description
17336 myuheadings encabezados personalizados en líneas separadas,
17337 \end_layout
17338
17339 \begin_layout Description
17340 outer el número de página se coloca en el lado exterior de la misma.
17341 \end_layout
17342
17343 \end_deeper
17344 \begin_layout Itemize
17345 Opciones 
17346 \end_layout
17347
17348 \begin_deeper
17349 \begin_layout Description
17350 rmheadings encabezados en serif (predeterminado),
17351 \end_layout
17352
17353 \begin_layout Description
17354 sfheadings encabezados en sans-serif,
17355 \end_layout
17356
17357 \begin_layout Description
17358 authortitle en la página del título se pone primero el autor y luego el
17359  título (predeterminado),
17360 \end_layout
17361
17362 \begin_layout Description
17363 titleauthor en la página del título se pone el título, después el autor,
17364 \end_layout
17365
17366 \begin_layout Description
17367 withmarginpar reservar sitio de la página para los márgenes.
17368 \end_layout
17369
17370 \end_deeper
17371 \begin_layout Section
17372 Paper
17373 \end_layout
17374
17375 \begin_layout Standard
17376 La clase de documento 
17377 \family sans
17378 paper
17379 \family default
17380  provee una alternativa a la clase estándar 
17381 \family sans
17382 article
17383 \family default
17384 .
17385  Tiene una funcionalidad similar, aunque quizá prefieras este formato con
17386  secciones en sans serif, encabezados, y más..
17387 \end_layout
17388
17389 \begin_layout Section
17390 Rev\SpecialChar TeX
17391 4
17392 \end_layout
17393
17394 \begin_layout Standard
17395 por 
17396 \noun on
17397 Amir Karger
17398 \end_layout
17399
17400 \begin_layout Standard
17401 \begin_inset VSpace bigskip
17402 \end_inset
17403
17404
17405 \end_layout
17406
17407 \begin_layout Standard
17408 \noindent
17409 La clase de texto 
17410 \family sans
17411 Revtex
17412 \begin_inset space ~
17413 \end_inset
17414
17415
17416 \family default
17417 trabaja con la clase Rev\SpecialChar TeX
17418  4.0 (versión 
17419 \begin_inset Formula $\beta$
17420 \end_inset
17421
17422  de mayo de 1999) de la 
17423 \emph on
17424 American Physical Society
17425 \emph default
17426 .
17427 \end_layout
17428
17429 \begin_layout Standard
17430 \SpecialChar LyX
17431  tiene la clase de texto 
17432 \family sans
17433 Revtex
17434 \family default
17435  que funciona con Rev\SpecialChar TeX
17436  3.1.
17437  Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
17438  2.09.
17439  Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
17440 , que requiere \SpecialChar LaTeX2e
17441 , aunque
17442  se haya parcheado.
17443  Puesto que Rev\SpecialChar TeX
17444  4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
17445 , \SpecialChar LyX
17446  debería
17447  también funcionar mejor con la clase 
17448 \family sans
17449 Rev\SpecialChar TeX
17450
17451 \begin_inset space ~
17452 \end_inset
17453
17454 4
17455 \family default
17456 .
17457 \end_layout
17458
17459 \begin_layout Standard
17460 Esta documentación está pensada para ser usada 
17461 \emph on
17462 además de 
17463 \emph default
17464 la documentación de Rev\SpecialChar TeX
17465
17466 \begin_inset space ~
17467 \end_inset
17468
17469 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
17470 ,
17471  y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
17472  preciso.
17473 \end_layout
17474
17475 \begin_layout Subsection
17476 Instalación
17477 \end_layout
17478
17479 \begin_layout Standard
17480 Debes instalar Rev\SpecialChar TeX
17481
17482 \begin_inset space ~
17483 \end_inset
17484
17485 4 como se describe en el archivo README del paquete.
17486  El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
17487  4: 
17488 \begin_inset Flex URL
17489 status collapsed
17490
17491 \begin_layout Plain Layout
17492
17493 http://publish.aps.org/revtex4/
17494 \end_layout
17495
17496 \end_inset
17497
17498 .
17499  Instálalo donde \SpecialChar LaTeX
17500  pueda encontrarlo.
17501  Compruébalo procesando con \SpecialChar LaTeX
17502  algún corto documento Rev\SpecialChar TeX
17503
17504 \begin_inset space ~
17505 \end_inset
17506
17507 4 en algún directorio casual (es decir, no en el directorio donde se ha
17508  instalado el archivo de clase).
17509  Luego, si reconfiguras \SpecialChar LyX
17510 , este reconocerá el archivo de clase Rev\SpecialChar TeX
17511
17512 \begin_inset space ~
17513 \end_inset
17514
17515 4 y lo podrás utilizar.
17516 \end_layout
17517
17518 \begin_layout Standard
17519 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
17520
17521 \begin_inset space ~
17522 \end_inset
17523
17524 4 usando re\SpecialChar LyX
17525 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
17526
17527 \begin_inset space ~
17528 \end_inset
17529
17530
17531 \family sans
17532 4
17533 \family default
17534 , disponible en el directorio de plantillas (
17535 \emph on
17536 templates
17537 \emph default
17538 ).
17539 \end_layout
17540
17541 \begin_layout Subsection
17542 Preámbulo
17543 \end_layout
17544
17545 \begin_layout Standard
17546 Los argumentos opcionales a 
17547 \family typewriter
17548
17549 \backslash
17550 documentclass
17551 \family default
17552 , como 
17553 \begin_inset Quotes cld
17554 \end_inset
17555
17556 preprint
17557 \begin_inset Quotes crd
17558 \end_inset
17559
17560  y 
17561 \begin_inset Quotes cld
17562 \end_inset
17563
17564 aps
17565 \begin_inset Quotes crd
17566 \end_inset
17567
17568 , van en el campo 
17569 \family sans
17570 Opciones
17571 \family default
17572  del diálogo 
17573 \family sans
17574 Documento\SpecialChar menuseparator
17575 Configuración\SpecialChar menuseparator
17576 Clase
17577 \begin_inset space ~
17578 \end_inset
17579
17580 del
17581 \family default
17582
17583 \begin_inset space ~
17584 \end_inset
17585
17586
17587 \family sans
17588 documento
17589 \family default
17590 .
17591  ¡Recuerda que en Rev\SpecialChar TeX
17592 , se requiere, al menos, un argumento opcional! 
17593 \end_layout
17594
17595 \begin_layout Standard
17596 Otras cosas del preámbulo, como 
17597 \family typewriter
17598
17599 \backslash
17600 draft
17601 \family default
17602  etc., van en el diálogo 
17603 \family sans
17604 Preámbulo
17605 \begin_inset space ~
17606 \end_inset
17607
17608 La
17609 \family default
17610 \SpecialChar TeX
17611
17612 \family sans
17613
17614 \family default
17615 como de costumbre.
17616 \end_layout
17617
17618 \begin_layout Subsection
17619 Entornos de párrafo
17620 \end_layout
17621
17622 \begin_layout Standard
17623 En Rev\SpecialChar TeX
17624
17625 \begin_inset space ~
17626 \end_inset
17627
17628 4.0, los entornos de párrafo corresponden básicamente a comandos.
17629  Por ejemplo, el formato 
17630 \family sans
17631 CorreoE
17632 \family default
17633  corresponde a 
17634 \family typewriter
17635
17636 \backslash
17637 email{}
17638 \family default
17639 .
17640  Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17641  4.0 Beta), los entornos 
17642 \family sans
17643 Dirección
17644 \family default
17645  y 
17646 \family sans
17647 Afiliación
17648 \family default
17649  son exactamente equivalentes, por lo que no tendrías que usar ambos.
17650 \begin_inset Foot
17651 status collapsed
17652
17653 \begin_layout Plain Layout
17654 Si tienes curiosidad, se incluyeron ambos para que 
17655 \family typewriter
17656 tex2\SpecialChar LyX
17657
17658 \family default
17659  puediera traducir ambos,
17660 \family typewriter
17661  
17662 \backslash
17663 address
17664 \family default
17665  y 
17666 \family typewriter
17667
17668 \backslash
17669 affiliation
17670 \family default
17671 .
17672 \end_layout
17673
17674 \end_inset
17675
17676
17677 \end_layout
17678
17679 \begin_layout Subsection
17680 Notas importantes
17681 \end_layout
17682
17683 \begin_layout Standard
17684 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17685  4 que podrían ocasionar
17686  fallos que serán incluso más confusos en \SpecialChar LyX
17687 .
17688 \end_layout
17689
17690 \begin_layout Standard
17691 En Rev\SpecialChar TeX
17692 , el comando 
17693 \family typewriter
17694
17695 \backslash
17696 thanks
17697 \family default
17698  va 
17699 \emph on
17700 fuera
17701 \emph default
17702  del comando 
17703 \family typewriter
17704
17705 \backslash
17706 author.
17707
17708 \family default
17709  El equivalente en \SpecialChar LyX
17710  es que hay un entorno 
17711 \family sans
17712 Gracias 
17713 \family default
17714 separado.
17715  
17716 \emph on
17717 No
17718 \emph default
17719  escribas notas al pie en el entorno 
17720 \family sans
17721 Autor
17722 \family default
17723 , o
17724 \family sans
17725  sucederán cosas raras
17726 \family default
17727 .
17728  Véase la documentación de Rev\SpecialChar TeX
17729  4 para más detalles.
17730 \end_layout
17731
17732 \begin_layout Standard
17733 Además, los entornos 
17734 \family sans
17735 Autor
17736 \begin_inset space ~
17737 \end_inset
17738
17739 CorreoE
17740 \family default
17741
17742 \family sans
17743 Autor
17744 \begin_inset space ~
17745 \end_inset
17746
17747 URL
17748 \family default
17749 , y 
17750 \family sans
17751 Gracias
17752 \family default
17753  deben situarse 
17754 \emph on
17755 entre
17756 \emph default
17757  el entorno 
17758 \family sans
17759 Autor
17760 \family default
17761  y el entorno correspondiente 
17762 \family sans
17763 Dirección
17764 \family default
17765  (o el equivalente 
17766 \family sans
17767 Afiliación
17768 \family default
17769 ).
17770  Si pones 
17771 \family sans
17772 Gracias
17773 \family default
17774  después de 
17775 \family sans
17776 Dirección
17777 \family default
17778 , \SpecialChar LaTeX
17779  no compilará.
17780 \end_layout
17781
17782 \begin_layout Subsection
17783 Inconvenientes
17784 \end_layout
17785
17786 \begin_layout Standard
17787 El problema principal con este formato es que no puedes usar los argumentos
17788  opcionales en ciertos entornos como 
17789 \family sans
17790 CorreoE
17791 \family default
17792  y 
17793 \family sans
17794 Título
17795 \family default
17796 .
17797  (El problema no es exclusivo de este formato; tampoco puedes usar argumentos
17798  opcionales en los entornos de 
17799 \family sans
17800 Sección
17801 \family default
17802 ).
17803  Esto significa que después de exportar el archivo a \SpecialChar LaTeX
17804  (a la larga deberás
17805  hacerlo para enviarlo al APS), tendrás que abrir el archivo 
17806 \family typewriter
17807 .tex
17808 \family default
17809  con un editor para añadir los argumentos opcionales que restan por poner,
17810  p.
17811 \begin_inset space \thinspace{}
17812 \end_inset
17813
17814 ej.
17815 \begin_inset space ~
17816 \end_inset
17817
17818 el título de los encabezamientos de página.
17819  Al no tener estos entornos, los comandos 
17820 \family typewriter
17821
17822 \backslash
17823 altaffiliation
17824 \family default
17825  (y el equivalente 
17826 \family typewriter
17827
17828 \backslash
17829 altaddress
17830 \family default
17831 ) son inútiles, pues los entornos correspondientes no existen, y deberán
17832  añadirse a mano.
17833 \begin_inset Foot
17834 status collapsed
17835
17836 \begin_layout Plain Layout
17837
17838 \emph on
17839 Nota de JMarc:
17840 \emph default
17841  en realidad, \SpecialChar LyX
17842  1.3.0 soporta algunos tipos de argumentos opcionales, pero
17843  este formato no ha sido actualizado todavía para beneficiarse de ello.
17844 \end_layout
17845
17846 \end_inset
17847
17848  
17849 \end_layout
17850
17851 \begin_layout Section
17852 Publicaciones de Springer (
17853 \family sans
17854 svjour
17855 \family default
17856 )
17857 \end_layout
17858
17859 \begin_layout Standard
17860 por 
17861 \noun on
17862 Martin Vermeer
17863 \end_layout
17864
17865 \begin_layout Subsection
17866 Descripción
17867 \end_layout
17868
17869 \begin_layout Standard
17870 Estos son los archivos de formato para algunas de las publicaciones editadas
17871  por 
17872 \emph on
17873 Springer Verlag
17874 \emph default
17875 , las que se recogen en 
17876 \begin_inset Flex URL
17877 status collapsed
17878
17879 \begin_layout Plain Layout
17880
17881 http://www.springer.de/author/tex/help-journals.html
17882 \end_layout
17883
17884 \end_inset
17885
17886 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17887  son \SpecialChar LaTeX2e
17888 !).
17889  Es un sistema modular: las características comunes a todas las publicaciones
17890  se implementan en 
17891 \family typewriter
17892 svjour.inc
17893 \family default
17894 , y los archivos de formato específicos (tales como, p.
17895 \begin_inset space \thinspace{}
17896 \end_inset
17897
17898 ej., 
17899 \family typewriter
17900 svjog.layout
17901 \family default
17902  para 
17903 \emph on
17904 Journal of Geodesy
17905 \emph default
17906 ) pueden incluirlo.
17907 \end_layout
17908
17909 \begin_layout Standard
17910 Esto significa que implementar soporte para cualquier otra publicación de
17911  
17912 \emph on
17913 Springer 
17914 \emph default
17915 incluida en esa lista es tan sencillo como escribir tu propio archivo 
17916 \family typewriter
17917 sv
17918 \family default
17919 <la_publicación>
17920 \family typewriter
17921 .layout
17922 \family default
17923  siguiendo las pautas dadas en 
17924 \family typewriter
17925 svjog.layout
17926 \family default
17927 .
17928  
17929 \end_layout
17930
17931 \begin_layout Standard
17932 Está razonablemente bien probado solo en el caso de 
17933 \emph on
17934 Journal of Geodesy
17935 \emph default
17936 .
17937  
17938 \family typewriter
17939 svjour
17940 \family default
17941  y 
17942 \family typewriter
17943 svjog
17944 \family default
17945  vienen con la distribución estándar de \SpecialChar LyX
17946 .
17947  Instala el archivo de clase correspondiente (descargado del sitio de 
17948 \emph on
17949 Springer
17950 \emph default
17951 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17952  —en el caso de te\SpecialChar TeX
17953  ejecutando 
17954 \family typewriter
17955 texhash
17956 \family default
17957 , como root si es necesario.
17958  (¿\SpecialChar LyX
17959  no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17960  y ya debería funcionar.
17961 \end_layout
17962
17963 \begin_layout Subsection
17964 Estilos nuevos
17965 \end_layout
17966
17967 \begin_layout Standard
17968 Un gran número de estilos tipo teorema –
17969 \family sans
17970 Afirmación, Conjetura,
17971 \family default
17972  
17973 \family sans
17974 \SpecialChar ldots
17975 Teorem
17976 \family default
17977 a–.
17978 \end_layout
17979
17980 \begin_layout Standard
17981
17982 \family sans
17983 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17984 _Puesto, Autor_Puesto, Instituto
17985 , Correo, Separatas, Palabras_clave, Agradecimientos
17986 \family default
17987 .
17988  Véase la documentación de la clase Springer para más detalles.
17989 \end_layout
17990
17991 \begin_layout Subsection
17992 Publicaciones soportadas
17993 \end_layout
17994
17995 \begin_layout Itemize
17996
17997 \emph on
17998 Journal of Geodesy
17999 \emph default
18000
18001 \family typewriter
18002 svjog.layout
18003 \family default
18004  — Martin Vermeer
18005 \end_layout
18006
18007 \begin_layout Itemize
18008
18009 \emph on
18010 Probability Theory and Related Fields
18011 \emph default
18012
18013 \family typewriter
18014 svprobth.layout
18015 \family default
18016  — Jean-Marc Lasgouttes
18017 \end_layout
18018
18019 \begin_layout Standard
18020 ¡Añade el tuyo, no es tan duro!
18021 \end_layout
18022
18023 \begin_layout Subsection
18024 CréditosCarpeta sin título
18025 \end_layout
18026
18027 \begin_layout Standard
18028 Estos archivos están basados parcialmente en el antiguo 
18029 \family typewriter
18030 ejour2.layout
18031 \family default
18032 , basado a su vez en una versión modificada de un antiguo archivo de estilo
18033  de \SpecialChar LaTeX
18034  2.09 de 
18035 \emph on
18036 Springer
18037 \emph default
18038 .
18039  Todo esto, y el archivo 
18040 \family typewriter
18041 ejour2
18042 \family default
18043  layout, están obsoletos.
18044  Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
18045  el archivo de formato de \SpecialChar LyX
18046 .
18047 \end_layout
18048
18049 \begin_layout Subsection
18050 Fallos
18051 \end_layout
18052
18053 \begin_layout Standard
18054 Probablemente.
18055  Pero probablemente menos que en el antiguo 
18056 \family typewriter
18057 ejour2
18058 \family default
18059  de \SpecialChar LaTeX
18060  modificado.
18061 \end_layout
18062
18063 \begin_layout Standard
18064 Limitaciones, p.
18065 \begin_inset space \thinspace{}
18066 \end_inset
18067
18068 ej.: no muestra el número para formatos tipo teorema, solamente #.
18069 \end_layout
18070
18071 \begin_layout Section
18072 Slides (antes 
18073 \noun on
18074 Sli
18075 \noun default
18076 \SpecialChar TeX
18077 )
18078 \begin_inset CommandInset label
18079 LatexCommand label
18080 name "sec:slitex"
18081
18082 \end_inset
18083
18084
18085 \end_layout
18086
18087 \begin_layout Standard
18088 por 
18089 \noun on
18090 John Weiss
18091 \noun default
18092  
18093 \end_layout
18094
18095 \begin_layout Subsection
18096 Introducción
18097 \end_layout
18098
18099 \begin_layout Standard
18100 Esta sección describe cómo usar \SpecialChar LyX
18101  para hacer transparencias para proyectores.
18102  Hay dos clases de documento que pueden hacer esto: la clase predeterminada
18103  
18104 \family sans
18105 slides
18106 \family default
18107  y la clase 
18108 \family sans
18109 Foil
18110 \family default
18111 \SpecialChar TeX
18112 .
18113  Esta sección se ocupa de la primera de ellas.
18114 \end_layout
18115
18116 \begin_layout Standard
18117 Lo voy a repetir alto y claro, para que no haya equívocos:
18118 \end_layout
18119
18120 \begin_layout Standard
18121 \begin_inset VSpace medskip
18122 \end_inset
18123
18124
18125 \end_layout
18126
18127 \begin_layout Standard
18128 \align center
18129
18130 \size large
18131 En esta sección se explica 
18132 \emph on
18133 solo
18134 \emph default
18135
18136 \begin_inset space ~
18137 \end_inset
18138
18139 la clase 
18140 \family sans
18141 slides (predeterminada)
18142 \family default
18143 \emph on
18144 .
18145 \end_layout
18146
18147 \begin_layout Standard
18148 \begin_inset VSpace medskip
18149 \end_inset
18150
18151
18152 \end_layout
18153
18154 \begin_layout Standard
18155 Si buscas la documentación para 
18156 \begin_inset Quotes cld
18157 \end_inset
18158
18159
18160 \family sans
18161 slides (Foil\SpecialChar TeX
18162 )
18163 \family default
18164
18165 \begin_inset Quotes crd
18166 \end_inset
18167
18168 , mira en la sección
18169 \begin_inset space ~
18170 \end_inset
18171
18172
18173 \begin_inset CommandInset ref
18174 LatexCommand ref
18175 reference "sec:foiltex"
18176
18177 \end_inset
18178
18179 .
18180  La clase 
18181 \family sans
18182 foils
18183 \family default
18184  (
18185 \begin_inset Quotes cld
18186 \end_inset
18187
18188
18189 \family sans
18190 slides (Foil\SpecialChar TeX
18191 )
18192 \family default
18193
18194 \begin_inset Quotes crd
18195 \end_inset
18196
18197 ) es realmente un poco mejor que la clase predeterminada 
18198 \family sans
18199 slides
18200 \family default
18201 ,
18202 \begin_inset Foot
18203 status collapsed
18204
18205 \begin_layout Plain Layout
18206 \SpecialChar ldots
18207 o eso se dice repetidamente por sus defensores.
18208  Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
18209 \end_layout
18210
18211 \end_inset
18212
18213  que se explica en esta sección.
18214 \end_layout
18215
18216 \begin_layout Standard
18217 Esta clase es una mejora del antiguo paquete 
18218 \noun on
18219 Sli
18220 \noun default
18221 \SpecialChar TeX
18222  de \SpecialChar LaTeX2e
18223 .
18224  Toda distribución de \SpecialChar LaTeX2e
18225  la incluye (nos referiremos desde ahora a 
18226 \begin_inset Quotes cld
18227 \end_inset
18228
18229
18230 \family sans
18231 slides
18232 \family default
18233
18234 \begin_inset Quotes crd
18235 \end_inset
18236
18237 ), así que lo tendrás.
18238  Como anoté antes, hay otras clases, como 
18239 \family sans
18240 foils
18241 \family default
18242 , que también produce transparencias y hace mejor su tarea.
18243  Sin embargo, hay ciertas cosas que 
18244 \family sans
18245 slides
18246 \family default
18247  puede hacer que los otros no pueden, como capas superpuestas.
18248  ¡Sigue leyendo para saber más!
18249 \end_layout
18250
18251 \begin_layout Subsection
18252 Para empezar
18253 \begin_inset CommandInset label
18254 LatexCommand label
18255 name "sec:slidesetup"
18256
18257 \end_inset
18258
18259
18260 \end_layout
18261
18262 \begin_layout Standard
18263 Obviamente, para usar esta clase debes escoger 
18264 \begin_inset Quotes cld
18265 \end_inset
18266
18267
18268 \family sans
18269 slides (default)
18270 \family default
18271
18272 \begin_inset Quotes crd
18273 \end_inset
18274
18275  en el diálogo 
18276 \family sans
18277 Documento\SpecialChar menuseparator
18278 Configuración
18279 \family default
18280 .
18281  Algunas cosas que debes saber sobre esta clase:
18282 \end_layout
18283
18284 \begin_layout Itemize
18285 No enredes con cambios en las opciones 
18286 \family sans
18287 Caras 
18288 \family default
18289 y
18290 \family sans
18291  Columnas
18292 \family default
18293 .
18294  No es soportado por 
18295 \family sans
18296 slides
18297 \family default
18298 .
18299 \end_layout
18300
18301 \begin_layout Itemize
18302 La opción 
18303 \family sans
18304 Diseño
18305 \begin_inset space ~
18306 \end_inset
18307
18308 de
18309 \begin_inset space ~
18310 \end_inset
18311
18312 página
18313 \family default
18314  se porta un poco distinto para esta clase.
18315  Las opciones disponibles y su efecto son:
18316 \end_layout
18317
18318 \begin_deeper
18319 \begin_layout Description
18320
18321 \family sans
18322 plain
18323 \family default
18324  La salida tiene números de página en la esquina inferior derecha.
18325 \end_layout
18326
18327 \begin_layout Description
18328
18329 \family sans
18330 headings
18331 \family default
18332  Como 
18333 \family sans
18334 plain
18335 \family default
18336 , pero además imprime los marcadores de tiempo que hayas puesto.
18337  Esta es la opción por omisión.
18338 \end_layout
18339
18340 \begin_layout Description
18341
18342 \family sans
18343 empty
18344 \family default
18345  La salida no imprime ni números de pàgina ni marcadores, nada.
18346 \end_layout
18347
18348 \end_deeper
18349 \begin_layout Itemize
18350 La clase 
18351 \family sans
18352 slides
18353 \family default
18354  tiene una opción extra: 
18355 \family typewriter
18356 clock
18357 \family default
18358 .
18359  Para usarla, pon 
18360 \begin_inset Quotes cld
18361 \end_inset
18362
18363
18364 \family typewriter
18365 clock
18366 \family default
18367
18368 \begin_inset Quotes crd
18369 \end_inset
18370
18371  en las opciones de la configuración de clase.
18372 \end_layout
18373
18374 \begin_deeper
18375 \begin_layout Standard
18376 Usar estas opciones te permite añadir marcadores de tiempo a las 
18377 \family sans
18378 Nota
18379 \family default
18380 s.
18381 \end_layout
18382
18383 \end_deeper
18384 \begin_layout Standard
18385 También puedes utilizar la plantilla 
18386 \begin_inset Quotes cld
18387 \end_inset
18388
18389
18390 \family typewriter
18391 slides.lyx
18392 \family default
18393
18394 \begin_inset Quotes crd
18395 \end_inset
18396
18397  para preparar un nuevo documento de esta clase, con 
18398 \family sans
18399 Archivo\SpecialChar menuseparator
18400 Nuevo
18401 \begin_inset space ~
18402 \end_inset
18403
18404 desde
18405 \begin_inset space ~
18406 \end_inset
18407
18408 plantilla
18409 \family default
18410 .
18411  La plantilla contiene algunos ejemplos de entornos de párrafo especiales
18412  de esta clase.
18413  Se describirán a continuación.
18414 \end_layout
18415
18416 \begin_layout Subsection
18417 Entornos de párrafo
18418 \end_layout
18419
18420 \begin_layout Subsubsection
18421 Entornos soportados
18422 \end_layout
18423
18424 \begin_layout Standard
18425 La primera cosa que observarás cuando inicies un documento 
18426 \family sans
18427 slides
18428 \family default
18429  es el tipo y tamaño de tipografía: 
18430 \family sans
18431 Sans
18432 \begin_inset space ~
18433 \end_inset
18434
18435 Serif
18436 \family default
18437  de tamaño 
18438 \family sans
18439 Grandísima
18440 \family default
18441 .
18442  Es también la tipografía que se utiliza en la salida.
18443  Interpreta esto como un 
18444 \begin_inset Quotes cld
18445 \end_inset
18446
18447 apunte visual
18448 \begin_inset Quotes crd
18449 \end_inset
18450
18451  que te recuerda que es una transparencia.
18452  En realidad las transparencias finales pueden usar una tipografía más grande,
18453  por tanto dispondrás de menos espacio.
18454  Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
18455 io.
18456 \end_layout
18457
18458 \begin_layout Standard
18459 La segunda cosa que llamará la atención es el cuadro desplegable de los
18460  entornos de párrafo ( a la izquierda de la barra de herramientas).
18461  La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
18462  Y hay cinco nuevos.
18463  Esto se debe a que la clase 
18464 \family sans
18465 slides
18466 \family default
18467  por sí misma solo soporta un cierto número de entornos de párrafo:
18468 \end_layout
18469
18470 \begin_layout Itemize
18471
18472 \family sans
18473 Normal
18474 \end_layout
18475
18476 \begin_layout Itemize
18477
18478 \family sans
18479 Enumeración*
18480 \end_layout
18481
18482 \begin_layout Itemize
18483
18484 \family sans
18485 Enumeración
18486 \end_layout
18487
18488 \begin_layout Itemize
18489
18490 \family sans
18491 Descripción
18492 \end_layout
18493
18494 \begin_layout Itemize
18495
18496 \family sans
18497 Lista
18498 \end_layout
18499
18500 \begin_layout Itemize
18501
18502 \family sans
18503 Cita
18504 \end_layout
18505
18506 \begin_layout Itemize
18507
18508 \family sans
18509 Citar
18510 \end_layout
18511
18512 \begin_layout Itemize
18513
18514 \family sans
18515 Verso
18516 \end_layout
18517
18518 \begin_layout Itemize
18519
18520 \family sans
18521 Encabezado
18522 \end_layout
18523
18524 \begin_layout Itemize
18525
18526 \family sans
18527 Código-\SpecialChar LyX
18528
18529 \end_layout
18530
18531 \begin_layout Itemize
18532
18533 \family sans
18534 Comentario
18535 \end_layout
18536
18537 \begin_layout Standard
18538 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
18539  no funcionan en la clase 
18540 \family sans
18541 slides
18542 \family default
18543 .
18544 \end_layout
18545
18546 \begin_layout Standard
18547 Por otra parte, verás los siguientes nuevos entornos:
18548 \end_layout
18549
18550 \begin_layout Itemize
18551
18552 \family sans
18553 Transparencia
18554 \end_layout
18555
18556 \begin_layout Itemize
18557
18558 \family sans
18559 Superpuesto
18560 \end_layout
18561
18562 \begin_layout Itemize
18563
18564 \family sans
18565 Nota
18566 \end_layout
18567
18568 \begin_layout Itemize
18569
18570 \family sans
18571 TextoInvisible
18572 \end_layout
18573
18574 \begin_layout Itemize
18575
18576 \family sans
18577 TextoVisible
18578 \end_layout
18579
18580 \begin_layout Standard
18581 Estos cinco tienen ciertas peculiaridades debido a una 
18582 \begin_inset Quotes cld
18583 \end_inset
18584
18585 característica
18586 \begin_inset Quotes crd
18587 \end_inset
18588
18589  de \SpecialChar LyX
18590 .
18591  Verás, \SpecialChar LyX
18592  no permite anidar ningún entorno de párrafo en un entorno vacío.
18593  Bien, esto es fino y elegante, pero significa que no podrás comenzar una
18594  transparencia con nada que no sea texto simple.
18595  Para evitar esto, he hecho un poco de 
18596 \begin_inset Quotes cld
18597 \end_inset
18598
18599 magia \SpecialChar LaTeX
18600
18601 \begin_inset Quotes crd
18602 \end_inset
18603
18604 .
18605 \end_layout
18606
18607 \begin_layout Subsubsection
18608 Peculiaridades de los nuevos entornos
18609 \begin_inset CommandInset label
18610 LatexCommand label
18611 name "sec:slide-Peculiaridades"
18612
18613 \end_inset
18614
18615
18616 \end_layout
18617
18618 \begin_layout Standard
18619 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
18620 s a \SpecialChar LyX
18621 .
18622  Como he dicho, \SpecialChar LyX
18623  prohibe los entornos que comienzan con otro entorno.
18624  Para obviar esto, el entorno 
18625 \family sans
18626 Transparencia
18627 \family default
18628  no se comporta como los entornos de párrafo típicos descritos en la 
18629 \emph on
18630 Guía del usuario
18631 \emph default
18632 .
18633  
18634 \end_layout
18635
18636 \begin_layout Standard
18637 Los entornos 
18638 \family sans
18639 Transparencia,
18640 \family default
18641  
18642 \family sans
18643 Superpuesto
18644 \family default
18645  y 
18646 \family sans
18647 Nota
18648 \family default
18649  deberían considerarse 
18650 \begin_inset Quotes cld
18651 \end_inset
18652
18653 pseudo-entornos
18654 \begin_inset Quotes crd
18655 \end_inset
18656
18657 .
18658  Tienen el aspecto de una cabecera de sección o de un 
18659 \begin_inset Quotes cld
18660 \end_inset
18661
18662
18663 \family sans
18664 Encabezado
18665 \family default
18666
18667 \begin_inset Quotes crd
18668 \end_inset
18669
18670 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18671  entorno de párrafo.
18672  De igual manera, considera 
18673 \family sans
18674 TextoInvisible
18675 \family default
18676  y 
18677 \family sans
18678 TextoVisible
18679 \family default
18680  como 
18681 \begin_inset Quotes cld
18682 \end_inset
18683
18684 pseudo-comandos
18685 \begin_inset Quotes crd
18686 \end_inset
18687
18688 .
18689  Estos dos realizan acciones.
18690 \end_layout
18691
18692 \begin_layout Standard
18693 Una característica común a los cinco entornos, 
18694 \family sans
18695 Transparencia
18696 \family default
18697
18698 \family sans
18699 Superpuesto
18700 \family default
18701
18702 \family sans
18703 Nota
18704 \family default
18705
18706 \family sans
18707 TextoInvisible
18708 \family default
18709  y 
18710 \family sans
18711 TextoVisible
18712 \family default
18713 , es una etiqueta más bien larga.
18714  El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18715  de párrafo— no es tenido en cuenta.
18716  \SpecialChar LyX
18717  lo ignora completamente.
18718  De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18719  
18720 \end_layout
18721
18722 \begin_layout Standard
18723 Aunque no
18724 \emph on
18725  tengas 
18726 \emph default
18727 que poner texto tras la etiqueta, puedes hacerlo.
18728  Podría ser, por ejemplo, una breve descripción del contenido de la 
18729 \family sans
18730 Transparencia
18731 \family default
18732 .
18733  En ese caso, introduce tu texto y pulsa 
18734 \family sans
18735 Intro
18736 \family default
18737  como harías normalmente.
18738 \end_layout
18739
18740 \begin_layout Standard
18741 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18742  utilizar otra peculiaridad de \SpecialChar LyX
18743 .
18744  \SpecialChar LyX
18745 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18746  un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18747  En ese caso puedes hacer esto:
18748 \end_layout
18749
18750 \begin_layout Itemize
18751 Comienza introduciendo el texto que 
18752 \emph on
18753 seguirá 
18754 \emph default
18755 al nuevo párrafo 
18756 \family sans
18757 Transparencia
18758 \family default
18759
18760 \family sans
18761 Superpuesto
18762 \family default
18763
18764 \family sans
18765 Nota
18766 \family default
18767
18768 \family sans
18769 TextoInvisible
18770 \family default
18771  o 
18772 \family sans
18773 TextoVisible
18774 \family default
18775 .
18776  
18777 \end_layout
18778
18779 \begin_layout Itemize
18780 Sitúate ahora en el principio de ese párrafo.
18781  
18782 \end_layout
18783
18784 \begin_layout Itemize
18785 Pulsa 
18786 \family sans
18787 Retorno
18788 \family default
18789 .
18790  
18791 \end_layout
18792
18793 \begin_layout Itemize
18794 Por último, cambia este nuevo párrafo vacío a 
18795 \family sans
18796 Transparencia
18797 \family default
18798
18799 \family sans
18800 Superpuesto
18801 \family default
18802
18803 \family sans
18804 Nota
18805 \family default
18806
18807 \family sans
18808 TextoInvisible
18809 \family default
18810  o 
18811 \family sans
18812 TextoVisible
18813 \family default
18814 .
18815 \end_layout
18816
18817 \begin_layout Standard
18818 Confiemos en que alguna futura versión de \SpecialChar LyX
18819  resuelva esta peculiaridad\SpecialChar ldots
18820
18821 \end_layout
18822
18823 \begin_layout Subsection
18824 Hacer una presentación con 
18825 \family sans
18826 Diapositiva
18827 \family default
18828
18829 \family sans
18830 Superpuesto
18831 \family default
18832  y 
18833 \family sans
18834 Nota
18835 \end_layout
18836
18837 \begin_layout Subsubsection
18838 Utilizar el entorno 
18839 \family sans
18840 Diapositiva
18841 \end_layout
18842
18843 \begin_layout Standard
18844 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18845  a decepcionar.
18846  Naturalmente, describiré todas las formas en que la clase 
18847 \family sans
18848 slides
18849 \family default
18850  te ayudará a preparar una presentación.
18851  Completar el contenido es tarea tuya.
18852  (Esta es, también, la filosofía de \SpecialChar LyX
18853 ).
18854  
18855 \end_layout
18856
18857 \begin_layout Standard
18858 Al escoger el entorno 
18859 \family sans
18860 Diapositiva
18861 \family default
18862  (como se indica en la sección
18863 \begin_inset space ~
18864 \end_inset
18865
18866
18867 \begin_inset CommandInset ref
18868 LatexCommand ref
18869 reference "sec:slide-Peculiaridades"
18870
18871 \end_inset
18872
18873 ) \SpecialChar LyX
18874  comienza una nueva.
18875  El marcador para este entorno/
18876 \begin_inset Quotes cld
18877 \end_inset
18878
18879 pseudo-comando
18880 \begin_inset Quotes crd
18881 \end_inset
18882
18883  es una 
18884 \begin_inset Quotes cld
18885 \end_inset
18886
18887 línea ASCII
18888 \begin_inset Quotes crd
18889 \end_inset
18890
18891  en azul con la etiqueta 
18892 \begin_inset Quotes cld
18893 \end_inset
18894
18895 Nueva Diap.:
18896 \begin_inset Quotes crd
18897 \end_inset
18898
18899 .
18900 \end_layout
18901
18902 \begin_layout Standard
18903 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18904  Es simple.
18905 \end_layout
18906
18907 \begin_layout Standard
18908 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18909  \SpecialChar LyX
18910  (puede especificarse en el diálogo 
18911 \family sans
18912 Insertar\SpecialChar menuseparator
18913 Formato
18914 \family default
18915 ).
18916  De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18917  Si has introducido más texto del que cabe en una transparencia, el sobrante
18918  irá a una nueva.
18919  Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18920  no tendrá número de página.
18921  Además, puede interferir con algún 
18922 \family sans
18923 Superpuesto
18924 \family default
18925  que hayas incluido en la transparencia sobredimensionada.
18926 \end_layout
18927
18928 \begin_layout Standard
18929 Los entornos 
18930 \family sans
18931 Superpuesto
18932 \family default
18933  y 
18934 \family sans
18935 Nota
18936 \family default
18937  funcionan como el entorno 
18938 \family sans
18939 Diapositiva
18940 \family default
18941 .
18942  Ambos crean una 
18943 \begin_inset Quotes cld
18944 \end_inset
18945
18946 línea ASCII
18947 \begin_inset Quotes crd
18948 \end_inset
18949
18950  con los marcadores 
18951 \begin_inset Quotes cld
18952 \end_inset
18953
18954 Nuevo Superpuesto:
18955 \begin_inset Quotes crd
18956 \end_inset
18957
18958  y 
18959 \begin_inset Quotes cld
18960 \end_inset
18961
18962 Nueva Nota:
18963 \begin_inset Quotes crd
18964 \end_inset
18965
18966 , respectivamente.
18967  
18968 \family sans
18969 El
18970 \family default
18971  color es magenta en vez de azul, y la 
18972 \begin_inset Quotes cld
18973 \end_inset
18974
18975 línea ASCII
18976 \begin_inset Quotes crd
18977 \end_inset
18978
18979  tiene un aspecto diferente en estilo y longitud.
18980  La tipografía de las etiquetas de las tres también es diferente en cada
18981  una de ellas.
18982 \end_layout
18983
18984 \begin_layout Standard
18985 Igual que para 
18986 \family sans
18987 Diapositiva
18988 \family default
18989 , si los contenidos de una 
18990 \family sans
18991 Nota
18992 \family default
18993  o 
18994 \family sans
18995 Superpuesto
18996 \family default
18997  exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18998  ocupa una nueva hoja.
18999  De nuevo lo desaconsejamos porque las 
19000 \family sans
19001 Nota
19002 \family default
19003 s y 
19004 \family sans
19005 Superpuesto
19006 \family default
19007 s carecerían de utilidad.
19008 \end_layout
19009
19010 \begin_layout Subsubsection
19011 Usar 
19012 \family sans
19013 Superpuesto
19014 \family default
19015  con 
19016 \family sans
19017 Diapositiva
19018 \end_layout
19019
19020 \begin_layout Standard
19021 La idea de un 
19022 \family sans
19023 Superpuesto 
19024 \family default
19025 es una transparencia que se superpone a otra.
19026  Supón que quieres presentar una figura en una diapositiva antes que el
19027  texto que la acompaña.
19028  Una forma de conseguirlo es ocultar con papel negro la parte que quieres
19029  que se muestre más tarde.
19030  Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
19031  por ejemplo.
19032  Entonces tendrías que trastear con las transparencias, mientras sigues
19033  hablando, para superponerlas de manera que los gráficos queden correctamente
19034  alineados.
19035  Con el entorno 
19036 \family sans
19037 Superpuesto
19038 \family default
19039 , ambas cosas son mucho más sencillas.
19040 \end_layout
19041
19042 \begin_layout Standard
19043 Cada 
19044 \family sans
19045 Superpuesto 
19046 \family default
19047 tiene el mismo número de página que la 
19048 \family sans
19049 Diapositiva
19050 \family default
19051  
19052 \begin_inset Quotes cld
19053 \end_inset
19054
19055 madre
19056 \begin_inset Quotes crd
19057 \end_inset
19058
19059 , seguido de 
19060 \begin_inset Quotes cld
19061 \end_inset
19062
19063 -a
19064 \begin_inset Quotes crd
19065 \end_inset
19066
19067 .
19068 \begin_inset Foot
19069 status collapsed
19070
19071 \begin_layout Plain Layout
19072 Presumiblemente, múltiples 
19073 \family sans
19074 Superpuesto
19075 \family default
19076 s deberían tener 
19077 \begin_inset Quotes cld
19078 \end_inset
19079
19080
19081 \family typewriter
19082 -a
19083 \family default
19084
19085 \begin_inset Quotes crd
19086 \end_inset
19087
19088
19089 \begin_inset Quotes cld
19090 \end_inset
19091
19092
19093 \family typewriter
19094 -b
19095 \family default
19096
19097 \begin_inset Quotes crd
19098 \end_inset
19099
19100
19101 \begin_inset Quotes cld
19102 \end_inset
19103
19104
19105 \family typewriter
19106 -c
19107 \family default
19108
19109 \begin_inset Quotes crd
19110 \end_inset
19111
19112 , etc.
19113 \begin_inset space ~
19114 \end_inset
19115
19116 tras el número de página de la 
19117 \family sans
19118 Diapositiva
19119 \family default
19120  
19121 \begin_inset Quotes cld
19122 \end_inset
19123
19124 madre
19125 \begin_inset Quotes crd
19126 \end_inset
19127
19128 .
19129  
19130 \end_layout
19131
19132 \end_inset
19133
19134  ¡Efectivamente, quieres que la Diapositiva
19135 \family sans
19136  
19137 \family default
19138 y el 
19139 \family sans
19140 Superpuesto
19141 \family default
19142  cuenten como si fueran una sola página! Probablemente deberías considerar
19143  un 
19144 \family sans
19145 Superpuesto
19146 \family default
19147  
19148 \begin_inset Quotes cld
19149 \end_inset
19150
19151 parte de
19152 \begin_inset Quotes crd
19153 \end_inset
19154
19155  una 
19156 \family sans
19157 Diapositiva
19158 \family default
19159 .
19160  De hecho, la clase 
19161 \family sans
19162 slides
19163 \family default
19164  lo hace visible
19165 \family sans
19166  
19167 \family default
19168 en \SpecialChar LyX
19169 : la etiqueta al principio de un 
19170 \family sans
19171 Superpuesto
19172 \family default
19173  es más corta que la de comienzo de una 
19174 \family sans
19175 Diapositiva
19176 \family default
19177 .
19178  Por último, al generar salida impresa, verás marcas de alineación en las
19179  cuatro esquinas de las páginas de la 
19180 \family sans
19181 Diapositiva
19182 \family default
19183  y del 
19184 \family sans
19185 Superpuesto.
19186  
19187 \family default
19188 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
19189 \end_layout
19190
19191 \begin_layout Standard
19192 El mayor problema para superponer dos transparencias es alinear sus contenidos.
19193  ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
19194  Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
19195 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
19196  probar a insertar un espacio vertical adecuado, pero el mejor método es
19197  utilizar 
19198 \family sans
19199 TextoInvisible
19200 \family default
19201  y 
19202 \family sans
19203 TextoVisible
19204 \family default
19205 .
19206 \end_layout
19207
19208 \begin_layout Standard
19209 Como su nombre indica, 
19210 \family sans
19211 TextoInvisible
19212 \family default
19213  y 
19214 \family sans
19215 TextoVisible
19216 \family default
19217  son entornos de párrafo que hacen invisible o visible, respectivamente,
19218  todo el texto siguiente.
19219  Sin embargo, ten en cuenta que no colocas nada 
19220 \emph on
19221 dentro 
19222 \emph default
19223 de estos entornos, recuerda la sección
19224 \begin_inset space ~
19225 \end_inset
19226
19227
19228 \begin_inset CommandInset ref
19229 LatexCommand ref
19230 reference "sec:slide-Peculiaridades"
19231
19232 \end_inset
19233
19234 .
19235  Cuando creas un 
19236 \family sans
19237 TextoInvisible
19238 \family default
19239 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
19240  <Invisible Text Follows>.
19241  Los párrafos que siguen a esta etiqueta en la 
19242 \family sans
19243 Diapositiva
19244 \family default
19245  o el 
19246 \family sans
19247 Superpuesto
19248 \family default
19249  (da lo mismo) se sustituyen por el espacio en blanco equivalente.
19250 \end_layout
19251
19252 \begin_layout Standard
19253 Para 
19254 \family sans
19255 TextoVisible
19256 \family default
19257 , la etiqueta tiene la leyenda <Visible Text Follows>
19258 \begin_inset space ~
19259 \end_inset
19260
19261  en color verde.
19262  Los párrafos que la siguen se comportan normalmente.
19263  Ten en cuenta que el inicio de 
19264 \family sans
19265 Diapositiva
19266 \family default
19267
19268 \family sans
19269 Superpuesto
19270 \family default
19271 , o 
19272 \family sans
19273 Nota
19274 \family default
19275  desactiva automáticamente la función 
19276 \family sans
19277 TextoInvisible
19278 \family default
19279 .
19280  No es necesario utilizar 
19281 \family sans
19282 TextoVisible
19283 \family default
19284  al final de una 
19285 \family sans
19286 Diapositiva
19287 \family default
19288 .
19289 \end_layout
19290
19291 \begin_layout Standard
19292 Ya deberíamos estar listos para crear transparencias superpuestas con la
19293  adecuada combinación de 
19294 \family sans
19295 TextoInvisible
19296 \family default
19297  y 
19298 \family sans
19299 TextoVisible
19300 \family default
19301  en los entornos 
19302 \family sans
19303 Diapositiva
19304 \family default
19305  y 
19306 \family sans
19307 Superpuesto
19308 \family default
19309 :
19310 \end_layout
19311
19312 \begin_layout Enumerate
19313 Crea una 
19314 \family sans
19315 Diapositiva
19316 \family default
19317 , incluyendo todo lo que debe aparecer en ella y en los 
19318 \family sans
19319 Superpuesto
19320 \family default
19321 s.
19322 \end_layout
19323
19324 \begin_layout Enumerate
19325 Antes de cada figura o párrafo que vaya a salir solo en un 
19326 \family sans
19327 Superpuesto
19328 \family default
19329 , inserta un entorno 
19330 \family sans
19331 TextoInvisible
19332 \family default
19333 .
19334  Si es necesario, inserta un entorno 
19335 \family sans
19336 TextoVisible
19337 \family default
19338  tras el texto que pertenece solo al 
19339 \family sans
19340 Superpuesto
19341 \family default
19342 .
19343 \end_layout
19344
19345 \begin_layout Enumerate
19346 Empieza un 
19347 \family sans
19348 Superpuesto 
19349 \family default
19350 inmediatamente detrás de la 
19351 \family sans
19352 Diapositiva
19353 \family default
19354 .
19355 \end_layout
19356
19357 \begin_layout Enumerate
19358 Copia los contenidos de esta 
19359 \family sans
19360 Diapositiva
19361 \family default
19362  en el 
19363 \family sans
19364 Superpuesto
19365 \family default
19366 .
19367 \end_layout
19368
19369 \begin_layout Enumerate
19370 Dentro del 
19371 \family sans
19372 Superpuesto
19373 \family default
19374 , cambia todas las líneas del 
19375 \family sans
19376 TextoInvisible
19377 \family default
19378  a 
19379 \family sans
19380 TextoVisible
19381 \family default
19382  y viceversa.
19383 \end_layout
19384
19385 \begin_layout Standard
19386 Eso es todo.
19387  Acabas de hacer una transparencia superpuesta.
19388 \end_layout
19389
19390 \begin_layout Standard
19391 Hay un problema con el procedimiento que he diseñado para la clase 
19392 \family sans
19393 slides
19394 \family default
19395  en \SpecialChar LyX
19396 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
19397  visible un texto dentro de un párrafo invisible.
19398  Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
19399 .
19400 \begin_inset Foot
19401 status collapsed
19402
19403 \begin_layout Plain Layout
19404 Los comandos de interés son: 
19405 \end_layout
19406
19407 \begin_layout Itemize
19408
19409 \family typewriter
19410 {
19411 \backslash
19412 invisible \SpecialChar ldots
19413  }
19414 \end_layout
19415
19416 \begin_layout Itemize
19417
19418 \family typewriter
19419 {
19420 \backslash
19421 visible \SpecialChar ldots
19422  }
19423 \end_layout
19424
19425 \begin_layout Plain Layout
19426 \SpecialChar ldots
19427 que deben marcarse como \SpecialChar TeX
19428 .
19429  El texto \SpecialChar ldots
19430
19431 \family typewriter
19432  
19433 \family default
19434 cuya 
19435 \begin_inset Quotes cld
19436 \end_inset
19437
19438 visibilidad
19439 \begin_inset Quotes crd
19440 \end_inset
19441
19442  quieres cambiar debe ir a continuación del comando 
19443 \family typewriter
19444
19445 \backslash
19446 invisible
19447 \family default
19448  o 
19449 \family typewriter
19450
19451 \backslash
19452 visible
19453 \family default
19454 , y todo ello entre llaves { }.
19455  Si no sabes cómo se marca un texto como \SpecialChar TeX
19456 , consulta la sección adecuada
19457  de la 
19458 \emph on
19459 Cuía del usuario
19460 \emph default
19461 .
19462 \end_layout
19463
19464 \end_inset
19465
19466
19467 \end_layout
19468
19469 \begin_layout Subsubsection
19470 Usar 
19471 \family sans
19472 Nota
19473 \family default
19474  con 
19475 \family sans
19476 Diapositiva
19477 \end_layout
19478
19479 \begin_layout Standard
19480 Como un 
19481 \family sans
19482 Superpuesto
19483 \family default
19484 , una 
19485 \family sans
19486 Nota
19487 \family default
19488  está asociada a una 
19489 \family sans
19490 Diapositiva
19491 \series bold
19492  
19493 \family default
19494 \series default
19495
19496 \begin_inset Quotes cld
19497 \end_inset
19498
19499 madre
19500 \begin_inset Quotes crd
19501 \end_inset
19502
19503 .
19504  También \SpecialChar LyX
19505  lo indica
19506 \family sans
19507  
19508 \family default
19509 visualmente: La etiqueta para una 
19510 \family sans
19511 Nota
19512 \family default
19513  es más corta que la de una 
19514 \family sans
19515 Diapositiva
19516 \family default
19517  pero más larga que la de 
19518 \family sans
19519 Superpuesto
19520 \family default
19521  y, como este, en color magenta.
19522  Además, la 
19523 \family sans
19524 Nota
19525 \family default
19526  tiene en la salida el número de página de la 
19527 \family sans
19528 Diapositiva
19529 \family default
19530  
19531 \begin_inset Quotes cld
19532 \end_inset
19533
19534 madre
19535 \begin_inset Quotes crd
19536 \end_inset
19537
19538  seguido de 
19539 \begin_inset Quotes cld
19540 \end_inset
19541
19542
19543 \family typewriter
19544 -
19545 \family default
19546 1
19547 \begin_inset Quotes crd
19548 \end_inset
19549
19550
19551 \begin_inset Quotes cld
19552 \end_inset
19553
19554
19555 \family typewriter
19556 -
19557 \family default
19558 2
19559 \begin_inset Quotes crd
19560 \end_inset
19561
19562
19563 \begin_inset Quotes cld
19564 \end_inset
19565
19566
19567 \family typewriter
19568 -
19569 \family default
19570 3
19571 \begin_inset Quotes crd
19572 \end_inset
19573
19574 , etc.
19575  Puedes poner varias 
19576 \family sans
19577 Nota
19578 \family default
19579 s asociadas a una 
19580 \family sans
19581 Diapositiva
19582 \family default
19583 , y, como con 
19584 \family sans
19585 Diapositiva
19586 \family default
19587  y 
19588 \family sans
19589 Superpuesto
19590 \family default
19591 , seguramente te interesará cortar las 
19592 \family sans
19593 Notas
19594 \family default
19595  largas para que quepan en una hoja.
19596 \end_layout
19597
19598 \begin_layout Standard
19599 El propósito de una 
19600 \family sans
19601 Nota
19602 \family default
19603  es evidente: hacer comentarios adicionales al contenido principal.
19604  También podría utilizarse como recordatorio en una 
19605 \family sans
19606 Diapositiva
19607 \family default
19608  determinada.
19609  En este caso, podrías hacer uso de marcadores de tiempo.
19610  Actualmente, la clase 
19611 \family sans
19612 slides
19613 \family default
19614  no tiene en \SpecialChar LyX
19615  soporte 
19616 \begin_inset Quotes cld
19617 \end_inset
19618
19619 nativo
19620 \begin_inset Quotes crd
19621 \end_inset
19622
19623  para marcadores de tiempo, una función de 
19624 \noun on
19625 Sli
19626 \noun default
19627 \SpecialChar TeX
19628 .
19629  Por tanto tendrías que usar código \SpecialChar LaTeX
19630 .
19631 \end_layout
19632
19633 \begin_layout Standard
19634 Para usar marcadores de tiempo debes especificar la opción extra de clase
19635  
19636 \begin_inset Quotes cld
19637 \end_inset
19638
19639
19640 \family typewriter
19641 clock
19642 \family default
19643
19644 \begin_inset Quotes crd
19645 \end_inset
19646
19647  (véase sección
19648 \begin_inset space ~
19649 \end_inset
19650
19651
19652 \begin_inset CommandInset ref
19653 LatexCommand ref
19654 reference "sec:slidesetup"
19655
19656 \end_inset
19657
19658 ).
19659  Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19660  izquierda de cada 
19661 \family sans
19662 Nota
19663 \family default
19664  que introduzcas.
19665  Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19666  \SpecialChar LaTeX
19667  
19668 \begin_inset Quotes cld
19669 \end_inset
19670
19671
19672 \family typewriter
19673
19674 \backslash
19675 settime{}
19676 \family default
19677
19678 \begin_inset Quotes crd
19679 \end_inset
19680
19681  y 
19682 \begin_inset Quotes cld
19683 \end_inset
19684
19685
19686 \family typewriter
19687
19688 \backslash
19689 addtime{}
19690 \family default
19691
19692 \begin_inset Quotes crd
19693 \end_inset
19694
19695 .
19696  El argumento de ambos comandos es un tiempo expresado en segundos.
19697  
19698 \begin_inset Quotes cld
19699 \end_inset
19700
19701
19702 \family typewriter
19703
19704 \backslash
19705 settime{}
19706 \family default
19707
19708 \begin_inset Quotes crd
19709 \end_inset
19710
19711  fija el marcador en un instante dado.
19712  
19713 \begin_inset Quotes cld
19714 \end_inset
19715
19716
19717 \family typewriter
19718
19719 \backslash
19720 addtime{}
19721 \family default
19722
19723 \begin_inset Quotes crd
19724 \end_inset
19725
19726  incrementa el marcador en la cantidad de tiempo especificada.
19727  Usar los marcadores de tiempo y las 
19728 \family sans
19729 Notas
19730 \family default
19731  de esta manera te recordará cuanto tiempo emplear en una 
19732 \family sans
19733 Diapositiva
19734 \family default
19735  determinada.
19736 \end_layout
19737
19738 \begin_layout Standard
19739 Queda por describir una característica.
19740  Seguramente te gustaría imprimir todas tus 
19741 \family sans
19742 Diapositivas 
19743 \family default
19744
19745 \family sans
19746 Superpuestos 
19747 \family default
19748 en transparentes y las 
19749 \family sans
19750 Nota
19751 \family default
19752 s en papel.
19753  Sin embargo, las 
19754 \family sans
19755 Notas
19756 \family default
19757  
19758 \emph on
19759 deben
19760 \emph default
19761  seguir a la 
19762 \family sans
19763 Diapositiva
19764 \family default
19765  a la que están asociadas.
19766  ¿Qué hacer entonces?
19767 \end_layout
19768
19769 \begin_layout Standard
19770 Afortunadamente hay dos comandos \SpecialChar LaTeX
19771  que permiten seleccionar lo que se ha
19772  de imprimir.
19773  Se deben poner en el preámbulo del documento.
19774  El comando 
19775 \begin_inset Quotes cld
19776 \end_inset
19777
19778
19779 \family typewriter
19780
19781 \backslash
19782 onlyslides{
19783 \backslash
19784 slides}
19785 \family default
19786
19787 \begin_inset Quotes crd
19788 \end_inset
19789
19790  hará que la salida solo contenga las 
19791 \family sans
19792 Diapositivas 
19793 \family default
19794
19795 \family sans
19796 Superpuestos
19797 \family default
19798 .
19799  De igual manera, el comando 
19800 \begin_inset Quotes cld
19801 \end_inset
19802
19803
19804 \family typewriter
19805
19806 \backslash
19807 onlynotes{
19808 \backslash
19809 notes}
19810 \family default
19811
19812 \begin_inset Quotes crd
19813 \end_inset
19814
19815  imprimirá solo las 
19816 \family sans
19817 Nota
19818 \family default
19819 s.
19820  Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19821  un comentario a principio de línea para que puedas ver preliminares de
19822  toda la presentación.
19823  A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19824  parte.
19825  Tengo la costumbre de descomentar 
19826 \begin_inset Quotes cld
19827 \end_inset
19828
19829
19830 \family typewriter
19831
19832 \backslash
19833 onlyslides{
19834 \backslash
19835 slides}
19836 \family default
19837
19838 \begin_inset Quotes crd
19839 \end_inset
19840
19841 , exportar a un archivo con 
19842 \begin_inset Quotes cld
19843 \end_inset
19844
19845
19846 \family typewriter
19847 -slides
19848 \family default
19849
19850 \begin_inset Quotes crd
19851 \end_inset
19852
19853  en el nombre, comentarlo de nuevo, ahora descomentar 
19854 \begin_inset Quotes cld
19855 \end_inset
19856
19857
19858 \family typewriter
19859
19860 \backslash
19861 onlynotes{
19862 \backslash
19863 notes}
19864 \family default
19865
19866 \begin_inset Quotes crd
19867 \end_inset
19868
19869  y exportar a otro archivo con 
19870 \begin_inset Quotes cld
19871 \end_inset
19872
19873
19874 \family typewriter
19875 -notes
19876 \family default
19877
19878 \begin_inset Quotes crd
19879 \end_inset
19880
19881  en el nombre.
19882  Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19883  o papel según convenga.
19884 \end_layout
19885
19886 \begin_layout Standard
19887 También puedes poner otros argumentos a los comandos 
19888 \begin_inset Quotes cld
19889 \end_inset
19890
19891
19892 \family typewriter
19893
19894 \backslash
19895 onlyslides{}
19896 \family default
19897
19898 \begin_inset Quotes crd
19899 \end_inset
19900
19901  y 
19902 \begin_inset Quotes cld
19903 \end_inset
19904
19905
19906 \family typewriter
19907
19908 \backslash
19909 onlynotes{}
19910 \family default
19911
19912 \begin_inset Quotes crd
19913 \end_inset
19914
19915 .
19916  Consulta un buen libro sobre \SpecialChar LaTeX
19917  para más detalles.
19918 \end_layout
19919
19920 \begin_layout Subsection
19921 La plantilla para la clase 
19922 \family sans
19923 slides
19924 \end_layout
19925
19926 \begin_layout Standard
19927 He preparado también un archivo modelo, 
19928 \begin_inset Quotes cld
19929 \end_inset
19930
19931
19932 \family typewriter
19933 slides.lyx
19934 \family default
19935
19936 \begin_inset Quotes crd
19937 \end_inset
19938
19939 , para la clase 
19940 \family sans
19941 slides
19942 \family default
19943 .
19944  Para empezar tu presentación con él abrelo con 
19945 \family sans
19946 Archivo\SpecialChar menuseparator
19947 Nuevo
19948 \begin_inset space ~
19949 \end_inset
19950
19951 desde
19952 \begin_inset space ~
19953 \end_inset
19954
19955 plantilla
19956 \family default
19957 .
19958  Contiene un ejemplo de presentación con el trío 
19959 \family sans
19960 Diapositiva
19961 \family default
19962  – 
19963 \family sans
19964 Superpuesto
19965 \family default
19966  – 
19967 \family sans
19968 Nota
19969 \family default
19970 .
19971  La 
19972 \family sans
19973 Diapositiva
19974 \family default
19975  y el 
19976 \family sans
19977 Superpuesto
19978 \family default
19979  tienen además un ejemplo del uso de TextoI
19980 \family sans
19981 nvisible
19982 \family default
19983  y 
19984 \family sans
19985 TextoVisible
19986 \family default
19987 .
19988  Por último, el preámbulo contiene:
19989 \end_layout
19990
19991 \begin_layout LyX-Code
19992 % Uncomment to print out only slides and overlays
19993 \begin_inset Foot
19994 status collapsed
19995
19996 \begin_layout Plain Layout
19997 Descomenta (borra 
19998 \begin_inset Quotes cld
19999 \end_inset
20000
20001 %
20002 \begin_inset Quotes crd
20003 \end_inset
20004
20005 ) para imprimir solo diapositivas y superpuestos.
20006  
20007 \emph on
20008 (N.
20009  del T
20010 \emph default
20011 .)
20012 \end_layout
20013
20014 \end_inset
20015
20016
20017 \end_layout
20018
20019 \begin_layout LyX-Code
20020 %
20021 \end_layout
20022
20023 \begin_layout LyX-Code
20024 %
20025 \backslash
20026 onlyslides{
20027 \backslash
20028 slides}
20029 \begin_inset Newline newline
20030 \end_inset
20031
20032  
20033 \end_layout
20034
20035 \begin_layout LyX-Code
20036 % Uncomment to print out only notes
20037 \begin_inset Foot
20038 status collapsed
20039
20040 \begin_layout Plain Layout
20041 Descomenta (borra 
20042 \begin_inset Quotes cld
20043 \end_inset
20044
20045 %
20046 \begin_inset Quotes crd
20047 \end_inset
20048
20049 ) para imprimir solo las notas.
20050
20051 \emph on
20052  (N.
20053  del T
20054 \emph default
20055 .)
20056 \end_layout
20057
20058 \end_inset
20059
20060
20061 \end_layout
20062
20063 \begin_layout LyX-Code
20064 %
20065 \end_layout
20066
20067 \begin_layout LyX-Code
20068 %
20069 \backslash
20070 onlynotes{
20071 \backslash
20072 notes}
20073 \end_layout
20074
20075 \begin_layout Standard
20076 Un apunte final: He creado esta clase para dar soporte a la clase integrante
20077  de \SpecialChar LaTeX2e
20078  
20079 \begin_inset Quotes cld
20080 \end_inset
20081
20082 emulación de 
20083 \noun on
20084 Sli
20085 \noun default
20086 \SpecialChar TeX
20087
20088 \begin_inset Quotes crd
20089 \end_inset
20090
20091 .
20092  Ni yo ni el resto del equipo \SpecialChar LyX
20093  aprobamos o desaprobamos el empleo de esta
20094  clase.
20095  A tí te corresponde decidir si la necesitas.
20096  Hay otras clases de \SpecialChar LaTeX2e
20097  para crear presentaciones, como 
20098 \family sans
20099 Foils
20100 \family default
20101  (véase la sección
20102 \begin_inset space ~
20103 \end_inset
20104
20105
20106 \begin_inset CommandInset ref
20107 LatexCommand ref
20108 reference "sec:foiltex"
20109
20110 \end_inset
20111
20112 ) o el paquete 
20113 \begin_inset Quotes cld
20114 \end_inset
20115
20116
20117 \family typewriter
20118 seminar
20119 \family default
20120
20121 \begin_inset Quotes crd
20122 \end_inset
20123
20124  (presente en algunas distribuciones de \SpecialChar TeX
20125 ).
20126  Este último aún no es soportado por \SpecialChar LyX
20127 .
20128 \begin_inset Foot
20129 status collapsed
20130
20131 \begin_layout Plain Layout
20132 Quizá quieras abordar tú la tarea\SpecialChar ldots
20133
20134 \end_layout
20135
20136 \end_inset
20137
20138  No conozco estas otras clases.
20139  Puedes probarlas para ver qué alternativas te ofrecen.
20140 \end_layout
20141
20142 \begin_layout Chapter
20143 Características de \SpecialChar LyX
20144  que requieren software adicional
20145 \begin_inset Argument 1
20146 status collapsed
20147
20148 \begin_layout Plain Layout
20149 Software adicional
20150 \end_layout
20151
20152 \end_inset
20153
20154
20155 \end_layout
20156
20157 \begin_layout Section
20158 Comprobar \SpecialChar TeX
20159
20160 \end_layout
20161
20162 \begin_layout Standard
20163 por 
20164 \noun on
20165 Asger Alstrup
20166 \end_layout
20167
20168 \begin_layout Subsection
20169 Introducción
20170 \end_layout
20171
20172 \begin_layout Standard
20173 Si está instalado 
20174 \family typewriter
20175 chktex
20176 \family default
20177 ,
20178 \begin_inset Foot
20179 status collapsed
20180
20181 \begin_layout Plain Layout
20182 Aún no disponible en la distribución Mik\SpecialChar TeX
20183 .
20184 \end_layout
20185
20186 \end_inset
20187
20188  bajo el menú 
20189 \family sans
20190 Herramientas
20191 \family default
20192  encontrarás la opción 
20193 \family sans
20194 Comprobar
20195 \begin_inset space ~
20196 \end_inset
20197
20198 TeX
20199 \family default
20200 .
20201  Para que esté disponible necesitas instalar el programa 
20202 \family typewriter
20203 chktex
20204 \family default
20205 .
20206  Puedes obtenerlo de CTAN,
20207 \begin_inset Newline newline
20208 \end_inset
20209
20210
20211 \begin_inset CommandInset href
20212 LatexCommand href
20213 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
20214 literal "false"
20215
20216 \end_inset
20217
20218 .
20219 \end_layout
20220
20221 \begin_layout Standard
20222 El paquete 
20223 \family sans
20224 Chk\SpecialChar TeX
20225
20226 \family default
20227  fue escrito por 
20228 \noun on
20229 Jens T.
20230  Berger Thielemann
20231 \noun default
20232 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
20233  poco
20234  intuitivas y fáciles de olvidar.
20235  El programa se ejecuta sobre el archivo \SpecialChar LaTeX
20236  y comprueba la integridad del
20237  mismo, identificando algunos errores comunes.
20238  En palabras técnicas, es como 
20239 \family typewriter
20240 Lint
20241 \family default
20242  para \SpecialChar LaTeX
20243 .
20244 \end_layout
20245
20246 \begin_layout Standard
20247 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
20248 , que se supone que siempre genera
20249  \SpecialChar LaTeX
20250  correcto? La respuesta es sencilla: Igual que 
20251 \family typewriter
20252 Lint
20253 \family default
20254  no solo comprueba la 
20255 \emph on
20256 sintaxis 
20257 \emph default
20258 de programas C, sino que también comprueba la 
20259 \emph on
20260 semántica 
20261 \emph default
20262 en
20263 \emph on
20264  
20265 \emph default
20266 busca de errores de tipografía, 
20267 \family sans
20268 Chk\SpecialChar TeX
20269
20270 \family default
20271  detecta, además de los errores sintácticos, errores 
20272 \emph on
20273 tipográficos 
20274 \emph default
20275 comunes, tales como
20276 \end_layout
20277
20278 \begin_layout Itemize
20279 Puntos suspensivos incorrectos:
20280 \begin_inset Newline newline
20281 \end_inset
20282
20283 Usa \SpecialChar ldots
20284  en vez de ...
20285 \end_layout
20286
20287 \begin_layout Itemize
20288 Espacio junto a los paréntesis:
20289 \begin_inset Newline newline
20290 \end_inset
20291
20292 ( espaciado incorrecto )
20293 \end_layout
20294
20295 \begin_layout Itemize
20296 Introducción de espacio normal tras abreviaciones:
20297 \begin_inset Newline newline
20298 \end_inset
20299
20300 p.
20301  ej.
20302  es un espacio demasiado grande.
20303 \end_layout
20304
20305 \begin_layout Itemize
20306 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
20307 :
20308 \begin_inset Newline newline
20309 \end_inset
20310
20311 Esto es un TEST.
20312  Y esto un espacio incorrecto.
20313 \end_layout
20314
20315 \begin_layout Itemize
20316 Espacio ante etiquetas y otros comandos:
20317 \begin_inset Newline newline
20318 \end_inset
20319
20320 La etiqueta debe estar pegada al texto precedente para evitar un salto de
20321  línea o página en mal sitio.
20322  
20323 \begin_inset CommandInset label
20324 LatexCommand label
20325 name "sec:chktex"
20326
20327 \end_inset
20328
20329  
20330 \begin_inset Foot
20331 status collapsed
20332
20333 \begin_layout Plain Layout
20334 Esta nota podría salir en una página inadecuada.
20335 \end_layout
20336
20337 \end_inset
20338
20339  La etiqueta está demasiado separada.
20340 \end_layout
20341
20342 \begin_layout Itemize
20343 Espacio no protegido ante las referencias:
20344 \begin_inset Newline newline
20345 \end_inset
20346
20347 Si te despistas en esto, el texto podría saltar de línea justo entre él
20348  y el número de la referencia, lo que se ve feo.
20349  Véase la sección 
20350 \begin_inset CommandInset ref
20351 LatexCommand ref
20352 reference "sec:chktex"
20353
20354 \end_inset
20355
20356 .
20357 \end_layout
20358
20359 \begin_layout Itemize
20360 Uso de 
20361 \begin_inset Quotes eld
20362 \end_inset
20363
20364 x
20365 \begin_inset Quotes erd
20366 \end_inset
20367
20368  en vez de 
20369 \begin_inset Formula $\times$
20370 \end_inset
20371
20372  entre números:
20373 \begin_inset Newline newline
20374 \end_inset
20375
20376 2x2 se ve cutre comparado con 
20377 \begin_inset Formula $2\times2$
20378 \end_inset
20379
20380 .
20381 \end_layout
20382
20383 \begin_layout Standard
20384 y más\SpecialChar ldots
20385  Es una herramienta imprescindible una vez acabado tu documento y hecha
20386  la revisión ortográfica; antes de afinar la composición del documento e
20387  imprimirlo deberías ejecutar 
20388 \family sans
20389 Chk\SpecialChar TeX
20390
20391 \family default
20392 .
20393 \end_layout
20394
20395 \begin_layout Subsection
20396 Modo de empleo
20397 \end_layout
20398
20399 \begin_layout Standard
20400 Si el programa está instalado, se ejecuta con 
20401 \family sans
20402 Herramientas\SpecialChar menuseparator
20403 Comprobar
20404 \begin_inset space ~
20405 \end_inset
20406
20407 TeX
20408 \family default
20409 .
20410  \SpecialChar LyX
20411  genera entonces un archivo \SpecialChar LaTeX
20412  del documento, inicia 
20413 \family sans
20414 Chk\SpecialChar TeX
20415
20416 \family default
20417  para revisarlo, e inserta 
20418 \begin_inset Quotes cld
20419 \end_inset
20420
20421 cuadros de error
20422 \begin_inset Quotes crd
20423 \end_inset
20424
20425  con las advertencias de 
20426 \family sans
20427 Chk\SpecialChar TeX
20428
20429 \family default
20430 , si las hubiera.
20431  Las advertencias se situarán cerca del error, y puedes navegar entre ellas
20432  con la opción de menú 
20433 \family sans
20434 Navegar\SpecialChar menuseparator
20435 Error
20436 \family default
20437 , o con el atajo de teclado 
20438 \family sans
20439 C-g
20440 \family default
20441  del archivo 
20442 \family typewriter
20443 cua.bind
20444 \family default
20445 .
20446  Los cuadros de error se abren pulsando sobre ellos o con el atajo 
20447 \family sans
20448 C-i
20449 \family default
20450  (si usas atajos 
20451 \family typewriter
20452 cua
20453 \family default
20454 ), o 
20455 \family sans
20456 C-o
20457 \family default
20458  (si usas atajos 
20459 \family typewriter
20460 emacs)
20461 \family default
20462 .
20463  Lee las advertencias y corrige los errores.
20464  Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
20465  Recuerda que hay un estrato oculto entre el documento en pantalla y los
20466  detalles técnicos al ejecutar 
20467 \family sans
20468 Chk\SpecialChar TeX
20469
20470 \family default
20471 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
20472 \end_layout
20473
20474 \begin_layout Standard
20475 Este documento es un excelente banco de pruebas para esta característica,
20476  con el que comprobar la presencia de advertencias y enredar con ellas.
20477  Aunque, como los ordenadores son tan listos, confía en que la mayoría de
20478  advertencias serán falsas alarmas.
20479 \end_layout
20480
20481 \begin_layout Subsection
20482 Afinación
20483 \end_layout
20484
20485 \begin_layout Standard
20486 A veces observarás que con 
20487 \family sans
20488 Chk\SpecialChar TeX
20489
20490 \family default
20491  hay más ruido que nueces.
20492  Puedes elegir no usarlo, o intentar personalizar 
20493 \family sans
20494 Chk\SpecialChar TeX
20495
20496 \family default
20497  para adaptarlo a tus necesidades.
20498 \end_layout
20499
20500 \begin_layout Standard
20501 Aunque 
20502 \family sans
20503 Chk\SpecialChar TeX
20504
20505 \family default
20506  
20507 \emph on
20508 es
20509 \emph default
20510  muy configurable y ampliable, no esperes resolver todos los problemas de
20511  \SpecialChar LyX
20512  con 
20513 \family sans
20514 Chk\SpecialChar TeX
20515
20516 \family default
20517 .
20518  Como \SpecialChar LyX
20519  ha de generar un archivo \SpecialChar LaTeX
20520  un tanto especial para poder casar los
20521  números de línea de la salida de 
20522 \family sans
20523 Chk\SpecialChar TeX
20524
20525 \family default
20526  con la estructura interna del documento
20527 \begin_inset Foot
20528 status collapsed
20529
20530 \begin_layout Plain Layout
20531 Puedes inspeccionar la salida de 
20532 \family sans
20533 chktex
20534 \family default
20535  usando 
20536 \family sans
20537 Documento\SpecialChar menuseparator
20538 Registro
20539 \begin_inset space ~
20540 \end_inset
20541
20542 de
20543 \begin_inset space ~
20544 \end_inset
20545
20546 \SpecialChar LaTeX
20547
20548 \family default
20549  tras ejecutar 
20550 \family sans
20551 chktex
20552 \family default
20553 .
20554 \end_layout
20555
20556 \end_inset
20557
20558 , algunos de los avisos no estarán bien colocados.
20559  Puedes hacer dos cosas:
20560 \end_layout
20561
20562 \begin_layout Itemize
20563 Afinar la línea de comandos de 
20564 \family sans
20565 Chk\SpecialChar TeX
20566  
20567 \family default
20568 en 
20569 \family sans
20570 Preferencias
20571 \family default
20572  (
20573 \family sans
20574 Salidas\SpecialChar menuseparator
20575 \SpecialChar LaTeX
20576
20577 \family default
20578 ), o el archivo de configuración global de 
20579 \family sans
20580 Chk\SpecialChar TeX
20581
20582 \family default
20583  (normalmente se ubica en
20584 \begin_inset Newline newline
20585 \end_inset
20586
20587
20588 \family typewriter
20589 /usr/local/share/chktexrc
20590 \family default
20591 ).
20592  Véase más adelante qué advertencias se pueden activar o desactivar en la
20593  línea del comando.
20594  
20595 \end_layout
20596
20597 \begin_layout Itemize
20598 Exporta tu documento a un archivo \SpecialChar LaTeX
20599  simple con
20600 \family typewriter
20601  
20602 \family sans
20603 Archivo\SpecialChar menuseparator
20604 Exportar\SpecialChar menuseparator
20605 LaTeX
20606 \family default
20607  y ejecuta 
20608 \family typewriter
20609 chktex
20610 \family default
20611  a mano sobre él.
20612  Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
20613  el documento \SpecialChar LyX
20614 , pero con un poco de paciencia lo lograrás.
20615 \end_layout
20616
20617 \begin_layout Standard
20618 A continuación se listan los mensajes de error que pueden ser activados
20619  o desactivados en 
20620 \family sans
20621 Preferencias
20622 \family default
20623 .
20624  Usa 
20625 \family typewriter
20626 -n#
20627 \family default
20628  para desactivar un aviso, y 
20629 \family typewriter
20630 -w#
20631 \family default
20632  para activarlo.
20633  Las entradas en énfasis están desactivadas por omisión, porque de forma
20634  predeterminada se ejecuta como "
20635 \family typewriter
20636 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20637 \family default
20638 ".
20639 \end_layout
20640
20641 \begin_layout Standard
20642 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20643  avisos, porque las demás las usa \SpecialChar LyX
20644  de manera específica para comunicarse
20645  con 
20646 \family typewriter
20647 chktex
20648 \family default
20649 .
20650 \end_layout
20651
20652 \begin_layout Enumerate
20653
20654 \size small
20655 \emph on
20656 Command terminated with space.
20657  (Comando finalizado con un espacio
20658 \emph default
20659 .
20660 \emph on
20661 )
20662 \end_layout
20663
20664 \begin_layout Enumerate
20665
20666 \size small
20667 Non-breaking space (
20668 \begin_inset Quotes eld
20669 \end_inset
20670
20671
20672 \family typewriter
20673 ~
20674 \family default
20675
20676 \begin_inset Quotes erd
20677 \end_inset
20678
20679 ) should have been used.
20680  (Se
20681 \emph on
20682  
20683 \emph default
20684 debería haber usado un espacio protegido 
20685 \begin_inset Quotes cld
20686 \end_inset
20687
20688 ~
20689 \begin_inset Quotes crd
20690 \end_inset
20691
20692 )
20693 \end_layout
20694
20695 \begin_layout Enumerate
20696
20697 \size small
20698 \emph on
20699 You should enclose the previous parenthesis with 
20700 \begin_inset Quotes eld
20701 \end_inset
20702
20703
20704 \family typewriter
20705 {}
20706 \family default
20707
20708 \begin_inset Quotes erd
20709 \end_inset
20710
20711 .
20712  
20713 \shape italic
20714 \emph default
20715 (Deberías cerrar los paréntesis previos con
20716 \shape default
20717  
20718 \emph on
20719
20720 \begin_inset Quotes cld
20721 \end_inset
20722
20723 {}
20724 \begin_inset Quotes crd
20725 \end_inset
20726
20727 )
20728 \end_layout
20729
20730 \begin_layout Enumerate
20731
20732 \size small
20733 Italic correction (
20734 \begin_inset Quotes eld
20735 \end_inset
20736
20737
20738 \family typewriter
20739
20740 \backslash
20741 /
20742 \family default
20743
20744 \begin_inset Quotes erd
20745 \end_inset
20746
20747 ) found in non-italic buffer.
20748  (Corrección de cursiva (
20749 \begin_inset Quotes cld
20750 \end_inset
20751
20752
20753 \backslash
20754 /
20755 \begin_inset Quotes crd
20756 \end_inset
20757
20758 ) en un grupo que no está en cursiva)
20759 \end_layout
20760
20761 \begin_layout Enumerate
20762
20763 \size small
20764 Italic correction (
20765 \begin_inset Quotes eld
20766 \end_inset
20767
20768
20769 \family typewriter
20770
20771 \backslash
20772 /
20773 \family default
20774
20775 \begin_inset Quotes erd
20776 \end_inset
20777
20778 ) found more than once.
20779  (Corrección de cursiva (
20780 \begin_inset Quotes cld
20781 \end_inset
20782
20783
20784 \backslash
20785 /
20786 \begin_inset Quotes crd
20787 \end_inset
20788
20789 ) más de una vez)
20790 \end_layout
20791
20792 \begin_layout Enumerate
20793
20794 \size small
20795 \emph on
20796 No italic correction (
20797 \begin_inset Quotes eld
20798 \end_inset
20799
20800
20801 \family typewriter
20802
20803 \backslash
20804 /
20805 \family default
20806
20807 \begin_inset Quotes erd
20808 \end_inset
20809
20810 ) found.
20811  (Corrección de cursiva (
20812 \emph default
20813
20814 \begin_inset Quotes cld
20815 \end_inset
20816
20817
20818 \backslash
20819 /
20820 \begin_inset Quotes crd
20821 \end_inset
20822
20823
20824 \emph on
20825 )
20826 \emph default
20827  
20828 \emph on
20829 no encontrada)
20830 \end_layout
20831
20832 \begin_layout Enumerate
20833
20834 \size small
20835 Accent command 
20836 \begin_inset Quotes eld
20837 \end_inset
20838
20839
20840 \family typewriter
20841 cmd
20842 \family default
20843
20844 \begin_inset Quotes erd
20845 \end_inset
20846
20847  needs use of 
20848 \begin_inset Quotes eld
20849 \end_inset
20850
20851
20852 \family typewriter
20853 cmd
20854 \family default
20855
20856 \begin_inset Quotes erd
20857 \end_inset
20858
20859 .
20860  (El comando 
20861 \begin_inset Quotes cld
20862 \end_inset
20863
20864 cmd
20865 \begin_inset Quotes crd
20866 \end_inset
20867
20868  requiere el uso de 
20869 \begin_inset Quotes cld
20870 \end_inset
20871
20872 cmd
20873 \begin_inset Quotes crd
20874 \end_inset
20875
20876 )
20877 \end_layout
20878
20879 \begin_layout Enumerate
20880
20881 \size small
20882 Wrong length of dash may have been used.
20883  (Quizá se ha usado un guión de longitud inadecuada)
20884 \end_layout
20885
20886 \begin_layout Enumerate
20887
20888 \size small
20889 \emph on
20890 \begin_inset Quotes eld
20891 \end_inset
20892
20893
20894 \family typewriter
20895 %s
20896 \family default
20897
20898 \begin_inset Quotes erd
20899 \end_inset
20900
20901  expected, found 
20902 \begin_inset Quotes eld
20903 \end_inset
20904
20905
20906 \family typewriter
20907 %s
20908 \family default
20909
20910 \begin_inset Quotes erd
20911 \end_inset
20912
20913 .
20914  (Se esperaba 
20915 \begin_inset Quotes cld
20916 \end_inset
20917
20918 %s
20919 \begin_inset Quotes crd
20920 \end_inset
20921
20922 , se ha encontrado 
20923 \begin_inset Quotes cld
20924 \end_inset
20925
20926 %s
20927 \begin_inset Quotes crd
20928 \end_inset
20929
20930 )
20931 \end_layout
20932
20933 \begin_layout Enumerate
20934
20935 \size small
20936 Solo 
20937 \begin_inset Quotes eld
20938 \end_inset
20939
20940
20941 \family typewriter
20942 %s
20943 \family default
20944
20945 \begin_inset Quotes erd
20946 \end_inset
20947
20948  found.
20949  (Se ha encontrado un solo 
20950 \begin_inset Quotes cld
20951 \end_inset
20952
20953 %s
20954 \begin_inset Quotes crd
20955 \end_inset
20956
20957 )
20958 \end_layout
20959
20960 \begin_layout Enumerate
20961
20962 \size small
20963 You should use 
20964 \begin_inset Quotes eld
20965 \end_inset
20966
20967
20968 \family typewriter
20969 %s
20970 \family default
20971
20972 \begin_inset Quotes erd
20973 \end_inset
20974
20975  to achieve an ellipsis.
20976  (Deberías usar 
20977 \begin_inset Quotes cld
20978 \end_inset
20979
20980 %s
20981 \begin_inset Quotes crd
20982 \end_inset
20983
20984  para los puntos suspensivos)
20985 \end_layout
20986
20987 \begin_layout Enumerate
20988
20989 \size small
20990 Inter-word spacing (
20991 \begin_inset Quotes eld
20992 \end_inset
20993
20994
20995 \family typewriter
20996
20997 \backslash
20998
20999 \family default
21000  
21001 \begin_inset Quotes eld
21002 \end_inset
21003
21004 ) should perhaps be used.
21005  (Quizá tendría que ponerse un espacio entre palabras (
21006 \begin_inset Quotes cld
21007 \end_inset
21008
21009
21010 \backslash
21011
21012 \begin_inset Quotes crd
21013 \end_inset
21014
21015 )) 
21016 \end_layout
21017
21018 \begin_layout Enumerate
21019
21020 \size small
21021 Inter-sentence spacing (
21022 \begin_inset Quotes eld
21023 \end_inset
21024
21025
21026 \family typewriter
21027
21028 \backslash
21029 @
21030 \family default
21031
21032 \begin_inset Quotes erd
21033 \end_inset
21034
21035 ) should perhaps be used.
21036  (Quizá tendría que ponerse un espacio entre frases (
21037 \begin_inset Quotes cld
21038 \end_inset
21039
21040
21041 \backslash
21042 @
21043 \begin_inset Quotes crd
21044 \end_inset
21045
21046 )) 
21047 \end_layout
21048
21049 \begin_layout Enumerate
21050
21051 \size small
21052 Could not find argument for command.
21053  (Argumento de comando no encontrado)
21054 \end_layout
21055
21056 \begin_layout Enumerate
21057
21058 \size small
21059 No match found for 
21060 \begin_inset Quotes eld
21061 \end_inset
21062
21063
21064 \family typewriter
21065 %s
21066 \family default
21067
21068 \begin_inset Quotes erd
21069 \end_inset
21070
21071 .
21072  (Objetivo para 
21073 \begin_inset Quotes cld
21074 \end_inset
21075
21076 %s
21077 \begin_inset Quotes crd
21078 \end_inset
21079
21080  no encontrado)
21081 \end_layout
21082
21083 \begin_layout Enumerate
21084
21085 \size small
21086 Math mode still on at end of \SpecialChar LaTeX
21087  file.
21088  (El archivo \SpecialChar LaTeX
21089  termina en modo ecuación)
21090 \end_layout
21091
21092 \begin_layout Enumerate
21093
21094 \size small
21095 Number of 
21096 \begin_inset Quotes eld
21097 \end_inset
21098
21099
21100 \family typewriter
21101 char
21102 \family default
21103
21104 \begin_inset Quotes erd
21105 \end_inset
21106
21107  doesn't match the number of 
21108 \begin_inset Quotes eld
21109 \end_inset
21110
21111
21112 \family typewriter
21113 char
21114 \family default
21115
21116 \begin_inset Quotes erd
21117 \end_inset
21118
21119 .
21120  (El número de 
21121 \begin_inset Quotes cld
21122 \end_inset
21123
21124 char
21125 \begin_inset Quotes crd
21126 \end_inset
21127
21128  no corresponde con el número de 
21129 \begin_inset Quotes cld
21130 \end_inset
21131
21132 char
21133 \begin_inset Quotes crd
21134 \end_inset
21135
21136 )
21137 \end_layout
21138
21139 \begin_layout Enumerate
21140
21141 \size small
21142 You should use either 
21143 \family typewriter
21144
21145 \begin_inset Quotes eld
21146 \end_inset
21147
21148
21149 \family default
21150  or 
21151 \family typewriter
21152
21153 \begin_inset Quotes erd
21154 \end_inset
21155
21156
21157 \family default
21158  as an alternative to 
21159 \begin_inset Quotes eld
21160 \end_inset
21161
21162
21163 \family typewriter
21164 "
21165 \family default
21166
21167 \begin_inset Quotes erd
21168 \end_inset
21169
21170 .
21171  (Deberías usar 
21172 \begin_inset Quotes cld
21173 \end_inset
21174
21175 o
21176 \begin_inset Quotes crd
21177 \end_inset
21178
21179  mejor que 
21180 \size default
21181
21182 \begin_inset Quotes cld
21183 \end_inset
21184
21185
21186 \family typewriter
21187 \size small
21188 "
21189 \family default
21190 \size default
21191
21192 \begin_inset Quotes crd
21193 \end_inset
21194
21195
21196 \size small
21197 )
21198 \end_layout
21199
21200 \begin_layout Enumerate
21201
21202 \size small
21203 You should use "
21204 \family typewriter
21205 '
21206 \family default
21207 " (ASCII 39) instead of "
21208 \family typewriter
21209 ´
21210 \family default
21211 " (ASCII 180).
21212  (Deberías usar 
21213 \begin_inset Quotes cld
21214 \end_inset
21215
21216 '
21217 \begin_inset Quotes crd
21218 \end_inset
21219
21220  (ASCII 39) en lugar de 
21221 \begin_inset Quotes cld
21222 \end_inset
21223
21224 ´
21225 \begin_inset Quotes crd
21226 \end_inset
21227
21228  (ASCII 180))
21229 \end_layout
21230
21231 \begin_layout Enumerate
21232
21233 \size small
21234 User-specified pattern found.
21235  (Se ha encontrado un patrón definido por el usuario)
21236 \end_layout
21237
21238 \begin_layout Enumerate
21239
21240 \size small
21241 This command might not be intended.
21242  (Comando posiblemente no buscado)
21243 \end_layout
21244
21245 \begin_layout Enumerate
21246
21247 \size small
21248 \emph on
21249 Comment displayed.
21250  (Comentario mostrado)
21251 \end_layout
21252
21253 \begin_layout Enumerate
21254
21255 \size small
21256 Either 
21257 \family typewriter
21258 ''
21259 \backslash
21260 ,'
21261 \family default
21262  or 
21263 \family typewriter
21264 '
21265 \backslash
21266 ,''
21267 \family default
21268  will look better.
21269  (
21270 \family typewriter
21271 ''
21272 \backslash
21273 ,'
21274 \family default
21275  o 
21276 \family typewriter
21277 '
21278 \backslash
21279 ,''
21280 \family default
21281  quedaría mejor) 
21282 \end_layout
21283
21284 \begin_layout Enumerate
21285
21286 \size small
21287 Delete this space to maintain correct page references.
21288  (Borra este espacio para mantener las referencias de página)
21289 \end_layout
21290
21291 \begin_layout Enumerate
21292
21293 \size small
21294 \emph on
21295 You might wish to put this between a pair of 
21296 \begin_inset Quotes eld
21297 \end_inset
21298
21299
21300 \family typewriter
21301 {}
21302 \family default
21303
21304 \begin_inset Quotes erd
21305 \end_inset
21306
21307 .
21308  (Esto quizá estaría mejor entre llaves 
21309 \begin_inset Quotes cld
21310 \end_inset
21311
21312 {}
21313 \begin_inset Quotes crd
21314 \end_inset
21315
21316 )
21317 \end_layout
21318
21319 \begin_layout Enumerate
21320
21321 \size small
21322 You ought to remove spaces in front of punctuation.
21323  (Debes quitar espacios delante de la puntuación)
21324 \end_layout
21325
21326 \begin_layout Enumerate
21327
21328 \size small
21329 Could not execute \SpecialChar LaTeX
21330  command.
21331  (No se puede ejecutar comando \SpecialChar LaTeX
21332 )
21333 \end_layout
21334
21335 \begin_layout Enumerate
21336
21337 \size small
21338 Don't use 
21339 \family typewriter
21340
21341 \backslash
21342 /
21343 \family default
21344  in front of small punctuation.
21345  (No poner 
21346 \family typewriter
21347
21348 \backslash
21349 /
21350 \family default
21351  delante de un punto)
21352 \end_layout
21353
21354 \begin_layout Enumerate
21355
21356 \family typewriter
21357 \size small
21358 $
21359 \backslash
21360 times$
21361 \family default
21362  may look prettier here.
21363  (Aquí quedaría mejor 
21364 \family typewriter
21365 $
21366 \backslash
21367 times$
21368 \family default
21369 \emph on
21370 )
21371 \end_layout
21372
21373 \begin_layout Enumerate
21374
21375 \size small
21376 \emph on
21377 Multiple spaces detected in output.
21378  (Se detectan espacios múltiples en la salida)
21379 \end_layout
21380
21381 \begin_layout Enumerate
21382
21383 \size small
21384 This text may be ignored.
21385  (Este texto podría no tenerse en cuenta)
21386 \end_layout
21387
21388 \begin_layout Enumerate
21389
21390 \size small
21391 Use 
21392 \family typewriter
21393
21394 \begin_inset Quotes eld
21395 \end_inset
21396
21397
21398 \family default
21399  to begin quotation, not 
21400 \family typewriter
21401 '
21402 \family default
21403 .
21404  (Usa `` para comenzar una cita, no ')
21405 \end_layout
21406
21407 \begin_layout Enumerate
21408
21409 \size small
21410 Use 
21411 \family typewriter
21412 '
21413 \family default
21414  to end quotation, not 
21415 \family typewriter
21416
21417 \begin_inset Quotes eld
21418 \end_inset
21419
21420
21421 \family default
21422 .
21423  (Usa ' para finalizar una cita, no ``)
21424 \end_layout
21425
21426 \begin_layout Enumerate
21427
21428 \size small
21429 Don't mix quotes.
21430  (No mezcles distintos tipos de comillas)
21431 \end_layout
21432
21433 \begin_layout Enumerate
21434
21435 \size small
21436 You should perhaps use 
21437 \begin_inset Quotes eld
21438 \end_inset
21439
21440
21441 \family typewriter
21442 cmd
21443 \family default
21444
21445 \begin_inset Quotes erd
21446 \end_inset
21447
21448  instead.
21449  (Quizá sería mejor usar 
21450 \begin_inset Quotes cld
21451 \end_inset
21452
21453 cmd
21454 \begin_inset Quotes crd
21455 \end_inset
21456
21457 )
21458 \end_layout
21459
21460 \begin_layout Enumerate
21461
21462 \size small
21463 You should put a space in front of/after parenthesis.
21464  (Deberías poner un espacio delante/detrás de los paréntesis)
21465 \end_layout
21466
21467 \begin_layout Enumerate
21468
21469 \size small
21470 You should avoid spaces in front of/after parenthesis.
21471  (Deberías evitar espacios delante/detrás de los paréntesis)
21472 \end_layout
21473
21474 \begin_layout Enumerate
21475
21476 \size small
21477 \emph on
21478 You should not use punctuation in front of/after quotes.
21479  (No deberías usar puntuación delante/detrás de comillas)
21480 \end_layout
21481
21482 \begin_layout Enumerate
21483
21484 \size small
21485 Double space found.
21486  (Espacio doble encontrado)
21487 \end_layout
21488
21489 \begin_layout Enumerate
21490
21491 \size small
21492 You should put punctuation outside inner/inside display math mode.
21493  (Deberías poner la puntuación fuera del modo ecuación) 
21494 \end_layout
21495
21496 \begin_layout Enumerate
21497
21498 \size small
21499 You ought to not use primitive \SpecialChar TeX
21500  in \SpecialChar LaTeX
21501  code.
21502  (No debes usar primitivas de \SpecialChar TeX
21503  dentro de código \SpecialChar LaTeX
21504 )
21505 \end_layout
21506
21507 \begin_layout Enumerate
21508
21509 \size small
21510 You should remove spaces in front of 
21511 \begin_inset Quotes eld
21512 \end_inset
21513
21514
21515 \family typewriter
21516 %s
21517 \family default
21518
21519 \begin_inset Quotes erd
21520 \end_inset
21521
21522  (Deberías quitar los espacios delante de 
21523 \begin_inset Quotes cld
21524 \end_inset
21525
21526 %s
21527 \begin_inset Quotes crd
21528 \end_inset
21529
21530 )
21531 \end_layout
21532
21533 \begin_layout Enumerate
21534
21535 \size small
21536 \begin_inset Quotes eld
21537 \end_inset
21538
21539
21540 \family typewriter
21541 %s
21542 \family default
21543
21544 \begin_inset Quotes erd
21545 \end_inset
21546
21547  is normally not followed by 
21548 \begin_inset Quotes eld
21549 \end_inset
21550
21551
21552 \family typewriter
21553 %c
21554 \family default
21555
21556 \begin_inset Quotes erd
21557 \end_inset
21558
21559 .
21560  (
21561 \begin_inset Quotes cld
21562 \end_inset
21563
21564 %s
21565 \begin_inset Quotes crd
21566 \end_inset
21567
21568  normalmente no va seguido de 
21569 \begin_inset Quotes cld
21570 \end_inset
21571
21572 %c
21573 \begin_inset Quotes crd
21574 \end_inset
21575
21576 )
21577 \end_layout
21578
21579 \begin_layout Standard
21580 En las últimas versiones de \SpecialChar LyX
21581  esperamos proporcionar una interfaz más completa
21582  para esta herramienta (y su prima pequeña 
21583 \family typewriter
21584 lacheck
21585 \family default
21586 ) para aprovechar toda su potencia.
21587  Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
21588  de cierta longitud y sorpréndete.
21589 \end_layout
21590
21591 \begin_layout Section
21592 Control de versiones en \SpecialChar LyX
21593
21594 \end_layout
21595
21596 \begin_layout Standard
21597 por
21598 \noun on
21599  Lars Gullik Bjønnes
21600 \noun default
21601  y 
21602 \noun on
21603 Pavel Sanda
21604 \end_layout
21605
21606 \begin_layout Subsection
21607 Introducción
21608 \end_layout
21609
21610 \begin_layout Standard
21611 \SpecialChar LyX
21612  soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
21613  Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
21614 \end_layout
21615
21616 \begin_layout Standard
21617 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
21618  el de subversion, por lo que recomendamos SVN.
21619  Para empezar con Subversion es conveniente consultar SVN Book.
21620 \begin_inset Foot
21621 status collapsed
21622
21623 \begin_layout Plain Layout
21624 \begin_inset CommandInset href
21625 LatexCommand href
21626 target "http://svnbook.red-bean.com/"
21627 literal "false"
21628
21629 \end_inset
21630
21631
21632 \end_layout
21633
21634 \end_inset
21635
21636  Para RCS deberías leer 
21637 \begin_inset Quotes cld
21638 \end_inset
21639
21640 rcsintro
21641 \begin_inset Quotes crd
21642 \end_inset
21643
21644  (archivo 
21645 \emph on
21646 man
21647 \emph default
21648  de manual).
21649  Este archivo describe todas las características básicas de RCS.
21650  Deberías fijarte especialmente en el comentario sobre el directorio RCS
21651  y las nociones sobre el archivo maestro RCS (el que acaba en 
21652 \family typewriter
21653 ,v
21654 \family default
21655 ).
21656 \end_layout
21657
21658 \begin_layout Standard
21659 Antes de usar el control de versiones en \SpecialChar LyX
21660  hay que conocer el uso de RCS/CVS/SVN/
21661 GIT.
21662  La implementación en \SpecialChar LyX
21663  asume el uso de versiones recientes de los paquetes
21664  GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21665  La mayoría de los mensajes de registro no son actualmente mostrados tras
21666  las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21667  Los usuarios habituales de control de versiones apreciarán las herramientas
21668  VC, disponibles en 
21669 \family sans
21670 Ver\SpecialChar menuseparator
21671 Barras de herramientas\SpecialChar menuseparator
21672 Control de versiones
21673 \family default
21674 .
21675 \end_layout
21676
21677 \begin_layout Standard
21678 Para introducir tus propios comandos externos consulta vc-command en el
21679  manual 
21680 \emph on
21681 Funciones de \SpecialChar LyX
21682
21683 \emph default
21684 .
21685 \end_layout
21686
21687 \begin_layout Standard
21688 Es muy recomendable guardar los documentos sin comprimir si se usa control
21689  de versiones (desactiva 
21690 \family sans
21691 Documento\SpecialChar menuseparator
21692 Comprimido
21693 \family default
21694  si lo está): los documentos \SpecialChar LyX
21695  sin comprimir son archivos de texto y por
21696  tanto factibles de ser mezclados por sistemas de control de versiones.
21697  Los documentos \SpecialChar LyX
21698  comprimidos son archivos binarios, no manejables por sistemas
21699  de control de versiones.
21700  
21701 \end_layout
21702
21703 \begin_layout Subsection
21704 Comandos RCS en \SpecialChar LyX
21705
21706 \end_layout
21707
21708 \begin_layout Standard
21709 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21710 .
21711  Los puedes encontrar en el submenú 
21712 \family sans
21713 Archivo\SpecialChar menuseparator
21714 Control
21715 \begin_inset space ~
21716 \end_inset
21717
21718 de
21719 \begin_inset space ~
21720 \end_inset
21721
21722 versiones
21723 \family default
21724 .
21725  \SpecialChar LyX
21726  se ha probado con la versión RCS 5.7/5.8.
21727 \end_layout
21728
21729 \begin_layout Subsubsection
21730
21731 \family sans
21732 Registrar
21733 \end_layout
21734
21735 \begin_layout Standard
21736 Si tu documento no está sometido a control de versiones, este es el único
21737  ítem mostrado en el submenú.
21738  Y si está sometido a control de versiones, el ítem 
21739 \family sans
21740 Registrar
21741 \family default
21742  no aparece.
21743  
21744 \end_layout
21745
21746 \begin_layout Standard
21747 Este comando registra el documento con RCS\SpecialChar endofsentence
21748  Se te pide interactivamente una
21749  descripción inicial del documento.
21750  Por ahora, el documento está puesto en modo Solo-lectura y debes 
21751 \family sans
21752 Liberar para edición 
21753 \family default
21754 antes de hacer cambios en él.
21755  Un documento bajo control de revisión tiene un ítem 
21756 \begin_inset Quotes cld
21757 \end_inset
21758
21759 [RCS:<version> <locker>]
21760 \begin_inset Quotes crd
21761 \end_inset
21762
21763  junto al nombre de archivo en el búfer .
21764 \end_layout
21765
21766 \begin_layout Standard
21767 Comando
21768 \family sans
21769  
21770 \family default
21771 RCS ejecutado: 
21772 \family typewriter
21773 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21774 \end_layout
21775
21776 \begin_layout Standard
21777 Lee 
21778 \family typewriter
21779 man ci
21780 \family default
21781  para entender las opciones.
21782  
21783 \end_layout
21784
21785 \begin_layout Subsubsection
21786
21787 \family sans
21788 Liberar cambios
21789 \end_layout
21790
21791 \begin_layout Standard
21792 Cuando has acabado de editar un archivo liberas tus cambios.
21793  Al hacerlo
21794 \family sans
21795  
21796 \family default
21797 se te pide una descripción que se almacena en el historial.
21798  El número de versión es actualizado, tus cambios se aplican al archivo
21799  maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21800  
21801 \end_layout
21802
21803 \begin_layout Standard
21804 Comando RCS: 
21805 \family typewriter
21806 ci -q -u -m"<descripción>" <nombre-archivo>
21807 \end_layout
21808
21809 \begin_layout Subsubsection
21810
21811 \family sans
21812 Reservar para edición
21813 \end_layout
21814
21815 \begin_layout Standard
21816 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21817  Además el documento será de Lectura-Escritura únicamente para ti.
21818  Generalmente continuarás la edición un rato más y al acabar liberarás los
21819  cambios.
21820  La línea de estado cambia para indicar que has bloqueado el archivo.
21821  
21822 \end_layout
21823
21824 \begin_layout Standard
21825 Comando RCS: 
21826 \family typewriter
21827 co -q -l <nombre-archivo>
21828 \end_layout
21829
21830 \begin_layout Subsubsection
21831
21832 \family sans
21833 Volver a la 
21834 \family default
21835 versión del repositorio
21836 \end_layout
21837
21838 \begin_layout Standard
21839 Esto descartará todos los cambios hechos en el documento desde la última
21840  liberación de cambios.
21841  Recibes un mensaje de aviso antes de descartar los cambios.
21842
21843 \family typewriter
21844  
21845 \end_layout
21846
21847 \begin_layout Standard
21848 Comando RCS: 
21849 \family typewriter
21850 co -f -u<version> <nombre-archivo>
21851 \end_layout
21852
21853 \begin_layout Subsubsection
21854 Copiar
21855 \end_layout
21856
21857 \begin_layout Standard
21858 Creará una copia del documento actual.
21859  Puesto que RCS no soporta nativamente operaciones de copia, el historial
21860  de versiones no se preserva y la copia se añade como archivo nuevo.
21861  Requiere un documento limpio sin ningún cambio desde la última liberación.
21862  Pedirá un nombre de archivo y una descripción de la operación de copia.
21863  Después se crea la copia localmente y en el repositorio.
21864  Si los directorios padre de los documentos original y copiado difieren,
21865  se ajustan todas las rutas relativas de los archivos incluidos en la copia
21866  (como en 
21867 \family sans
21868 Archivo\SpecialChar menuseparator
21869 Guardar como
21870 \family default
21871 \SpecialChar ldots
21872 ).
21873  Por último, se carga la copia en vez del documento original.
21874 \end_layout
21875
21876 \begin_layout Labeling
21877 \labelwidthstring 00.00.0000
21878 Comandos
21879 \begin_inset space ~
21880 \end_inset
21881
21882 RCS: 
21883 \begin_inset space ~
21884 \end_inset
21885
21886
21887 \begin_inset Newline newline
21888 \end_inset
21889
21890 Copiar 
21891 \begin_inset Flex Code
21892 status collapsed
21893
21894 \begin_layout Plain Layout
21895 \begin_inset Quotes eld
21896 \end_inset
21897
21898 <nombre-archivo>
21899 \begin_inset Quotes erd
21900 \end_inset
21901
21902
21903 \end_layout
21904
21905 \end_inset
21906
21907  a 
21908 \begin_inset Flex Code
21909 status collapsed
21910
21911 \begin_layout Plain Layout
21912 \begin_inset Quotes eld
21913 \end_inset
21914
21915 <nuevo-nombre-archivo>
21916 \begin_inset Quotes erd
21917 \end_inset
21918
21919
21920 \end_layout
21921
21922 \end_inset
21923
21924
21925 \begin_inset Newline newline
21926 \end_inset
21927
21928
21929 \begin_inset Flex Code
21930 status collapsed
21931
21932 \begin_layout Plain Layout
21933 ci -q -u -i 
21934 \begin_inset Quotes eld
21935 \end_inset
21936
21937 <nuevo-nombre-archivo>
21938 \begin_inset Quotes erd
21939 \end_inset
21940
21941
21942 \end_layout
21943
21944 \end_inset
21945
21946
21947 \end_layout
21948
21949 \begin_layout Subsubsection
21950
21951 \family sans
21952 Deshacer última liberación
21953 \end_layout
21954
21955 \begin_layout Standard
21956 Esto es como si la última liberación de cambios no hubiera sucedido.
21957  No se hacen cambios al documento cargado en \SpecialChar LyX
21958 , pero la última versión es
21959  eliminada del archivo maestro RCS.
21960  
21961 \end_layout
21962
21963 \begin_layout Standard
21964 Comando RCS: 
21965 \family typewriter
21966 rcs -o<versión> <nombre-archivo>
21967 \end_layout
21968
21969 \begin_layout Subsubsection
21970
21971 \family sans
21972 Mostrar historial
21973 \end_layout
21974
21975 \begin_layout Standard
21976 Muestra el registro completo del historial del documento RCS.
21977  La salida de 
21978 \family typewriter
21979 rlog
21980 \family default
21981  
21982 \family typewriter
21983 <nombre-archivo>
21984 \family default
21985  se muestra en un buscador.
21986  Véase 
21987 \family typewriter
21988 man rlog
21989 \family default
21990  para más información.
21991 \end_layout
21992
21993 \begin_layout Subsubsection
21994 Información de revisión
21995 \end_layout
21996
21997 \begin_layout Standard
21998 \SpecialChar LyX
21999  soporta información de número de versión, autor, fecha y hora del último
22000  ingreso.
22001  Se obtienen de 
22002 \family typewriter
22003 rlog -r <nombre-archivo>
22004 \family default
22005 .
22006  Véase 
22007 \begin_inset CommandInset ref
22008 LatexCommand ref
22009 reference "subsec:VCS-Información-de-revisión"
22010
22011 \end_inset
22012
22013  para detalles.
22014 \end_layout
22015
22016 \begin_layout Subsection
22017 Comandos CVS en \SpecialChar LyX
22018
22019 \end_layout
22020
22021 \begin_layout Standard
22022 Ahora \SpecialChar LyX
22023  soporta un subconjunto de operaciones CVS.
22024  Puedes ver los comandos en el submenú 
22025 \family sans
22026 Archivo\SpecialChar menuseparator
22027 Control de versiones
22028 \family default
22029 .
22030  El sistema de control de versiones SVN es más poderoso, por lo que úsalo
22031  en lugar de CVS, si es posible.
22032 \end_layout
22033
22034 \begin_layout Subsubsection
22035 Uso general de CVS
22036 \end_layout
22037
22038 \begin_layout Standard
22039 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
22040  copia de trabajo con herramientas externas.
22041  Si usas una configuración cliente-servidor puedes necesitar registrarte
22042  antes de hacer la primera reserva en el repositorio.
22043 \end_layout
22044
22045 \begin_layout Standard
22046 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
22047 io surgen problemas cuando se hacen cambios en el mismo documento y en el
22048  mismo lugar.
22049  Los repositorios estándar CVS no operan con bloqueo de archivos.
22050  Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
22051  sobre el adecuado contenido de la misma parte de un documento.
22052  Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
22053  los conflictos ocurren raramente.
22054  Si no se comunican, tienen un problema fundamental de todos modos.
22055  Con todo, algunos prefieren trabajar con las denominadas 
22056 \begin_inset Quotes cld
22057 \end_inset
22058
22059 reservas reservadas
22060 \begin_inset Quotes crd
22061 \end_inset
22062
22063 .
22064  Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
22065  cuando reservan primero y el usuario comienza la edición después de usar
22066  un comando especial para hacer posible la escritura en la copia de trabajo.
22067  Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
22068  lectura.
22069  Con \SpecialChar LyX
22070 , uno debe editar el archivo 
22071 \begin_inset Flex Code
22072 status collapsed
22073
22074 \begin_layout Plain Layout
22075 .cvsrc
22076 \end_layout
22077
22078 \end_inset
22079
22080  y añadir la línea 
22081 \begin_inset Flex Code
22082 status collapsed
22083
22084 \begin_layout Plain Layout
22085 cvs -r
22086 \end_layout
22087
22088 \end_inset
22089
22090  para trabajar con 
22091 \begin_inset Quotes cld
22092 \end_inset
22093
22094 reservas reservadas
22095 \begin_inset Quotes crd
22096 \end_inset
22097
22098 .
22099  El beneficio es la posibilidad de ver quién está usando una copia con acceso
22100  a escritura de algún documento.
22101  No está garantizado que solo un usuario hace copias con permiso de escritura.
22102 \end_layout
22103
22104 \begin_layout Standard
22105 \SpecialChar LyX
22106  intenta averiguar si estás usando reservas reservadas o no.
22107  Si la copia de trabajo es solo lectura asume que es reservada, si admite
22108  escritura y una copia adicional del documento existe en el subdirectorio
22109  CVS/Base, asume que es no reservada.
22110  Si se detecta una reservada debes usar 
22111 \begin_inset Flex Noun
22112 status collapsed
22113
22114 \begin_layout Plain Layout
22115 Reservar
22116 \end_layout
22117
22118 \end_inset
22119
22120  para poder escribir en ella.
22121  Después de hacerlo, la operación 
22122 \begin_inset Flex Noun
22123 status collapsed
22124
22125 \begin_layout Plain Layout
22126 Liberar
22127 \end_layout
22128
22129 \end_inset
22130
22131  es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
22132  después de transferir los cambios al repositorio.
22133 \end_layout
22134
22135 \begin_layout Standard
22136 Más información sobre CVS se puede encontrar en 
22137 \begin_inset Flex URL
22138 status collapsed
22139
22140 \begin_layout Plain Layout
22141
22142 http://www.nongnu.org/cvs
22143 \end_layout
22144
22145 \end_inset
22146
22147  y en 
22148 \begin_inset Flex URL
22149 status collapsed
22150
22151 \begin_layout Plain Layout
22152
22153 http://ximbiot.com/cvs
22154 \end_layout
22155
22156 \end_inset
22157
22158 .
22159 \end_layout
22160
22161 \begin_layout Standard
22162 Consulta 
22163 \begin_inset Flex Code
22164 status collapsed
22165
22166 \begin_layout Plain Layout
22167 man cvs
22168 \end_layout
22169
22170 \end_inset
22171
22172  para comprender los sub-comandos y conmutadores mencionados abajo.
22173 \end_layout
22174
22175 \begin_layout Subsubsection
22176 Registrar
22177 \end_layout
22178
22179 \begin_layout Standard
22180 Si el documento no está bajo control de revisión, este es el único ítem
22181  mostrado en el menú.
22182  Y si está bajo control de revisión, el ítem
22183 \family sans
22184  
22185 \begin_inset Flex Noun
22186 status collapsed
22187
22188 \begin_layout Plain Layout
22189
22190 \family sans
22191 Registrar
22192 \end_layout
22193
22194 \end_inset
22195
22196
22197 \family default
22198  no está visible.
22199 \end_layout
22200
22201 \begin_layout Standard
22202 Este comando registra tu documento en CVS 
22203 \begin_inset Flex Emph
22204 status collapsed
22205
22206 \begin_layout Plain Layout
22207 \begin_inset Flex Strong
22208 status collapsed
22209
22210 \begin_layout Plain Layout
22211 solo
22212 \end_layout
22213
22214 \end_inset
22215
22216
22217 \end_layout
22218
22219 \end_inset
22220
22221  en el caso de que ya tengas el directorio de documentos bajo control CVS
22222  (en particular, existe el archivo 
22223 \family typewriter
22224 CVS/Entries
22225 \family default
22226 ).
22227  Esto significa que debes crear o reservar el archivo por ti mismo usando
22228  herramientas externas.
22229  (En caso de olvidar este paso, \SpecialChar LyX
22230  registra el documento con RCS).
22231 \end_layout
22232
22233 \begin_layout Standard
22234 Después se te pide interactivamente una descripción inicial del documento.
22235  No olvides que el archivo registrado todavía no está liberado.
22236 \end_layout
22237
22238 \begin_layout Standard
22239 El comando CVS que es ejecutado: 
22240 \family typewriter
22241 cvs -q add -m
22242 \begin_inset Quotes erd
22243 \end_inset
22244
22245 <entered message>" 
22246 \begin_inset Quotes eld
22247 \end_inset
22248
22249 <file-name>
22250 \begin_inset Quotes erd
22251 \end_inset
22252
22253
22254 \end_layout
22255
22256 \begin_layout Standard
22257 El término 
22258 \family typewriter
22259
22260 \begin_inset Quotes eld
22261 \end_inset
22262
22263 <file-name>
22264 \begin_inset Quotes erd
22265 \end_inset
22266
22267
22268 \family default
22269  anterior y en todos los demás comandos CVS es una abreviación para 
22270 \begin_inset Quotes cld
22271 \end_inset
22272
22273 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
22274  el nombre de archivo sin el componente ruta como argumento
22275 \begin_inset Quotes crd
22276 \end_inset
22277
22278 .
22279 \end_layout
22280
22281 \begin_layout Subsubsection
22282 Liberar cambios
22283 \end_layout
22284
22285 \begin_layout Standard
22286 Cuando has terminado de editar un archivo se ingresan los cambios.
22287  Al hacerlo se te pide una descripción de los mismos.
22288  Después, los cambios son escritos en el repositorio.
22289  En caso de que no hayas cambiado el documento y se detecte una copia reservada
22290  se deshace la reserva hecha con 
22291 \begin_inset Flex Noun
22292 status collapsed
22293
22294 \begin_layout Plain Layout
22295 Reservar
22296 \end_layout
22297
22298 \end_inset
22299
22300 .
22301 \end_layout
22302
22303 \begin_layout Labeling
22304 \labelwidthstring 00.00.0000
22305 Comandos
22306 \begin_inset space ~
22307 \end_inset
22308
22309 CVS: 
22310 \begin_inset space ~
22311 \end_inset
22312
22313
22314 \begin_inset Newline newline
22315 \end_inset
22316
22317
22318 \family typewriter
22319
22320 \begin_inset Flex Code
22321 status collapsed
22322
22323 \begin_layout Plain Layout
22324
22325 \family typewriter
22326 cvs -q commit -m"<description>" <file-name>
22327 \end_layout
22328
22329 \end_inset
22330
22331  
22332 \family default
22333 o
22334 \begin_inset Newline newline
22335 \end_inset
22336
22337
22338 \begin_inset Flex Code
22339 status collapsed
22340
22341 \begin_layout Plain Layout
22342 cvs -q unedit "<file-name>"
22343 \end_layout
22344
22345 \end_inset
22346
22347
22348 \end_layout
22349
22350 \begin_layout Subsubsection
22351 Reservar cambios
22352 \end_layout
22353
22354 \begin_layout Standard
22355 Cuando estás compartiendo un repositorio con otros, puede que tengas que
22356  incorporar sus cambios en tu copia de trabajo.
22357 \end_layout
22358
22359 \begin_layout Standard
22360 Comando CVS: 
22361 \family typewriter
22362 cvs -q update "<file-name>"
22363 \end_layout
22364
22365 \begin_layout Standard
22366 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
22367  a escritura.
22368 \end_layout
22369
22370 \begin_layout Standard
22371 Comando CVS: 
22372 \family typewriter
22373 cvs -q edit "<file-name>"
22374 \end_layout
22375
22376 \begin_layout Subsubsection
22377 Volver a la versión del repositorio
22378 \end_layout
22379
22380 \begin_layout Standard
22381 Esto descartará todos los cambios hechos en el documento desde la última
22382  liberación.
22383  Recibes un mensaje de aviso antes de descartar los cambios.
22384  Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
22385
22386 \family typewriter
22387  
22388 \end_layout
22389
22390 \begin_layout Standard
22391 Comando CVS: 
22392 \family typewriter
22393 cvs -q update 
22394 \begin_inset Quotes eld
22395 \end_inset
22396
22397 <file-name>
22398 \begin_inset Quotes erd
22399 \end_inset
22400
22401
22402 \end_layout
22403
22404 \begin_layout Standard
22405 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
22406  solo se deshace la reserva.
22407 \end_layout
22408
22409 \begin_layout Standard
22410 Comando CVS: 
22411 \family typewriter
22412 cvs -q unedit 
22413 \begin_inset Quotes eld
22414 \end_inset
22415
22416 <file-name>
22417 \begin_inset Quotes erd
22418 \end_inset
22419
22420
22421 \end_layout
22422
22423 \begin_layout Subsubsection
22424 Copiar
22425 \end_layout
22426
22427 \begin_layout Standard
22428 Creará una copia del documento actual.
22429  Como CVS no soporta de forma nativa operaciones de copia, el historial
22430  de versiones no se preserva y la copia se añade como archivo nuevo.
22431  Requiere un documento limpio sin ningún cambio desde la última liberación.
22432  Pedirá un nombre de archivo y una descripción de la operación de copia.
22433  Después se crea la copia localmente y en el repositorio.
22434  Si los directorios padre de los documentos original y copiado difieren,
22435  se ajustan todas las rutas relativas de los archivos incluidos en la copia
22436  (como en 
22437 \family sans
22438 Archivo\SpecialChar menuseparator
22439 Guardar como
22440 \family default
22441 \SpecialChar ldots
22442 ).
22443  Por último, se carga la copia en vez del documento original.
22444 \end_layout
22445
22446 \begin_layout Labeling
22447 \labelwidthstring 00.00.0000
22448 Comandos
22449 \begin_inset space ~
22450 \end_inset
22451
22452 CVS: 
22453 \begin_inset space ~
22454 \end_inset
22455
22456
22457 \begin_inset Newline newline
22458 \end_inset
22459
22460 Copiar 
22461 \begin_inset Flex Code
22462 status collapsed
22463
22464 \begin_layout Plain Layout
22465 \begin_inset Quotes eld
22466 \end_inset
22467
22468 <file-name>
22469 \begin_inset Quotes erd
22470 \end_inset
22471
22472
22473 \end_layout
22474
22475 \end_inset
22476
22477  a 
22478 \begin_inset Flex Code
22479 status collapsed
22480
22481 \begin_layout Plain Layout
22482 \begin_inset Quotes eld
22483 \end_inset
22484
22485 <new-file-name>
22486 \begin_inset Quotes erd
22487 \end_inset
22488
22489
22490 \end_layout
22491
22492 \end_inset
22493
22494
22495 \begin_inset Newline newline
22496 \end_inset
22497
22498
22499 \begin_inset Flex Code
22500 status collapsed
22501
22502 \begin_layout Plain Layout
22503 cvs -q add 
22504 \begin_inset Quotes eld
22505 \end_inset
22506
22507 <new-file-name>
22508 \begin_inset Quotes erd
22509 \end_inset
22510
22511
22512 \end_layout
22513
22514 \end_inset
22515
22516
22517 \end_layout
22518
22519 \begin_layout Subsubsection
22520 Renombrar
22521 \end_layout
22522
22523 \begin_layout Standard
22524 Este comando renombra el documento actual.
22525  Como CVS no soporta de forma nativa operaciones de renombrado, el historial
22526  de versiones no se preserva, el documento renombrado se añade como archivo
22527  nuevo y el original se borra.
22528  Requiere un documento limpio sin ningún cambio desde la última liberación.
22529  Pedirá un nombre de archivo y una descripción de la operación.
22530  Después el documento se renombra localmente y en el repositorio.
22531  Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
22532  se ajustan todas las rutas relativas de los archivos incluidos (como en
22533  
22534 \family sans
22535 Archivo\SpecialChar menuseparator
22536 Guardar como
22537 \family default
22538 \SpecialChar ldots
22539 ).
22540  Por último, se recarga el documento con el nuevo nombre.
22541 \end_layout
22542
22543 \begin_layout Labeling
22544 \labelwidthstring 00.00.0000
22545 Comandos
22546 \begin_inset space ~
22547 \end_inset
22548
22549 CVS: 
22550 \begin_inset space ~
22551 \end_inset
22552
22553
22554 \begin_inset Newline newline
22555 \end_inset
22556
22557 Renombrar 
22558 \begin_inset Flex Code
22559 status collapsed
22560
22561 \begin_layout Plain Layout
22562 \begin_inset Quotes eld
22563 \end_inset
22564
22565 <file-name>
22566 \begin_inset Quotes erd
22567 \end_inset
22568
22569
22570 \end_layout
22571
22572 \end_inset
22573
22574  a 
22575 \begin_inset Flex Code
22576 status collapsed
22577
22578 \begin_layout Plain Layout
22579 \begin_inset Quotes eld
22580 \end_inset
22581
22582 <new-file-name>
22583 \begin_inset Quotes erd
22584 \end_inset
22585
22586
22587 \end_layout
22588
22589 \end_inset
22590
22591
22592 \begin_inset Newline newline
22593 \end_inset
22594
22595
22596 \begin_inset Flex Code
22597 status collapsed
22598
22599 \begin_layout Plain Layout
22600 cvs -q add 
22601 \begin_inset Quotes eld
22602 \end_inset
22603
22604 <new-file-name>
22605 \begin_inset Quotes erd
22606 \end_inset
22607
22608
22609 \end_layout
22610
22611 \end_inset
22612
22613
22614 \begin_inset Newline newline
22615 \end_inset
22616
22617
22618 \begin_inset Flex Code
22619 status collapsed
22620
22621 \begin_layout Plain Layout
22622 cvs -q remove 
22623 \begin_inset Quotes eld
22624 \end_inset
22625
22626 <file-name>
22627 \begin_inset Quotes erd
22628 \end_inset
22629
22630
22631 \end_layout
22632
22633 \end_inset
22634
22635
22636 \end_layout
22637
22638 \begin_layout Subsubsection
22639 Actualizar la reserva del directorio local desde el repositorio
22640 \end_layout
22641
22642 \begin_layout Standard
22643 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22644  figuras e incluyendo archivos externos 
22645 \family typewriter
22646 .tex
22647 \family default
22648  y demás, el uso de control de versiones se hace más complejo.
22649  \SpecialChar LyX
22650  soporta la actualización del árbol completo en el que reside el documento.
22651  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22652  detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22653  Tienes que organizar la estructura de archivos para que los archivos externos
22654  residan en el mismo directorio o subdirectorio del documento.
22655  Es una buena práctica de todos modos almacenar los documentos multi-parte
22656  en un directorio extra.
22657 \end_layout
22658
22659 \begin_layout Standard
22660 El comando 
22661 \begin_inset Flex Code
22662 status collapsed
22663
22664 \begin_layout Plain Layout
22665 Actualizar directorio local desde el repositorio
22666 \end_layout
22667
22668 \end_inset
22669
22670  actualiza el directorio completo.
22671  Si se detectan cambios locales el usuario es advertido antes de iniciar
22672  la actualización.
22673  En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22674  se sitúan al final del documento.
22675  Debes revisar y corregir el resultado de la fusión.
22676  Los conflictos los verás encerrados entre pares de 
22677 \begin_inset Flex Code
22678 status collapsed
22679
22680 \begin_layout Plain Layout
22681 <<<<<<<
22682 \end_layout
22683
22684 \end_inset
22685
22686  y 
22687 \begin_inset Flex Code
22688 status collapsed
22689
22690 \begin_layout Plain Layout
22691 >>>>>>>
22692 \end_layout
22693
22694 \end_inset
22695
22696  separados por 
22697 \begin_inset Flex Code
22698 status collapsed
22699
22700 \begin_layout Plain Layout
22701 =======
22702 \end_layout
22703
22704 \end_inset
22705
22706 .
22707  La parte primera es tu versión antes de la operación de actualización con
22708  pecedida del nombre del documento.
22709  La segunda es la versión del repositorio con el número de la versión tras
22710  la secuencia de signos 
22711 \begin_inset Flex Code
22712 status collapsed
22713
22714 \begin_layout Plain Layout
22715 >
22716 \end_layout
22717
22718 \end_inset
22719
22720 .
22721 \end_layout
22722
22723 \begin_layout Labeling
22724 \labelwidthstring 00.00.0000
22725 Comandos
22726 \begin_inset space ~
22727 \end_inset
22728
22729 CVS: 
22730 \begin_inset space ~
22731 \end_inset
22732
22733
22734 \begin_inset Newline newline
22735 \end_inset
22736
22737
22738 \begin_inset Flex Code
22739 status collapsed
22740
22741 \begin_layout Plain Layout
22742 cd $path; cvs diff "."
22743 \end_layout
22744
22745 \end_inset
22746
22747  (Para ver si se detectan cambios)
22748 \begin_inset Newline newline
22749 \end_inset
22750
22751
22752 \begin_inset Flex Code
22753 status collapsed
22754
22755 \begin_layout Plain Layout
22756 cd $path; cvs -q update "."
22757 \end_layout
22758
22759 \end_inset
22760
22761
22762 \end_layout
22763
22764 \begin_layout Standard
22765 donde 
22766 \begin_inset Flex Code
22767 status collapsed
22768
22769 \begin_layout Plain Layout
22770 $path
22771 \end_layout
22772
22773 \end_inset
22774
22775  es la ruta al documento.
22776 \end_layout
22777
22778 \begin_layout Subsubsection
22779 Mostrar historial
22780 \end_layout
22781
22782 \begin_layout Standard
22783 Muestra el historial completo del documento CVS.
22784  La salida de
22785 \begin_inset Newline newline
22786 \end_inset
22787
22788
22789 \family typewriter
22790 cvs log 
22791 \begin_inset Quotes eld
22792 \end_inset
22793
22794 <file-name>
22795 \family default
22796
22797 \begin_inset Quotes erd
22798 \end_inset
22799
22800  se muestra en un buscador.
22801 \end_layout
22802
22803 \begin_layout Subsubsection
22804 Información de la revisión
22805 \end_layout
22806
22807 \begin_layout Standard
22808 \SpecialChar LyX
22809  soporta número de versión CVS, nombre de autor, fecha y hora del último
22810  ingreso.
22811  Toda esta información se obtiene de
22812 \family typewriter
22813  cvs log -r <file-name>
22814 \family default
22815 .
22816  Véase 
22817 \begin_inset CommandInset ref
22818 LatexCommand ref
22819 reference "subsec:VCS-Información-de-revisión"
22820
22821 \end_inset
22822
22823  para detalles.
22824 \end_layout
22825
22826 \begin_layout Subsection
22827 Comandos SVN en Lyx
22828 \end_layout
22829
22830 \begin_layout Standard
22831 Ahora \SpecialChar LyX
22832  soporta parcialmente SVN.
22833  Puedes encontrar los comandos en el submenú 
22834 \family sans
22835 Archivo\SpecialChar menuseparator
22836 Control de versiones
22837 \family default
22838 .
22839  Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22840  vía ssh, se te pedirá en una ventana de terminal.
22841  \SpecialChar LyX
22842  se ha probado con SVN 1.5 y 1.6.
22843 \begin_inset Foot
22844 status open
22845
22846 \begin_layout Plain Layout
22847 La mayoría de los comandos funcionarán también con 1.4, véase 
22848 \begin_inset CommandInset ref
22849 LatexCommand ref
22850 reference "subsec:SVN-Actualizar-el-directorio"
22851
22852 \end_inset
22853
22854
22855 \end_layout
22856
22857 \end_inset
22858
22859
22860 \end_layout
22861
22862 \begin_layout Subsubsection
22863 Registrar
22864 \end_layout
22865
22866 \begin_layout Standard
22867 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22868  en el menú.
22869  Y si está bajo control de revisión, el ítem 
22870 \family sans
22871 Registrar
22872 \family default
22873  no está visible.
22874 \end_layout
22875
22876 \begin_layout Standard
22877 Este comando registra tu documento en SVN 
22878 \series bold
22879 \emph on
22880 solo
22881 \series default
22882 \emph default
22883  en el caso de que ya tengas el directorio de documentos bajo control SVN
22884  ( en particular, existe el archivo 
22885 \family typewriter
22886 .svn/entries
22887 \family default
22888 ).
22889  Esto significa que debes reservar el archivo por ti mismo.
22890 \end_layout
22891
22892 \begin_layout Standard
22893 Después se te pide interactivamente una descripción inicial del documento.
22894  No olvides que el archivo registrado todavía no es definitivo.
22895 \end_layout
22896
22897 \begin_layout Standard
22898 El comando SVN que es ejecutado: 
22899 \family typewriter
22900 snv add -q 
22901 \begin_inset Quotes eld
22902 \end_inset
22903
22904 <file-name>
22905 \begin_inset Quotes erd
22906 \end_inset
22907
22908
22909 \end_layout
22910
22911 \begin_layout Standard
22912 Lee 
22913 \family typewriter
22914 man svn
22915 \family default
22916  para comprender las alternativas.
22917 \end_layout
22918
22919 \begin_layout Subsubsection
22920 Liberar cambios
22921 \end_layout
22922
22923 \begin_layout Standard
22924 Cuando has terminado de editar un archivo, ingresas los cambios.
22925  Al hacerlo se te pide una descripción de los mismos.
22926  Después, los cambios son ingresados.
22927 \end_layout
22928
22929 \begin_layout Standard
22930 Comando SVN:
22931 \begin_inset Foot
22932 status collapsed
22933
22934 \begin_layout Plain Layout
22935 En el caso de que el bloqueo no esté habilitado.
22936  Véase la sección 
22937 \begin_inset CommandInset ref
22938 LatexCommand ref
22939 reference "subsec:SVN-Bloqueo-de-archivos"
22940
22941 \end_inset
22942
22943 .
22944 \end_layout
22945
22946 \end_inset
22947
22948  
22949 \family typewriter
22950 svn commit -q -m"<description>" <file-name>
22951 \end_layout
22952
22953 \begin_layout Subsubsection
22954 Reservar para edición
22955 \end_layout
22956
22957 \begin_layout Standard
22958 Actualiza los cambios de este archivo desde el repositorio.
22959  Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22960  SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22961  tú mismo a mano!
22962 \end_layout
22963
22964 \begin_layout Standard
22965 Comando SVN:
22966 \begin_inset Foot
22967 status open
22968
22969 \begin_layout Plain Layout
22970 Ídem.
22971 \end_layout
22972
22973 \end_inset
22974
22975  
22976 \family typewriter
22977 svn update --non-interactive 
22978 \begin_inset Quotes eld
22979 \end_inset
22980
22981 <file-name>
22982 \begin_inset Quotes erd
22983 \end_inset
22984
22985
22986 \end_layout
22987
22988 \begin_layout Subsubsection
22989 Volver a la versión del repositorio
22990 \end_layout
22991
22992 \begin_layout Standard
22993 Esto descartará todos los cambios hechos en el documento desde la última
22994  liberación de cambios.
22995  Recibes un mensaje de aviso antes de descartar los cambios.
22996 \end_layout
22997
22998 \begin_layout Standard
22999 Comando SVN: 
23000 \family typewriter
23001 svn revert -q 
23002 \begin_inset Quotes eld
23003 \end_inset
23004
23005 <file-name>
23006 \begin_inset Quotes erd
23007 \end_inset
23008
23009
23010 \end_layout
23011
23012 \begin_layout Subsubsection
23013 Copiar
23014 \end_layout
23015
23016 \begin_layout Standard
23017 Creará una copia del documento actual incluyendo el historial de versiones.
23018  Requiere un documento limpio sin ningún cambio desde la última liberación.
23019  Pedirá un nombre de archivo y una descripción de la operación de copia.
23020  Después se crea la copia localmente y en el repositorio.
23021  Si los directorios padre de los documentos original y copiado difieren,
23022  se ajustan todas las rutas relativas de los archivos incluidos de la copia
23023  (como en 
23024 \family sans
23025 Archivo\SpecialChar menuseparator
23026 Guardar como
23027 \family default
23028 \SpecialChar ldots
23029 ).
23030  Por último, se carga la copia en vez del documento original
23031 \end_layout
23032
23033 \begin_layout Labeling
23034 \labelwidthstring 00.00.0000
23035 Comandos
23036 \begin_inset space ~
23037 \end_inset
23038
23039 SVN: 
23040 \begin_inset space ~
23041 \end_inset
23042
23043
23044 \begin_inset Newline newline
23045 \end_inset
23046
23047
23048 \begin_inset Flex Code
23049 status collapsed
23050
23051 \begin_layout Plain Layout
23052 svn copy -q 
23053 \begin_inset Quotes eld
23054 \end_inset
23055
23056 <file-name>
23057 \begin_inset Quotes erd
23058 \end_inset
23059
23060  
23061 \begin_inset Quotes eld
23062 \end_inset
23063
23064 <new-file-name>
23065 \begin_inset Quotes erd
23066 \end_inset
23067
23068
23069 \end_layout
23070
23071 \end_inset
23072
23073
23074 \begin_inset Newline newline
23075 \end_inset
23076
23077
23078 \begin_inset Flex Code
23079 status collapsed
23080
23081 \begin_layout Plain Layout
23082 svn commit
23083 \end_layout
23084
23085 \end_inset
23086
23087
23088 \end_layout
23089
23090 \begin_layout Subsubsection
23091 Renombrar
23092 \end_layout
23093
23094 \begin_layout Standard
23095 Renombrará el documento actual incluyendo el historial de versiones.
23096  Requiere un documento limpio sin ningún cambio desde la última liberación.
23097  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
23098  Después se renombra el documento localmente y en el repositorio.
23099  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
23100  se ajustan todas las rutas relativas de los archivos incluidos (como en
23101  
23102 \family sans
23103 Archivo\SpecialChar menuseparator
23104 Guardar como
23105 \family default
23106 \SpecialChar ldots
23107 ).
23108  Por último, se recarga el documento con su nuevo nombre.
23109 \end_layout
23110
23111 \begin_layout Labeling
23112 \labelwidthstring 00.00.0000
23113 Comandos
23114 \begin_inset space ~
23115 \end_inset
23116
23117 SVN: 
23118 \begin_inset space ~
23119 \end_inset
23120
23121
23122 \begin_inset Newline newline
23123 \end_inset
23124
23125
23126 \begin_inset Flex Code
23127 status collapsed
23128
23129 \begin_layout Plain Layout
23130 svn move -q 
23131 \begin_inset Quotes eld
23132 \end_inset
23133
23134 <file-name>
23135 \begin_inset Quotes erd
23136 \end_inset
23137
23138  
23139 \begin_inset Quotes eld
23140 \end_inset
23141
23142 <new-file-name>
23143 \begin_inset Quotes erd
23144 \end_inset
23145
23146
23147 \end_layout
23148
23149 \end_inset
23150
23151
23152 \begin_inset Newline newline
23153 \end_inset
23154
23155
23156 \begin_inset Flex Code
23157 status collapsed
23158
23159 \begin_layout Plain Layout
23160 svn commit
23161 \end_layout
23162
23163 \end_inset
23164
23165
23166 \end_layout
23167
23168 \begin_layout Subsubsection
23169 Actualizar la reserva del directorio local desde el repositio
23170 \begin_inset Foot
23171 status open
23172
23173 \begin_layout Plain Layout
23174 Ten en cuenta que este comando solo funcionará con 
23175 \begin_inset Formula $\geqq1.5$
23176 \end_inset
23177
23178
23179 \end_layout
23180
23181 \end_inset
23182
23183
23184 \begin_inset CommandInset label
23185 LatexCommand label
23186 name "subsec:SVN-Actualizar-el-directorio"
23187
23188 \end_inset
23189
23190
23191 \end_layout
23192
23193 \begin_layout Standard
23194 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
23195  actual.
23196  Una vez que el documento contiene figuras, archivos externos 
23197 \family typewriter
23198 .tex
23199 \family default
23200 , etc., su administración se hace más complicada.
23201  Ahora \SpecialChar LyX
23202  soporta la actualización del árbol completo en el que reside el
23203  documento.
23204 \begin_inset Foot
23205 status open
23206
23207 \begin_layout Plain Layout
23208 Hay que organizar la estructura de archivos de modo que todos los archivos
23209  externos estén en el mismo directorio o subdirectorios del documento.
23210 \end_layout
23211
23212 \end_inset
23213
23214  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
23215  detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
23216 \end_layout
23217
23218 \begin_layout Standard
23219 El comando 
23220 \begin_inset Flex Code
23221 status collapsed
23222
23223 \begin_layout Plain Layout
23224 Actualizar directorio local desde el repositorio
23225 \end_layout
23226
23227 \end_inset
23228
23229  actualiza el directorio completo y en caso de conflictos con la mezcla
23230  se deja la versión local de los archivos, para que no haya pérdida indeseada
23231  de datos.
23232  Si se detectan cambios locales se avisa al usuario antes de iniciar la
23233  actualización.
23234 \end_layout
23235
23236 \begin_layout Labeling
23237 \labelwidthstring 00.00.0000
23238 Comandos
23239 \begin_inset space ~
23240 \end_inset
23241
23242 SVN: 
23243 \begin_inset space ~
23244 \end_inset
23245
23246
23247 \begin_inset Newline newline
23248 \end_inset
23249
23250
23251 \begin_inset Flex Code
23252 status collapsed
23253
23254 \begin_layout Plain Layout
23255 svn diff $path
23256 \end_layout
23257
23258 \end_inset
23259
23260  (Para ver si se detectan cambios.)
23261 \begin_inset Newline newline
23262 \end_inset
23263
23264
23265 \begin_inset Flex Code
23266 status collapsed
23267
23268 \begin_layout Plain Layout
23269 svn update –accept mine-full $path
23270 \end_layout
23271
23272 \end_inset
23273
23274
23275 \end_layout
23276
23277 \begin_layout Standard
23278 donde 
23279 \family typewriter
23280 $path
23281 \family default
23282  es la ruta al documento.
23283 \end_layout
23284
23285 \begin_layout Subsubsection
23286 Mostrar historial
23287 \end_layout
23288
23289 \begin_layout Standard
23290 Muestra el historial completo del documento SVN.
23291  La salida de
23292 \begin_inset Newline newline
23293 \end_inset
23294
23295
23296 \family typewriter
23297 svn log 
23298 \begin_inset Quotes eld
23299 \end_inset
23300
23301 <file-name>
23302 \family default
23303
23304 \begin_inset Quotes erd
23305 \end_inset
23306
23307  se muestra en un buscador.
23308 \end_layout
23309
23310 \begin_layout Subsubsection
23311 Bloqueo de archivos
23312 \begin_inset CommandInset label
23313 LatexCommand label
23314 name "subsec:SVN-Bloqueo-de-archivos"
23315
23316 \end_inset
23317
23318
23319 \end_layout
23320
23321 \begin_layout Standard
23322 El intercambio de archivos entre varios sistemas de control de revisiones
23323  tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
23324  intenten editar el mismo documento (o partes de él).
23325  Cuando sucede un conflicto requiere una solución manual, y una alternativa
23326  razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
23327  solo un usuario pueda editar el archivo al mismo tiempo.
23328 \end_layout
23329
23330 \begin_layout Standard
23331 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
23332  en el acceso a archivos, bloqueos y configuración automática de permisos
23333  de escritura (véase la sec.
23334 \begin_inset space ~
23335 \end_inset
23336
23337
23338 \begin_inset CommandInset ref
23339 LatexCommand ref
23340 reference "subsec:SVN-Bloqueo-automático"
23341
23342 \end_inset
23343
23344 ), basados en la propiedad de los archivos svn 
23345 \begin_inset Flex Code
23346 status collapsed
23347
23348 \begin_layout Plain Layout
23349 svn:needs-lock
23350 \end_layout
23351
23352 \end_inset
23353
23354 .
23355 \begin_inset Foot
23356 status collapsed
23357
23358 \begin_layout Plain Layout
23359 \begin_inset CommandInset href
23360 LatexCommand href
23361 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
23362 literal "false"
23363
23364 \end_inset
23365
23366
23367 \end_layout
23368
23369 \end_inset
23370
23371  Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
23372  empieza automáticamen
23373 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
23374  de liberación/reserva conmuta al mismo régimen que para RCS.
23375  En particular, esto quiere decir que hay dos modos diferentes de uso archivos
23376  en \SpecialChar LyX
23377 :
23378 \end_layout
23379
23380 \begin_layout Itemize
23381 Estado no bloqueado.
23382  El archivo cargado está en modo solo lectura.
23383  Para editar hay que reservar.
23384  
23385 \emph on
23386 Reservar
23387 \emph default
23388  consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
23389  Si no es posible obtener el bloqueo permanece el estado no bloquedo.
23390 \end_layout
23391
23392 \begin_layout Itemize
23393 Estado bloqueado.
23394  El archivo cargado está en modo 'normal' de edición.
23395  Ningún otro usuario tiene permiso para editar el archivo.
23396  
23397 \emph on
23398 Liberar
23399 \emph default
23400  consiste en ingresar los cambios y liberar el bloqueo de escritura.
23401  Si no se han hecho cambios en el documento, no se producirá ningún ingreso
23402 \begin_inset Foot
23403 status collapsed
23404
23405 \begin_layout Plain Layout
23406 No te extrañe si de todas formas se te pide un mensaje de ingreso.
23407 \end_layout
23408
23409 \end_inset
23410
23411  y solo se realizará el desbloqueo de escritura.
23412 \end_layout
23413
23414 \begin_layout Standard
23415 Comandos SVN:
23416 \end_layout
23417
23418 \begin_layout Labeling
23419 \labelwidthstring 00.00.0000
23420 Liberar:
23421 \family typewriter
23422  svn commit -q -m"<description>" "<file-name>"
23423 \begin_inset Newline newline
23424 \end_inset
23425
23426 svn unlock "<file-name>"
23427 \end_layout
23428
23429 \begin_layout Labeling
23430 \labelwidthstring 00.00.0000
23431 Reservar
23432 \begin_inset Note Note
23433 status open
23434
23435 \begin_layout Plain Layout
23436 traduccion http://forum.wordreference.com/showthread.php?t=689994
23437 \end_layout
23438
23439 \end_inset
23440
23441
23442 \family typewriter
23443 svn update "<file-name>"
23444 \begin_inset Newline newline
23445 \end_inset
23446
23447 svn lock "<file-name>"
23448 \end_layout
23449
23450 \begin_layout Subsubsection
23451 Propiedad de bloqueo automático
23452 \begin_inset CommandInset label
23453 LatexCommand label
23454 name "subsec:SVN-Bloqueo-automático"
23455
23456 \end_inset
23457
23458
23459 \end_layout
23460
23461 \begin_layout Standard
23462 La configuración automática de los permisos de escritura del archivo .lyx
23463  se establece con 
23464 \begin_inset Flex Noun
23465 status collapsed
23466
23467 \begin_layout Plain Layout
23468 Archivo\SpecialChar menuseparator
23469 Control de versiones\SpecialChar menuseparator
23470 Cambiar propiedad de bloqueo
23471 \end_layout
23472
23473 \end_inset
23474
23475 .
23476  Este comando está activo solo cuando el archivo no está bloqueado en el
23477  servidor svn (es decir, debes reservar antes de proceder).
23478 \end_layout
23479
23480 \begin_layout Labeling
23481 \labelwidthstring 00.00.0000
23482 Comandos
23483 \begin_inset space ~
23484 \end_inset
23485
23486 SVN:
23487 \end_layout
23488
23489 \begin_layout Labeling
23490 \labelwidthstring 00.00.0000
23491 Activar:
23492 \family typewriter
23493  svn propset svn:needs-lock ON "<file-name>"
23494 \end_layout
23495
23496 \begin_layout Labeling
23497 \labelwidthstring 00.00.0000
23498 Desactivar: 
23499 \family typewriter
23500 svn propdel svn:needs-lock "<file-name>"
23501 \end_layout
23502
23503 \begin_layout Subsubsection
23504 Información de revisión en documentos
23505 \begin_inset CommandInset label
23506 LatexCommand label
23507 name "subsec:VCS-Información-de-revisión"
23508
23509 \end_inset
23510
23511
23512 \end_layout
23513
23514 \begin_layout Standard
23515 Hay más posibilidades para activar la información de revisión en nuestro
23516  documento.
23517 \end_layout
23518
23519 \begin_layout Itemize
23520 \SpecialChar LyX
23521  lo soporta directamente.
23522 \end_layout
23523
23524 \begin_deeper
23525 \begin_layout Itemize
23526 Información de revisión del árbol (
23527 \begin_inset Flex Code
23528 status collapsed
23529
23530 \begin_layout Plain Layout
23531 vcs-tree-revision
23532 \end_layout
23533
23534 \end_inset
23535
23536 ).
23537  El resultado es la salida del comando 
23538 \begin_inset Flex Code
23539 status collapsed
23540
23541 \begin_layout Plain Layout
23542 svnversion
23543 \end_layout
23544
23545 \end_inset
23546
23547 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23548 \end_layout
23549
23550 \begin_layout Standard
23551 \align center
23552 \begin_inset Tabular
23553 <lyxtabular version="3" rows="6" columns="2">
23554 <features tabularvalignment="middle">
23555 <column alignment="center" valignment="top">
23556 <column alignment="center" valignment="top">
23557 <row>
23558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23559 \begin_inset Text
23560
23561 \begin_layout Plain Layout
23562 Salida
23563 \end_layout
23564
23565 \end_inset
23566 </cell>
23567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23568 \begin_inset Text
23569
23570 \begin_layout Plain Layout
23571 Significado
23572 \end_layout
23573
23574 \end_inset
23575 </cell>
23576 </row>
23577 <row>
23578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23579 \begin_inset Text
23580
23581 \begin_layout Plain Layout
23582 4123:4168
23583 \end_layout
23584
23585 \end_inset
23586 </cell>
23587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23588 \begin_inset Text
23589
23590 \begin_layout Plain Layout
23591 revisión mezclada de la copia de trabajo
23592 \end_layout
23593
23594 \end_inset
23595 </cell>
23596 </row>
23597 <row>
23598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23599 \begin_inset Text
23600
23601 \begin_layout Plain Layout
23602 4168M
23603 \end_layout
23604
23605 \end_inset
23606 </cell>
23607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23608 \begin_inset Text
23609
23610 \begin_layout Plain Layout
23611 copia de trabajo modificada
23612 \end_layout
23613
23614 \end_inset
23615 </cell>
23616 </row>
23617 <row>
23618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23619 \begin_inset Text
23620
23621 \begin_layout Plain Layout
23622 4123S
23623 \end_layout
23624
23625 \end_inset
23626 </cell>
23627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23628 \begin_inset Text
23629
23630 \begin_layout Plain Layout
23631 copia de trabajo conmutada
23632 \end_layout
23633
23634 \end_inset
23635 </cell>
23636 </row>
23637 <row>
23638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23639 \begin_inset Text
23640
23641 \begin_layout Plain Layout
23642 4123P
23643 \end_layout
23644
23645 \end_inset
23646 </cell>
23647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23648 \begin_inset Text
23649
23650 \begin_layout Plain Layout
23651 copia de trabajo parcial, de una reserva dispersa
23652 \end_layout
23653
23654 \end_inset
23655 </cell>
23656 </row>
23657 <row>
23658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23659 \begin_inset Text
23660
23661 \begin_layout Plain Layout
23662 4123:4168MS
23663 \end_layout
23664
23665 \end_inset
23666 </cell>
23667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23668 \begin_inset Text
23669
23670 \begin_layout Plain Layout
23671 copia de trabajo de revisión mezclada, modificada, conmutada
23672 \end_layout
23673
23674 \end_inset
23675 </cell>
23676 </row>
23677 </lyxtabular>
23678
23679 \end_inset
23680
23681
23682 \end_layout
23683
23684 \begin_layout Itemize
23685 Información de revisión del archivo.
23686  El resultado del análisis de la salida de 
23687 \begin_inset Flex Code
23688 status collapsed
23689
23690 \begin_layout Plain Layout
23691 svn
23692 \begin_inset space ~
23693 \end_inset
23694
23695 info
23696 \begin_inset space ~
23697 \end_inset
23698
23699 –xml
23700 \begin_inset space ~
23701 \end_inset
23702
23703 file.lyx
23704 \end_layout
23705
23706 \end_inset
23707
23708 .
23709  Los argumentos soportados son:
23710 \end_layout
23711
23712 \begin_deeper
23713 \begin_layout Itemize
23714 número de versión del último ingreso (
23715 \begin_inset Flex Code
23716 status collapsed
23717
23718 \begin_layout Plain Layout
23719 vcs-revision
23720 \end_layout
23721
23722 \end_inset
23723
23724 )
23725 \end_layout
23726
23727 \begin_layout Itemize
23728 autordel último ingreso (
23729 \begin_inset Flex Code
23730 status collapsed
23731
23732 \begin_layout Plain Layout
23733 vcs-author
23734 \end_layout
23735
23736 \end_inset
23737
23738 )
23739 \end_layout
23740
23741 \begin_layout Itemize
23742 fecha del último ingreso (
23743 \begin_inset Flex Code
23744 status collapsed
23745
23746 \begin_layout Plain Layout
23747 vcs-date
23748 \end_layout
23749
23750 \end_inset
23751
23752 )
23753 \end_layout
23754
23755 \begin_layout Itemize
23756 hora del último ingreso (
23757 \begin_inset Flex Code
23758 status collapsed
23759
23760 \begin_layout Plain Layout
23761 vcs-time
23762 \end_layout
23763
23764 \end_inset
23765
23766 )
23767 \end_layout
23768
23769 \end_deeper
23770 \begin_layout Standard
23771 Puedes obtener esta información mediante InsetInfo (p.
23772 \begin_inset space \thinspace{}
23773 \end_inset
23774
23775 ej.
23776  
23777 \begin_inset Flex Code
23778 status collapsed
23779
23780 \begin_layout Plain Layout
23781 info-insert buffer vcs-date
23782 \end_layout
23783
23784 \end_inset
23785
23786 ).
23787  La información estará disponible solo cuando tengas el arvhivo almacenado
23788  bajo administración svn (es decir, el directorio 
23789 \begin_inset Flex Code
23790 status collapsed
23791
23792 \begin_layout Plain Layout
23793 .svn
23794 \end_layout
23795
23796 \end_inset
23797
23798  está disponible con tu documento).
23799 \end_layout
23800
23801 \end_deeper
23802 \begin_layout Itemize
23803 Otra posibilidad —de 
23804 \emph on
23805 hacker
23806 \emph default
23807 — es usar claves svn 
23808 \begin_inset Foot
23809 status collapsed
23810
23811 \begin_layout Plain Layout
23812 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23813 \end_layout
23814
23815 \end_inset
23816
23817 .
23818  Estableces la propiedad de claves de archivo (p.
23819 \begin_inset space \thinspace{}
23820 \end_inset
23821
23822 ej.
23823  
23824 \family sans
23825 svn propset svn:keywords 'Rev' file.lyx
23826 \family default
23827 ) y luego pegas la clave en código \SpecialChar TeX
23828
23829 \begin_inset Foot
23830 status collapsed
23831
23832 \begin_layout Plain Layout
23833 Esta es una manera fácil de asegurar que \SpecialChar LyX
23834  no quiebre la línea en mitad de
23835  la clave.
23836 \end_layout
23837
23838 \end_inset
23839
23840  en tu documento (p.
23841 \begin_inset space \thinspace{}
23842 \end_inset
23843
23844 ej.
23845  
23846 \begin_inset ERT
23847 status open
23848
23849 \begin_layout Plain Layout
23850
23851 $Rev$
23852 \end_layout
23853
23854 \end_inset
23855
23856 ).
23857  De esta manera el cliente svn sustituirá automáticamente el número de revisión
23858  (p.
23859 \begin_inset space \thinspace{}
23860 \end_inset
23861
23862 ej.
23863  
23864 \begin_inset ERT
23865 status open
23866
23867 \begin_layout Plain Layout
23868
23869 $Rev: 59 $
23870 \end_layout
23871
23872 \end_inset
23873
23874 ) tras cada actualización e ingreso.
23875  Hay otros problemas con este enfoque.
23876  Primero, el carácter '$' se usa en \SpecialChar TeX
23877  para expresiones matemáticas, de modo
23878  que cualquier aparición de una fórmula 
23879 \begin_inset Formula $Rev$
23880 \end_inset
23881
23882  se convierte en 
23883 \begin_inset Formula $Rev:59$
23884 \end_inset
23885
23886  en tu documento \SpecialChar LyX
23887 .
23888  Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23889  Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23890  svn produzca alguna cadena problemática al usar Date.
23891  Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23892  de solo el número.
23893  Hasta que subversion implemente claves personalizadas por el usuario será
23894  pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23895  soportarlo directamente.
23896 \end_layout
23897
23898 \begin_layout Subsection
23899 SVN y entorno Windows
23900 \end_layout
23901
23902 \begin_layout Quote
23903 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23904  las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23905  —P.
23906 \begin_inset space \thinspace{}
23907 \end_inset
23908
23909 A.
23910 \begin_inset space \thinspace{}
23911 \end_inset
23912
23913 Rubin.
23914 \end_layout
23915
23916 \begin_layout Subsubsection
23917 Preparación
23918 \end_layout
23919
23920 \begin_layout Standard
23921 Además de instalar \SpecialChar LyX
23922  y tener acceso al repositorio de Subversion, el usuario
23923  deberá instalar el programa cliente de Subversion.
23924  En 
23925 \begin_inset CommandInset href
23926 LatexCommand href
23927 name "CollabNet"
23928 target "http://www.collab.net/nonav/downloads/subversion/"
23929 literal "false"
23930
23931 \end_inset
23932
23933  hay disponible un instalador para Windows.
23934  Además, al usuario le puede interesar instalar 
23935 \begin_inset CommandInset href
23936 LatexCommand href
23937 name "TortoiseSVN"
23938 target "http://tortoisesvn.tigris.org/"
23939 literal "false"
23940
23941 \end_inset
23942
23943 , que integra las operaciones de Subversion en el menú contextual (clic
23944  derecho) del Explorador de Windows.
23945  Las operaciones hechas fuera de \SpecialChar LyX
23946  generalmente son más convenientes en el
23947  menú contextual del Explorador.
23948  Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23949  cliente, que es lo que usa el propio \SpecialChar LyX
23950 .
23951 \end_layout
23952
23953 \begin_layout Subsubsection
23954 Poner un documento bajo control de Subversion
23955 \end_layout
23956
23957 \begin_layout Standard
23958 Antes de poner un documento \SpecialChar LyX
23959  bajo control de Subversion, su directorio padre
23960  debe estar bajo control de versiones.
23961  Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23962  se lleva a cabo comprobando el directorio donde se incluirá el documento
23963  nuevo.
23964  Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23965  el documento inicia un proyecto nuevo), hay que importar el directorio
23966  al repositorio.
23967  Esto se hace fuera de \SpecialChar LyX
23968 .
23969  Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23970  del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23971  de comandos en DOS.
23972  El procedimiento para importar el proyecto con TortoiseSVN se describe
23973  abajo, suponiendo que hay un repositorio y un proyecto nuevo en 
23974 \family typewriter
23975 C:
23976 \backslash
23977 new project
23978 \family default
23979 .
23980  Para información sobre el uso del programa cliente de Subversion, ejecuta
23981  
23982 \family typewriter
23983 svn --help
23984 \family default
23985  en línea de comandos de DOS.
23986 \end_layout
23987
23988 \begin_layout Enumerate
23989 Localiza 
23990 \family typewriter
23991 C:
23992 \backslash
23993 new project 
23994 \family default
23995 en el Explorador de Windows, clic derecho y selecciona 
23996 \family sans
23997 TortoiseSVN\SpecialChar menuseparator
23998 Repo-browser
23999 \family default
24000 .
24001  Si es preciso ajusta el URL para el repositorio, y pulsa OK.
24002 \end_layout
24003
24004 \begin_layout Enumerate
24005 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
24006  la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa 
24007 \family sans
24008 Create folder
24009 \family default
24010  Da nombre a la carpeta y pulsa OK.
24011  Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
24012  La carpeta del nuevo proyecto debería figurar en el repositorio.
24013  Por último, OK de nuevo para salir del navegador del repositorio.
24014 \end_layout
24015
24016 \begin_layout Enumerate
24017 Haz otra vez clic derecho en 
24018 \family typewriter
24019 C:
24020 \backslash
24021 new project
24022 \family default
24023 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
24024  acabas de crear en el repositorio y ajusta el directorio a 
24025 \family typewriter
24026 C:
24027 \backslash
24028 new project.
24029
24030 \family default
24031  Pulsa OK.
24032  Serás avisado sobre una carpeta no vacía; OK para continuar.
24033  Ahora debería haber un directorio 
24034 \family typewriter
24035 .svn
24036 \family default
24037  bajo 
24038 \family typewriter
24039 C:
24040 \backslash
24041 new project.
24042 \end_layout
24043
24044 \begin_layout Enumerate
24045 Crea o abre tu documento en \SpecialChar LyX
24046  y abre 
24047 \family sans
24048 Archivo\SpecialChar menuseparator
24049 Control de versiones\SpecialChar menuseparator
24050 Registrar
24051 \family default
24052 .
24053  Añade un mensaje de registro y pulsa OK para someter el documento a control
24054  de versión.
24055 \end_layout
24056
24057 \begin_layout Standard
24058 De aquí en adelante deberías tener funcionalidad completa en el menú 
24059 \family sans
24060 Archivo\SpecialChar menuseparator
24061 Control de versiones
24062 \family default
24063 .
24064  Además tienes la opción de comprobar el documento entrante y saliente,
24065  ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
24066  o en la línea de comandos del programa cliente de Subversion.
24067  
24068 \end_layout
24069
24070 \begin_layout Subsubsection
24071 SSH tunnel con SVN bajo Windows
24072 \end_layout
24073
24074 \begin_layout Standard
24075 Comparado con la configuración del cliente svn en Linux para comunicar sobre
24076  ssh, bajo Windows es una tarea es bastante más molesta.
24077  Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
24078  hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
24079  y estar preparados para grandes dosis de frustración\SpecialChar ldots
24080
24081 \end_layout
24082
24083 \begin_layout Enumerate
24084 Obtén un cliente svn para windows, como se describe en secciones anteriores.
24085  Si es una instalación nueva ejecuta algún comando para crear los archivos
24086  de configuración (p.
24087 \begin_inset space \thinspace{}
24088 \end_inset
24089
24090 ej.
24091  
24092 \begin_inset Flex Code
24093 status collapsed
24094
24095 \begin_layout Plain Layout
24096 svn –version
24097 \end_layout
24098
24099 \end_inset
24100
24101 ), que deberás cambiar más tarde.
24102 \end_layout
24103
24104 \begin_layout Enumerate
24105 Elige un cliente ssh para Windows.
24106  Hay varias opciones, aquí usaremos el de Putty tools
24107 \begin_inset Foot
24108 status open
24109
24110 \begin_layout Plain Layout
24111 \begin_inset Flex URL
24112 status collapsed
24113
24114 \begin_layout Plain Layout
24115
24116 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
24117 \end_layout
24118
24119 \end_inset
24120
24121
24122 \end_layout
24123
24124 \end_inset
24125
24126 .
24127  Tendrás que configurar la conexión para que el cliente no pia contraseña.
24128  Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
24129  de contraseña, etc.
24130 \end_layout
24131
24132 \begin_deeper
24133 \begin_layout Enumerate
24134 Genera las claves con 
24135 \begin_inset Flex Code
24136 status collapsed
24137
24138 \begin_layout Plain Layout
24139 puttygen
24140 \end_layout
24141
24142 \end_inset
24143
24144 .
24145  Guarda tu clave privada .ppk y pon la pública en el servidor.
24146  Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
24147  clave pública no es compatible con openssh Linux y tendrás que copiar y
24148  pegar directamente la clave desde el campo de edición “
24149 \emph on
24150 Public key for pasting into OpenSSH authorized_keys file
24151 \emph default
24152 :” en el archivo del servidor 
24153 \begin_inset Flex Code
24154 status collapsed
24155
24156 \begin_layout Plain Layout
24157 ~/.ssh/authorized_keys
24158 \end_layout
24159
24160 \end_inset
24161
24162
24163 \begin_inset Flex Code
24164 status collapsed
24165
24166 \begin_layout Plain Layout
24167 authorized_keys2
24168 \end_layout
24169
24170 \end_inset
24171
24172 .
24173 \end_layout
24174
24175 \begin_layout Enumerate
24176 Obtén el 
24177 \begin_inset Flex Code
24178 status collapsed
24179
24180 \begin_layout Plain Layout
24181 plink
24182 \end_layout
24183
24184 \end_inset
24185
24186  de Putty.
24187  En el archivo de configuración SVN
24188 \begin_inset Foot
24189 status collapsed
24190
24191 \begin_layout Plain Layout
24192 La ruta exacta depende de la versión de Windows, usualmente algo como 
24193 \begin_inset Flex Code
24194 status collapsed
24195
24196 \begin_layout Plain Layout
24197 c:
24198 \backslash
24199 Documents and Settings
24200 \backslash
24201 user
24202 \backslash
24203 Application Data
24204 \backslash
24205 Subversion
24206 \backslash
24207 config
24208 \end_layout
24209
24210 \end_inset
24211
24212  / 
24213 \begin_inset Flex Code
24214 status collapsed
24215
24216 \begin_layout Plain Layout
24217 AppData
24218 \backslash
24219 Roaming
24220 \backslash
24221 Subversion
24222 \end_layout
24223
24224 \end_inset
24225
24226 .
24227 \end_layout
24228
24229 \end_inset
24230
24231 , sección [tunnels], configura el comando ssh, p.
24232 \begin_inset space \thinspace{}
24233 \end_inset
24234
24235 ej.
24236  
24237 \begin_inset Flex Code
24238 status collapsed
24239
24240 \begin_layout Plain Layout
24241 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
24242 \end_layout
24243
24244 \end_inset
24245
24246 .
24247 \begin_inset Foot
24248 status open
24249
24250 \begin_layout Plain Layout
24251 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
24252  Por ejemplo, no tener algún servidor remoto guardado como predeterminado
24253  en Putty etc.
24254  Si falla, intenta primero conectar vía plink sin SVN.
24255 \end_layout
24256
24257 \end_inset
24258
24259
24260 \end_layout
24261
24262 \end_deeper
24263 \begin_layout Enumerate
24264 Reserva el archivo SVN, p.
24265 \begin_inset space \thinspace{}
24266 \end_inset
24267
24268 ej.
24269 \begin_inset Newline newline
24270 \end_inset
24271
24272
24273 \begin_inset Flex Code
24274 status collapsed
24275
24276 \begin_layout Plain Layout
24277 svn co svn+ssh://user@server/repository_path
24278 \end_layout
24279
24280 \end_inset
24281
24282 .
24283 \end_layout
24284
24285 \begin_layout Subsubsection
24286 Conversiones de los finales de línea
24287 \end_layout
24288
24289 \begin_layout Standard
24290 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
24291  usará distintos
24292  finales de línea en los archivos .lyx.
24293  Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
24294 , pero
24295  los archivos diff de los ingresos serán enormes y propensos a conflictos
24296  de fusión.
24297  Afortunadamente SVN sabe por sí mismo
24298 \begin_inset Foot
24299 status open
24300
24301 \begin_layout Plain Layout
24302 \begin_inset Flex URL
24303 status collapsed
24304
24305 \begin_layout Plain Layout
24306
24307 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
24308 \end_layout
24309
24310 \end_inset
24311
24312
24313 \end_layout
24314
24315 \end_inset
24316
24317  como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
24318  archivos .lyx al modo 
24319 \begin_inset Flex Code
24320 status collapsed
24321
24322 \begin_layout Plain Layout
24323 native
24324 \end_layout
24325
24326 \end_inset
24327
24328 .
24329 \begin_inset Foot
24330 status open
24331
24332 \begin_layout Plain Layout
24333 Para los perezosos: 
24334 \begin_inset Flex Code
24335 status collapsed
24336
24337 \begin_layout Plain Layout
24338 svn propset svn:eol-style native FILE_NAME
24339 \end_layout
24340
24341 \end_inset
24342
24343
24344 \end_layout
24345
24346 \end_inset
24347
24348
24349 \end_layout
24350
24351 \begin_layout Subsection
24352 Comandos GIT en \SpecialChar LyX
24353
24354 \end_layout
24355
24356 \begin_layout Standard
24357 \SpecialChar LyX
24358  soporta un conjunto mínimo de comandos GIT.
24359  Se encuentra en el submenú 
24360 \family sans
24361 Archivo\SpecialChar menuseparator
24362 Control de versiones
24363 \family default
24364 .
24365  Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
24366  vía ssh, ésta se pedirá en una ventana de terminal.
24367  \SpecialChar LyX
24368  se ha probado con GIT 1.7.
24369  
24370 \end_layout
24371
24372 \begin_layout Standard
24373 Una gran diferencia entre GIT y los demás sistemas de control de versiones
24374  soportados es la naturaleza distribuida de GIT: con los sistemas de control
24375  de versiones tradicionales hay un servidor central que aloja el repositorio.
24376  Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
24377  hechas por otros.
24378  Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
24379  sincronizar con uno o más repositorios remotos usando los comandos GIT
24380  
24381 \begin_inset Flex Code
24382 status collapsed
24383
24384 \begin_layout Plain Layout
24385 pull
24386 \end_layout
24387
24388 \end_inset
24389
24390  y 
24391 \begin_inset Flex Code
24392 status collapsed
24393
24394 \begin_layout Plain Layout
24395 push
24396 \end_layout
24397
24398 \end_inset
24399
24400 .
24401  \SpecialChar LyX
24402  no interactúa de ninguna forma con los repositorios GIT remotos.
24403  Trabaja exclusivamente con el repositorio local de manera similar a como
24404  con un repositorio CVS o SVN.
24405  Si usas repositorios GIT remotos debes hacer las operaciones 
24406 \begin_inset Flex Code
24407 status collapsed
24408
24409 \begin_layout Plain Layout
24410 pull
24411 \end_layout
24412
24413 \end_inset
24414
24415  y 
24416 \begin_inset Flex Code
24417 status collapsed
24418
24419 \begin_layout Plain Layout
24420 push
24421 \end_layout
24422
24423 \end_inset
24424
24425  con tu cliente GIT favorito.
24426 \end_layout
24427
24428 \begin_layout Subsubsection
24429 Registrar
24430 \end_layout
24431
24432 \begin_layout Standard
24433 Si el documento no está bajo control de versiones, éste es el único ítem
24434  mostrado en el menú.
24435  Si está bajo control de versiones 
24436 \family sans
24437 Registrar
24438 \family default
24439  no es visible.
24440 \end_layout
24441
24442 \begin_layout Standard
24443 Este comando registra el documento en GIT sólo en el caso de que el directorio
24444  de los documentos esté ya bajo control de GIT (en particular, existe el
24445  archivo 
24446 \family typewriter
24447 .git/index
24448 \family default
24449 ).
24450  Esto quiere decir que debes reservar
24451 \begin_inset Note Note
24452 status open
24453
24454 \begin_layout Plain Layout
24455 checkout
24456 \end_layout
24457
24458 \end_inset
24459
24460  el archivo por ti mismo.
24461 \end_layout
24462
24463 \begin_layout Standard
24464 Entonces se pedirá de forma interactiva una descripción inicial del documento.
24465  No olvides que el archivo registrado aún no ha sido ingresado.
24466 \end_layout
24467
24468 \begin_layout Standard
24469 El comando GIT que se ejecuta: 
24470 \family typewriter
24471 git add 
24472 \begin_inset Quotes eld
24473 \end_inset
24474
24475 <file-name>
24476 \end_layout
24477
24478 \begin_layout Standard
24479 Consulta 
24480 \family typewriter
24481 man git
24482 \family default
24483  para entender los conmutadores.
24484  
24485 \end_layout
24486
24487 \begin_layout Subsubsection
24488 Liberar cambios
24489 \end_layout
24490
24491 \begin_layout Standard
24492 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24493  Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24494 \end_layout
24495
24496 \begin_layout Standard
24497 Comando GIT: 
24498 \family typewriter
24499 git commit -q -m"<description>" <file-name>
24500 \end_layout
24501
24502 \begin_layout Subsubsection
24503 Volver a la versión del repositorio
24504 \end_layout
24505
24506 \begin_layout Standard
24507 Descartará los cambios hechos en el documento desde la última liberación.
24508  Hay un aviso antes de descartar los cambios.
24509 \end_layout
24510
24511 \begin_layout Standard
24512 Comando GIT: 
24513 \family typewriter
24514 git checkout -q 
24515 \begin_inset Quotes eld
24516 \end_inset
24517
24518 <file-name>
24519 \begin_inset Quotes erd
24520 \end_inset
24521
24522
24523 \end_layout
24524
24525 \begin_layout Subsubsection
24526 Renombrar
24527 \end_layout
24528
24529 \begin_layout Standard
24530 Renombrará el documento actual incluyendo el historial de versiones.
24531  Requiere un documento limpio sin ningún cambio desde la última liberación.
24532  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24533  Después se renombra el documento localmente y en el repositorio.
24534  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24535  se ajustan todas las rutas relativas de los archivos incluidos (como en
24536  
24537 \family sans
24538 Archivo\SpecialChar menuseparator
24539 Guardar como
24540 \family default
24541 \SpecialChar ldots
24542 ).
24543  Por último, se recarga el documento con su nuevo nombre.
24544 \end_layout
24545
24546 \begin_layout Labeling
24547 \labelwidthstring 00.00.0000
24548 Comandos
24549 \begin_inset space ~
24550 \end_inset
24551
24552 GIT: 
24553 \begin_inset space ~
24554 \end_inset
24555
24556
24557 \begin_inset Newline newline
24558 \end_inset
24559
24560
24561 \begin_inset Flex Code
24562 status collapsed
24563
24564 \begin_layout Plain Layout
24565 git mv 
24566 \begin_inset Quotes eld
24567 \end_inset
24568
24569 <file-name>
24570 \begin_inset Quotes erd
24571 \end_inset
24572
24573  
24574 \begin_inset Quotes eld
24575 \end_inset
24576
24577 <new-file-name>
24578 \begin_inset Quotes erd
24579 \end_inset
24580
24581
24582 \end_layout
24583
24584 \end_inset
24585
24586
24587 \begin_inset Newline newline
24588 \end_inset
24589
24590
24591 \begin_inset Flex Code
24592 status collapsed
24593
24594 \begin_layout Plain Layout
24595 git commit
24596 \end_layout
24597
24598 \end_inset
24599
24600
24601 \end_layout
24602
24603 \begin_layout Subsubsection
24604 Mostrar historial
24605 \end_layout
24606
24607 \begin_layout Standard
24608 Muestra el historial completo del documento GIT.
24609  La salida de 
24610 \family typewriter
24611 git log 
24612 \begin_inset Quotes eld
24613 \end_inset
24614
24615 <file-name>
24616 \begin_inset Quotes erd
24617 \end_inset
24618
24619
24620 \family default
24621  se muestra en un buscador.
24622 \end_layout
24623
24624 \begin_layout Subsubsection
24625 Información de la versión
24626 \end_layout
24627
24628 \begin_layout Standard
24629 \SpecialChar LyX
24630  soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24631  del último ingreso.
24632  Todos se obtienen de 
24633 \family typewriter
24634 git log -n 1 --pretty=format:%H%n%an%n%ai
24635 \family default
24636 .
24637  La información de l versión del árbol se obtiene vía 
24638 \family typewriter
24639 git describe --abbrev --dirty --long
24640 \family default
24641 .
24642  Véase 
24643 \begin_inset CommandInset ref
24644 LatexCommand ref
24645 reference "subsec:VCS-Información-de-revisión"
24646
24647 \end_inset
24648
24649  para otros detalles.
24650 \end_layout
24651
24652 \begin_layout Subsection
24653 Ajustes adicionales
24654 \end_layout
24655
24656 \begin_layout Standard
24657 Con la reciente adición de la función vc-command, los usuarios que exprimen
24658  la potencia de \SpecialChar LyX
24659  pueden crear sus propios comandos para el control de revisiones.
24660 \end_layout
24661
24662 \begin_layout Standard
24663 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24664 \end_layout
24665
24666 \begin_layout Description
24667 Ingresar: 
24668 \begin_inset Flex Code
24669 status collapsed
24670
24671 \begin_layout Plain Layout
24672 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24673 \end_layout
24674
24675 \end_inset
24676
24677
24678 \end_layout
24679
24680 \begin_layout Description
24681 Revertir: 
24682 \begin_inset Flex Code
24683 status collapsed
24684
24685 \begin_layout Plain Layout
24686 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24687 \end_layout
24688
24689 \end_inset
24690
24691
24692 \end_layout
24693
24694 \begin_layout Subsection
24695 Control de versiones y comparación de documentos
24696 \end_layout
24697
24698 \begin_layout Standard
24699 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24700  entre revisiones, usualmente creando volcados 
24701 \begin_inset Flex Code
24702 status collapsed
24703
24704 \begin_layout Plain Layout
24705 diff
24706 \end_layout
24707
24708 \end_inset
24709
24710 .
24711  Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24712  en archivos de \SpecialChar LyX
24713 , que tienen una estructura más complicada.
24714  Por tanto, proporcionamos caminos para la característica de comparar documentos.
24715  Hay dos maneras de iniciar esta función, una por llamada directa a 
24716 \begin_inset Flex Code
24717 status collapsed
24718
24719 \begin_layout Plain Layout
24720 VC_COMPARE
24721 \end_layout
24722
24723 \end_inset
24724
24725  (véase el manual Funciones de \SpecialChar LyX
24726  para detalles) y otra con el icono o menú
24727  
24728 \begin_inset Flex Noun
24729 status collapsed
24730
24731 \begin_layout Plain Layout
24732 Comparar con revisión anterior...
24733 \end_layout
24734
24735 \end_inset
24736
24737 .
24738  Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24739  la versión actual del texto editado con revisiones anteriores (donde '
24740 \begin_inset Flex Code
24741 status collapsed
24742
24743 \begin_layout Plain Layout
24744 0
24745 \end_layout
24746
24747 \end_inset
24748
24749 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24750  revisión remitida).
24751  
24752 \end_layout
24753
24754 \begin_layout Standard
24755 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24756  de versiones más complicado de RCS hay una restricción, en la dirección
24757  de las revisiones en el diálogo, los números siempre apuntan al último
24758  número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24759 \end_layout
24760
24761 \begin_layout Section
24762 Programación literaria
24763 \end_layout
24764
24765 \begin_layout Standard
24766 Actualizado por 
24767 \noun on
24768 Kayvan Sylvan 
24769 \noun default
24770 (kayvan@sylvan.com)
24771 \noun on
24772
24773 \noun default
24774 documentación original de 
24775 \noun on
24776 Edmar Wienskoski Jr.
24777
24778 \noun default
24779  (edmar-w-jr@technologist.com)
24780 \end_layout
24781
24782 \begin_layout Subsection
24783 Introducción
24784 \end_layout
24785
24786 \begin_layout Standard
24787 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24788  para
24789  escribir programación literaria
24790 \series medium
24791
24792 \begin_inset Foot
24793 status collapsed
24794
24795 \begin_layout Plain Layout
24796 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24797  
24798 \emph on
24799 (N.
24800 \begin_inset space \thinspace{}
24801 \end_inset
24802
24803 del t.)
24804 \end_layout
24805
24806 \end_inset
24807
24808
24809 \series default
24810 .
24811  Se supone que la técnica de la programación te resulta familiar y sabes
24812  lo que significan términos como 
24813 \begin_inset Quotes cld
24814 \end_inset
24815
24816 tangling
24817 \begin_inset Quotes crd
24818 \end_inset
24819
24820  y 
24821 \begin_inset Quotes cld
24822 \end_inset
24823
24824 weaving
24825 \begin_inset Quotes crd
24826 \end_inset
24827
24828
24829 \begin_inset Foot
24830 status collapsed
24831
24832 \begin_layout Plain Layout
24833 Generación del código y de la documentación, respectivamente.
24834  (
24835 \emph on
24836 N.
24837 \begin_inset space \thinspace{}
24838 \end_inset
24839
24840 del t.
24841 \emph default
24842 )
24843 \end_layout
24844
24845 \end_inset
24846
24847 .
24848  Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24849  Hay mucha y buena documentación que abarca desde la historia de los inicios
24850  de la programación hasta las últimas herramientas y trucos.
24851 \end_layout
24852
24853 \begin_layout Standard
24854 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24855  hasta el punto
24856  de conocer cómo cambiar las preferencias y el archivo de recursos X.
24857  Si no es así acude al resto de documentación de \SpecialChar LyX
24858  en función de tus necesidades.
24859 \end_layout
24860
24861 \begin_layout Subsection
24862 Programación literaria
24863 \end_layout
24864
24865 \begin_layout Standard
24866 Extraído de las PUF: 
24867 \end_layout
24868
24869 \begin_layout Quotation
24870 En la programación literaria se combinan documentación y código fuente de
24871  manera legible para los seres humanos.
24872  ¡De hecho, la programación literaria debería ser de lectura agradable,
24873  incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24874 !) En general,
24875  en la escritura de los programas se combinan código y documentación en
24876  el mismo archivo.
24877  Las herramientas de programación literaria analizan después el archivo
24878  y pueden generar la documentación o el código fuente compilable por separado.
24879  El estilo WEB de programación fue creado por 
24880 \noun on
24881 D.
24882 \begin_inset space \thinspace{}
24883 \end_inset
24884
24885 E.
24886 \begin_inset space \thinspace{}
24887 \end_inset
24888
24889 Knuth
24890 \noun default
24891  mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24892 .
24893 \end_layout
24894
24895 \begin_layout Standard
24896 Otro extracto:
24897 \end_layout
24898
24899 \begin_layout Quotation
24900
24901 \emph on
24902 ¿En qué se diferencian la programación literaria y 
24903 \emph default
24904 e
24905 \emph on
24906 l comentario literal?
24907 \end_layout
24908
24909 \begin_layout Quotation
24910 Hay tres rasgos distintivos, que son, por orden de importancia: 
24911 \end_layout
24912
24913 \begin_deeper
24914 \begin_layout Itemize
24915 orden de elaboración flexible 
24916 \end_layout
24917
24918 \begin_layout Itemize
24919 soporte automático de búsqueda 
24920 \end_layout
24921
24922 \begin_layout Itemize
24923 documentación bien presentada, especialmente los diagramas y las matemáticas.
24924  
24925 \end_layout
24926
24927 \end_deeper
24928 \begin_layout Standard
24929 Y ahora que he despertado tu curiosidad, veamos las referencias.
24930 \end_layout
24931
24932 \begin_layout Subsubsection
24933 Referencias
24934 \end_layout
24935
24936 \begin_layout Standard
24937 Las FAQ completas de 
24938 \begin_inset Quotes cld
24939 \end_inset
24940
24941 Literate Programming
24942 \begin_inset Quotes crd
24943 \end_inset
24944
24945  se encuentran en:
24946 \end_layout
24947
24948 \begin_layout Quote
24949 Literate Programming FAQ: 
24950 \begin_inset Flex URL
24951 status collapsed
24952
24953 \begin_layout Plain Layout
24954
24955 http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
24956 \end_layout
24957
24958 \end_inset
24959
24960
24961 \end_layout
24962
24963 \begin_layout Standard
24964 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24965  literaria.
24966  Algunas son específicas de lenguajes de programación particulares, otras
24967  son de aplicación general.
24968  He seleccionado la herramienta 
24969 \noun on
24970 Noweb
24971 \noun default
24972  para mi uso personal por varias razones:
24973 \end_layout
24974
24975 \begin_layout Itemize
24976 Puede generar la documentación en \SpecialChar LaTeX
24977  o en HTML.
24978 \end_layout
24979
24980 \begin_layout Itemize
24981 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24982  y hacer procesamientos especiales según las necesidades.
24983  
24984 \end_layout
24985
24986 \begin_layout Itemize
24987 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24988 \end_layout
24989
24990 \begin_layout Itemize
24991 Es libre.
24992 \end_layout
24993
24994 \begin_layout Standard
24995 La página web de Noweb es: 
24996 \end_layout
24997
24998 \begin_layout Quote
24999 Página de inicio de Noweb 
25000 \begin_inset Flex URL
25001 status collapsed
25002
25003 \begin_layout Plain Layout
25004
25005 http://www.cs.virginia.edu/~nr/noweb/
25006 \end_layout
25007
25008 \end_inset
25009
25010
25011 \end_layout
25012
25013 \begin_layout Standard
25014 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
25015 ón en formato literario.
25016 \end_layout
25017
25018 \begin_layout Subsection
25019 \SpecialChar LyX
25020  y la programación literaria con Noweb
25021 \end_layout
25022
25023 \begin_layout Standard
25024 \SpecialChar LyX
25025  soporta Programación Literaria mediante el mecanismo de gestión de convertidore
25026 s.
25027  Este soporte se proporciona 
25028 \begin_inset Quotes cld
25029 \end_inset
25030
25031 independiente de Noweb
25032 \begin_inset Quotes crd
25033 \end_inset
25034
25035 , es decir, podrás usar esta nueva función de \SpecialChar LyX
25036  con algunas otras herramientas
25037  de programación literaria, cuya elección puedes hacer en las preferencias
25038  de \SpecialChar LyX
25039 .
25040 \end_layout
25041
25042 \begin_layout Subsubsection
25043 Generación de documentos y de código («weaving and tangling»)
25044 \end_layout
25045
25046 \begin_layout Paragraph
25047 Usando el módulo noweb
25048 \end_layout
25049
25050 \begin_layout Standard
25051 Con \SpecialChar LyX
25052  y Noweb instalados, al abrir un documento nuevo y después de elegir
25053  la clase de documento selecciona el módulo 
25054 \begin_inset Quotes cld
25055 \end_inset
25056
25057 Noweb
25058 \begin_inset Quotes crd
25059 \end_inset
25060
25061  en 
25062 \family sans
25063 Documento\SpecialChar menuseparator
25064 Configuración\SpecialChar menuseparator
25065 Módulos
25066 \family default
25067 .
25068  Si Noweb está instalado correctamente podrás pulsar 
25069 \family sans
25070 Añadir
25071 \family default
25072  para usarlo en tu documento.
25073 \end_layout
25074
25075 \begin_layout Paragraph
25076 Escribiendo código
25077 \end_layout
25078
25079 \begin_layout Standard
25080 \SpecialChar LyX
25081  proporciona el entorno 
25082 \lang english
25083
25084 \begin_inset Flex Noun
25085 status collapsed
25086
25087 \begin_layout Plain Layout
25088 Trozo
25089 \end_layout
25090
25091 \end_inset
25092
25093
25094 \family sans
25095 \lang spanish
25096  
25097 \family default
25098 para escribir código.
25099  Noweb delimita trozos como éste:
25100 \end_layout
25101
25102 \begin_layout LyX-Code
25103 <<Mi código>>=
25104 \end_layout
25105
25106 \begin_layout LyX-Code
25107   código
25108 \end_layout
25109
25110 \begin_layout LyX-Code
25111   más código
25112 \end_layout
25113
25114 \begin_layout LyX-Code
25115   aún más código
25116 \end_layout
25117
25118 \begin_layout LyX-Code
25119   @
25120 \end_layout
25121
25122 \begin_layout Standard
25123 El problema es que todo lo que se escriba entre <<
25124 \begin_inset space ~
25125 \end_inset
25126
25127  y 
25128 \family typewriter
25129 @
25130 \family default
25131  debe ser interpretado de forma literal, es decir, \SpecialChar LyX
25132  no debería hacer ninguna
25133  interpretación especial de lo que está ahí escrito.
25134  Esto es también manejado por el entorno 
25135 \begin_inset Flex Noun
25136 status collapsed
25137
25138 \begin_layout Plain Layout
25139 Trozo
25140 \end_layout
25141
25142 \end_inset
25143
25144 , que funciona como un párrafo normal excepto que admite espacios con libertad.
25145 \end_layout
25146
25147 \begin_layout Standard
25148 He de apuntar que también puedes usar la estructura 
25149 \begin_inset Quotes cld
25150 \end_inset
25151
25152
25153 \family typewriter
25154 %def
25155 \family default
25156
25157 \begin_inset Quotes crd
25158 \end_inset
25159
25160  de Noweb en tus trozos de código para añadir identificadores de referencias
25161  cruzadas:
25162 \end_layout
25163
25164 \begin_layout LyX-Code
25165 <<Mi trozo>>=
25166 \end_layout
25167
25168 \begin_layout LyX-Code
25169 def una_función(argumentos):
25170 \end_layout
25171
25172 \begin_layout LyX-Code
25173    "Esta es la documentación para esta función."
25174 \end_layout
25175
25176 \begin_layout LyX-Code
25177    print "Mis argumentos: ", argumentos
25178 \end_layout
25179
25180 \begin_layout LyX-Code
25181 @ %def una_función
25182 \end_layout
25183
25184 \begin_layout Standard
25185 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
25186  generada, puedes ver la programación literaria en python contenida en el
25187  archivo
25188 \begin_inset Newline newline
25189 \end_inset
25190
25191
25192 \family typewriter
25193 \emph on
25194 LIBDIR
25195 \emph default
25196 /examples/listerrors.lyx
25197 \family default
25198 \emph on
25199
25200 \emph default
25201 que debería aclarar esto.
25202 \end_layout
25203
25204 \begin_layout Paragraph
25205 Generación del documento
25206 \end_layout
25207
25208 \begin_layout Standard
25209 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
25210  y de texto en él.
25211  ¿Cómo ver la salida impresa? La respuesta es simple, con 
25212 \family sans
25213 Ver\SpecialChar menuseparator
25214 DVI, 
25215 \family default
25216 etc.
25217  Igual que harías con cualquier otro documento.
25218  No hace falta ningún procedimiento especial.
25219 \end_layout
25220
25221 \begin_layout Standard
25222 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
25223 :
25224 \end_layout
25225
25226 \begin_layout Enumerate
25227 Al escoger la opción 
25228 \family sans
25229 Ver\SpecialChar menuseparator
25230 Actualizar\SpecialChar menuseparator
25231 DVI
25232 \family default
25233 , se genera un archivo \SpecialChar LaTeX
25234 .
25235  
25236 \end_layout
25237
25238 \begin_deeper
25239 \begin_layout Standard
25240 Si el documento es de cualquiera de las clases en formato 
25241 \begin_inset Quotes cld
25242 \end_inset
25243
25244 literate
25245 \begin_inset Quotes crd
25246 \end_inset
25247
25248 , el archivo generado será nombrado con una extensión definida por el formato
25249  
25250 \begin_inset Quotes cld
25251 \end_inset
25252
25253 literate
25254 \begin_inset Quotes crd
25255 \end_inset
25256
25257  (definido en el panel de 
25258 \family sans
25259 Preferencias
25260 \family default
25261 ), si no el archivo tendrá la extensión habitual 
25262 \family typewriter
25263 .tex
25264 \family default
25265 .
25266 \end_layout
25267
25268 \end_deeper
25269 \begin_layout Enumerate
25270 La única diferencia está en la extensión del archivo, no hace falta ninguna
25271  acción especial por parte de \SpecialChar LyX
25272 , puesto que has formateado el código con
25273  el entorno 
25274 \begin_inset Flex Noun
25275 status collapsed
25276
25277 \begin_layout Plain Layout
25278 Trozo
25279 \end_layout
25280
25281 \end_inset
25282
25283 , que ya se cuida de ese aspecto.
25284 \end_layout
25285
25286 \begin_layout Enumerate
25287 Si el documento es de cualquier clase 
25288 \begin_inset Quotes cld
25289 \end_inset
25290
25291 literate
25292 \begin_inset Quotes crd
25293 \end_inset
25294
25295 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
25296  a Noweb y luego
25297  otro convertidor
25298 \begin_inset Foot
25299 status collapsed
25300
25301 \begin_layout Plain Layout
25302 Definido en 
25303 \family sans
25304 Herramientas\SpecialChar menuseparator
25305 Preferencias
25306 \family default
25307 , apartado
25308 \family sans
25309  Convertidores
25310 \family default
25311 .
25312 \end_layout
25313
25314 \end_inset
25315
25316  convierte Noweb a \SpecialChar LaTeX
25317  para generar el archivo \SpecialChar LaTeX
25318 .
25319 \end_layout
25320
25321 \begin_deeper
25322 \begin_layout Standard
25323 Si no lo es, se salta este paso.
25324 \end_layout
25325
25326 \end_deeper
25327 \begin_layout Enumerate
25328 Finalmente, se ejecuta \SpecialChar LaTeX
25329  y continúa el proceso de la manera habitual.
25330 \end_layout
25331
25332 \begin_layout Standard
25333 La independencia de una particular herramienta de programación literaria
25334  se basa simplemente en el cambio de los comandos ejecutados por los distintos
25335  convertidores.
25336 \end_layout
25337
25338 \begin_layout Paragraph
25339 Generación del código
25340 \end_layout
25341
25342 \begin_layout Standard
25343 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
25344  herramientas, se genera un archivo \SpecialChar LaTeX
25345  como se describe en el paso 1 anterior.
25346  A continuación, \SpecialChar LyX
25347  ejecuta el convertidor 
25348 \family typewriter
25349 Noweb->Programa
25350 \family default
25351 .
25352  Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
25353  en dos partes:
25354 \end_layout
25355
25356 \begin_layout Enumerate
25357 El programa convertidor propiamente dicho.
25358  Este programa realiza la conversión de un formato a otro (en este caso,
25359  desde el formato 
25360 \family typewriter
25361 Noweb
25362 \family default
25363  al pseudo-formato 
25364 \family typewriter
25365 Programa
25366 \family default
25367 ).
25368 \end_layout
25369
25370 \begin_layout Enumerate
25371 El analizador de registro de errores.
25372  Este es un programa cuyo único propósito es reescribir los mensajes de
25373  error en un formato comprensible para \SpecialChar LyX
25374 .
25375  Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25376  en los lugares correctos.
25377 \end_layout
25378
25379 \begin_layout Standard
25380 La primera parte, que se especifica en el campo 
25381 \family sans
25382 Convertidor
25383 \family default
25384 , debería contener
25385 \begin_inset Newline newline
25386 \end_inset
25387
25388
25389 \begin_inset Quotes cld
25390 \end_inset
25391
25392
25393 \family typewriter
25394 build-script $$i
25395 \family default
25396
25397 \begin_inset Quotes crd
25398 \end_inset
25399
25400 .
25401  Esto significa que \SpecialChar LyX
25402  invocará a 
25403 \begin_inset Quotes cld
25404 \end_inset
25405
25406
25407 \family typewriter
25408 build-script
25409 \family default
25410
25411 \begin_inset Quotes crd
25412 \end_inset
25413
25414  (un programa o una secuencia) con el nombre del archivo Noweb (
25415 \family typewriter
25416 $$i
25417 \family default
25418 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25419 ).
25420  
25421 \end_layout
25422
25423 \begin_layout Standard
25424 He aquí una implementación de 
25425 \family typewriter
25426 build-script
25427 \family default
25428  que puedes colocar en un directorio accesible para tu línea de comandos:
25429 \end_layout
25430
25431 \begin_layout Standard
25432 \begin_inset VSpace defskip
25433 \end_inset
25434
25435
25436 \end_layout
25437
25438 \begin_layout Standard
25439
25440 \family sans
25441 #!/bin/sh
25442 \end_layout
25443
25444 \begin_layout Standard
25445
25446 \family sans
25447 #
25448 \end_layout
25449
25450 \begin_layout Standard
25451
25452 \family sans
25453 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25454 \end_layout
25455
25456 \begin_layout Standard
25457 \begin_inset VSpace defskip
25458 \end_inset
25459
25460
25461 \end_layout
25462
25463 \begin_layout Standard
25464 La segunda parte de los ajustes del convertidor es el 
25465 \begin_inset Quotes cld
25466 \end_inset
25467
25468 indicador
25469 \begin_inset Quotes crd
25470 \end_inset
25471
25472 , establecido en
25473 \begin_inset Newline newline
25474 \end_inset
25475
25476
25477 \begin_inset Quotes eld
25478 \end_inset
25479
25480
25481 \family typewriter
25482 parselog=$$s/scripts/listerrors
25483 \family default
25484
25485 \begin_inset Quotes erd
25486 \end_inset
25487
25488 .
25489 \end_layout
25490
25491 \begin_layout Standard
25492 Esto procesará cualquier error que se genere por el proceso 
25493 \begin_inset Quotes cld
25494 \end_inset
25495
25496
25497 \family typewriter
25498 build-script
25499 \family default
25500
25501 \begin_inset Quotes crd
25502 \end_inset
25503
25504  a través del programa 
25505 \begin_inset Quotes cld
25506 \end_inset
25507
25508 listerrors
25509 \begin_inset Quotes crd
25510 \end_inset
25511
25512 .
25513 \end_layout
25514
25515 \begin_layout Standard
25516 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25517 ,
25518  por tanto los archivos generados por la conversión estarán en ese directorio.
25519  \SpecialChar LyX
25520  copiará lo que considera como el archivo "principal", pero la conversión
25521 \family typewriter
25522  Noweb->Programa
25523 \family default
25524  puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25525  \SpecialChar LyX
25526 .
25527  Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25528  build-script pueda situar los archivos generados en su sitio.
25529 \end_layout
25530
25531 \begin_layout Paragraph
25532 Instrucciones de compilación en el documento
25533 \end_layout
25534
25535 \begin_layout Standard
25536 La última parte de la integración entre \SpecialChar LyX
25537  y noweb es el trozo 
25538 \begin_inset Quotes cld
25539 \end_inset
25540
25541 build-script
25542 \begin_inset Quotes crd
25543 \end_inset
25544
25545 .
25546  Generalmente, las instrucciones para compilar tu programa deberían incluirse
25547  en un trozo propio.
25548  El 
25549 \family typewriter
25550 build-script
25551 \family default
25552  específico de noweb visto antes usa el comando 
25553 \family typewriter
25554 notangle
25555 \family default
25556  para buscar ese trozo (llamado 
25557 \begin_inset Quotes cld
25558 \end_inset
25559
25560 build-script
25561 \begin_inset Quotes crd
25562 \end_inset
25563
25564 ) y procesa su contenido a través de 
25565 \family typewriter
25566 sh
25567 \family default
25568 .
25569 \end_layout
25570
25571 \begin_layout Standard
25572 Típicamente, un trozo 
25573 \begin_inset Quotes cld
25574 \end_inset
25575
25576 build-script
25577 \begin_inset Quotes crd
25578 \end_inset
25579
25580  se verá más o menos así:
25581 \end_layout
25582
25583 \begin_layout LyX-Code
25584 <<build-script>>=
25585 \end_layout
25586
25587 \begin_layout LyX-Code
25588 #!/bin/sh
25589 \begin_inset Newline newline
25590 \end_inset
25591
25592 if [ -z "${NOWEB_SOURCE}" ]
25593 \begin_inset Newline newline
25594 \end_inset
25595
25596 then
25597 \end_layout
25598
25599 \begin_layout LyX-Code
25600 NOWEB_SOURCE=myfile.nw
25601 \begin_inset Newline newline
25602 \end_inset
25603
25604 fi
25605 \begin_inset Newline newline
25606 \end_inset
25607
25608 [...
25609  code to extract files ...
25610  use NOWEB_OUTPUT_DIR here ...]
25611 \begin_inset Newline newline
25612 \end_inset
25613
25614 [...
25615  code to compile files ...]
25616 \begin_inset Newline newline
25617 \end_inset
25618
25619 @
25620 \end_layout
25621
25622 \begin_layout Standard
25623 Mira en 
25624 \family typewriter
25625 \emph on
25626 LIBDIR
25627 \emph default
25628 /examples/listerrors.lyx
25629 \family default
25630  o 
25631 \family typewriter
25632 \emph on
25633 LIBDIR
25634 \emph default
25635 /examples/Literate.lyx
25636 \family default
25637 , que implementan dos versiones del programa 
25638 \family typewriter
25639 listerrors
25640 \family default
25641 , para ver algunos ejemplos de cómo ensamblar todo esto, o en 
25642 \family typewriter
25643 \emph on
25644 LIBDIR
25645 \emph default
25646 /examples/noweb2lyx.lyx
25647 \family default
25648 \emph on
25649 .
25650
25651 \emph default
25652  Es interesante ver cómo estos tres archivos muestran la independencia del
25653  lenguaje de programación literaria utilizado en \SpecialChar LyX
25654 , puesto que están escritos,
25655  respectivamente, en Python, C y Perl.
25656 \end_layout
25657
25658 \begin_layout Subsubsection
25659 Configurar \SpecialChar LyX
25660
25661 \end_layout
25662
25663 \begin_layout Standard
25664 Todo el soporte de Programación Literaria se configura en el panel del menú
25665  
25666 \family sans
25667 Herramientas\SpecialChar menuseparator
25668 Preferencias
25669 \family default
25670  en las solapas 
25671 \family sans
25672 Formatos
25673 \family default
25674
25675 \begin_inset space ~
25676 \end_inset
25677
25678
25679 \family sans
25680 de
25681 \family default
25682
25683 \begin_inset space ~
25684 \end_inset
25685
25686 a
25687 \family sans
25688 rchivo 
25689 \family default
25690
25691 \family sans
25692 Convertidores
25693 \family default
25694 .
25695  Las partes importantes son:
25696 \end_layout
25697
25698 \begin_layout Description
25699 el
25700 \begin_inset space ~
25701 \end_inset
25702
25703 formato
25704 \begin_inset space ~
25705 \end_inset
25706
25707
25708 \begin_inset Quotes cld
25709 \end_inset
25710
25711 literario
25712 \begin_inset Quotes crd
25713 \end_inset
25714
25715  En la solapa 
25716 \family sans
25717 Formatos
25718 \begin_inset space ~
25719 \end_inset
25720
25721 de
25722 \begin_inset space ~
25723 \end_inset
25724
25725 archivo
25726 \family default
25727  se configuran las partes específicas de Noweb.
25728  En 
25729 \family sans
25730 Nombre
25731 \begin_inset space ~
25732 \end_inset
25733
25734 GUI
25735 \family default
25736  debe ponerse 
25737 \family typewriter
25738 NoWeb
25739 \family default
25740 , en
25741 \family sans
25742  Extensión
25743 \family default
25744  debe ponerse 
25745 \family typewriter
25746 nw
25747 \family default
25748 .
25749  Esto prepara a \SpecialChar LyX
25750  para generar un archivo con extensión 
25751 \family typewriter
25752 .nw
25753 \family default
25754  en el primer paso del proceso de conversión.
25755 \end_layout
25756
25757 \begin_layout Description
25758 el
25759 \begin_inset space ~
25760 \end_inset
25761
25762 formato
25763 \family sans
25764
25765 \begin_inset space ~
25766 \end_inset
25767
25768 Program
25769 \family default
25770 a Este es un formato ficticio cuyo único propósito es ser el punto final
25771  de una conversión (que luego nos permite establecer un convertidor que
25772  apunta a dicho 
25773 \family sans
25774 Programa
25775 \family default
25776 ).
25777 \end_layout
25778
25779 \begin_layout Description
25780
25781 \family sans
25782 NoWeb
25783 \family default
25784 ->
25785 \family sans
25786 \SpecialChar LaTeX
25787
25788 \family default
25789  Este convertidor realiza el 
25790 \begin_inset Quotes cld
25791 \end_inset
25792
25793 weaving
25794 \begin_inset Quotes crd
25795 \end_inset
25796
25797  (generación de la documentación) del documento literario.
25798  Para Noweb, hay que poner el 
25799 \family sans
25800 Convertidor
25801 \family default
25802  
25803 \begin_inset Quotes cld
25804 \end_inset
25805
25806
25807 \family typewriter
25808 noweave -delay -index $$i > $$o
25809 \family default
25810
25811 \begin_inset Quotes crd
25812 \end_inset
25813
25814
25815 \end_layout
25816
25817 \begin_layout Description
25818
25819 \family sans
25820 NoWeb
25821 \family default
25822 ->
25823 \family sans
25824 Program
25825 \family default
25826 a Este realiza el paso 
25827 \begin_inset Quotes cld
25828 \end_inset
25829
25830 tangling
25831 \begin_inset Quotes crd
25832 \end_inset
25833
25834  (generación del código).
25835  Como se dijo antes, el 
25836 \family sans
25837 Convertidor
25838 \family default
25839  en este caso es 
25840 \begin_inset Quotes cld
25841 \end_inset
25842
25843
25844 \family typewriter
25845 build-script $$i
25846 \family default
25847
25848 \begin_inset Quotes crd
25849 \end_inset
25850
25851 , con la 
25852 \family sans
25853 Opción
25854 \family default
25855 \series bold
25856
25857 \begin_inset space ~
25858 \end_inset
25859
25860
25861 \family sans
25862 \series default
25863 extra
25864 \family default
25865  
25866 \begin_inset Quotes cld
25867 \end_inset
25868
25869
25870 \family typewriter
25871 originaldir,parselog=listerrors
25872 \family default
25873
25874 \begin_inset Quotes crd
25875 \end_inset
25876
25877 .
25878 \end_layout
25879
25880 \begin_layout Subsubsection
25881 Extensiones de depuración
25882 \end_layout
25883
25884 \begin_layout Standard
25885 En el servidor \SpecialChar LyX
25886  también se ha implementado una nueva función, 
25887 \begin_inset Quotes cld
25888 \end_inset
25889
25890 server-goto-file-row
25891 \begin_inset Quotes crd
25892 \end_inset
25893
25894 , para ser utilizada con 
25895 \family typewriter
25896 ddd
25897 \family default
25898 /
25899 \family typewriter
25900 gdb
25901 \family default
25902  u otro depurador.
25903  
25904 \end_layout
25905
25906 \begin_layout Standard
25907 Cuando se depura código con 
25908 \family typewriter
25909 ddd
25910 \family default
25911 /
25912 \family typewriter
25913 gdb
25914 \family default
25915 , es posible invocar un editor de texto en la posición actual de ejecución
25916  con una sencilla pulsación de teclado.
25917  La configuración por omisión de 
25918 \family typewriter
25919 ddd
25920 \family default
25921  para esto es 
25922 \family sans
25923 shift-ctrl-V
25924 \family default
25925 .
25926  La línea de comando del editor utilizado por 
25927 \family typewriter
25928 ddd
25929 \family default
25930  se puede definir accediendo al diálogo 
25931 \family sans
25932 Editar\SpecialChar menuseparator
25933 Preferencias\SpecialChar menuseparator
25934 Helpers
25935 \family default
25936  cambiando la entrada 
25937 \family sans
25938 Edit Sources
25939 \family default
25940 .
25941 \end_layout
25942
25943 \begin_layout Standard
25944 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25945  y esta característ
25946 ica de 
25947 \family typewriter
25948 ddd
25949 \family default
25950 , poniendo lo siguiente en 
25951 \family sans
25952 Edit Sources
25953 \family default
25954 :
25955 \end_layout
25956
25957 \begin_layout Standard
25958 \begin_inset VSpace defskip
25959 \end_inset
25960
25961
25962 \end_layout
25963
25964 \begin_layout Standard
25965
25966 \family sans
25967 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25968 \end_layout
25969
25970 \begin_layout Standard
25971 \begin_inset VSpace defskip
25972 \end_inset
25973
25974
25975 \end_layout
25976
25977 \begin_layout Standard
25978 Con esto, cuando estás usando 
25979 \family typewriter
25980 ddd
25981 \family default
25982  y encuentras una parte del programa que quieres editar, solo has de pulsar
25983  
25984 \family sans
25985 shift-ctrl-V
25986 \family default
25987  (en la ventana de 
25988 \family sans
25989 ddd
25990 \family default
25991 ), y 
25992 \family sans
25993 ddd
25994 \family default
25995  pasa esta información por medio del servidor \SpecialChar LyX
25996  a \SpecialChar LyX
25997 , en cuya ventana se verá
25998  el mismo archivo con el cursor en la posición apuntada por 
25999 \family sans
26000 ddd
26001 \family default
26002 .
26003  ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
26004  para localizar los fallos del programa!
26005 \end_layout
26006
26007 \begin_layout Standard
26008 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
26009  para trabajar
26010  con él (por omisión está desactivado).
26011  Se activa en 
26012 \family sans
26013 Preferencias
26014 \family default
26015 , (
26016 \family sans
26017 Rutas
26018 \family default
26019 ), introduciendo en el campo 
26020 \family sans
26021 Tubería
26022 \begin_inset space ~
26023 \end_inset
26024
26025 \SpecialChar LyX
26026 Server
26027 \family default
26028  una ruta como
26029 \begin_inset Newline newline
26030 \end_inset
26031
26032
26033 \begin_inset Quotes cld
26034 \end_inset
26035
26036
26037 \family typewriter
26038 /home/<directorio-personal>/.lyx/lyxpipe
26039 \family default
26040
26041 \begin_inset Quotes crd
26042 \end_inset
26043
26044 .
26045 \end_layout
26046
26047 \begin_layout Standard
26048 Lee la documentación del servidor \SpecialChar LyX
26049  en el manual 
26050 \emph on
26051 Personalización
26052 \emph default
26053  para más información.
26054 \end_layout
26055
26056 \begin_layout Subsubsection
26057 Ampliación de la barra de herramientas
26058 \end_layout
26059
26060 \begin_layout Standard
26061 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
26062  \SpecialChar LyX
26063 .
26064  Cinco de ellos son atajos a los tipos de párrafo: 
26065 \family sans
26066 Normal
26067 \family default
26068
26069 \family sans
26070 Sección
26071 \family default
26072
26073 \family sans
26074 \SpecialChar LaTeX
26075
26076 \family default
26077
26078 \family sans
26079 Código-\SpecialChar LyX
26080
26081 \family default
26082 , y 
26083 \family sans
26084 Trozo
26085 \family default
26086 .
26087  El otro es un atajo a la entrada 
26088 \begin_inset Quotes cld
26089 \end_inset
26090
26091
26092 \family sans
26093 Compilar Programa
26094 \family default
26095
26096 \begin_inset Quotes crd
26097 \end_inset
26098
26099  del menú 
26100 \family sans
26101 Archivo
26102 \family default
26103 .
26104  
26105 \end_layout
26106
26107 \begin_layout Standard
26108 \SpecialChar LyX
26109  dispone de una colección de botones para personalizar la barra de herramientas.
26110  En mi barra de herramientas personal me gusta combinar los seis botones
26111  mencionados con otros dos para las entradas de menú 
26112 \family sans
26113 Documento
26114 \family default
26115 \SpecialChar menuseparator
26116
26117 \family sans
26118 Actualizar
26119 \family default
26120 \SpecialChar menuseparator
26121
26122 \family sans
26123 DVI
26124 \family default
26125  y 
26126 \family sans
26127 Documento\SpecialChar menuseparator
26128 DVI
26129 \family default
26130 .
26131  Así es como queda:
26132 \end_layout
26133
26134 \begin_layout LyX-Code
26135 Toolbar
26136 \end_layout
26137
26138 \begin_layout LyX-Code
26139   Layouts
26140 \end_layout
26141
26142 \begin_layout LyX-Code
26143   Icon "layout Standard"
26144 \end_layout
26145
26146 \begin_layout LyX-Code
26147   Icon "layout Section"
26148 \end_layout
26149
26150 \begin_layout LyX-Code
26151   Icon "layout \SpecialChar LaTeX
26152 "
26153 \end_layout
26154
26155 \begin_layout LyX-Code
26156   Icon "layout \SpecialChar LyX
26157 -Code"
26158 \end_layout
26159
26160 \begin_layout LyX-Code
26161   Icon "layout Chunk"
26162 \end_layout
26163
26164 \begin_layout LyX-Code
26165   Separator
26166 \end_layout
26167
26168 \begin_layout LyX-Code
26169   Icon "buffer-view"
26170 \end_layout
26171
26172 \begin_layout LyX-Code
26173   Icon "buffer-typeset"
26174 \end_layout
26175
26176 \begin_layout LyX-Code
26177   Icon "build-program"
26178 \end_layout
26179
26180 \begin_layout LyX-Code
26181   Separator
26182 \end_layout
26183
26184 \begin_layout LyX-Code
26185 .
26186 \end_layout
26187
26188 \begin_layout LyX-Code
26189 .
26190 \end_layout
26191
26192 \begin_layout LyX-Code
26193 .
26194 \end_layout
26195
26196 \begin_layout LyX-Code
26197 End
26198 \end_layout
26199
26200 \begin_layout Subsubsection
26201 Personalización de los colores
26202 \end_layout
26203
26204 \begin_layout Standard
26205 Cierto número de colores usados en \SpecialChar LyX
26206  se pueden personalizar en el diálogo
26207  
26208 \family sans
26209 Preferencias
26210 \family default
26211 .
26212  Una de las cosas que más molesta a la gente es el color de la tipografía
26213  del código \SpecialChar LaTeX
26214 , que por omisión es rojo, y como el entorno 
26215 \lang english
26216
26217 \begin_inset Flex Noun
26218 status collapsed
26219
26220 \begin_layout Plain Layout
26221 Trozo
26222 \end_layout
26223
26224 \end_inset
26225
26226
26227 \family sans
26228 \lang spanish
26229  
26230 \family default
26231 utiliza código \SpecialChar LaTeX
26232  y hay mucho código en los documentos de programación literaria,
26233  puedes acabar harto de ver tanto rojo.
26234  Así pues, puedes cambiarlo si quieres en 
26235 \family sans
26236 Apariencia
26237 \family default
26238 \SpecialChar menuseparator
26239
26240 \family sans
26241 Colores.
26242 \end_layout
26243
26244 \begin_layout Standard
26245 El siguiente asunto es la presencia visible del carácter salto de línea
26246  en la pantalla.
26247  Puedes elegir el color de este carácter en particular para confundirlo
26248  con el fondo.
26249  Recomiendo escoger un color parecido al del fondo pero no idéntico, de
26250  esta forma lo seguirás viendo pero sin molestar tanto.
26251 \end_layout
26252
26253 \begin_layout Subsection
26254 \SpecialChar LyX
26255  y knitr/Sweave
26256 \end_layout
26257
26258 \begin_layout Standard
26259 El soporte para 
26260 \family sans
26261 knitr
26262 \family default
26263  y 
26264 \family sans
26265 Sweave
26266 \family default
26267  está documentado en el archivo de ejemplo 
26268 \emph on
26269 knitr.lyx
26270 \emph default
26271  y en el manual de Sweave (menú 
26272 \family sans
26273 Ayuda\SpecialChar menuseparator
26274 Manuales específicos
26275 \family default
26276 ).
26277 \end_layout
26278
26279 \begin_layout Chapter
26280 Características especiales
26281 \end_layout
26282
26283 \begin_layout Standard
26284 Con \SpecialChar LyX
26285  se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
26286 .
26287  Aunque \SpecialChar LyX
26288  no puede soportar directamente todas las características de \SpecialChar LaTeX
26289 , siempre
26290  es posible usar código \SpecialChar LaTeX
26291 .
26292  Este capítulo trata de algunas cosas especiales que podrían interesarte.
26293  Las características especiales relacionadas con figuras, cuadros, flotantes,
26294  marcos y notas, se pueden consultar en el manual 
26295 \emph on
26296 Objetos insertados
26297 \emph default
26298 .
26299  
26300 \end_layout
26301
26302 \begin_layout Section
26303 Texto en columnas
26304 \end_layout
26305
26306 \begin_layout Standard
26307 Esta característica es independiente de la opción 
26308 \family sans
26309 Documento con dos columnas
26310 \family default
26311  en 
26312 \family sans
26313 Diseño del texto
26314 \family default
26315  de la configuración del documento.
26316  Para tener dos columnas de texto en todo el documento se recomienda usar
26317  dicha opción.
26318  Para el resto de casos se usa la característica aquí descrita.
26319 \end_layout
26320
26321 \begin_layout Standard
26322 Para poner texto en varias columnas, hay que cargar el módulo 
26323 \family sans
26324 Columnas
26325 \family default
26326  (menú 
26327 \family sans
26328 Documento\SpecialChar menuseparator
26329 Configuración\SpecialChar menuseparator
26330 Módulos
26331 \family default
26332 ), y debe estar instalado el paquete \SpecialChar LaTeX
26333  
26334 \series bold
26335 multicol
26336 \series default
26337
26338 \begin_inset Index idx
26339 status collapsed
26340
26341 \begin_layout Plain Layout
26342 \SpecialChar LaTeX
26343 -paquetes ! multicol
26344 \end_layout
26345
26346 \end_inset
26347
26348 .
26349 \end_layout
26350
26351 \begin_layout Standard
26352 Las notas al pie en las columnas se colocarán al final de la página y no
26353  bajo cada columna.
26354  En las distintas columnas se puede usar todo, excepto que para flotantes
26355  hay que usar la opción 
26356 \family sans
26357 Extender columnas
26358 \family default
26359 .
26360 \end_layout
26361
26362 \begin_layout Subsection
26363 Conceptos básicos
26364 \end_layout
26365
26366 \begin_layout Standard
26367 Para poner un texto en dos columnas, usa el menú 
26368 \family sans
26369 Insertar\SpecialChar menuseparator
26370 Recuadro
26371 \begin_inset space ~
26372 \end_inset
26373
26374 personalizado\SpecialChar menuseparator
26375 Columnas
26376 \family default
26377  en el punto en que deben iniciarse las columnas.
26378  Escribe en el recuadro todo el texto que debe ir en dos columnas.
26379 \end_layout
26380
26381 \begin_layout Standard
26382 Un ejemplo:
26383 \end_layout
26384
26385 \begin_layout Standard
26386 \noindent
26387
26388 \lang english
26389 \begin_inset Flex Multiple Columns
26390 status open
26391
26392 \begin_layout Plain Layout
26393 \noindent
26394
26395 \series bold
26396 \size small
26397 \lang english
26398 The Adventure of the Empty House
26399 \series default
26400
26401 \begin_inset Newline newline
26402 \end_inset
26403
26404 by Sir Arthur Conan Doyle
26405 \end_layout
26406
26407 \begin_layout Plain Layout
26408
26409 \size small
26410 \lang english
26411 It was in the spring of the year 1894 that all London was interested, and
26412  the fashionable world dismayed, by the murder of the Honourable Ronald
26413  Adair under most unusual and inexplicable circumstances.
26414  The public has already learned those particulars of the crime which came
26415  out in the police investigation, but a good deal was suppressed upon that
26416  occasion, since the case for the prosecution was so overwhelmingly strong
26417  that it was not necessary to bring forward all the facts.
26418  Only now, at the end of nearly ten years, am I allowed to supply those
26419  missing links which make up the whole of that remarkable chain.
26420  The crime was of interest in itself, but that interest was as nothing to
26421  me compared to the inconceivable sequel, which afforded me the greatest
26422  shock and surprise of any event in my adventurous life.
26423  Even now, after this long interval, I find myself thrilling as I think
26424  of it, and feeling once more that sudden flood of joy, amazement, and increduli
26425 ty which utterly submerged my mind.
26426  Let me say to that public, which has shown some interest in those glimpses
26427  which I have occasionally given them of the thoughts and actions of a very
26428  remarkable man, that they are not to blame me if I have not shared my knowledge
26429  with them, for I should have considered it my first duty to do so, had
26430  I not been barred by a positive prohibition from his own lips, which was
26431  only withdrawn upon the third of last month.
26432 \end_layout
26433
26434 \end_inset
26435
26436
26437 \end_layout
26438
26439 \begin_layout Standard
26440 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26441  el menú 
26442 \family sans
26443 Insertar\SpecialChar menuseparator
26444 Número de columnas
26445 \family default
26446  y escribe el número de columnas, por ejemplo "3".
26447 \begin_inset Newline newline
26448 \end_inset
26449
26450 Un ejemplo de texto en tres columnas:
26451 \end_layout
26452
26453 \begin_layout Standard
26454
26455 \lang english
26456 \begin_inset Flex Multiple Columns
26457 status open
26458
26459 \begin_layout Plain Layout
26460
26461 \size footnotesize
26462 \lang english
26463 \begin_inset Argument 1
26464 status open
26465
26466 \begin_layout Plain Layout
26467
26468 \lang english
26469 3
26470 \end_layout
26471
26472 \end_inset
26473
26474 It can be imagined that my close intimacy with Sherlock Holmes had interested
26475  me deeply in crime, and that after his disappearance I never failed to
26476  read with care the various problems which came before the public.
26477  And I even attempted, more than once, for my own private satisfaction,
26478  to employ his methods in their solution, though with indifferent success.
26479  There was none, however, which appealed to me like this tragedy of Ronald
26480  Adair.
26481  As I read the evidence at the inquest, which led up to a verdict of willful
26482  murder against some person or persons unknown, I realized more clearly
26483  than I had ever done the loss which the community had sustained by the
26484  death of Sherlock Holmes.
26485  There were points about this strange business which would, I was sure,
26486  have specially appealed to him, and the efforts of the police would have
26487  been supplemented, or more probably anticipated, by the trained observation
26488  and the alert mind of the first criminal agent in Europe.
26489  All day, as I drove upon my round, I turned over the case in my mind and
26490  found no explanation which appeared to me to be adequate.
26491  At the risk of telling a twice-told tale, I will recapitulate the facts
26492  as they were known to the public at the conclusion of the inquest.
26493 \end_layout
26494
26495 \end_inset
26496
26497
26498 \end_layout
26499
26500 \begin_layout Standard
26501 Se puede llegar hasta 10
26502 \begin_inset space ~
26503 \end_inset
26504
26505 columnas, aunque seguramente no será muy cómodo para los lectores.
26506 \end_layout
26507
26508 \begin_layout Standard
26509
26510 \lang english
26511 \begin_inset Newpage newpage
26512 \end_inset
26513
26514
26515 \end_layout
26516
26517 \begin_layout Subsection
26518 Columnas dentro de otras columnas
26519 \end_layout
26520
26521 \begin_layout Standard
26522 Es posible poner columnas dentro de otras:
26523 \end_layout
26524
26525 \begin_layout Standard
26526
26527 \lang english
26528 \begin_inset Flex Multiple Columns
26529 status open
26530
26531 \begin_layout Plain Layout
26532
26533 \size footnotesize
26534 \lang english
26535 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26536  at that time governor of one of the Australian colonies.
26537  Adair's mother had returned from Australia to undergo the operation for
26538  cataract, and she, her son Ronald, and her daughter Hilda were living together
26539  at 427 Park Lane.
26540 \end_layout
26541
26542 \begin_layout Plain Layout
26543
26544 \lang english
26545 \begin_inset Flex Multiple Columns
26546 status open
26547
26548 \begin_layout Plain Layout
26549
26550 \size footnotesize
26551 \lang english
26552 The youth moved in the best society–had, so far as was known, no enemies
26553  and no particular vices.
26554  He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26555  had been broken off by mutual consent some months before, and there was
26556  no sign that it had left any very profound feeling behind it.
26557  For the rest {sic} the man's life moved in a narrow and conventional circle,
26558  for his habits were quiet and his nature unemotional.
26559  Yet it was upon this easy-going young aristocrat that death came, in most
26560  strange and unexpected form, between the hours of ten and eleven-twenty
26561  on the night of March 30, 1894.
26562 \end_layout
26563
26564 \end_inset
26565
26566
26567 \end_layout
26568
26569 \begin_layout Plain Layout
26570
26571 \size footnotesize
26572 \lang english
26573 Ronald Adair was fond of cards–playing continually, but never for such stakes
26574  as would hurt him.
26575  He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26576  It was shown that, after dinner on the day of his death, he had played
26577  a rubber of whist at the latter club.
26578  He had also played there in the afternoon.
26579
26580 \size default
26581  
26582 \size footnotesize
26583 The evidence of those who had played with him– Mr.
26584  Murray, Sir John Hardy, and Colonel Moran–showed that the game was whist,
26585  and that there was a fairly equal fall of the cards.
26586  Adair might have lost five pounds, but not more.
26587  His fortune was a considerable one, and such a loss could not in any way
26588  affect him.
26589  He had played nearly every day at one club or other, but he was a cautious
26590  player, and usually rose a winner.
26591  It came out in evidence that, in partnership with Colonel Moran, he had
26592  actually won as much as four hundred and twenty pounds in a sitting, some
26593  weeks before, from Godfrey Milner and Lord Balmoral.
26594  So much for his recent history as it came out at the inquest.
26595 \end_layout
26596
26597 \end_inset
26598
26599
26600 \end_layout
26601
26602 \begin_layout Subsection
26603 Ejemplos avanzados
26604 \end_layout
26605
26606 \begin_layout Standard
26607 Los ejemplos de esta sección muestran algunas características más avanzadas
26608  de las columnas.
26609 \end_layout
26610
26611 \begin_layout Standard
26612 Para ver más opciones de columnas echa un vistazo a la documentación del
26613  paquete \SpecialChar LaTeX
26614  
26615 \series bold
26616 multicol
26617 \series default
26618
26619 \begin_inset Index idx
26620 status collapsed
26621
26622 \begin_layout Plain Layout
26623 \SpecialChar LaTeX
26624 -paquetes ! multicol
26625 \end_layout
26626
26627 \end_inset
26628
26629
26630 \begin_inset CommandInset citation
26631 LatexCommand cite
26632 key "multicol"
26633 literal "true"
26634
26635 \end_inset
26636
26637 .
26638 \end_layout
26639
26640 \begin_layout Subsubsection
26641 Prefacio
26642 \end_layout
26643
26644 \begin_layout Standard
26645 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26646  del texto en columnas y usa el menú 
26647 \family sans
26648 Insertar\SpecialChar menuseparator
26649 Prefacio
26650 \family default
26651 .
26652  Escribe en el marco que aparece el texto del prefacio.
26653 \begin_inset Newline newline
26654 \end_inset
26655
26656 Ejemplo con un texto de prefacio:
26657 \begin_inset VSpace bigskip
26658 \end_inset
26659
26660
26661 \end_layout
26662
26663 \begin_layout Standard
26664
26665 \lang english
26666 \begin_inset Flex Multiple Columns
26667 status open
26668
26669 \begin_layout Plain Layout
26670 \begin_inset Argument 2
26671 status open
26672
26673 \begin_layout Plain Layout
26674 Y la historia continúa\SpecialChar ldots
26675
26676 \end_layout
26677
26678 \end_inset
26679
26680
26681 \size small
26682 \lang english
26683 On the evening of the crime, he returned from the club exactly at ten.
26684  His mother and sister were out spending the evening with a relation.
26685  The servant deposed that she heard him enter the front room on the second
26686  floor, generally used as his sitting-room.
26687  She had lit a fire there, and as it smoked she had opened the window.
26688  No sound was heard from the room until eleven-twenty, the hour of the return
26689  of Lady Maynooth and her daughter.
26690  Desiring to say good-night, she attempted to enter her son's room.
26691  The door was locked on the inside, and no answer could be got to their
26692  cries and knocking.
26693  Help was obtained, and the door forced.
26694  The unfortunate young man was found lying near the table.
26695  His head had been horribly mutilated by an expanding revolver bullet, but
26696  no weapon of any sort was to be found in the room.
26697 \end_layout
26698
26699 \end_inset
26700
26701
26702 \end_layout
26703
26704 \begin_layout Standard
26705 También se puede usar un encabezado de sección como prefacio, poniendo un
26706  comando de sección en código \SpecialChar TeX
26707 .
26708  Por ejemplo, el comando
26709 \end_layout
26710
26711 \begin_layout Standard
26712
26713 \series bold
26714
26715 \backslash
26716 subsection{título de la subsección}
26717 \end_layout
26718
26719 \begin_layout Standard
26720 crea una subsección.
26721  En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26722 \end_layout
26723
26724 \begin_layout Standard
26725
26726 \lang english
26727 \begin_inset Flex Multiple Columns
26728 status open
26729
26730 \begin_layout Plain Layout
26731 \begin_inset Argument 2
26732 status open
26733
26734 \begin_layout Plain Layout
26735 \begin_inset ERT
26736 status collapsed
26737
26738 \begin_layout Plain Layout
26739
26740
26741 \backslash
26742 subsubsection{
26743 \end_layout
26744
26745 \end_inset
26746
26747 Un encabezado de subsubsección como prefacio
26748 \begin_inset ERT
26749 status collapsed
26750
26751 \begin_layout Plain Layout
26752
26753 }
26754 \end_layout
26755
26756 \end_inset
26757
26758
26759 \end_layout
26760
26761 \end_inset
26762
26763
26764 \size small
26765 \lang english
26766 A minute examination of the circumstances served only to make the case more
26767  complex.
26768  In the first place, no reason could be given why the young man should have
26769  fastened the door upon the inside.
26770  There was the possibility that the murderer had done this, and had afterwards
26771  escaped by the window.
26772  The drop was at least twenty feet, however, and a bed of crocuses in full
26773  bloom lay beneath.
26774  Neither the flowers nor the earth showed any sign of having been disturbed,
26775  nor were there any marks upon the narrow strip of grass which separated
26776  the house from the road.
26777  Apparently, therefore, it was the young man himself who had fastened the
26778  door.
26779  But how did he come by his death? No one could have climbed up to the window
26780  without leaving traces.
26781  Suppose a man had fired through the window, he would indeed be a remarkable
26782  shot who could with a revolver inflict so deadly a wound.
26783  Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26784  a hundred yards of the house.
26785  No one had heard a shot.
26786 \end_layout
26787
26788 \end_inset
26789
26790
26791 \end_layout
26792
26793 \begin_layout Standard
26794 Si al comenzar las columnas queda menos espacio vertical en la página que
26795  el correspondiente a 6 líneas de texto, se insertará un salto de página.
26796  Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26797  ese espacio.
26798  Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26799  menú 
26800 \family sans
26801 Insertar\SpecialChar menuseparator
26802 Espacio
26803 \begin_inset space ~
26804 \end_inset
26805
26806 ante
26807 \begin_inset space ~
26808 \end_inset
26809
26810 salto
26811 \begin_inset space ~
26812 \end_inset
26813
26814 de
26815 \begin_inset space ~
26816 \end_inset
26817
26818 página
26819 \family default
26820  y se escribe en el marco el espacio deseado, por ej.
26821  "5cm".
26822 \begin_inset Newline newline
26823 \end_inset
26824
26825 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26826  mediante 
26827 \begin_inset Quotes cld
26828 \end_inset
26829
26830 7
26831 \backslash
26832 baselineskip
26833 \begin_inset Quotes crd
26834 \end_inset
26835
26836  (con el comando 
26837 \series bold
26838
26839 \backslash
26840 baselineskip
26841 \series default
26842  en código \SpecialChar TeX
26843 ).
26844 \end_layout
26845
26846 \begin_layout Standard
26847
26848 \lang english
26849 \begin_inset Flex Multiple Columns
26850 status open
26851
26852 \begin_layout Plain Layout
26853 \begin_inset Argument 3
26854 status open
26855
26856 \begin_layout Plain Layout
26857 7
26858 \begin_inset ERT
26859 status collapsed
26860
26861 \begin_layout Plain Layout
26862
26863
26864 \backslash
26865 baselineskip
26866 \end_layout
26867
26868 \end_inset
26869
26870
26871 \end_layout
26872
26873 \end_inset
26874
26875
26876 \size small
26877 \lang english
26878 On the evening of the crime, he returned from the club exactly at ten.
26879  His mother and sister were out spending the evening with a relation.
26880  The servant deposed that she heard him enter the front room on the second
26881  floor, generally used as his sitting-room.
26882  She had lit a fire there, and as it smoked she had opened the window.
26883  No sound was heard from the room until eleven-twenty, the hour of the return
26884  of Lady Maynooth and her daughter.
26885  Desiring to say good-night, she attempted to enter her son's room.
26886  The door was locked on the inside, and no answer could be got to their
26887  cries and knocking.
26888  Help was obtained, and the door forced.
26889  The unfortunate young man was found lying near the table.
26890  His head had been horribly mutilated by an expanding revolver bullet, but
26891  no weapon of any sort was to be found in the room.
26892 \end_layout
26893
26894 \end_inset
26895
26896
26897 \end_layout
26898
26899 \begin_layout Subsubsection
26900 Espacio circundante
26901 \end_layout
26902
26903 \begin_layout Standard
26904 El espacio delante y detrás de las columnas se puede cambiar con el comando
26905  de longitud 
26906 \series bold
26907
26908 \backslash
26909 multicolsep
26910 \series default
26911 .
26912  Así, el comando
26913 \end_layout
26914
26915 \begin_layout Standard
26916
26917 \series bold
26918
26919 \backslash
26920 setlength{
26921 \backslash
26922 multicolsep}{3cm}
26923 \end_layout
26924
26925 \begin_layout Standard
26926 en código \SpecialChar TeX
26927  establece un espacio de 3
26928 \begin_inset space \thinspace{}
26929 \end_inset
26930
26931 cm.
26932  El cambio debe hacerse antes del inicio de las columnas.
26933  El valor por omisión es de 13
26934 \begin_inset space \thinspace{}
26935 \end_inset
26936
26937 pt.
26938 \end_layout
26939
26940 \begin_layout Standard
26941 Para este ejemplo, 
26942 \series bold
26943
26944 \backslash
26945 multicolsep
26946 \series default
26947  se ha establecido en 2.5
26948 \begin_inset space \thinspace{}
26949 \end_inset
26950
26951 cm:
26952 \end_layout
26953
26954 \begin_layout Standard
26955 \begin_inset ERT
26956 status open
26957
26958 \begin_layout Plain Layout
26959
26960
26961 \backslash
26962 setlength{
26963 \backslash
26964 multicolsep}{2.5cm}
26965 \end_layout
26966
26967 \end_inset
26968
26969
26970 \end_layout
26971
26972 \begin_layout Standard
26973
26974 \lang english
26975 \begin_inset Flex Multiple Columns
26976 status open
26977
26978 \begin_layout Plain Layout
26979
26980 \size small
26981 \lang english
26982 All day I turned these facts over in my mind, endeavouring to hit upon some
26983  theory which could reconcile them all, and to find that line of least resistanc
26984 e which my poor friend had declared to be the starting-point of every investigat
26985 ion.
26986  I confess that I made little progress.
26987  In the evening I strolled across the Park, and found myself about six o'clock
26988  at the Oxford Street end of Park Lane.
26989  A group of loafers upon the pavements, all staring up at a particular window,
26990  directed me to the house which I had come to see.
26991  A tall, thin man with coloured glasses, whom I strongly suspected of being
26992  a plain-clothes detective, was pointing out some theory of his own, while
26993  the others crowded round to listen to what he said.
26994  I got as near him as I could, but his observations seemed to me to be absurd,
26995  so I withdrew again in some disgust.
26996  As I did so I struck against an elderly, deformed man, who had been behind
26997  me, and I knocked down several books which he was carrying.
26998 \end_layout
26999
27000 \end_inset
27001
27002
27003 \end_layout
27004
27005 \begin_layout Standard
27006 \begin_inset Note Greyedout
27007 status open
27008
27009 \begin_layout Plain Layout
27010
27011 \series bold
27012 Nota:
27013 \series default
27014  Los valores de 
27015 \series bold
27016
27017 \backslash
27018 setlength
27019 \series default
27020  serán válidos para todas las columnas siguientes hasta que se cambie de
27021  nuevo.
27022 \end_layout
27023
27024 \end_inset
27025
27026
27027 \end_layout
27028
27029 \begin_layout Standard
27030 \begin_inset ERT
27031 status collapsed
27032
27033 \begin_layout Plain Layout
27034
27035
27036 \backslash
27037 setlength{
27038 \backslash
27039 multicolsep}{13pt}
27040 \end_layout
27041
27042 \end_inset
27043
27044
27045 \begin_inset Note Note
27046 status collapsed
27047
27048 \begin_layout Plain Layout
27049 vuelta al valor predefinido
27050 \end_layout
27051
27052 \end_inset
27053
27054
27055 \end_layout
27056
27057 \begin_layout Standard
27058
27059 \lang english
27060 \begin_inset Newpage newpage
27061 \end_inset
27062
27063
27064 \end_layout
27065
27066 \begin_layout Subsubsection
27067 Saltos de columna
27068 \end_layout
27069
27070 \begin_layout Standard
27071 Se puede forzar un salto de columna insertando el comando
27072 \series bold
27073  
27074 \backslash
27075 columnbreak{}
27076 \series default
27077  en código \SpecialChar TeX
27078  en la posición del texto en la que se desee quebrar la columna.
27079  A tener en cuenta que, en la mayoría de los casos, esto genera espacios
27080  en el texto.
27081 \begin_inset Newline newline
27082 \end_inset
27083
27084 Un ejemplo:
27085 \end_layout
27086
27087 \begin_layout Standard
27088
27089 \lang english
27090 \begin_inset Flex Multiple Columns
27091 status open
27092
27093 \begin_layout Plain Layout
27094
27095 \size small
27096 \lang english
27097 \begin_inset Quotes eld
27098 \end_inset
27099
27100 You're surprised to see me, sir,
27101 \begin_inset Quotes erd
27102 \end_inset
27103
27104  said he, in a strange, croaking voice.
27105 \end_layout
27106
27107 \begin_layout Plain Layout
27108
27109 \size small
27110 \lang english
27111 I acknowledged that I was.
27112 \end_layout
27113
27114 \begin_layout Plain Layout
27115
27116 \size small
27117 \lang english
27118 \begin_inset Quotes eld
27119 \end_inset
27120
27121 Well, I've a conscience, sir, and when I chanced to see you go into this
27122  house, as I came hobbling after you, I thought to myself, I'll just step
27123  in and see that kind gentleman, and tell him that if I was a bit gruff
27124  in my manner there was not any harm meant, and that I am much obliged to
27125  him for picking up my books.
27126 \begin_inset Quotes erd
27127 \end_inset
27128
27129
27130 \end_layout
27131
27132 \begin_layout Plain Layout
27133
27134 \size small
27135 \lang english
27136 \begin_inset Quotes eld
27137 \end_inset
27138
27139 You make too much of a trifle,
27140 \begin_inset Quotes erd
27141 \end_inset
27142
27143  said I.
27144  
27145 \begin_inset Quotes eld
27146 \end_inset
27147
27148 May I ask how you knew who I was?
27149 \begin_inset Quotes erd
27150 \end_inset
27151
27152
27153 \lang spanish
27154  TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
27155 \begin_inset ERT
27156 status collapsed
27157
27158 \begin_layout Plain Layout
27159
27160
27161 \backslash
27162 columnbreak{}
27163 \end_layout
27164
27165 \end_inset
27166
27167
27168 \end_layout
27169
27170 \begin_layout Plain Layout
27171
27172 \size small
27173 \lang english
27174 \begin_inset Quotes eld
27175 \end_inset
27176
27177 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27178  you'll find my little bookshop at the corner of Church Street, and very
27179  happy to see you, I am sure.
27180  Maybe you collect yourself, sir.
27181  Here's 
27182 \noun on
27183 British
27184 \begin_inset space ~
27185 \end_inset
27186
27187 Birds
27188 \noun default
27189 , and 
27190 \noun on
27191 Catullus
27192 \noun default
27193 , and 
27194 \noun on
27195 The Holy War
27196 \noun default
27197 –a bargain, every one of them.
27198  With five volumes you could just fill that gap on that second shelf.
27199  It looks untidy, does it not, sir?
27200 \begin_inset Quotes erd
27201 \end_inset
27202
27203
27204 \end_layout
27205
27206 \end_inset
27207
27208
27209 \end_layout
27210
27211 \begin_layout Subsubsection
27212 Separación de columnas
27213 \end_layout
27214
27215 \begin_layout Standard
27216 La anchura de las columnas se calcula automáticamente, pero la separación
27217  entre ellas se puede modificar mediante el comando 
27218 \series bold
27219
27220 \backslash
27221 columnsep
27222 \series default
27223 .
27224  El valor predeterminado es 10
27225 \begin_inset space \thinspace{}
27226 \end_inset
27227
27228 pt.
27229  A continuación hay un ejemplo en el que la longitud de 
27230 \series bold
27231
27232 \backslash
27233 columnsep
27234 \series default
27235  se ha establecido en 3
27236 \begin_inset space \thinspace{}
27237 \end_inset
27238
27239 cm:
27240 \end_layout
27241
27242 \begin_layout Standard
27243 \begin_inset ERT
27244 status open
27245
27246 \begin_layout Plain Layout
27247
27248
27249 \backslash
27250 setlength{
27251 \backslash
27252 columnsep}{3cm}
27253 \end_layout
27254
27255 \end_inset
27256
27257
27258 \end_layout
27259
27260 \begin_layout Standard
27261
27262 \lang english
27263 \begin_inset Flex Multiple Columns
27264 status open
27265
27266 \begin_layout Plain Layout
27267
27268 \size small
27269 \lang english
27270 My observations of No.
27271 \begin_inset space \space{}
27272 \end_inset
27273
27274 427 Park Lane did little to clear up the problem in which I was interested.
27275  The house was separated from the street by a low wall and railing, the
27276  whole not more than five feet high.
27277  It was perfectly easy, therefore, for anyone to get into the garden, but
27278  the window was entirely inaccessible, since there was no water pipe or
27279  anything which could help the most active man to climb it.
27280  More puzzled than ever, I retraced my steps to Kensington.
27281  I had not been in my study five minutes when the maid entered to say that
27282  a person desired to see me.
27283  To my astonishment it was none other than my strange old book collector,
27284  his sharp, wizened face peering out from a frame of white hair, and his
27285  precious volumes, a dozen of them at least, wedged under his right arm.
27286 \end_layout
27287
27288 \end_inset
27289
27290
27291 \end_layout
27292
27293 \begin_layout Standard
27294 \begin_inset ERT
27295 status collapsed
27296
27297 \begin_layout Plain Layout
27298
27299
27300 \backslash
27301 setlength{
27302 \backslash
27303 columnsep}{10pt}
27304 \end_layout
27305
27306 \end_inset
27307
27308
27309 \begin_inset Note Note
27310 status collapsed
27311
27312 \begin_layout Plain Layout
27313 vuelta al valor predefinido
27314 \end_layout
27315
27316 \end_inset
27317
27318
27319 \end_layout
27320
27321 \begin_layout Subsubsection
27322 Líneas verticales
27323 \end_layout
27324
27325 \begin_layout Standard
27326 Entre las columnas se dibuja una línea cuya anchura viene dada por 
27327 \series bold
27328
27329 \backslash
27330 columnseprule
27331 \series default
27332 .
27333  La anchura por omisión es de 0
27334 \begin_inset space \thinspace{}
27335 \end_inset
27336
27337 pt, no se dibuja ninguna línea.
27338  En el siguiente ejemplo la anchura de línea es 2
27339 \begin_inset space \thinspace{}
27340 \end_inset
27341
27342 pt.
27343 \end_layout
27344
27345 \begin_layout Standard
27346 \begin_inset ERT
27347 status open
27348
27349 \begin_layout Plain Layout
27350
27351
27352 \backslash
27353 setlength{
27354 \backslash
27355 columnseprule}{2pt}
27356 \end_layout
27357
27358 \end_inset
27359
27360
27361 \end_layout
27362
27363 \begin_layout Standard
27364
27365 \lang english
27366 \begin_inset Flex Multiple Columns
27367 status open
27368
27369 \begin_layout Plain Layout
27370
27371 \size small
27372 \lang english
27373 \begin_inset Quotes eld
27374 \end_inset
27375
27376 You're surprised to see me, sir,
27377 \begin_inset Quotes erd
27378 \end_inset
27379
27380  said he, in a strange, croaking voice.
27381 \end_layout
27382
27383 \begin_layout Plain Layout
27384
27385 \size small
27386 \lang english
27387 I acknowledged that I was.
27388 \end_layout
27389
27390 \begin_layout Plain Layout
27391
27392 \size small
27393 \lang english
27394 \begin_inset Quotes eld
27395 \end_inset
27396
27397 Well, I've a conscience, sir, and when I chanced to see you go into this
27398  house, as I came hobbling after you, I thought to myself, I'll just step
27399  in and see that kind gentleman, and tell him that if I was a bit gruff
27400  in my manner there was not any harm meant, and that I am much obliged to
27401  him for picking up my books.
27402 \begin_inset Quotes erd
27403 \end_inset
27404
27405
27406 \end_layout
27407
27408 \begin_layout Plain Layout
27409
27410 \size small
27411 \lang english
27412 \begin_inset Quotes eld
27413 \end_inset
27414
27415 You make too much of a trifle,
27416 \begin_inset Quotes erd
27417 \end_inset
27418
27419  said I.
27420  
27421 \begin_inset Quotes eld
27422 \end_inset
27423
27424 May I ask how you knew who I was?
27425 \begin_inset Quotes erd
27426 \end_inset
27427
27428
27429 \end_layout
27430
27431 \begin_layout Plain Layout
27432
27433 \size small
27434 \lang english
27435 \begin_inset Quotes eld
27436 \end_inset
27437
27438 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27439  you'll find my little bookshop at the corner of Church Street, and very
27440  happy to see you, I am sure.
27441  Maybe you collect yourself, sir.
27442  Here's 
27443 \noun on
27444 British
27445 \begin_inset space ~
27446 \end_inset
27447
27448 Birds
27449 \noun default
27450 , and 
27451 \noun on
27452 Catullus
27453 \noun default
27454 , and 
27455 \noun on
27456 The Holy War
27457 \noun default
27458 –a bargain, every one of them.
27459  With five volumes you could just fill that gap on that second shelf.
27460  It looks untidy, does it not, sir?
27461 \begin_inset Quotes erd
27462 \end_inset
27463
27464
27465 \end_layout
27466
27467 \end_inset
27468
27469
27470 \end_layout
27471
27472 \begin_layout Standard
27473 \begin_inset VSpace defskip
27474 \end_inset
27475
27476
27477 \end_layout
27478
27479 \begin_layout Standard
27480 La raya se puede colorear redefiniendo el comando
27481 \lang english
27482  
27483 \series bold
27484 \lang spanish
27485
27486 \backslash
27487 columnseprulecolor
27488 \series default
27489 .
27490  Esto se consigue insertando el comando
27491 \begin_inset Newline newline
27492 \end_inset
27493
27494
27495 \series bold
27496
27497 \backslash
27498 renewcommand{
27499 \backslash
27500 columnseprulecolor}{
27501 \backslash
27502 color{red}}
27503 \series default
27504
27505 \begin_inset Newline newline
27506 \end_inset
27507
27508 en código \SpecialChar TeX
27509  delante del recuadro columnas.
27510  Se puede poner el color deseado en lugar de 
27511 \series bold
27512 red
27513 \series default
27514  (rojo).
27515  Se puede usar cualquier color predefinido o personalizado.
27516  Véase el manual 
27517 \emph on
27518 Objetos insertados
27519 \emph default
27520 ,
27521 \emph on
27522  
27523 \emph default
27524 sección 
27525 \emph on
27526 Cuadros coloreados
27527 \emph default
27528  para más información sobre colores.
27529  Para volver al color por omisión inserta el comando
27530 \begin_inset Newline newline
27531 \end_inset
27532
27533
27534 \series bold
27535
27536 \backslash
27537 renewcommand{
27538 \backslash
27539 columnseprulecolor}{
27540 \backslash
27541 normalcolor}
27542 \series default
27543
27544 \begin_inset Newline newline
27545 \end_inset
27546
27547 Aquí hay un ejemplo con una línea en color cian y 1
27548 \begin_inset space \thinspace{}
27549 \end_inset
27550
27551 cm de separación entre columnas:
27552 \end_layout
27553
27554 \begin_layout Standard
27555 \begin_inset ERT
27556 status open
27557
27558 \begin_layout Plain Layout
27559
27560
27561 \backslash
27562 setlength{
27563 \backslash
27564 columnsep}{1cm}
27565 \end_layout
27566
27567 \begin_layout Plain Layout
27568
27569
27570 \backslash
27571 renewcommand{
27572 \backslash
27573 columnseprulecolor}{
27574 \backslash
27575 color{cyan}}
27576 \end_layout
27577
27578 \end_inset
27579
27580
27581 \end_layout
27582
27583 \begin_layout Standard
27584
27585 \lang english
27586 \begin_inset Flex Multiple Columns
27587 status open
27588
27589 \begin_layout Plain Layout
27590
27591 \size small
27592 \lang english
27593 \begin_inset Quotes eld
27594 \end_inset
27595
27596 You're surprised to see me, sir,
27597 \begin_inset Quotes erd
27598 \end_inset
27599
27600  said he, in a strange, croaking voice.
27601 \end_layout
27602
27603 \begin_layout Plain Layout
27604
27605 \size small
27606 \lang english
27607 I acknowledged that I was.
27608 \end_layout
27609
27610 \begin_layout Plain Layout
27611
27612 \size small
27613 \lang english
27614 \begin_inset Quotes eld
27615 \end_inset
27616
27617 Well, I've a conscience, sir, and when I chanced to see you go into this
27618  house, as I came hobbling after you, I thought to myself, I'll just step
27619  in and see that kind gentleman, and tell him that if I was a bit gruff
27620  in my manner there was not any harm meant, and that I am much obliged to
27621  him for picking up my books.
27622 \begin_inset Quotes erd
27623 \end_inset
27624
27625
27626 \end_layout
27627
27628 \begin_layout Plain Layout
27629
27630 \size small
27631 \lang english
27632 \begin_inset Quotes eld
27633 \end_inset
27634
27635 You make too much of a trifle,
27636 \begin_inset Quotes erd
27637 \end_inset
27638
27639  said I.
27640  
27641 \begin_inset Quotes eld
27642 \end_inset
27643
27644 May I ask how you knew who I was?
27645 \begin_inset Quotes erd
27646 \end_inset
27647
27648
27649 \end_layout
27650
27651 \begin_layout Plain Layout
27652
27653 \size small
27654 \lang english
27655 \begin_inset Quotes eld
27656 \end_inset
27657
27658 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27659  you'll find my little bookshop at the corner of Church Street, and very
27660  happy to see you, I am sure.
27661  Maybe you collect yourself, sir.
27662  Here's 
27663 \noun on
27664 British
27665 \begin_inset space ~
27666 \end_inset
27667
27668 Birds
27669 \noun default
27670 , and 
27671 \noun on
27672 Catullus
27673 \noun default
27674 , and 
27675 \noun on
27676 The Holy War
27677 \noun default
27678 –a bargain, every one of them.
27679  With five volumes you could just fill that gap on that second shelf.
27680  It looks untidy, does it not, sir?
27681 \begin_inset Quotes erd
27682 \end_inset
27683
27684
27685 \end_layout
27686
27687 \end_inset
27688
27689
27690 \end_layout
27691
27692 \begin_layout Standard
27693 \begin_inset ERT
27694 status collapsed
27695
27696 \begin_layout Plain Layout
27697
27698
27699 \backslash
27700 setlength{
27701 \backslash
27702 columnseprule}{0pt}
27703 \end_layout
27704
27705 \begin_layout Plain Layout
27706
27707
27708 \backslash
27709 renewcommand{
27710 \backslash
27711 columnseprulecolor}{
27712 \backslash
27713 normalcolor}
27714 \end_layout
27715
27716 \end_inset
27717
27718
27719 \begin_inset Note Note
27720 status collapsed
27721
27722 \begin_layout Plain Layout
27723 retornar a los valores por omisión.
27724 \end_layout
27725
27726 \end_inset
27727
27728
27729 \end_layout
27730
27731 \begin_layout Standard
27732 \begin_inset Newpage newpage
27733 \end_inset
27734
27735
27736 \end_layout
27737
27738 \begin_layout Section
27739 Párrafos con formas diversas
27740 \end_layout
27741
27742 \begin_layout Standard
27743 \SpecialChar LaTeX
27744  y cualquier procesador de texto usan por omisión párrafos rectangulares.
27745  Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27746  la forma del párrafo.
27747  Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27748  
27749 \series bold
27750 shapepar
27751 \series default
27752 , que se carga con el módulo
27753 \family sans
27754  Párrafos conformados
27755 \family default
27756  en 
27757 \family sans
27758 Documento\SpecialChar menuseparator
27759 Configuración\SpecialChar menuseparator
27760 Módulos
27761 \family default
27762 .
27763 \end_layout
27764
27765 \begin_layout Subsection
27766 Formas predefinidas
27767 \end_layout
27768
27769 \begin_layout Standard
27770 El paquete 
27771 \series bold
27772 shapepar
27773 \series default
27774  proporciona las siguientes formas:
27775 \end_layout
27776
27777 \begin_layout Standard
27778 \begin_inset Tabular
27779 <lyxtabular version="3" rows="13" columns="3">
27780 <features booktabs="true" islongtable="true" longtabularalignment="center">
27781 <column alignment="center" valignment="middle" width="16col%">
27782 <column alignment="center" valignment="middle" width="40col%">
27783 <column alignment="center" valignment="middle" width="35col%">
27784 <row endhead="true">
27785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27786 \begin_inset Text
27787
27788 \begin_layout Plain Layout
27789 Nombre
27790 \end_layout
27791
27792 \end_inset
27793 </cell>
27794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27795 \begin_inset Text
27796
27797 \begin_layout Plain Layout
27798 Descripción
27799 \end_layout
27800
27801 \end_inset
27802 </cell>
27803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27804 \begin_inset Text
27805
27806 \begin_layout Plain Layout
27807 Observaciones
27808 \end_layout
27809
27810 \end_inset
27811 </cell>
27812 </row>
27813 <row>
27814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27815 \begin_inset Text
27816
27817 \begin_layout Plain Layout
27818 Carátula CD
27819 \end_layout
27820
27821 \end_inset
27822 </cell>
27823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27824 \begin_inset Text
27825
27826 \begin_layout Plain Layout
27827 Círculo con orificio central (tamaño de CD/DVD)
27828 \end_layout
27829
27830 \end_inset
27831 </cell>
27832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27833 \begin_inset Text
27834
27835 \begin_layout Plain Layout
27836 No se puede cambiar el tamaño; no debe contener demasiado texto
27837 \end_layout
27838
27839 \end_inset
27840 </cell>
27841 </row>
27842 <row>
27843 <cell alignment="center" valignment="top" topline="true" usebox="none">
27844 \begin_inset Text
27845
27846 \begin_layout Plain Layout
27847 Círculo
27848 \end_layout
27849
27850 \end_inset
27851 </cell>
27852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27853 \begin_inset Text
27854
27855 \begin_layout Plain Layout
27856 Círculo
27857 \end_layout
27858
27859 \end_inset
27860 </cell>
27861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27862 \begin_inset Text
27863
27864 \begin_layout Plain Layout
27865 Frágil, los cálculos
27866 \end_layout
27867
27868 \begin_layout Plain Layout
27869 pueden fallar
27870 \end_layout
27871
27872 \end_inset
27873 </cell>
27874 </row>
27875 <row>
27876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27877 \begin_inset Text
27878
27879 \begin_layout Plain Layout
27880 Diamante
27881 \end_layout
27882
27883 \end_inset
27884 </cell>
27885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27886 \begin_inset Text
27887
27888 \begin_layout Plain Layout
27889 Romboide (simbolizando
27890 \end_layout
27891
27892 \begin_layout Plain Layout
27893 un 
27894 \begin_inset Quotes cld
27895 \end_inset
27896
27897 diamante
27898 \begin_inset Quotes crd
27899 \end_inset
27900
27901 )
27902 \end_layout
27903
27904 \end_inset
27905 </cell>
27906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27907 \begin_inset Text
27908
27909 \begin_layout Plain Layout
27910 -
27911 \end_layout
27912
27913 \end_inset
27914 </cell>
27915 </row>
27916 <row>
27917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27918 \begin_inset Text
27919
27920 \begin_layout Plain Layout
27921 Corazón
27922 \end_layout
27923
27924 \end_inset
27925 </cell>
27926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27927 \begin_inset Text
27928
27929 \begin_layout Plain Layout
27930 Forma de corazón
27931 \end_layout
27932
27933 \end_inset
27934 </cell>
27935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27936 \begin_inset Text
27937
27938 \begin_layout Plain Layout
27939 -
27940 \end_layout
27941
27942 \end_inset
27943 </cell>
27944 </row>
27945 <row>
27946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27947 \begin_inset Text
27948
27949 \begin_layout Plain Layout
27950 Hexágono
27951 \end_layout
27952
27953 \end_inset
27954 </cell>
27955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27956 \begin_inset Text
27957
27958 \begin_layout Plain Layout
27959 Hexágono
27960 \end_layout
27961
27962 \end_inset
27963 </cell>
27964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27965 \begin_inset Text
27966
27967 \begin_layout Plain Layout
27968 -
27969 \end_layout
27970
27971 \end_inset
27972 </cell>
27973 </row>
27974 <row>
27975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27976 \begin_inset Text
27977
27978 \begin_layout Plain Layout
27979 Tuerca
27980 \end_layout
27981
27982 \end_inset
27983 </cell>
27984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27985 \begin_inset Text
27986
27987 \begin_layout Plain Layout
27988 Tuerca de tornillo
27989 \end_layout
27990
27991 \begin_layout Plain Layout
27992 (hexágono con orificio circular)
27993 \end_layout
27994
27995 \end_inset
27996 </cell>
27997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27998 \begin_inset Text
27999
28000 \begin_layout Plain Layout
28001 -
28002 \end_layout
28003
28004 \end_inset
28005 </cell>
28006 </row>
28007 <row>
28008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28009 \begin_inset Text
28010
28011 \begin_layout Plain Layout
28012 Cuadrado
28013 \end_layout
28014
28015 \end_inset
28016 </cell>
28017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28018 \begin_inset Text
28019
28020 \begin_layout Plain Layout
28021 Cuadrado
28022 \end_layout
28023
28024 \end_inset
28025 </cell>
28026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28027 \begin_inset Text
28028
28029 \begin_layout Plain Layout
28030 -
28031 \end_layout
28032
28033 \end_inset
28034 </cell>
28035 </row>
28036 <row>
28037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28038 \begin_inset Text
28039
28040 \begin_layout Plain Layout
28041 Estrella
28042 \end_layout
28043
28044 \end_inset
28045 </cell>
28046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28047 \begin_inset Text
28048
28049 \begin_layout Plain Layout
28050 Estrella de 5 puntas
28051 \end_layout
28052
28053 \end_inset
28054 </cell>
28055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28056 \begin_inset Text
28057
28058 \begin_layout Plain Layout
28059 -
28060 \end_layout
28061
28062 \end_inset
28063 </cell>
28064 </row>
28065 <row>
28066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28067 \begin_inset Text
28068
28069 \begin_layout Plain Layout
28070 Vela
28071 \end_layout
28072
28073 \end_inset
28074 </cell>
28075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28076 \begin_inset Text
28077
28078 \begin_layout Plain Layout
28079 Cilindro con llama
28080 \end_layout
28081
28082 \end_inset
28083 </cell>
28084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28085 \begin_inset Text
28086
28087 \begin_layout Plain Layout
28088 -
28089 \end_layout
28090
28091 \end_inset
28092 </cell>
28093 </row>
28094 <row>
28095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28096 \begin_inset Text
28097
28098 \begin_layout Plain Layout
28099 Gota/Gota invertida
28100 \end_layout
28101
28102 \end_inset
28103 </cell>
28104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28105 \begin_inset Text
28106
28107 \begin_layout Plain Layout
28108 Forma de gota normal/invertida
28109 \end_layout
28110
28111 \end_inset
28112 </cell>
28113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28114 \begin_inset Text
28115
28116 \begin_layout Plain Layout
28117 Frágil, los cáculos
28118 \end_layout
28119
28120 \begin_layout Plain Layout
28121 pueden fallar
28122 \end_layout
28123
28124 \end_inset
28125 </cell>
28126 </row>
28127 <row>
28128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28129 \begin_inset Text
28130
28131 \begin_layout Plain Layout
28132 \SpecialChar TeX
28133
28134 \end_layout
28135
28136 \end_inset
28137 </cell>
28138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28139 \begin_inset Text
28140
28141 \begin_layout Plain Layout
28142 Logotipo de \SpecialChar TeX
28143
28144 \end_layout
28145
28146 \end_inset
28147 </cell>
28148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28149 \begin_inset Text
28150
28151 \begin_layout Plain Layout
28152 -
28153 \end_layout
28154
28155 \end_inset
28156 </cell>
28157 </row>
28158 <row>
28159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28160 \begin_inset Text
28161
28162 \begin_layout Plain Layout
28163 Triángulo
28164 \begin_inset Newline newline
28165 \end_inset
28166
28167 arriba/abajo
28168 \begin_inset Newline newline
28169 \end_inset
28170
28171 izquierda/derecha
28172 \end_layout
28173
28174 \end_inset
28175 </cell>
28176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28177 \begin_inset Text
28178
28179 \begin_layout Plain Layout
28180 Triángulos en diferentes orientaciones
28181 \end_layout
28182
28183 \end_inset
28184 </cell>
28185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28186 \begin_inset Text
28187
28188 \begin_layout Plain Layout
28189 -
28190 \end_layout
28191
28192 \end_inset
28193 </cell>
28194 </row>
28195 </lyxtabular>
28196
28197 \end_inset
28198
28199
28200 \end_layout
28201
28202 \begin_layout Standard
28203 Para elegir una determinada forma selecciónala en la lista desplegable de
28204  entornos de \SpecialChar LyX
28205  (primer botón de la barra de herramientas).
28206 \end_layout
28207
28208 \begin_layout Standard
28209 \begin_inset Newpage newpage
28210 \end_inset
28211
28212
28213 \end_layout
28214
28215 \begin_layout Standard
28216 Ejemplo de párrafo con forma de tuerca:
28217 \end_layout
28218
28219 \begin_layout Standard
28220 \begin_inset VSpace bigskip
28221 \end_inset
28222
28223
28224 \end_layout
28225
28226 \begin_layout Nut
28227 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28228  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28229  voluptua.
28230  At vero eos et accusam et justo duo dolores et ea rebum.
28231  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28232  sit amet.
28233  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28234  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28235  voluptua.
28236 \end_layout
28237
28238 \begin_layout Standard
28239 \begin_inset VSpace bigskip
28240 \end_inset
28241
28242
28243 \end_layout
28244
28245 \begin_layout Standard
28246 \begin_inset Note Greyedout
28247 status open
28248
28249 \begin_layout Plain Layout
28250
28251 \series bold
28252 Nota
28253 \series default
28254 : los párrafos conformados no pueden saltar de página.
28255 \end_layout
28256
28257 \end_inset
28258
28259
28260 \end_layout
28261
28262 \begin_layout Standard
28263 \begin_inset VSpace bigskip
28264 \end_inset
28265
28266
28267 \end_layout
28268
28269 \begin_layout Standard
28270
28271 \series bold
28272 shapepar
28273 \series default
28274  preserva siempre la forma independientemente de la cantidad de texto.
28275  Por tanto el tamaño del párrafo cambia en función del texto.
28276  Esto puede provocar desbordamiento de los márgenes.
28277  Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
28278  con el doble de texto:
28279 \end_layout
28280
28281 \begin_layout Standard
28282 \begin_inset Newpage newpage
28283 \end_inset
28284
28285
28286 \end_layout
28287
28288 \begin_layout Nut
28289 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28290  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28291  voluptua.
28292  At vero eos et accusam et justo duo dolores et ea rebum.
28293  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28294  sit amet.
28295  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28296  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28297  voluptua.
28298  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28299  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28300  voluptua.
28301  At vero eos et accusam et justo duo dolores et ea rebum.
28302  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28303  sit amet.
28304  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28305  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28306  voluptua.
28307 \end_layout
28308
28309 \begin_layout Standard
28310 \begin_inset VSpace bigskip
28311 \end_inset
28312
28313
28314 \end_layout
28315
28316 \begin_layout Standard
28317 La forma 
28318 \family sans
28319 Carátula CD 
28320 \family default
28321 es una excepción.
28322  No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
28323  Por tanto la cantidad de texto que admite esta forma es limitada.
28324 \begin_inset Newline newline
28325 \end_inset
28326
28327 Las formas 
28328 \family sans
28329 Gota
28330 \family default
28331  y
28332 \family sans
28333  Círculo
28334 \family default
28335  son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
28336  según la cantidad de texto.
28337  En esos casos se producirá el error de \SpecialChar LaTeX
28338  
28339 \begin_inset Quotes eld
28340 \end_inset
28341
28342 Arithmetic overflow
28343 \begin_inset Quotes erd
28344 \end_inset
28345
28346 .
28347  Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
28348  que elegir otra forma.
28349 \end_layout
28350
28351 \begin_layout Standard
28352 \begin_inset VSpace bigskip
28353 \end_inset
28354
28355
28356 \end_layout
28357
28358 \begin_layout Standard
28359 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
28360  puede fallar.
28361  Entonces habrá que añadir guiones protegidos 
28362 \family sans
28363 (
28364 \begin_inset Info
28365 type  "shortcut"
28366 arg   "specialchar-insert hyphenation"
28367 \end_inset
28368
28369
28370 \family default
28371 ) donde sea necesario.
28372 \end_layout
28373
28374 \begin_layout Standard
28375 \begin_inset VSpace bigskip
28376 \end_inset
28377
28378
28379 \end_layout
28380
28381 \begin_layout Standard
28382 Los párrafos conformados siempre van centrados en la página o ajustados
28383  al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
28384 ón de párrafos.
28385  Una solución es poner el párrafo en una minipágina o en un marco y alinear
28386  éstos.
28387  En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
28388  ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
28389  del marco.
28390  De modo que habrá que ir probando un poco para acertar con la anchura correcta.
28391  Aquí tenemos dos párrafos 
28392 \family sans
28393 Corazón
28394 \family default
28395 , el primero no alineado, el segundo a la derecha:
28396 \end_layout
28397
28398 \begin_layout Standard
28399 \begin_inset Newpage newpage
28400 \end_inset
28401
28402
28403 \end_layout
28404
28405 \begin_layout Heart
28406 \noindent
28407 Lo\SpecialChar softhyphen
28408 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28409  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28410  voluptua.
28411  At vero eos et accusam et justo duo dolores et ea rebum.
28412  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28413  sit amet.
28414 \end_layout
28415
28416 \begin_layout Standard
28417 \begin_inset VSpace bigskip
28418 \end_inset
28419
28420
28421 \end_layout
28422
28423 \begin_layout Standard
28424 \noindent
28425 \align right
28426 \begin_inset Box Frameless
28427 position "t"
28428 hor_pos "c"
28429 has_inner_box 1
28430 inner_pos "t"
28431 use_parbox 1
28432 use_makebox 0
28433 width "42col%"
28434 special "none"
28435 height "1in"
28436 height_special "totalheight"
28437 thickness "0.4pt"
28438 separation "3pt"
28439 shadowsize "4pt"
28440 framecolor "black"
28441 backgroundcolor "none"
28442 status open
28443
28444 \begin_layout Heart
28445 \noindent
28446 Lo\SpecialChar softhyphen
28447 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28448  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28449  voluptua.
28450  At vero eos et accusam et justo duo dolores et ea rebum.
28451  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28452  sit amet.
28453 \end_layout
28454
28455 \end_inset
28456
28457
28458 \end_layout
28459
28460 \begin_layout Subsection
28461 Formas personalizadas
28462 \end_layout
28463
28464 \begin_layout Standard
28465 Se puede definir cualquier forma.
28466  Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28467  coordenada.
28468  Pero hay una forma de que el ordenador haga los cálculos:
28469 \end_layout
28470
28471 \begin_layout Enumerate
28472 Instala el programa 
28473 \begin_inset CommandInset href
28474 LatexCommand href
28475 name "Jpgfdraw"
28476 target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
28477 literal "false"
28478
28479 \end_inset
28480
28481 .
28482 \end_layout
28483
28484 \begin_layout Enumerate
28485 En 
28486 \family sans
28487 Jpgfdraw
28488 \family default
28489  ve al menú 
28490 \family sans
28491 TeX/LaTeX\SpecialChar menuseparator
28492 Settings\SpecialChar menuseparator
28493 Set Normal Size
28494 \family default
28495  y selecciona el tamaño de tipografía usado en el documento.
28496  Por ejemplo, este documento usa el tamaño 12
28497 \begin_inset space \thinspace{}
28498 \end_inset
28499
28500 pt.
28501 \end_layout
28502
28503 \begin_layout Enumerate
28504 Dibuja una forma.
28505 \end_layout
28506
28507 \begin_layout Enumerate
28508 Usa el menú 
28509 \family sans
28510 TeX/LaTeX\SpecialChar menuseparator
28511 Shapepar
28512 \family default
28513  para exportar la forma a coordenadas.
28514  En el diálogo que surge usa la descripción de la forma para las coordenadas
28515  o la ruta misma.
28516 \begin_inset Foot
28517 status collapsed
28518
28519 \begin_layout Plain Layout
28520 Más información en 
28521 \begin_inset CommandInset href
28522 LatexCommand href
28523 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28524 literal "false"
28525
28526 \end_inset
28527
28528
28529 \end_layout
28530
28531 \end_inset
28532
28533
28534 \end_layout
28535
28536 \begin_layout Standard
28537 Las coordenadas se escriben en un archivo \SpecialChar TeX
28538 .
28539  Para incorporarlo a \SpecialChar LyX
28540 :
28541 \end_layout
28542
28543 \begin_layout Enumerate
28544 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28545  vacío).
28546 \end_layout
28547
28548 \begin_layout Enumerate
28549 En \SpecialChar LyX
28550  abre el menú 
28551 \family sans
28552 Insertar\SpecialChar menuseparator
28553 Archivo\SpecialChar menuseparator
28554 Documento
28555 \begin_inset space ~
28556 \end_inset
28557
28558 hijo\SpecialChar ldots
28559
28560 \family default
28561 , selecciona el archivo y elige 
28562 \family sans
28563 Incorporar
28564 \family default
28565  en 
28566 \family sans
28567 Tipo
28568 \begin_inset space ~
28569 \end_inset
28570
28571 de
28572 \begin_inset space ~
28573 \end_inset
28574
28575 inclusión.
28576 \end_layout
28577
28578 \begin_layout Standard
28579 \begin_inset VSpace defskip
28580 \end_inset
28581
28582
28583 \end_layout
28584
28585 \begin_layout Standard
28586 \begin_inset Note Greyedout
28587 status open
28588
28589 \begin_layout Plain Layout
28590
28591 \series bold
28592 Nota
28593 \series default
28594 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28595  a normal para el párrafo siguiente.
28596  Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28597 \end_layout
28598
28599 \end_inset
28600
28601
28602 \end_layout
28603
28604 \begin_layout Standard
28605 \begin_inset VSpace bigskip
28606 \end_inset
28607
28608
28609 \end_layout
28610
28611 \begin_layout Standard
28612 Un ejemplo:
28613 \end_layout
28614
28615 \begin_layout Standard
28616 \begin_inset VSpace bigskip
28617 \end_inset
28618
28619
28620 \end_layout
28621
28622 \begin_layout Standard
28623 \begin_inset CommandInset include
28624 LatexCommand input
28625 filename "../SpecialParagraphShape.tex"
28626
28627 \end_inset
28628
28629 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28630  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28631  voluptua.
28632  At vero eos et accusam et justo duo dolores et ea rebum.
28633  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28634  sit amet.
28635  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28636  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28637  voluptua.
28638 \end_layout
28639
28640 \begin_layout Standard
28641 \begin_inset VSpace bigskip
28642 \end_inset
28643
28644
28645 \end_layout
28646
28647 \begin_layout Standard
28648
28649 \series bold
28650 Un consejo:
28651 \series default
28652  para dibujar formas complejas en 
28653 \family sans
28654 Jpgfdraw
28655 \family default
28656  puedes dibujar la forma con el programa que quieras e importar la imagen
28657  obtenida en 
28658 \family sans
28659 Jpgfdraw
28660 \family default
28661 .
28662  Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28663  la imagen.
28664 \end_layout
28665
28666 \begin_layout Standard
28667 \begin_inset VSpace bigskip
28668 \end_inset
28669
28670
28671 \end_layout
28672
28673 \begin_layout Standard
28674 El módulo 
28675 \family sans
28676 Párrafos conformados
28677 \family default
28678  proporciona además el 
28679 \family sans
28680 Comando
28681 \family default
28682  
28683 \family sans
28684 shapepar
28685 \family default
28686  y el 
28687 \family sans
28688 Comando
28689 \family default
28690  
28691 \family sans
28692 Shapepar
28693 \family default
28694  que se pueden usar para definir formas coordenada a coordenada.
28695 \begin_inset Foot
28696 status collapsed
28697
28698 \begin_layout Plain Layout
28699 Estos comandos se usan internamente para todas las formas que se han descrito
28700  aquí.
28701 \end_layout
28702
28703 \end_inset
28704
28705  Para información sobre el uso de estos entornos de estilo y más posibilidades
28706  de personalización echa un vistazo a la documentación del paquete 
28707 \series bold
28708 shapepar
28709 \series default
28710
28711 \begin_inset CommandInset citation
28712 LatexCommand cite
28713 key "shapepar"
28714 literal "true"
28715
28716 \end_inset
28717
28718 .
28719 \end_layout
28720
28721 \begin_layout Bibliography
28722 \begin_inset CommandInset bibitem
28723 LatexCommand bibitem
28724 key "multicol"
28725 literal "true"
28726
28727 \end_inset
28728
28729 Documentación del paquete \SpecialChar LaTeX
28730  
28731 \begin_inset CommandInset href
28732 LatexCommand href
28733 name "multicol"
28734 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
28735 literal "false"
28736
28737 \end_inset
28738
28739
28740 \end_layout
28741
28742 \begin_layout Bibliography
28743 \begin_inset CommandInset bibitem
28744 LatexCommand bibitem
28745 key "shapepar"
28746 literal "true"
28747
28748 \end_inset
28749
28750 Documentación del paquete \SpecialChar LaTeX
28751  
28752 \begin_inset CommandInset href
28753 LatexCommand href
28754 name "shapepar"
28755 target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
28756 literal "false"
28757
28758 \end_inset
28759
28760
28761 \end_layout
28762
28763 \end_body
28764 \end_document