]> git.lyx.org Git - lyx.git/blob - lib/doc/Customization.lyx
adjust
[lyx.git] / lib / doc / Customization.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 286
3 \begin_document
4 \begin_header
5 \textclass book
6 \begin_preamble
7 % DO NOT ALTER THIS PREAMBLE!!!
8 %
9 % This preamble is designed to ensure that the User's Guide prints
10 % out as advertised. If you mess with this preamble,
11 % parts of the User's Guide may not print out as expected.  If you
12 % have problems LaTeXing this file, please contact 
13 % the documentation team
14 % email: lyx-docs@lists.lyx.org
15
16 \usepackage{ifpdf} % part of the hyperref bundle
17 \ifpdf % if pdflatex is used
18
19  % set fonts for nicer pdf view
20  \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{%
21  \usepackage[scaled=0.92]{helvet}
22  \usepackage{mathptmx}
23  \usepackage{courier} }
24
25  % link all cross references and URLs in pdf output
26  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
27  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
28  pdfpagelayout=OneColumn, pdfnewwindow=true,
29  pdfstartview=XYZ, plainpages=false, pdfpagelabels,
30  pdfauthor={LyX Team}, pdftex,
31  pdftitle={Customizing LyX: Features for the Advanced User},pdfsubject={LyX-documentation Customization},
32  pdfkeywords={LyX, documentation}
33 ]{hyperref}
34  
35 \else % if dvi or ps is produced
36
37  % link all cross references and URLs in dvi output
38  \usepackage[ps2pdf]{hyperref}
39
40 \fi % end if pdflatex is used
41
42  % the pages of the TOC are numbered roman
43  % and a pdf-bookmark for the TOC is added
44  \pagenumbering{roman}
45  \let\myTOC\tableofcontents
46  \renewcommand\tableofcontents{%
47    \pdfbookmark[1]{Contents}{}
48    \myTOC
49    \cleardoublepage
50    \pagenumbering{arabic} }
51
52 % redefine the \LyX macro for PDF bookmarks
53 \def\LyX{\texorpdfstring{%
54   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
55   {LyX }}
56
57 % used for multi-column text
58 \usepackage{multicol}
59 \end_preamble
60 \language english
61 \inputencoding default
62 \font_roman default
63 \font_sans default
64 \font_typewriter default
65 \font_default_family default
66 \font_sc false
67 \font_osf false
68 \font_sf_scale 100
69 \font_tt_scale 100
70 \graphics none
71 \paperfontsize default
72 \spacing single
73 \papersize default
74 \use_geometry false
75 \use_amsmath 0
76 \use_esint 0
77 \cite_engine basic
78 \use_bibtopic false
79 \paperorientation portrait
80 \secnumdepth 3
81 \tocdepth 3
82 \paragraph_separation indent
83 \defskip medskip
84 \quotes_language english
85 \papercolumns 1
86 \papersides 2
87 \paperpagestyle headings
88 \tracking_changes false
89 \output_changes false
90 \author "" 
91 \author "" 
92 \end_header
93
94 \begin_manifest
95 \end_manifest
96
97 \begin_body
98
99 \begin_layout Title
100 Customizing LyX: Features for the Advanced User
101 \end_layout
102
103 \begin_layout Author
104 by the LyX Team
105 \begin_inset Foot
106 status collapsed
107
108 \begin_layout Standard
109 \noindent
110 Principal maintainer of this file is 
111 \noun on
112 Mike Ressler
113 \noun default
114 .
115  If you have comments or error corrections, please send them to the LyX
116  Documentation mailing list, <lyx-docs@lists.lyx.org>.
117 \end_layout
118
119 \end_inset
120
121  
122 \end_layout
123
124 \begin_layout Standard
125 \begin_inset LatexCommand tableofcontents
126
127 \end_inset
128
129
130 \end_layout
131
132 \begin_layout Chapter
133 Introduction
134 \end_layout
135
136 \begin_layout Standard
137 This manual covers the customization features present in LyX.
138  In it, we discuss issues like keyboard shortcuts, screen previewing options,
139  printer options, sending commands to LyX via the LyX Server, internationalizati
140 on, installing new LaTeX classes and LyX layouts, etc.
141  We can't possibly hope to touch on everything you can change---our developers
142  add new features faster than we can document them---but we will explain
143  the most common customizations and hopefully point you in the right direction
144  for some of the more obscure ones.
145 \end_layout
146
147 \begin_layout Chapter
148 LyX configuration files
149 \end_layout
150
151 \begin_layout Standard
152 \begin_inset LatexCommand label
153 name "chap:config"
154
155 \end_inset
156
157 This chapter aims to help you to find your way through the LyX configuration
158  files.
159  Before continuing to read this chapter, you should find out where your
160  LyX library directory is by using 
161 \family sans
162 \bar under
163 H
164 \bar default
165 elp\SpecialChar \menuseparator
166 About\InsetSpace ~
167 Ly
168 \bar under
169 X
170 \family default
171 \bar default
172 .
173  This directory is the place where LyX places its system-wide configuration
174  files, and we will simply name it 
175 \family typewriter
176 LyXDir
177 \family default
178  in the remainder of this document.
179  
180 \end_layout
181
182 \begin_layout Section
183 What's in 
184 \family typewriter
185 LyXDir
186 \family default
187 ?
188 \end_layout
189
190 \begin_layout Standard
191
192 \family typewriter
193 LyXDir
194 \family default
195  and its sub-directories contain a number of files and that can be used
196  to customise LyX's behaviour.
197  You can change many of these files from within LyX itself through the 
198 \family sans
199 \bar under
200 T
201 \bar default
202 ools\SpecialChar \menuseparator
203
204 \bar under
205 P
206 \bar default
207 references
208 \family default
209  dialog.
210  Most customization that you might want to do to LyX is possible through
211  this dialog.
212  However, many other inner aspects of LyX can be customized by modifying
213  the files in 
214 \family typewriter
215 LyXDir
216 \family default
217 .
218  They fall in different categories, described in the following subsections.
219 \end_layout
220
221 \begin_layout Subsection
222 Automatically generated files
223 \end_layout
224
225 \begin_layout Standard
226 These files are generated when you configure LyX.
227  They contain various default values that are guessed by inspection.
228  In general, it is not a good idea to modify them, since they might be overwritt
229 en at any time.
230 \end_layout
231
232 \begin_layout List
233 \labelwidthstring 00.00.0000
234
235 \family typewriter
236 \series medium
237 lyxrc.defaults
238 \family default
239 \series default
240  contains defaults for various commands.
241 \end_layout
242
243 \begin_layout List
244 \labelwidthstring 00.00.0000
245
246 \family typewriter
247 \series medium
248 packages.lst
249 \family default
250 \series default
251  contains the list of packages that have been recognized by LyX.
252  It is currently unused by the LyX program itself, but the information extracted
253 , and more, is made available with 
254 \family sans
255 \bar under
256 H
257 \bar default
258 elp\SpecialChar \menuseparator
259 L
260 \bar under
261 a
262 \bar default
263 TeX\InsetSpace ~
264 Configuration
265 \family default
266 .
267 \end_layout
268
269 \begin_layout List
270 \labelwidthstring 00.00.0000
271
272 \family typewriter
273 \series medium
274 textclass.lst
275 \family default
276 \series default
277  is the list of text classes that have been found in your 
278 \family typewriter
279 layout/
280 \family default
281  directory, along with the associated LaTeX document class and their description.
282 \end_layout
283
284 \begin_layout List
285 \labelwidthstring 00.00.0000
286
287 \family typewriter
288 doc/LaTeXConfig.lyx
289 \family default
290  is automatically generated during configuration from the file 
291 \family typewriter
292 LaTeXConfig.lyx.in
293 \family default
294 .
295 \end_layout
296
297 \begin_layout Subsection
298 Directories
299 \end_layout
300
301 \begin_layout List
302 \labelwidthstring 00.00.0000
303
304 \family typewriter
305 \series medium
306 bind/
307 \family default
308 \series default
309  this directory contains files with the extension 
310 \family typewriter
311 .bind
312 \family default
313  that define the keybindings used in LyX (see section\InsetSpace ~
314
315 \begin_inset LatexCommand ref
316 reference "sec:bindings"
317
318 \end_inset
319
320 ).
321  If there exists an internationalized version of the bind file named 
322 \family typewriter
323 $LANG_xxx.bind
324 \family default
325 , that will be used first.
326  See Chapter\InsetSpace ~
327
328 \begin_inset LatexCommand ref
329 reference "chap:i18n"
330
331 \end_inset
332
333 , and section 
334 \begin_inset LatexCommand ref
335 reference "sec:bindings"
336
337 \end_inset
338
339 for details.
340 \end_layout
341
342 \begin_layout List
343 \labelwidthstring 00.00.0000
344
345 \family typewriter
346 \series medium
347 clipart/
348 \family default
349 \series default
350  contains graphics files that can be included in documents.
351  
352 \end_layout
353
354 \begin_layout List
355 \labelwidthstring 00.00.0000
356
357 \family typewriter
358 \series medium
359 doc/
360 \family default
361 \series default
362  contains LyX documentation files (including the one you are currently reading).
363  The file 
364 \family typewriter
365 LaTeXConfig.lyx
366 \family default
367  deserves special attention, as noted above.
368  If there exists an internationalized version of the help-document with
369  
370 \family typewriter
371 $LANG_
372 \family default
373  prepended to the name, that will be used first.
374  See Chapter\InsetSpace ~
375
376 \begin_inset LatexCommand ref
377 reference "chap:i18n"
378
379 \end_inset
380
381  for details.
382 \end_layout
383
384 \begin_layout List
385 \labelwidthstring 00.00.0000
386
387 \family typewriter
388 \series medium
389 examples/
390 \family default
391 \series default
392  contains example files that explain how to use some features.
393  In the file browser, press the 
394 \family sans
395 Examples
396 \family default
397  button to get there.
398 \end_layout
399
400 \begin_layout List
401 \labelwidthstring 00.00.0000
402
403 \family typewriter
404 images/
405 \family default
406  contains image files that are used by the 
407 \family sans
408 Document
409 \family default
410  dialog.
411  In addition, it also contains the individual icons used in the toolbar
412  and the banners that can be shown when LyX is launched.
413 \end_layout
414
415 \begin_layout List
416 \labelwidthstring 00.00.0000
417
418 \family typewriter
419 \series medium
420 kbd/
421 \family default
422 \series default
423  contains keyboard keymapping files.
424  See Chapter\InsetSpace ~
425
426 \begin_inset LatexCommand ref
427 reference "sec:keymap"
428
429 \end_inset
430
431  for details.
432 \end_layout
433
434 \begin_layout List
435 \labelwidthstring 00.00.0000
436
437 \family typewriter
438 \series medium
439 layouts/
440 \family default
441 \series default
442  contains the text class files described in Chapter\InsetSpace ~
443
444 \begin_inset LatexCommand ref
445 reference "chap:textclass"
446
447 \end_inset
448
449 .
450 \end_layout
451
452 \begin_layout List
453 \labelwidthstring 00.00.0000
454
455 \family typewriter
456 scripts/
457 \family default
458  contains some files that demonstrate the capabilities of the 
459 \family sans
460 External\InsetSpace ~
461 Template
462 \family default
463  feature.
464 \end_layout
465
466 \begin_layout List
467 \labelwidthstring 00.00.0000
468
469 \family typewriter
470 templates/
471 \family default
472  contains the standard LyX template files described in Chapter\InsetSpace ~
473
474 \begin_inset LatexCommand ref
475 reference "sec:templates"
476
477 \end_inset
478
479 .
480 \end_layout
481
482 \begin_layout List
483 \labelwidthstring 00.00.0000
484
485 \family typewriter
486 tex/
487 \family default
488  contains some LaTeX cls files distributed with LyX.
489 \end_layout
490
491 \begin_layout List
492 \labelwidthstring 00.00.0000
493
494 \family typewriter
495 ui/
496 \family default
497  contains files with the extension 
498 \family typewriter
499 .ui
500 \family default
501  that define the user interface to LyX.
502  That is, the files define which items appear in which menus and the items
503  appearing on the toolbar.
504  See Chapter\InsetSpace ~
505
506 \begin_inset LatexCommand ref
507 reference "sec:ui"
508
509 \end_inset
510
511  for details.
512 \end_layout
513
514 \begin_layout Subsection
515 Files you don't want to modify
516 \end_layout
517
518 \begin_layout Standard
519 These files are used internally by LyX and you generally do not need to
520  modify them unless you are a developer.
521 \end_layout
522
523 \begin_layout List
524 \labelwidthstring 00.00.0000
525
526 \family typewriter
527 \series medium
528 CREDITS
529 \family default
530 \series default
531  this file contains the list of LyX developers.
532  The contents are displayed with the menu entry 
533 \family sans
534 \bar under
535 H
536 \bar default
537 elp\SpecialChar \menuseparator
538 About\InsetSpace ~
539 LyX
540 \family default
541 .
542 \end_layout
543
544 \begin_layout List
545 \labelwidthstring 00.00.0000
546
547 \family typewriter
548 \series medium
549 chkconfig.ltx
550 \family default
551 \series default
552  this is a LaTeX script used during the configuration process.
553  Do not run directly.
554 \end_layout
555
556 \begin_layout List
557 \labelwidthstring 00.00.0000
558
559 \family typewriter
560 \series medium
561 configure
562 \family default
563 \series default
564  this is the script that is used to re-configure LyX.
565  It creates configuration files in the directory it was run from.
566 \end_layout
567
568 \begin_layout Subsection
569 Other files needing a line or two...
570 \end_layout
571
572 \begin_layout List
573 \labelwidthstring 00.00.0000
574
575 \family typewriter
576 encodings
577 \family default
578  this contains tables describing how different character encodings can be
579  mapped to unicode
580 \end_layout
581
582 \begin_layout List
583 \labelwidthstring 00.00.0000
584
585 \family typewriter
586 external_templates
587 \family default
588  this file contains the templates available to the new 
589 \family sans
590 External\InsetSpace ~
591 Template
592 \family default
593  feature.
594 \end_layout
595
596 \begin_layout List
597 \labelwidthstring 00.00.0000
598
599 \family typewriter
600 languages
601 \family default
602  this file contains a list of all the languages currently supported by LyX.
603 \end_layout
604
605 \begin_layout Section
606 Your local configuration directory
607 \end_layout
608
609 \begin_layout Standard
610 Even if you are using LyX as an unprivileged user, you might want to change
611  LyX configuration for your own use.
612  The 
613 \family typewriter
614 UserDir
615 \family default
616  directory contains all your personal configuration files.
617  This is the directory described as 
618 \begin_inset Quotes eld
619 \end_inset
620
621 user directory
622 \begin_inset Quotes erd
623 \end_inset
624
625  in 
626 \family sans
627 \bar under
628 H
629 \bar default
630 elp\SpecialChar \menuseparator
631 About\InsetSpace ~
632 LyX
633 \family default
634 .
635  This directory is used as a mirror of 
636 \family typewriter
637 LyXDir
638 \family default
639 , which means that every file in 
640 \family typewriter
641 UserDir
642 \family default
643  is a replacement for the corresponding file in 
644 \family typewriter
645 LyXDir
646 \family default
647 .
648  Any configuration file described in the above sections can be placed either
649  in the system-wide directory, in which case it will affect all users, or
650  in your local directory for your own use.
651 \end_layout
652
653 \begin_layout Standard
654 To make things clearer, let's provide a few examples:
655 \end_layout
656
657 \begin_layout Itemize
658 The preferences set in the 
659 \family sans
660 \bar under
661 T
662 \bar default
663 ools\SpecialChar \menuseparator
664
665 \bar under
666 P
667 \bar default
668 references
669 \family default
670  dialog are saved to a file 
671 \family typewriter
672 preferences
673 \family default
674  in 
675 \family typewriter
676 UserDir
677 \family default
678 .
679 \end_layout
680
681 \begin_layout Itemize
682 When you reconfigure using 
683 \family sans
684 \bar under
685 T
686 \bar default
687 ools\SpecialChar \menuseparator
688
689 \bar under
690 R
691 \bar default
692 econfigure
693 \family default
694 , LyX runs 
695 \family typewriter
696 configure
697 \family default
698  and the resulting files are written in your local configuration directory
699  (see section\InsetSpace ~
700
701 \begin_inset LatexCommand ref
702 reference "sec:autodetected"
703
704 \end_inset
705
706  to have a list of the 
707 \family typewriter
708 preferences
709 \family default
710  settings affected by this section).
711  This means that any additional text class file that you might have added
712  in 
713 \family typewriter
714 UserDir/layouts
715 \family default
716  will be added to the list of classes in the 
717 \family sans
718 \bar under
719 L
720 \bar default
721 ayout\SpecialChar \menuseparator
722
723 \bar under
724 D
725 \bar default
726 ocument
727 \family default
728  dialog.
729 \end_layout
730
731 \begin_layout Itemize
732 Similarly, if you have installed some LaTeX document classes in your home
733  directory, that LaTeX can find with your 
734 \family typewriter
735 TEXINPUTS
736 \family default
737  path, they will show up in your list of text classes.
738 \begin_inset Foot
739 status collapsed
740
741 \begin_layout Standard
742 as long as LyX or yourself have a 
743 \family typewriter
744 .layout
745 \family default
746  file for it, of course.
747 \end_layout
748
749 \end_inset
750
751
752 \end_layout
753
754 \begin_layout Itemize
755 If you get some updated documentation from LyX ftp site and cannot install
756  it because you do not have sysadmin rights on your system, you can just
757  copy the files in 
758 \family typewriter
759 UserDir/doc/
760 \family default
761  and the items in the 
762 \family sans
763 \bar under
764 H
765 \bar default
766 elp
767 \family default
768  menu will open them!
769 \end_layout
770
771 \begin_layout Section
772 Running LyX with multiple configurations
773 \end_layout
774
775 \begin_layout Standard
776 The configuration freedom of the local configuration directory may not suffice
777  if you want to have more than one configuration at your disposal.
778  For example, you may want to be use different key bindings or printer settings
779  at different times.
780  You can achieve this by having several such directories.
781  You then specify which directory to use at run-time.
782 \end_layout
783
784 \begin_layout Standard
785 Invoking LyX with the command line switch 
786 \family typewriter
787 -userdir
788 \family default
789  
790 \emph on
791 <some directory>
792 \emph default
793  instructs the program to read the configuration from that directory, and
794  not from the default directory (you can determine the default directory
795  by running LyX without this switch as described above).
796  If this directory does not exist, LyX offers to create it for you, just
797  like it does for the default directory on the first time you run the program.
798  You can modify the configuration options in this additional 
799 \family typewriter
800 Userdir
801 \family default
802  exactly as you would for the default directory.
803  These directories are completely independent (but read on).
804  Note that setting the environment variable 
805 \family typewriter
806 LYX_USERDIR_15x
807 \family default
808  to some value has exactly the same effect
809 \family typewriter
810 .
811 \end_layout
812
813 \begin_layout Standard
814 Having several configurations also requires more maintenance: if you want
815  to add a new layout to 
816 \family typewriter
817 Userdir/layouts
818 \family default
819  which you want available from all your configurations, you must add it
820  to each directory separately.
821  You can avoid this with the following trick: after LyX creates the additional
822  directory, most of the subdirectories (see above) are empty.
823  If you want the new configuration to mirror an existing one, replace the
824  empty subdirectory with a symbolic link to the matching subdirectory in
825  the existing configuration.
826  Take care with the 
827 \family typewriter
828 \series medium
829 doc/
830 \family default
831 \series default
832  subirectory, however, since it contains a file written by the configuration
833  script (also accessible through 
834 \family sans
835 \bar under
836 T
837 \bar default
838 ools\SpecialChar \menuseparator
839
840 \bar under
841 R
842 \bar default
843 econfigure 
844 \begin_inset LatexCommand ref
845 reference "sec:autodetected"
846
847 \end_inset
848
849 )
850 \family default
851  which is configuration-specific.
852 \end_layout
853
854 \begin_layout Chapter
855 The 
856 \family sans
857 Preferences
858 \family default
859  dialog
860 \end_layout
861
862 \begin_layout Section
863 Using the dialog for the first time
864 \end_layout
865
866 \begin_layout Standard
867 The 
868 \family typewriter
869 UserDir/preferences
870 \family default
871  file will contain only changes that you have made to the default behaviour,
872  some of which is hard-coded into LyX and some of which is contained in
873  the system file 
874 \family typewriter
875 LyXDir/lyxrc.defaults
876 \family default
877 .
878  Note that in both files lines beginning with a 
879 \begin_inset Quotes eld
880 \end_inset
881
882
883 \family typewriter
884 #
885 \family default
886
887 \begin_inset Quotes erd
888 \end_inset
889
890  are just comments and not interpreted.
891  However, only system administrators should edit 
892 \family typewriter
893 LyXDir/lyxrc
894 \family default
895 .
896  Users should use the 
897 \family sans
898 \bar under
899 T
900 \bar default
901 ools\SpecialChar \menuseparator
902
903 \bar under
904 P
905 \bar default
906 references
907 \family default
908  dialog to create and modify their own 
909 \family typewriter
910 UserDir/preferences
911 \family default
912  file.
913 \end_layout
914
915 \begin_layout Standard
916 We hope that the 
917 \family sans
918 \bar under
919 T
920 \bar default
921 ools\SpecialChar \menuseparator
922
923 \bar under
924 P
925 \bar default
926 references
927 \family default
928  dialog will be largely self-explanatory.
929  Almost all the commands have an associated comment, so you shouldn't have
930  too much trouble modifying it to taste.
931  Before we highlight a few of the more important commands below, however,
932  a word of warning: 
933 \family sans
934 Apply
935 \family default
936 ing some of your changes (e.g., screen fonts) will have an instant effect.
937  Others (e.g.
938  changing the bind file) will not.
939  If nothing appears to have changed, just 
940 \family sans
941 Save
942 \family default
943  the changes and restart LyX.
944 \end_layout
945
946 \begin_layout Section
947 On-screen fonts
948 \end_layout
949
950 \begin_layout Standard
951 The font used to display your documents on the LyX screen is very important,
952  since you'll be reading all your documents with this font.
953  Therefore it is important that the font is as readable and good-looking
954  as possible.
955  The LyX team tried to provide the best possible default font for you, but
956  since practically all X11 systems are different, it's likely that the default
957  fonts will be sub-optimal on your system.
958  Fortunately, you can do something about this.
959  Before we explain how to do this, you should learn a bit more about fonts
960  so that you are better prepared for choosing your fonts, because it is
961  a trade-off that is specific to your preferences and the capabilities of
962  your system.
963 \end_layout
964
965 \begin_layout Standard
966 Notice that this section only deals with the fonts on the 
967 \emph on
968 screen
969 \emph default
970  inside the LyX window.
971  The fonts that appear on the 
972 \emph on
973 paper
974 \emph default
975  
976 \emph on
977 output
978 \emph default
979  are independent from these fonts, and are determined by the document class.
980  Read the 
981 \emph on
982 User's Guide
983 \emph default
984  to learn how to change the font of the printed version of your document.
985 \end_layout
986
987 \begin_layout Standard
988 Basically, screen fonts come in two different kinds: scalable outline fonts
989  and non-scalable bitmap fonts.
990  This distinction seems a bit arbitrary, since non-scalable fonts are actually
991  scalable in most modern font renderers.
992  The difference lies in the 
993 \emph on
994 quality
995 \emph default
996  of the scaling, and the 
997 \emph on
998 speed
999 \emph default
1000  of display.
1001  The most important decision is thus whether you should use non-scalable
1002  bitmap fonts or scalable outline fonts.
1003 \end_layout
1004
1005 \begin_layout Standard
1006 The scalable fonts are built from 
1007 \emph on
1008 outlines
1009 \emph default
1010  of the single glyphs (i.e.
1011  characters) in the font.
1012  This means that each glyph is defined using mathematical curves that are
1013  well suited for scaling to any requested size.
1014  This mathematical definition is interpreted by the font renderer and turned
1015  into a small picture composed of pixels according to which size and glyph,
1016  the programmer requests.
1017  This means that scalable fonts will look pretty good in all sizes.
1018  Well, almost all sizes.
1019  Since scalable fonts are defined in an abstract way, it can be hard to
1020  provide a good rendering at small sizes, where each pixel has to be very
1021  carefully computed to provide a good image.
1022  Technically it is possible to do this from the mathematical definition,
1023  but in order to keep the rendering reasonably fast, tradeoffs have to be
1024  made, and the result is that scalable fonts can be difficult to read at
1025  small sizes.
1026 \end_layout
1027
1028 \begin_layout Standard
1029 Bitmap fonts on the other hand, are defined by bitmap graphics from the
1030  start, so they will look good at all the sizes they are meant for.
1031  However, they don't scale well, because in order to scale a glyph, each
1032  pixel is enlarged into several pixels.
1033  It is the same effect that happens if you try to enlarge a picture in 
1034 \family typewriter
1035 xv
1036 \family default
1037  or any other picture manipulation program.
1038  In order to relieve this effect, bitmap fonts are typically provided in
1039  several fixed sizes typically from around 8 pixels high up to 34 pixels
1040  or so high in steps according to what is believed to be useful.
1041  The advantage of bitmap fonts is that no complicated computations are necessary
1042  to display each glyph, so bitmap fonts are thus faster displayed than scalable
1043  fonts.
1044  The disadvantage is that sizes that don't exists as fixed versions have
1045  to be scaled by doubling pixels, and thus look bad.
1046 \end_layout
1047
1048 \begin_layout Standard
1049 The net result of all this, is that bitmap fonts are generally best for
1050  the small sizes, where they are available, while scalable fonts are generally
1051  best for large sizes.
1052  The logical conclusion would thus be to use bitmap fonts for the small
1053  sizes, and scalable fonts for the large sizes.
1054  Unfortunately, this is not a good idea, since bitmap fonts and scalable
1055  fonts are not designed to be used together, so the overall look of such
1056  a scheme would be bad.
1057  The best you can do is thus to try both schemes and decide for yourself
1058  what suits you.
1059 \end_layout
1060
1061 \begin_layout Standard
1062 By default, LyX uses non-scalable bitmap fonts (when using the XForms frontend).
1063  For serif fonts, 
1064 \emph on
1065 times
1066 \emph default
1067  is used, for sans serif fonts, 
1068 \emph on
1069 helvetica
1070 \emph default
1071  is used, while 
1072 \emph on
1073 courier
1074 \emph default
1075  is used as the monospaced/typewriter font.
1076 \end_layout
1077
1078 \begin_layout Standard
1079 In the following, we will describe what to do if the text does not look
1080  good in LyX.
1081  We'll start with the most important parameters: DPI and font zoom.
1082 \end_layout
1083
1084 \begin_layout Subsection
1085 DPI setting and Font Zoom
1086 \end_layout
1087
1088 \begin_layout Standard
1089 LyX automatically tries to scale the fonts to look as close as the paper
1090  output size as possible, except for the so-called font zoom factor.
1091 \end_layout
1092
1093 \begin_layout Standard
1094 In order for this to work on all systems, it relies on the screen DPI (dots
1095  per inch) setting to be correct.
1096  The DPI setting for your system is autodetected by LyX using the information
1097  the X server can provide.
1098  You can check what LyX autodetects the DPI setting to, by running LyX as
1099  
1100 \family typewriter
1101 lyx -dbg 2
1102 \family default
1103 .
1104 \end_layout
1105
1106 \begin_layout Standard
1107 On many systems, X is not set up correctly, so you should check that it
1108  is correct by hand.
1109  Run 
1110 \begin_inset Quotes eld
1111 \end_inset
1112
1113
1114 \family typewriter
1115 xdpyinfo | more
1116 \family default
1117
1118 \begin_inset Quotes erd
1119 \end_inset
1120
1121  and write down what the DPI is for the resolution you use (this will be
1122  close to the value LyX detects).
1123  It is the number mentioned as 
1124 \begin_inset Quotes eld
1125 \end_inset
1126
1127 resolution
1128 \begin_inset Quotes erd
1129 \end_inset
1130
1131 .
1132  Also write down the number of pixels you have in the width (the first number
1133  under 
1134 \begin_inset Quotes eld
1135 \end_inset
1136
1137 dimensions
1138 \begin_inset Quotes erd
1139 \end_inset
1140
1141 ).
1142 \end_layout
1143
1144 \begin_layout Standard
1145 Then get the good old ruler out of the closet, and measure the width of
1146  the visible screen-image on your monitor.
1147  Convert this measurement to inches if you used a centimeter ruler by dividing
1148  by 2.54.
1149  Now you can determine the correct DPI setting for your screen by dividing
1150  the number of pixels in the width by the width of the screen-image on the
1151  monitor.
1152  If this number is more than, say, 5 DPI from the detected value, you should
1153  either fix the X setup, or at least tell LyX that the DPI is different
1154  than the detected value.
1155 \end_layout
1156
1157 \begin_layout Standard
1158 If you can't fix the X setup (which of course is best since other programs
1159  than LyX will benefit from this as well), you can tell LyX the correct
1160  DPI using the 
1161 \family sans
1162 Preferences
1163 \family default
1164  dialog.
1165 \end_layout
1166
1167 \begin_layout Standard
1168 If the text is too small or too big for your taste, you should fiddle with
1169  the font zoom setting.
1170  This setting is used to scale the point size of the text.
1171  If your DPI setting is correct, and the font zoom setting is set to 100,
1172  this means that LyX will try to display the text exactly the same size
1173  as it will appear on the paper-output.
1174  If you set the zoom factor to 200, the text will try to be 2 times as big
1175  as on paper.
1176  Of course, this will only happen if LyX can find a font that has the appropriat
1177 e size, which you can't count on.
1178  Since LyX is a WYSIWYM system anyways, this limitation isn't much of an
1179  issue.
1180 \end_layout
1181
1182 \begin_layout Standard
1183 The default font zoom setting is 150, since a monitor is typically wider
1184  than a piece of paper, but you should try to fiddle with it through the
1185  
1186 \family sans
1187 Font\InsetSpace ~
1188
1189 \bar under
1190 Z
1191 \bar default
1192 oom
1193 \family default
1194  setting in the 
1195 \family sans
1196 Preferences
1197 \family default
1198  dialog to find a size that you like.
1199  When you've found a setting that seems to work nicely for you (tip: use
1200  the 
1201 \family sans
1202 \bar under
1203 A
1204 \bar default
1205 pply
1206 \family default
1207  button to keep the dialog open while you experiment), you can make this
1208  setting the default by using the 
1209 \family sans
1210 \bar under
1211 S
1212 \bar default
1213 ave
1214 \family default
1215  button.
1216 \end_layout
1217
1218 \begin_layout Standard
1219 While it is often possible to find a suitable size for the text on the screen,
1220  this doesn't necessarily mean that the fonts are the best ones available
1221  on your system.
1222  In order to help you get the most out of your system, you can use the font
1223  definition commands to fine-tune the look of the text in greater detail
1224  than merely size.
1225 \end_layout
1226
1227 \begin_layout Subsection
1228 Font definition commands
1229 \end_layout
1230
1231 \begin_layout Standard
1232 As mentioned, LyX uses non-scalable bitmap fonts by default with the XForms
1233  frontend.
1234  For serif fonts, 
1235 \emph on
1236 times
1237 \emph default
1238  is used, for sans serif fonts, 
1239 \emph on
1240 helvetica
1241 \emph default
1242  is used, while 
1243 \emph on
1244 courier
1245 \emph default
1246  is used as the monospaced/typewriter font.
1247 \end_layout
1248
1249 \begin_layout Standard
1250 You can change all of these from within the 
1251 \family sans
1252 Preferences
1253 \family default
1254  dialog.
1255  The number of fonts that are available on different systems vary, but the
1256  program 
1257 \family typewriter
1258 xfontsel
1259 \family default
1260  should be available everywhere.
1261  Use that program to find candidate fonts.
1262  When you've found a font that you like, try to insert the first two elements
1263  of the name (called 
1264 \begin_inset Quotes eld
1265 \end_inset
1266
1267 fndry
1268 \begin_inset Quotes erd
1269 \end_inset
1270
1271  and 
1272 \begin_inset Quotes eld
1273 \end_inset
1274
1275 fmly
1276 \begin_inset Quotes erd
1277 \end_inset
1278
1279  in 
1280 \family typewriter
1281 xfontsel
1282 \family default
1283 ) in the appropriate field in the 
1284 \family sans
1285 Preferences
1286 \family default
1287  dialog and press 
1288 \family sans
1289 \bar under
1290 A
1291 \bar default
1292 pply
1293 \family default
1294 .
1295  LyX will then reformat your document using the new font, and if you like
1296  the font, you should 
1297 \family sans
1298 \bar under
1299 S
1300 \bar default
1301 ave
1302 \family default
1303  it.
1304  One place to start for a new font is to see if the scalable font 
1305 \begin_inset Quotes eld
1306 \end_inset
1307
1308 utopia
1309 \begin_inset Quotes erd
1310 \end_inset
1311
1312  is available.
1313  Tip: You can see whether a font is a bitmap font or a scalable font by
1314  checking the 
1315 \begin_inset Quotes eld
1316 \end_inset
1317
1318 resx
1319 \begin_inset Quotes erd
1320 \end_inset
1321
1322  or 
1323 \begin_inset Quotes eld
1324 \end_inset
1325
1326 resy
1327 \begin_inset Quotes erd
1328 \end_inset
1329
1330  fields in 
1331 \family typewriter
1332 xfontsel
1333 \family default
1334 .
1335  If the value 0 is available, the font is scalable.
1336  If the value 0 isn't available, the font is a bitmap font.
1337 \end_layout
1338
1339 \begin_layout Standard
1340 Before you go about scrapping a bitmap font because the larger sizes look
1341  
1342 \begin_inset Quotes eld
1343 \end_inset
1344
1345 blocky
1346 \begin_inset Quotes erd
1347 \end_inset
1348
1349 , you should toggle the 
1350 \begin_inset Quotes eld
1351 \end_inset
1352
1353 Use scalable fonts
1354 \begin_inset Quotes erd
1355 \end_inset
1356
1357  button.
1358  This is only useful if you use bitmap fonts, because only these don't scale
1359  well.
1360  If you define this flag, LyX will only use the fixed font sizes that are
1361  available, and this guarantees that all bitmap fonts look well.
1362  (You can see which individual font sizes are available with the 
1363 \family typewriter
1364 xlsfonts
1365 \family default
1366  command.
1367  Try 
1368 \family typewriter
1369 man xlsfonts
1370 \family default
1371 .) However, the prize is that the difference between the size of the fonts
1372  on screen and the size of fonts on paper will be larger because LyX will
1373  have to be satisfied with the closest available size, and not try to scale
1374  a size to fit.
1375  Also, you can risk that some logically different sizes, such as 
1376 \family sans
1377 Large
1378 \family default
1379  and 
1380 \family sans
1381 Larger
1382 \family default
1383 , will be mapped to the same screen font, making it hard for you to see
1384  the difference on screen.
1385  We've decided not to use scalable fonts by default because of these artifacts,
1386  but since LyX is a WYSIWYM system, many people like to use the flag anyways,
1387  well-knowing that the font size on the screen can't be trusted.
1388  But remember that this flag only makes a difference when you use bitmap
1389  fonts.
1390  Scalable fonts won't be affected for reasons you should understand by now.
1391 \end_layout
1392
1393 \begin_layout Standard
1394 One final note regarding this flag: you should know that there is nothing
1395  wrong with using bitmap and scalable fonts at the same time for different
1396  purposes.
1397  For instance, it's common to use the scalable 
1398 \begin_inset Quotes eld
1399 \end_inset
1400
1401 Utopia
1402 \begin_inset Quotes erd
1403 \end_inset
1404
1405  for the serif text together with a bitmap version of 
1406 \begin_inset Quotes eld
1407 \end_inset
1408
1409 Helvetica
1410 \begin_inset Quotes erd
1411 \end_inset
1412
1413 .
1414  And you can safely select the 
1415 \begin_inset Quotes eld
1416 \end_inset
1417
1418 Use scalable fonts
1419 \begin_inset Quotes erd
1420 \end_inset
1421
1422  button without worries: It will only apply to the Helvetica font.
1423 \end_layout
1424
1425 \begin_layout Standard
1426 Sometimes the artifacts introduced by use of the flag can be relieved by
1427  using the fine-detail screen font sizes which defines which point sizes
1428  the different logical font sizes correspond to.
1429  Run LyX as 
1430 \family typewriter
1431 lyx -dbg 513
1432 \family default
1433  to see exactly what concrete fonts the logical sizes map to, and try adjusting
1434  the corresponding entries in the 
1435 \family sans
1436 Preferences
1437 \family default
1438  dialog until you've managed to hit the nail and get the fonts you want.
1439  This can be hard to do, because LyX uses the DPI setting and the font zoom
1440  settings to calculate which exact screen font size to ask the X server
1441  for, thus obfuscating the mapping.
1442  If you can't make it by trial-and-error, you can make the process more
1443  transparent if you set both the DPI setting and font zoom settings to 100---eve
1444 n when this is known to be wrong.
1445  This will of course make your scalable fonts look weird, so use with care.
1446 \end_layout
1447
1448 \begin_layout Subsection
1449 Font encoding
1450 \end_layout
1451
1452 \begin_layout Standard
1453 By default, LyX will use fonts meant to write Western European text, including
1454  all kinds of English.
1455  This is defined through the so-called 
1456 \emph on
1457 font
1458 \emph default
1459  
1460 \emph on
1461 encoding
1462 \emph default
1463 .
1464  If you want to use LyX to write for instance Eastern European text, Cyrillic
1465  or any other language not covered by the ISO-8859-1 font encoding, you
1466  can define a different one with the encoding setting.
1467  This requires you to have special fonts installed.
1468  You can use 
1469 \family typewriter
1470 xfontsel
1471 \family default
1472  to see whether this is the case: check the 
1473 \begin_inset Quotes eld
1474 \end_inset
1475
1476 rgstry
1477 \begin_inset Quotes erd
1478 \end_inset
1479
1480  and 
1481 \begin_inset Quotes eld
1482 \end_inset
1483
1484 encdng
1485 \begin_inset Quotes erd
1486 \end_inset
1487
1488  fields for ISO-8859-X values different from ISO-8859-1, and search for
1489  one that contains the national characters of your language.
1490  If you find any, enter this encoding in the dialog.
1491  If not, go searching the Web for appropriate fonts.
1492  For the Qt frontend, it's recommended you use an iso646 font set.
1493 \end_layout
1494
1495 \begin_layout Standard
1496 When you've set LyX up to use a different font encoding, you should also
1497  consider changing the font used by dialog windows in LyX.
1498  For instance, the 
1499 \family sans
1500 Table\InsetSpace ~
1501 of\InsetSpace ~
1502 Contents
1503 \family default
1504  dialog will not be understandable unless you tell LyX to use a different
1505  font for this.
1506  By default the menu font is set to 
1507 \family typewriter
1508 -*-helvetica-medium-r
1509 \family default
1510 , but often Helvetica is not available in the font encoding you need, so
1511  the dialog allows this to be changed.
1512 \end_layout
1513
1514 \begin_layout Standard
1515 As you can see, there are quite a few options that can be used to fine tune
1516  the look of your fonts.
1517  This should not scare you from fiddling with the settings, because after
1518  all, you will hopefully be using LyX for many hours in the future.
1519  And contrary to real WYSIWYG word processors where you are tied to using
1520  fonts that have to look good both on paper and on screen, LyX gives you
1521  the possibility of using fonts that are designed to look good on the screen
1522  while using a different set of fonts to look good on paper.
1523 \end_layout
1524
1525 \begin_layout Section
1526 Bindings
1527 \begin_inset LatexCommand label
1528 name "sec:bindings"
1529
1530 \end_inset
1531
1532
1533 \end_layout
1534
1535 \begin_layout Standard
1536 Bindings are used to, well, bind a function to a key.
1537  Several prepackaged binding files are available: a CUA set of bindings
1538  (familiar as the typical set of PC and CDE set of keyboard shortcuts),
1539  an Emacs set of bindings, for those of us who follow the One True Way and
1540  refuse to lower our standards,
1541 \begin_inset Foot
1542 status collapsed
1543
1544 \begin_layout Standard
1545 I'm kidding here, of course!
1546 \end_layout
1547
1548 \end_inset
1549
1550  as well as specialty bindings (broadway and hollywood) and other languages
1551  (French, German, etc.).
1552 \end_layout
1553
1554 \begin_layout Standard
1555 If, however, you'd like to customise the keybindings to your own exacting
1556  tastes, then copy the best-fit file in 
1557 \family typewriter
1558 LyXDir/bind/
1559 \family default
1560  to your own 
1561 \family typewriter
1562 UserDir/bind/
1563 \family default
1564  and modify that.
1565  Don't forget to load this new file into LyX using the 
1566 \family sans
1567 Preferences
1568 \family default
1569  dialog.
1570  (For the moment you'll have to restart LyX for these changes to take effect.)
1571 \end_layout
1572
1573 \begin_layout Standard
1574 LyX supports internationalization of the user interface (see Chapter\InsetSpace ~
1575
1576 \begin_inset LatexCommand ref
1577 reference "chap:i18n"
1578
1579 \end_inset
1580
1581 ).
1582  If your 
1583 \emph on
1584 locale
1585 \emph default
1586  is set, with the environment variable 
1587 \family typewriter
1588 $LANG
1589 \family default
1590 , LyX will try to use bindfiles by prepending 
1591 \family typewriter
1592 $LANG_
1593 \family default
1594  to their name.
1595  For example, you can put a translated copy of some standard bind file in
1596  your personal 
1597 \family typewriter
1598 bind/
1599 \family default
1600  directory, and LyX will use it automatically.
1601 \end_layout
1602
1603 \begin_layout Standard
1604 The syntax of the 
1605 \family typewriter
1606 .bind
1607 \family default
1608  files is straightforward:
1609 \end_layout
1610
1611 \begin_layout Standard
1612
1613 \family typewriter
1614
1615 \backslash
1616 bind <key combination> <lyx-function>
1617 \end_layout
1618
1619 \begin_layout Standard
1620 Both key combination and lyx-function (including any arguments) must be
1621  enclosed in "double quotes".
1622  All the LyX functions are listed in the 
1623 \emph on
1624 Reference Guide
1625 \emph default
1626 .
1627 \end_layout
1628
1629 \begin_layout Section
1630 User Interface
1631 \begin_inset LatexCommand label
1632 name "sec:ui"
1633
1634 \end_inset
1635
1636
1637 \end_layout
1638
1639 \begin_layout Standard
1640 The appearance of both the menu and toolbar may both be changed using the
1641  
1642 \family sans
1643 Preferences
1644 \family default
1645  dialog.
1646  Simply change the 
1647 \family typewriter
1648 .ui
1649 \family default
1650  file in 
1651 \family typewriter
1652 LyXDir/ui/
1653 \family default
1654 .
1655  For the moment, only one file exists, 
1656 \family typewriter
1657 default.ui
1658 \family default
1659 , but feel free to experiment.
1660  Just copy the file to the 
1661 \family typewriter
1662 UserDir/ui/
1663 \family default
1664  directory and play! Note that, for the moment, you'll have to restart LyX
1665  for these changes to take effect.
1666 \end_layout
1667
1668 \begin_layout Standard
1669 The syntax of the 
1670 \family typewriter
1671 .ui
1672 \family default
1673  files is straightforward: have a look at 
1674 \family typewriter
1675 default.ui.
1676  The Menubar
1677 \family default
1678
1679 \family typewriter
1680 Menu
1681 \family default
1682  and 
1683 \family typewriter
1684 Toolbar
1685 \family default
1686  entries must be ended with an explicit 
1687 \family typewriter
1688 End
1689 \family default
1690 .
1691  They may contain 
1692 \family typewriter
1693 Submenu
1694 \family default
1695 s, 
1696 \family typewriter
1697 Item
1698 \family default
1699 s, 
1700 \family typewriter
1701 OptItem
1702 \family default
1703 s, 
1704 \family typewriter
1705 Separator
1706 \family default
1707 s, 
1708 \family typewriter
1709 Icon
1710 \family default
1711 s and in the case of the 
1712 \begin_inset Quotes eld
1713 \end_inset
1714
1715 file
1716 \begin_inset Quotes erd
1717 \end_inset
1718
1719  menus, a 
1720 \family typewriter
1721 Lastfiles
1722 \family default
1723  entry.
1724  One small word of warning.
1725  
1726 \family typewriter
1727 Submenu
1728 \family default
1729 s may be inserted in a 
1730 \family typewriter
1731 Menubar
1732 \family default
1733  or 
1734 \family typewriter
1735 Menu
1736 \family default
1737 , but they are defined as 
1738 \family typewriter
1739 Menu
1740 \family default
1741 s, not as 
1742 \family typewriter
1743 Submenu
1744 \family default
1745 s.
1746 \end_layout
1747
1748 \begin_layout Section
1749 \begin_inset LatexCommand label
1750 name "sec:converters-etc"
1751
1752 \end_inset
1753
1754 Converters, Formats, and Copiers
1755 \end_layout
1756
1757 \begin_layout Standard
1758 LyX has a powerful mechanism to convert to and from any file format using
1759  external programs.
1760  
1761 \end_layout
1762
1763 \begin_layout Subsection
1764 Formats
1765 \end_layout
1766
1767 \begin_layout Standard
1768 The first step is to define your file formats if they are not already defined.
1769  To do so, open the 
1770 \family sans
1771 Tools\SpecialChar \menuseparator
1772 Preferences:Converters
1773 \family default
1774  dialog.
1775  Enter a new format name; a new GUI name (used in e.\InsetSpace \thinspace{}
1776 g.\InsetSpace ~
1777 the 
1778 \family sans
1779 View
1780 \family default
1781  and 
1782 \family sans
1783 Export
1784 \family default
1785  menus); and a file extension.
1786  These are required.
1787  
1788 \end_layout
1789
1790 \begin_layout Standard
1791 The 
1792 \family sans
1793 Document format
1794 \family default
1795  option tells LyX that a format is suitable for document export.
1796  If this is is set and if a suitable conversion route exists, the format
1797  will appear in the 
1798 \family sans
1799 File\SpecialChar \menuseparator
1800 Export
1801 \family default
1802  menu.
1803  The format will also appear in the 
1804 \family sans
1805 View
1806 \family default
1807  menu if it has a specified viewer.
1808  Pure image formats, e.\InsetSpace \thinspace{}
1809 g.\InsetSpace ~
1810
1811 \family typewriter
1812 png
1813 \family default
1814 , should not use this option.
1815  Formats that can both represent vector graphics and documents like e.\InsetSpace \thinspace{}
1816 g.\InsetSpace ~
1817
1818 \family typewriter
1819 pdf
1820 \family default
1821  should use it.
1822 \end_layout
1823
1824 \begin_layout Standard
1825 The option 
1826 \family sans
1827 Vector graphics format
1828 \family default
1829  tells LyX that a format can contain vector graphics.
1830  This information is used to determine the target format of included graphics
1831  for 
1832 \family sans
1833 pdflatex
1834 \family default
1835  export.
1836  Included graphics may need to be converted to either 
1837 \family sans
1838 pdf
1839 \family default
1840
1841 \family sans
1842 png
1843 \family default
1844 , or 
1845 \family sans
1846 jpg
1847 \family default
1848 , since 
1849 \family sans
1850 pdflatex
1851 \family default
1852  cannot handle other image formats.
1853  If an included graphic is not already in 
1854 \family sans
1855 pdf
1856 \family default
1857
1858 \family sans
1859 png
1860 \family default
1861 , or 
1862 \family sans
1863 jpg
1864 \family default
1865  format, it is converted to 
1866 \family sans
1867 pdf
1868 \family default
1869  if the vector format option is set, and otherwise to 
1870 \family sans
1871 png
1872 \family default
1873 .
1874 \end_layout
1875
1876 \begin_layout Standard
1877 A Format can have a Viewer and Editor program associated with it.
1878  For example, you might want to use 
1879 \family sans
1880 Ghostview
1881 \family default
1882  to view PostScript files.
1883  You can enter the program call and its options to the corresponding fields.
1884  For the call you can use the four variable listed in the next section.
1885  The viewer is launched when you view an image in LyX or use the 
1886 \family sans
1887 View
1888 \family default
1889  menu.
1890  If the operating system has a default viewer associated to a format, this
1891  viewer is used instead of the one defined here when you enter in the Viewer
1892  field 
1893 \begin_inset Quotes eld
1894 \end_inset
1895
1896
1897 \family sans
1898 auto
1899 \family default
1900
1901 \begin_inset Quotes erd
1902 \end_inset
1903
1904 .
1905  The editor is for example launched when you press the 
1906 \family sans
1907 Edit
1908 \family default
1909  button in the 
1910 \family sans
1911 Graphics
1912 \family default
1913  or the 
1914 \family sans
1915 External material
1916 \family default
1917  dialog.
1918 \end_layout
1919
1920 \begin_layout Subsection
1921 Copiers
1922 \end_layout
1923
1924 \begin_layout Standard
1925 Each format can have a Copier associated with it.
1926  These are defined in the 
1927 \family sans
1928 Tools\SpecialChar \menuseparator
1929 Preferences:Copiers
1930 \family default
1931  dialog.
1932  Since all conversions from one format to another take place in LyX's temporary
1933  directory, it is sometimes necessary to modify a file before copying it
1934  to the temporary directory in order that the conversion may be performed.
1935 \begin_inset Foot
1936 status collapsed
1937
1938 \begin_layout Standard
1939 For example, the file may refer to other files---images, for example---using
1940  relative filenames, and these may become invalid when the file is copied
1941  to the temporary directory.
1942 \end_layout
1943
1944 \end_inset
1945
1946  This is done by the Copier: It copies a file to (or from) the temporary
1947  directory and may modify it in the process.
1948 \end_layout
1949
1950 \begin_layout Standard
1951 Copiers may also be used for other purposes.
1952  For example, if appropriate converters are found, LyX will automatically
1953  install copiers for the 
1954 \family sans
1955 HTML
1956 \family default
1957  and 
1958 \family sans
1959 HTML\InsetSpace ~
1960 (MS Word)
1961 \family default
1962  formats.
1963  When these formats are exported, the copier sees that not just the main
1964  HTML file but various associated files (style files, images, etc.) are also
1965  copied.
1966  All these files are written to a subdirectory of the directory in which
1967  the original LyX file was found.
1968 \end_layout
1969
1970 \begin_layout Standard
1971 Copier can of course be customized.
1972  The optional 
1973 \begin_inset Quotes eld
1974 \end_inset
1975
1976 -e
1977 \begin_inset Quotes erd
1978 \end_inset
1979
1980  argument takes a comma-separated list of extensions to be copied; if it
1981  is omitted, all files will be copied.
1982  The 
1983 \begin_inset Quotes eld
1984 \end_inset
1985
1986 -t
1987 \begin_inset Quotes erd
1988 \end_inset
1989
1990  argument determines the extension added to the generated directory.
1991  By default, it is 
1992 \begin_inset Quotes eld
1993 \end_inset
1994
1995
1996 \family sans
1997 LyXconv
1998 \family default
1999
2000 \begin_inset Quotes erd
2001 \end_inset
2002
2003 , so HTML generated from 
2004 \family sans
2005 /path/to/filename.lyx
2006 \family default
2007  will end up in 
2008 \family sans
2009 /path/to/filename.html.LyXconv
2010 \family default
2011 .
2012  
2013 \end_layout
2014
2015 \begin_layout Standard
2016 The definitions of the copiers may use four variables:
2017 \end_layout
2018
2019 \begin_layout List
2020 \labelwidthstring 00.00.0000
2021 $$s The LyX system directory (e.\InsetSpace \thinspace{}
2022 g.\InsetSpace ~
2023
2024 \family sans
2025 /usr/share/lyx
2026 \family default
2027 ).
2028 \end_layout
2029
2030 \begin_layout List
2031 \labelwidthstring 00.00.0000
2032 $$i The input file
2033 \end_layout
2034
2035 \begin_layout List
2036 \labelwidthstring 00.00.0000
2037 $$o The output file
2038 \end_layout
2039
2040 \begin_layout List
2041 \labelwidthstring 00.00.0000
2042 $$l The `LaTeX name'
2043 \end_layout
2044
2045 \begin_layout Standard
2046 The latter is to be given in a form suitable for inclusion in a LaTeX's
2047  
2048 \series bold
2049
2050 \backslash
2051 include
2052 \series default
2053  command and is relevant only when exporting files suitable for such inclusion.
2054 \end_layout
2055
2056 \begin_layout Subsection
2057 Converters
2058 \end_layout
2059
2060 \begin_layout Standard
2061 To define a new converter, select an existing one, select a different format
2062  in the 
2063 \family sans
2064 From\InsetSpace ~
2065 format
2066 \family default
2067  and\InsetSpace \thinspace{}
2068 /\InsetSpace \thinspace{}
2069 or 
2070 \family sans
2071 To\InsetSpace ~
2072 format
2073 \family default
2074  drop-down list, modify the 
2075 \family sans
2076 Converter
2077 \family default
2078  field, and press the 
2079 \family sans
2080 Add
2081 \family default
2082  button.
2083 \end_layout
2084
2085 \begin_layout Standard
2086 You do not have to define converters between all the formats between which
2087  you want to convert.
2088  For example, you will note that there is no `LyX to PostScript' converter,
2089  but LyX will export PostScript.
2090  It does so by first creating a LaTeX file (no converter needs to be defined
2091  for this) which is then converted to DVI using the `LaTeX to DVI' converter,
2092  and finally converts the resulting DVI file to PostScript.
2093  LyX finds such `chains' of converters automatically, and it will always
2094  choose the shortest possible chain.
2095  You can, though, still define multiple conversion methods between file
2096  formats.
2097  For example, the standard LyX configuration provides three ways to convert
2098  LaTeX to PDF: Directly, using 
2099 \family sans
2100 pdflatex
2101 \family default
2102 ; via (DVI and) PostScript, using 
2103 \family sans
2104 ps2pdf
2105 \family default
2106 ; or via DVI, using 
2107 \family sans
2108 dvipdfm
2109 \family default
2110 .
2111  To define such alternate chains, you must define multiple target `file
2112  formats', as described in the next section.
2113  For example in the standard configuration the formats named 
2114 \family sans
2115 pdf
2116 \family default
2117
2118 \family sans
2119 pdf2
2120 \family default
2121 , and 
2122 \family sans
2123 pdf3
2124 \family default
2125  are defined, all of which share the extension 
2126 \family sans
2127 .pdf
2128 \family default
2129 .
2130 \end_layout
2131
2132 \begin_layout Standard
2133 Several variables can be used in the definition of converters:
2134 \end_layout
2135
2136 \begin_layout List
2137 \labelwidthstring 00.00.0000
2138 $$s The LyX system directory
2139 \end_layout
2140
2141 \begin_layout List
2142 \labelwidthstring 00.00.0000
2143 $$i The input file
2144 \end_layout
2145
2146 \begin_layout List
2147 \labelwidthstring 00.00.0000
2148 $$o The output file
2149 \end_layout
2150
2151 \begin_layout List
2152 \labelwidthstring 00.00.0000
2153 $$b The base filename of the input file
2154 \end_layout
2155
2156 \begin_layout List
2157 \labelwidthstring 00.00.0000
2158 $$p The path to the input file
2159 \end_layout
2160
2161 \begin_layout Standard
2162 In the 
2163 \family sans
2164 Extra\InsetSpace ~
2165 Flag
2166 \family default
2167  field you can enter the following flags, separated by commas:
2168 \end_layout
2169
2170 \begin_layout List
2171 \labelwidthstring 00.00.0000
2172 latex This converter runs some form of LaTeX.
2173  This will make LyX's LaTeX error logs available.
2174 \end_layout
2175
2176 \begin_layout List
2177 \labelwidthstring 00.00.0000
2178 needaux Needs the LaTeX 
2179 \family sans
2180 .aux
2181 \family default
2182  file for the conversion.
2183 \end_layout
2184
2185 \begin_layout List
2186 \labelwidthstring 00.00.0000
2187 xml Output is XML.
2188 \end_layout
2189
2190 \begin_layout Standard
2191 The following three flags are not really flags at all because they take
2192  an argument in the 
2193 \family sans
2194 key\InsetSpace ~
2195 =\InsetSpace ~
2196 value
2197 \family default
2198  format:
2199 \end_layout
2200
2201 \begin_layout List
2202 \labelwidthstring 00.00.0000
2203 parselog If set, the converter's standard error will be redirected to a
2204  file 
2205 \family typewriter
2206 infile.out
2207 \family default
2208 , and the script given as argument will be run as: 
2209 \family typewriter
2210 script <infile.out >infile.log
2211 \family default
2212 .
2213  The argument may contain $$s.
2214 \end_layout
2215
2216 \begin_layout List
2217 \labelwidthstring 00.00.0000
2218 resultdir The name of the directory in which the 
2219 \emph on
2220 converter
2221 \emph default
2222  will dump the generated files.
2223  LyX will not create this directory, and it does not copy anything into
2224  it, though it will copy this directory to the destination.
2225  The argument may contain $$b, which will be replaced by the basename of
2226  the input and output files, respectively, when the directory is copied.
2227 \newline
2228 Note
2229  that resultdir and usetempdir make no sense together.
2230  The latter will be ignored if the former is given.
2231 \end_layout
2232
2233 \begin_layout List
2234 \labelwidthstring 00.00.0000
2235 resultfile Determines the output filename and may, contain $$b.
2236  Sensible only with resultdir, and optional even then; if not given, it
2237  defaults to `index'.
2238 \end_layout
2239
2240 \begin_layout Standard
2241 None of these last three are presently used in any of the converters that
2242  are installed with LyX.
2243  But see section 
2244 \begin_inset LatexCommand ref
2245 reference "sub:LyX-and-Literate"
2246
2247 \end_inset
2248
2249  of the Extended Features guide for some examples of how you might use parselog.
2250 \end_layout
2251
2252 \begin_layout Section
2253 BibTeX and makeindex
2254 \end_layout
2255
2256 \begin_layout Standard
2257 Both the bibliography generating command (default 
2258 \family typewriter
2259 bibtex
2260 \family default
2261 ) and the index generating command (default 
2262 \family typewriter
2263 makeindex
2264 \family default
2265  with options 
2266 \family typewriter
2267 -c
2268 \family default
2269  and 
2270 \family typewriter
2271 -q
2272 \family default
2273 ) can be changed.
2274  As an alternative for 
2275 \family typewriter
2276 makeindex
2277 \family default
2278
2279 \family typewriter
2280 xindy
2281 \family default
2282  can be recommended.
2283  
2284 \end_layout
2285
2286 \begin_layout Standard
2287 The command to enter is
2288 \end_layout
2289
2290 \begin_layout Quote
2291
2292 \family typewriter
2293 makeindex.sh -m $$lang
2294 \end_layout
2295
2296 \begin_layout Standard
2297 where the placeholder 
2298 \family typewriter
2299 $$lang
2300 \family default
2301  will be replaced by the chosen document (babel) language.
2302  For this, you must 
2303 \end_layout
2304
2305 \begin_layout Standard
2306 have installed the packages 
2307 \family typewriter
2308 xindy
2309 \family default
2310  and 
2311 \family typewriter
2312 make-rules
2313 \family default
2314  (
2315 \family typewriter
2316 xindy-make-rules
2317 \family default
2318 ).
2319  Type 
2320 \family typewriter
2321 makeindex.sh
2322 \family default
2323  at a shell prompt for a help page.
2324 \end_layout
2325
2326 \begin_layout Section
2327 Plain text export options
2328 \end_layout
2329
2330 \begin_layout Standard
2331 \begin_inset VSpace bigskip
2332 \end_inset
2333
2334
2335 \end_layout
2336
2337 \begin_layout Standard
2338 \noindent
2339 There are a couple of commands that can be used to 
2340 \begin_inset Quotes eld
2341 \end_inset
2342
2343 clean up
2344 \begin_inset Quotes erd
2345 \end_inset
2346
2347  exported plain text files.
2348  Note that LyX automatically detects and uses the best settings for your
2349  system at installation time, but you can modify them if you disagree with
2350  its interpretation.
2351 \end_layout
2352
2353 \begin_layout Description
2354
2355 \family typewriter
2356 \series medium
2357 Plain text\InsetSpace ~
2358 roff
2359 \family default
2360 \series default
2361  This option defines the command used to produce better plain text tables
2362  with the 
2363 \family typewriter
2364 groff/troff/nroff
2365 \family default
2366  UNIX-commands (refer to their manpages for more information about them).
2367  Setting this as empty tells LyX to use the internal (inferior) formatter.
2368 \end_layout
2369
2370 \begin_layout Description
2371
2372 \family typewriter
2373 \series medium
2374 Plain text\InsetSpace ~
2375 line\InsetSpace ~
2376 length
2377 \family default
2378 \series default
2379  With this command you can set the default line length of the plain text
2380  output file.
2381  Setting it to 0 means endless lines.
2382 \end_layout
2383
2384 \begin_layout Section
2385 Printer
2386 \end_layout
2387
2388 \begin_layout Standard
2389 There are a bunch of configuration options that are used for interaction
2390  with the external print command from LyX.
2391  Normally the defaults are fine: if, however, your print command takes different
2392  option names, you can modify them here.
2393 \end_layout
2394
2395 \begin_layout Subsection
2396 Changing Colors
2397 \end_layout
2398
2399 \begin_layout Standard
2400 You can change the colors used by LyX on-screen using the new 
2401 \family sans
2402 Preferences
2403 \family default
2404  dialog.
2405  Alternatively, if you're feeling particularly perverse you could use the
2406  
2407 \family typewriter
2408 set-color
2409 \family default
2410  bindable function (see the 
2411 \emph on
2412 Reference Guide
2413 \emph default
2414 ).
2415  Input would have the format:
2416 \end_layout
2417
2418 \begin_layout Standard
2419
2420 \family typewriter
2421 set-color LyXName X11Color
2422 \end_layout
2423
2424 \begin_layout Standard
2425 Here is a (partial) list of the functions and default colors:
2426 \end_layout
2427
2428 \begin_layout Standard
2429 \align center
2430 \begin_inset Tabular
2431 <lyxtabular version="3" rows="10" columns="3">
2432 <features>
2433 <column alignment="left" valignment="top" leftline="true" width="0pt">
2434 <column alignment="left" valignment="top" leftline="true" width="0pt">
2435 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2436 <row topline="true" bottomline="true">
2437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2438 \begin_inset Text
2439
2440 \begin_layout Standard
2441
2442 \family roman
2443 \series medium
2444 \shape up
2445 \size normal
2446 \emph off
2447 \bar no
2448 \noun off
2449 \color none
2450 LyX Name
2451 \end_layout
2452
2453 \end_inset
2454 </cell>
2455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2456 \begin_inset Text
2457
2458 \begin_layout Standard
2459
2460 \family roman
2461 \series medium
2462 \shape up
2463 \size normal
2464 \emph off
2465 \bar no
2466 \noun off
2467 \color none
2468 Purpose
2469 \end_layout
2470
2471 \end_inset
2472 </cell>
2473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2474 \begin_inset Text
2475
2476 \begin_layout Standard
2477
2478 \family roman
2479 \series medium
2480 \shape up
2481 \size normal
2482 \emph off
2483 \bar no
2484 \noun off
2485 \color none
2486 Default Color (X11)
2487 \end_layout
2488
2489 \end_inset
2490 </cell>
2491 </row>
2492 <row topline="true">
2493 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2494 \begin_inset Text
2495
2496 \begin_layout Standard
2497
2498 \family roman
2499 \series medium
2500 \shape up
2501 \size normal
2502 \emph off
2503 \bar no
2504 \noun off
2505 \color none
2506 background
2507 \end_layout
2508
2509 \end_inset
2510 </cell>
2511 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2512 \begin_inset Text
2513
2514 \begin_layout Standard
2515
2516 \family roman
2517 \series medium
2518 \shape up
2519 \size normal
2520 \emph off
2521 \bar no
2522 \noun off
2523 \color none
2524 text background
2525 \end_layout
2526
2527 \end_inset
2528 </cell>
2529 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2530 \begin_inset Text
2531
2532 \begin_layout Standard
2533
2534 \family roman
2535 \series medium
2536 \shape up
2537 \size normal
2538 \emph off
2539 \bar no
2540 \noun off
2541 \color none
2542 black
2543 \end_layout
2544
2545 \end_inset
2546 </cell>
2547 </row>
2548 <row topline="true">
2549 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2550 \begin_inset Text
2551
2552 \begin_layout Standard
2553
2554 \family roman
2555 \series medium
2556 \shape up
2557 \size normal
2558 \emph off
2559 \bar no
2560 \noun off
2561 \color none
2562 foreground
2563 \end_layout
2564
2565 \end_inset
2566 </cell>
2567 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2568 \begin_inset Text
2569
2570 \begin_layout Standard
2571
2572 \family roman
2573 \series medium
2574 \shape up
2575 \size normal
2576 \emph off
2577 \bar no
2578 \noun off
2579 \color none
2580 text foreground
2581 \end_layout
2582
2583 \end_inset
2584 </cell>
2585 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2586 \begin_inset Text
2587
2588 \begin_layout Standard
2589
2590 \family roman
2591 \series medium
2592 \shape up
2593 \size normal
2594 \emph off
2595 \bar no
2596 \noun off
2597 \color none
2598 linen
2599 \end_layout
2600
2601 \end_inset
2602 </cell>
2603 </row>
2604 <row topline="true">
2605 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2606 \begin_inset Text
2607
2608 \begin_layout Standard
2609
2610 \family roman
2611 \series medium
2612 \shape up
2613 \size normal
2614 \emph off
2615 \bar no
2616 \noun off
2617 \color none
2618 latex
2619 \end_layout
2620
2621 \end_inset
2622 </cell>
2623 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2624 \begin_inset Text
2625
2626 \begin_layout Standard
2627
2628 \family roman
2629 \series medium
2630 \shape up
2631 \size normal
2632 \emph off
2633 \bar no
2634 \noun off
2635 \color none
2636 LaTeX code
2637 \end_layout
2638
2639 \end_inset
2640 </cell>
2641 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2642 \begin_inset Text
2643
2644 \begin_layout Standard
2645
2646 \family roman
2647 \series medium
2648 \shape up
2649 \size normal
2650 \emph off
2651 \bar no
2652 \noun off
2653 \color none
2654 DarkRed
2655 \end_layout
2656
2657 \end_inset
2658 </cell>
2659 </row>
2660 <row topline="true">
2661 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665
2666 \family roman
2667 \series medium
2668 \shape up
2669 \size normal
2670 \emph off
2671 \bar no
2672 \noun off
2673 \color none
2674 math
2675 \end_layout
2676
2677 \end_inset
2678 </cell>
2679 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2680 \begin_inset Text
2681
2682 \begin_layout Standard
2683
2684 \family roman
2685 \series medium
2686 \shape up
2687 \size normal
2688 \emph off
2689 \bar no
2690 \noun off
2691 \color none
2692 Mathed formulae
2693 \end_layout
2694
2695 \end_inset
2696 </cell>
2697 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2698 \begin_inset Text
2699
2700 \begin_layout Standard
2701
2702 \family roman
2703 \series medium
2704 \shape up
2705 \size normal
2706 \emph off
2707 \bar no
2708 \noun off
2709 \color none
2710 DarkBlue
2711 \end_layout
2712
2713 \end_inset
2714 </cell>
2715 </row>
2716 <row topline="true">
2717 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2718 \begin_inset Text
2719
2720 \begin_layout Standard
2721
2722 \family roman
2723 \series medium
2724 \shape up
2725 \size normal
2726 \emph off
2727 \bar no
2728 \noun off
2729 \color none
2730 mathline
2731 \end_layout
2732
2733 \end_inset
2734 </cell>
2735 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2736 \begin_inset Text
2737
2738 \begin_layout Standard
2739
2740 \family roman
2741 \series medium
2742 \shape up
2743 \size normal
2744 \emph off
2745 \bar no
2746 \noun off
2747 \color none
2748 fraction Lines, brackets, etc.
2749 \end_layout
2750
2751 \end_inset
2752 </cell>
2753 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2754 \begin_inset Text
2755
2756 \begin_layout Standard
2757
2758 \family roman
2759 \series medium
2760 \shape up
2761 \size normal
2762 \emph off
2763 \bar no
2764 \noun off
2765 \color none
2766 Blue
2767 \end_layout
2768
2769 \end_inset
2770 </cell>
2771 </row>
2772 <row topline="true">
2773 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2774 \begin_inset Text
2775
2776 \begin_layout Standard
2777
2778 \family roman
2779 \series medium
2780 \shape up
2781 \size normal
2782 \emph off
2783 \bar no
2784 \noun off
2785 \color none
2786 mathbg
2787 \end_layout
2788
2789 \end_inset
2790 </cell>
2791 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2792 \begin_inset Text
2793
2794 \begin_layout Standard
2795
2796 \end_layout
2797
2798 \end_inset
2799 </cell>
2800 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2801 \begin_inset Text
2802
2803 \begin_layout Standard
2804
2805 \family roman
2806 \series medium
2807 \shape up
2808 \size normal
2809 \emph off
2810 \bar no
2811 \noun off
2812 \color none
2813 AntiqueWhite
2814 \end_layout
2815
2816 \end_inset
2817 </cell>
2818 </row>
2819 <row topline="true">
2820 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2821 \begin_inset Text
2822
2823 \begin_layout Standard
2824
2825 \family roman
2826 \series medium
2827 \shape up
2828 \size normal
2829 \emph off
2830 \bar no
2831 \noun off
2832 \color none
2833 mathframe
2834 \end_layout
2835
2836 \end_inset
2837 </cell>
2838 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2839 \begin_inset Text
2840
2841 \begin_layout Standard
2842
2843 \end_layout
2844
2845 \end_inset
2846 </cell>
2847 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851
2852 \family roman
2853 \series medium
2854 \shape up
2855 \size normal
2856 \emph off
2857 \bar no
2858 \noun off
2859 \color none
2860 Magenta
2861 \end_layout
2862
2863 \end_inset
2864 </cell>
2865 </row>
2866 <row topline="true">
2867 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Standard
2871
2872 \family roman
2873 \series medium
2874 \shape up
2875 \size normal
2876 \emph off
2877 \bar no
2878 \noun off
2879 \color none
2880 mathcursor
2881 \end_layout
2882
2883 \end_inset
2884 </cell>
2885 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2886 \begin_inset Text
2887
2888 \begin_layout Standard
2889
2890 \end_layout
2891
2892 \end_inset
2893 </cell>
2894 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2895 \begin_inset Text
2896
2897 \begin_layout Standard
2898
2899 \family roman
2900 \series medium
2901 \shape up
2902 \size normal
2903 \emph off
2904 \bar no
2905 \noun off
2906 \color none
2907 black
2908 \end_layout
2909
2910 \end_inset
2911 </cell>
2912 </row>
2913 <row topline="true" bottomline="true">
2914 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2915 \begin_inset Text
2916
2917 \begin_layout Standard
2918
2919 \family roman
2920 \series medium
2921 \shape up
2922 \size normal
2923 \emph off
2924 \bar no
2925 \noun off
2926 \color none
2927 selection
2928 \end_layout
2929
2930 \end_inset
2931 </cell>
2932 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2933 \begin_inset Text
2934
2935 \begin_layout Standard
2936
2937 \family roman
2938 \series medium
2939 \shape up
2940 \size normal
2941 \emph off
2942 \bar no
2943 \noun off
2944 \color none
2945 selection background
2946 \end_layout
2947
2948 \end_inset
2949 </cell>
2950 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2951 \begin_inset Text
2952
2953 \begin_layout Standard
2954
2955 \family roman
2956 \series medium
2957 \shape up
2958 \size normal
2959 \emph off
2960 \bar no
2961 \noun off
2962 \color none
2963 LightBlue
2964 \end_layout
2965
2966 \end_inset
2967 </cell>
2968 </row>
2969 </lyxtabular>
2970
2971 \end_inset
2972
2973
2974 \end_layout
2975
2976 \begin_layout Section
2977 The autodetected settings
2978 \end_layout
2979
2980 \begin_layout Standard
2981 \begin_inset LatexCommand label
2982 name "sec:autodetected"
2983
2984 \end_inset
2985
2986 There are several items that are detected for you when you run 
2987 \family sans
2988 \bar under
2989 T
2990 \bar default
2991 ools
2992 \bar under
2993 \SpecialChar \menuseparator
2994 R
2995 \bar default
2996 econfigure
2997 \family default
2998 .
2999  In this section, we list those which pertain to the user preferences.
3000 \end_layout
3001
3002 \begin_layout Description
3003
3004 \family typewriter
3005 \series medium
3006
3007 \backslash
3008 plaintext_roff_command
3009 \family default
3010 \series default
3011  uses either 
3012 \family typewriter
3013 groff
3014 \family default
3015  or 
3016 \family typewriter
3017 nroff
3018 \family default
3019 +
3020 \family typewriter
3021 tbl
3022 \family default
3023 , depending on what is available.
3024 \end_layout
3025
3026 \begin_layout Description
3027
3028 \family typewriter
3029 \series medium
3030
3031 \backslash
3032 chktex_command
3033 \family default
3034 \series default
3035  is set to 
3036 \family typewriter
3037 chktex
3038 \family default
3039  plus a bunch of options.
3040 \end_layout
3041
3042 \begin_layout Description
3043
3044 \family typewriter
3045 \series medium
3046
3047 \backslash
3048 print_spool_command
3049 \family default
3050 \series default
3051  is set to 
3052 \family typewriter
3053 lp
3054 \family default
3055  on systems (so-called System V) who have this command, and 
3056 \family typewriter
3057 lpr
3058 \family default
3059  otherwise (BSD systems).
3060 \end_layout
3061
3062 \begin_layout Description
3063
3064 \family typewriter
3065 \series medium
3066
3067 \backslash
3068 print_spool_printerprefix
3069 \family default
3070 \series default
3071  is set to 
3072 \family typewriter
3073 -d
3074 \family default
3075  or 
3076 \family typewriter
3077 -P
3078 \family default
3079 , depending on whether 
3080 \family typewriter
3081 lp
3082 \family default
3083  or 
3084 \family typewriter
3085 lpr
3086 \family default
3087  was found.
3088 \end_layout
3089
3090 \begin_layout Description
3091
3092 \family typewriter
3093 \series medium
3094
3095 \backslash
3096 font_encoding
3097 \family default
3098 \series default
3099  is set to 
3100 \family typewriter
3101 T1
3102 \family default
3103  if the 
3104 \family typewriter
3105 ec
3106 \family default
3107  fonts are found and LaTeX has support for these fonts built-in.
3108  You can set it manually if you only have the so-called 
3109 \family typewriter
3110 dc
3111 \family default
3112  fonts.
3113 \end_layout
3114
3115 \begin_layout Section
3116 The rest
3117 \end_layout
3118
3119 \begin_layout Standard
3120 There are many other configuration options that can be used to customize
3121  LyX behavior.
3122  We still need to document them here, but again, most should be fairly obvious.
3123  Please ask on the mailing lists if you need some more information; it may
3124  even prompt us to expand this section.
3125 \end_layout
3126
3127 \begin_layout Chapter
3128 Internationalizing LyX
3129 \begin_inset LatexCommand label
3130 name "chap:i18n"
3131
3132 \end_inset
3133
3134
3135 \end_layout
3136
3137 \begin_layout Standard
3138 LyX supports using a translated interface.
3139  Last time we checked, LyX provided text in 14 languages together with the
3140  default English text.
3141  The language of choice is called your 
3142 \emph on
3143 locale
3144 \emph default
3145 .
3146  (For further reading on locale settings, see also the documentation for
3147  locale that comes with your operating system.
3148  For Linux, the manual page for locale(5) could be a good place to start).
3149 \end_layout
3150
3151 \begin_layout Standard
3152 Notice that these translations will work, but do contain a few flaws.
3153  In particular, all dialogs have been designed with the English text in
3154  mind, which means that some of the translated text will be too large to
3155  fit within the space allocated.
3156  This is only a display problem and will not cause any harm.
3157  Also, you will find that some of the translations do not define short-cut
3158  keys for everything.
3159  Sometimes, there are simply not enough free letters to do it.
3160  Other times, the translator just hasn't got around to doing it yet.
3161  Our localization team -- which you may wish to join -- will try to fix
3162  these shortcomings in future versions of LyX.
3163 \end_layout
3164
3165 \begin_layout Section
3166 Selecting an alternative language for the user interface
3167 \end_layout
3168
3169 \begin_layout Standard
3170 This feature is disabled by default, meaning that system default language
3171  will be used.
3172  To enable an alternative language, you have to set an appropriate environment
3173  variable.
3174  Use 
3175 \family typewriter
3176 "setenv LANG xx"
3177 \family default
3178  
3179 \family roman
3180 for csh class shells
3181 \family default
3182  or 
3183 \family typewriter
3184 "export LANG=xx"
3185 \family default
3186  
3187 \family roman
3188 for sh class shells
3189 \family default
3190 .
3191  Substitute the 
3192 \family typewriter
3193 xx
3194 \family default
3195  with the two letter code (or four letter code, like 
3196 \family typewriter
3197 en_GB
3198 \family default
3199  for British English) for the language you want.
3200  For instance, 
3201 \family typewriter
3202 no
3203 \family default
3204  is Norwegian.
3205  Besides the user interface texts being translated, also the appropriate
3206  manuals will be presented under the Help menu -- if available.
3207 \end_layout
3208
3209 \begin_layout Standard
3210 On some systems, you may have to redefine 
3211 \family typewriter
3212 LC_ALL
3213 \family default
3214  or 
3215 \family typewriter
3216 LC_MESSAGES
3217 \family default
3218  instead of 
3219 \family typewriter
3220 LANG
3221 \family default
3222 , to override the system settings; their preference is in this order
3223 \begin_inset Foot
3224 status collapsed
3225
3226 \begin_layout Standard
3227 The shell variable LANGUAGE has been disabled in LyX for technical reasons.
3228  Don't use it.
3229 \end_layout
3230
3231 \end_inset
3232
3233 , which corresponds to the way GNU 
3234 \family typewriter
3235 gettext
3236 \family default
3237  does it.
3238  Consult your system documentation.
3239  Normally, you'll want to put the appropriate line in a shell script run
3240  on start-up, so that the translation is on by default.
3241  Remember that this affects 
3242 \emph on
3243 all
3244 \emph default
3245  localized packages, not only LyX! 
3246 \end_layout
3247
3248 \begin_layout Standard
3249 If LyX is configured and compiled with 
3250 \begin_inset Quotes eld
3251 \end_inset
3252
3253
3254 \family typewriter
3255 --disable-nls
3256 \family default
3257
3258 \begin_inset Quotes erd
3259 \end_inset
3260
3261 , this mechanism will not work.
3262 \end_layout
3263
3264 \begin_layout Section
3265 Translating LyX
3266 \end_layout
3267
3268 \begin_layout Subsection
3269 Translating the graphical user interface (text messages).
3270 \end_layout
3271
3272 \begin_layout Standard
3273 LyX uses the GNU 
3274 \family typewriter
3275 gettext
3276 \family default
3277  library to handle the internationalization of the interface.
3278  To have LyX speak your favorite language in all menus and dialogs, you
3279  need a 
3280 \family typewriter
3281 po
3282 \family default
3283 -file for that language.
3284  When this is available, you'll have to generate a mo-file from it and install
3285  the 
3286 \family typewriter
3287 mo
3288 \family default
3289 -file.
3290  The process of doing all of this is explained in the documentation for
3291  GNU 
3292 \family typewriter
3293 gettext
3294 \family default
3295 , but in short, this is what you do (
3296 \series bold
3297 xx
3298 \series default
3299  denotes the language code):
3300 \end_layout
3301
3302 \begin_layout Standard
3303 \begin_inset ERT
3304 status inlined
3305
3306 \begin_layout Standard
3307
3308
3309 \backslash
3310 begin{sloppypar}
3311 \end_layout
3312
3313 \end_inset
3314
3315
3316 \end_layout
3317
3318 \begin_layout Itemize
3319 Copy 
3320 \family typewriter
3321 LYX-SOURCE-DIR/po/lyx.pot
3322 \family default
3323  to 
3324 \series bold
3325 xx
3326 \family typewriter
3327 \series default
3328 .po
3329 \family default
3330  (if 
3331 \family typewriter
3332 lyx.pot
3333 \family default
3334  doesn't exist, it can be remade with 
3335 \family typewriter
3336 make lyx.pot
3337 \family default
3338  in that directory, or you can use an existing po-file for some other language
3339  as a template).
3340 \end_layout
3341
3342 \begin_layout Itemize
3343 Edit 
3344 \family typewriter
3345 xx.po
3346 \begin_inset Foot
3347 status collapsed
3348
3349 \begin_layout Standard
3350 We recommend that you use Emacs to do this, since the 
3351 \family typewriter
3352 gettext
3353 \family default
3354  distribution includes a nice mode that supports you in doing this.
3355 \end_layout
3356
3357 \end_inset
3358
3359
3360 \family default
3361 .
3362  For some menu- and widget-labels, there are also shortcut keys that should
3363  be translated.
3364  Those keys are marked after a `|', and should be translated according to
3365  the words and phrases of the 
3366 \series bold
3367 xx
3368 \series default
3369 -language.
3370  There is a tool named 
3371 \family typewriter
3372 scgen.pl
3373 \family default
3374  written in Prolog in 
3375 \family typewriter
3376 LYX-SOURCE-DIR/development/tools/
3377 \family default
3378  that may be useful to help determine short-cut keys.
3379  Note that XForms (version 0.86 at least) can't handle anything but 7-bit
3380  characters as shortcut keys.
3381  You should also fill also out the information at the beginning of the new
3382  
3383 \family typewriter
3384 po
3385 \family default
3386 -file with your email-address, etc., so people know where to reach you with
3387  suggestions and entertaining flames.
3388 \end_layout
3389
3390 \begin_layout Itemize
3391 Generate 
3392 \series bold
3393 xx
3394 \family typewriter
3395 \series default
3396 .mo
3397 \family default
3398 .
3399  This can be done with
3400 \newline
3401
3402 \family typewriter
3403 msgfmt -o
3404 \family default
3405  
3406 \series bold
3407 xx
3408 \family typewriter
3409 \series default
3410 .mo <
3411 \family default
3412  
3413 \series bold
3414 xx
3415 \family typewriter
3416 \series default
3417 .po
3418 \end_layout
3419
3420 \begin_layout Itemize
3421 Copy the 
3422 \family typewriter
3423 mo
3424 \family default
3425 -file to your locale-tree, at the correct directory for application messages
3426  for the language 
3427 \series bold
3428 xx
3429 \series default
3430 , and under the name 
3431 \family typewriter
3432 lyx.mo
3433 \family default
3434
3435 \newline
3436 (e.g.
3437  
3438 \family typewriter
3439 /usr/local/share/locale/
3440 \family default
3441 \series bold
3442 xx
3443 \family typewriter
3444 \series default
3445 /LC_MESSAGES/lyx.mo
3446 \family default
3447 )
3448 \end_layout
3449
3450 \begin_layout Standard
3451 \begin_inset ERT
3452 status inlined
3453
3454 \begin_layout Standard
3455
3456
3457 \backslash
3458 end{sloppypar}
3459 \end_layout
3460
3461 \end_inset
3462
3463
3464 \end_layout
3465
3466 \begin_layout Standard
3467 Adding a new po-file to the 
3468 \emph on
3469 distribution
3470 \emph default
3471  of LyX involves altering the configure scripts and more, but the way 
3472 \family typewriter
3473 gettext
3474 \family default
3475  works, you don't actually need the source-code of LyX to translate it---having
3476  
3477 \family typewriter
3478 lyx.pot
3479 \family default
3480  (or an existing 
3481 \family typewriter
3482 po
3483 \family default
3484 -file) and the 
3485 \family typewriter
3486 gettext
3487 \family default
3488  tools suffices.
3489 \end_layout
3490
3491 \begin_layout Standard
3492 If you've written a translation file for a language that LyX does not currently
3493  support, feel free to submit it for inclusion by sending a patch.
3494  In this case, we recommend that you read the 
3495 \family typewriter
3496 README
3497 \family default
3498  provided in the 
3499 \family typewriter
3500 LYX-SOURCE-DIR/po/
3501 \family default
3502  directory for more instructions.
3503 \end_layout
3504
3505 \begin_layout Subsubsection
3506 Ambigous messages
3507 \end_layout
3508
3509 \begin_layout Standard
3510 Sometimes it turns out that one english message needs to be translated into
3511  different messages in the target language.
3512  One example is the message 
3513 \family typewriter
3514 To
3515 \family default
3516  which has the german translation 
3517 \family typewriter
3518 \lang german
3519 Nach
3520 \family default
3521 \lang english
3522  or 
3523 \family typewriter
3524 \lang german
3525 Bis
3526 \family default
3527 \lang english
3528 .
3529  
3530 \family typewriter
3531 gettext
3532 \family default
3533  does not handle such ambigous translations.
3534  Therefore you have to add some context information to the message: Instead
3535  of 
3536 \family typewriter
3537 To
3538 \family default
3539  it becomes 
3540 \family typewriter
3541 To[[as in 'From format x to format y']]
3542 \family default
3543  and 
3544 \family typewriter
3545 To[[as in 'From page x to page y']].
3546
3547 \family default
3548  Now the two occurences of 
3549 \family typewriter
3550 To
3551 \family default
3552  are different for 
3553 \family typewriter
3554 gettext
3555 \family default
3556  and can be translated correctly to 
3557 \family typewriter
3558 \lang german
3559 Nach
3560 \family default
3561 \lang english
3562  and 
3563 \family typewriter
3564 \lang german
3565 Bis
3566 \family default
3567 \lang english
3568 , respectively.
3569 \end_layout
3570
3571 \begin_layout Standard
3572 Of course the context information needs to be stripped off the original
3573  message when no translation is used.
3574  Therefore you have to put it in double square brackets at the end of the
3575  message (see the example above).
3576  The translation mechanism of LyX ensures that everything in double square
3577  brackets at the end of messages is removed before displaying the message.
3578 \end_layout
3579
3580 \begin_layout Subsection
3581 Translating the documentation.
3582 \end_layout
3583
3584 \begin_layout Standard
3585 The online documentation (in the 
3586 \family sans
3587 \bar under
3588 H
3589 \bar default
3590 elp
3591 \family default
3592 -menu) can (and should!) be translated.
3593  If there are translated versions of the documentation available
3594 \begin_inset Foot
3595 status collapsed
3596
3597 \begin_layout Standard
3598 As of February 2003, almost all of the docs have been translated into German
3599  and French.
3600  The 
3601 \emph on
3602 Tutorial
3603 \emph default
3604  has been translated into at least 12 other languages, with other translations
3605  in progress.
3606  The library of translated documents is growing rapidly.
3607 \end_layout
3608
3609 \end_inset
3610
3611 , and the locale is set accordingly, these will be used automagically by
3612  LyX.
3613  LyX looks for translated versions as 
3614 \family typewriter
3615 LyXDir/doc/
3616 \series bold
3617 xx
3618 \series default
3619 _DocName.lyx
3620 \family default
3621 , where 
3622 \family typewriter
3623 \series bold
3624 xx
3625 \family default
3626 \series default
3627  denotes the language as set by the environmental variable 
3628 \family typewriter
3629 $LANG
3630 \family default
3631 .
3632  If there are none, the default English versions will be displayed.
3633  Note that the translated versions must have the same filenames (
3634 \family typewriter
3635 DocName
3636 \family default
3637  above) as the original.
3638  If you feel up to translating the documentation (an excellent way to proof-read
3639  the original documentation BTW!), there are a few things you should do
3640  right away:
3641 \end_layout
3642
3643 \begin_layout Itemize
3644 Read 
3645 \family typewriter
3646 DocStyle.lyx
3647 \family default
3648 , the guide to writing LyX documentation.
3649  Pay special attention to the translator's section.
3650 \end_layout
3651
3652 \begin_layout Itemize
3653 Check out the documentation translation web page at 
3654 \begin_inset LatexCommand url
3655 name "The LyX Developer's Web Site"
3656 target "http://www.devel.lyx.org"
3657
3658 \end_inset
3659
3660 .
3661  That way, you can find out which (if any) documents have already been translate
3662 d into your language.
3663  You can also find out who (if anyone) is organizing the effort to translate
3664  the documentation into your language.
3665  If no one is organizing the effort, please let us know that you're interested.
3666 \end_layout
3667
3668 \begin_layout Standard
3669 Once you get to actually translating, here's a few hints for you that may
3670  save you trouble:
3671 \end_layout
3672
3673 \begin_layout Itemize
3674 Join the documentation team! There is information on how to do that in 
3675 \family typewriter
3676 Intro.lyx
3677 \family default
3678  (
3679 \family sans
3680 \bar under
3681 H
3682 \bar default
3683 elp\SpecialChar \menuseparator
3684
3685 \bar under
3686 I
3687 \bar default
3688 ntroduction
3689 \family default
3690 ), which by the way is the first document you should translate.
3691 \end_layout
3692
3693 \begin_layout Itemize
3694 Learn the typographic conventions for the language you are translating to.
3695  Typography is an ancient art and over the centuries, a great variety of
3696  conventions have developed throughout different parts of the world.
3697  Also study the professional terminology amongst typographers in your country.
3698  Inventing your own terminology will only confuse the users.
3699  
3700 \emph on
3701 (Warning! Typography is addictive!)
3702 \end_layout
3703
3704 \begin_layout Itemize
3705 Make a copy of the document.
3706  This will be your working copy.
3707  You can use this as your personal translated help-file by placing it in
3708  your 
3709 \family typewriter
3710 ~/.lyx/doc/
3711 \family default
3712 -directory.
3713 \end_layout
3714
3715 \begin_layout Itemize
3716 Sometimes the original document (from the LyX-team) will be updated.
3717  Use the ViewCVS tool available at 
3718 \begin_inset LatexCommand htmlurl
3719 target "http://www.lyx.org/viewcvs.cgi/lyxdoc/"
3720
3721 \end_inset
3722
3723  to see what has been changed
3724 \begin_inset Foot
3725 status collapsed
3726
3727 \begin_layout Standard
3728 Alternatively, you can keep a copy of the latest version of the English
3729  document which you've translated.
3730 \end_layout
3731
3732 \end_inset
3733
3734 .
3735  That way you can easily see which parts of the translated document need
3736  to be updated.
3737 \end_layout
3738
3739 \begin_layout Itemize
3740 If you ever find an error in the original document, fix it and notify the
3741  rest of the documentation team of the changes! (You didn't forget to join
3742  the documentation team did you?)
3743 \end_layout
3744
3745 \begin_layout Section
3746 International Keyboard Support
3747 \end_layout
3748
3749 \begin_layout Standard
3750
3751 \emph on
3752 [Editor's Note: The following section is by
3753 \emph default
3754  
3755 \shape smallcaps
3756 \emph on
3757 Ivan Schreter
3758 \shape default
3759 .
3760  It needs to be fixed to conform to the new Documentation Style sheet and
3761  to make use of the new v1.0 features.
3762  The whole thing also needs to be merged with the section following it.-jw]
3763 \end_layout
3764
3765 \begin_layout Subsection
3766 Defining Own Keymaps: Keymap File Format
3767 \end_layout
3768
3769 \begin_layout Standard
3770 Let's look at a keyboard definition file a little closer.
3771  It is a plain text file defining
3772 \end_layout
3773
3774 \begin_layout Itemize
3775 key-to-key or key-to-string translations
3776 \end_layout
3777
3778 \begin_layout Itemize
3779 dead keys
3780 \end_layout
3781
3782 \begin_layout Itemize
3783 dead keys exceptions
3784 \end_layout
3785
3786 \begin_layout Standard
3787 To define key-to-key or key-to-string translation, use this command:
3788 \end_layout
3789
3790 \begin_layout Quotation
3791
3792 \family typewriter
3793
3794 \backslash
3795 kmap
3796 \family default
3797  
3798 \family typewriter
3799 key
3800 \family default
3801  
3802 \family typewriter
3803 outstring
3804 \end_layout
3805
3806 \begin_layout Standard
3807 where 
3808 \family typewriter
3809 key
3810 \family default
3811  is the key to be translated and 
3812 \family typewriter
3813 outstring
3814 \family default
3815  is the string to be inserted into the document.
3816  To define dead keys, use:
3817 \end_layout
3818
3819 \begin_layout Quotation
3820
3821 \family typewriter
3822
3823 \backslash
3824 kmod
3825 \family default
3826  
3827 \family typewriter
3828 key
3829 \family default
3830  
3831 \family typewriter
3832 deadkey
3833 \end_layout
3834
3835 \begin_layout Standard
3836 where 
3837 \family typewriter
3838 key
3839 \family default
3840  is keyboard key and 
3841 \family typewriter
3842 deadkey
3843 \family default
3844  is dead key name.
3845  The following dead keys are supported (shortcut name is in parentheses):
3846 \end_layout
3847
3848 \begin_layout Quotation
3849
3850 \emph on
3851 Name
3852 \hfill
3853 Example
3854 \end_layout
3855
3856 \begin_layout Quotation
3857 acute (acu)
3858 \hfill
3859 áéíóú
3860 \end_layout
3861
3862 \begin_layout Quotation
3863 grave (gra)
3864 \hfill
3865 àèìòù
3866 \end_layout
3867
3868 \begin_layout Quotation
3869 macron (mac)
3870 \hfill
3871  ō
3872 \end_layout
3873
3874 \begin_layout Quotation
3875 tilde (til)
3876 \hfill
3877 ñÑ
3878 \end_layout
3879
3880 \begin_layout Quotation
3881 underbar (underb)
3882 \hfill
3883
3884 \begin_inset ERT
3885 status inlined
3886
3887 \begin_layout Standard
3888
3889
3890 \backslash
3891 b o
3892 \end_layout
3893
3894 \end_inset
3895
3896
3897 \end_layout
3898
3899 \begin_layout Quotation
3900 cedilla (ced)
3901 \hfill
3902 çÇ
3903 \end_layout
3904
3905 \begin_layout Quotation
3906 underdot (underd)
3907 \hfill
3908
3909 \begin_inset ERT
3910 status inlined
3911
3912 \begin_layout Standard
3913
3914
3915 \backslash
3916 d o
3917 \end_layout
3918
3919 \end_inset
3920
3921
3922 \end_layout
3923
3924 \begin_layout Quotation
3925 circumflex (circu)
3926 \hfill
3927 âêîôû
3928 \end_layout
3929
3930 \begin_layout Quotation
3931 circle (circl)
3932 \hfill
3933 ÅůŮ
3934 \end_layout
3935
3936 \begin_layout Quotation
3937 tie (tie)
3938 \hfill
3939
3940 \begin_inset ERT
3941 status inlined
3942
3943 \begin_layout Standard
3944
3945
3946 \backslash
3947 t o
3948 \end_layout
3949
3950 \end_inset
3951
3952
3953 \end_layout
3954
3955 \begin_layout Quotation
3956 breve (bre)
3957 \hfill
3958 ă
3959 \begin_inset ERT
3960 status inlined
3961
3962 \begin_layout Standard
3963
3964
3965 \backslash
3966 u o
3967 \end_layout
3968
3969 \end_inset
3970
3971
3972 \end_layout
3973
3974 \begin_layout Quotation
3975 caron (car)
3976 \hfill
3977 čšž
3978 \end_layout
3979
3980 \begin_layout Quotation
3981 hungarian umlaut (hug)
3982 \hfill
3983 őű
3984 \end_layout
3985
3986 \begin_layout Quotation
3987 umlaut (uml)
3988 \hfill
3989 äöü
3990 \end_layout
3991
3992 \begin_layout Quotation
3993 dot (dot)
3994 \hfill
3995 ż
3996 \begin_inset ERT
3997 status inlined
3998
3999 \begin_layout Standard
4000
4001
4002 \backslash
4003 .s
4004 \end_layout
4005
4006 \end_inset
4007
4008
4009 \end_layout
4010
4011 \begin_layout Standard
4012 Since in many international keyboards there are exceptions to what some
4013  dead keys should do, you can define them using
4014 \end_layout
4015
4016 \begin_layout Quotation
4017
4018 \family typewriter
4019
4020 \backslash
4021 kxmod
4022 \family default
4023  
4024 \family typewriter
4025 deadkey key outstring
4026 \end_layout
4027
4028 \begin_layout Standard
4029 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
4030 , so you put in
4031 \end_layout
4032
4033 \begin_layout Quotation
4034
4035 \family typewriter
4036
4037 \backslash
4038 kxmod
4039 \family default
4040  
4041 \family typewriter
4042 caron o "
4043 \backslash
4044 ^o"
4045 \end_layout
4046
4047 \begin_layout Standard
4048 to make it work correctly.
4049  Also, you have to define as exceptions dead keys over i and j, to remove
4050  the dot from them before inserting an accent mark.
4051  I will change this when the time comes, but so far I haven't had time.
4052 \end_layout
4053
4054 \begin_layout Standard
4055 Oh, and about characters: backslash is escaped, so to enter it, you'll need
4056  double backslash.
4057  Also, quotes and 
4058 \family typewriter
4059 #
4060 \family default
4061  have different meaning.
4062  
4063 \family typewriter
4064 #
4065 \family default
4066  marks comments, quotes start and end LaTeX-style commands.
4067  To enter quote, you'll need to use 
4068 \family typewriter
4069
4070 \backslash
4071 "
4072 \family default
4073 , to enter 
4074 \family typewriter
4075 #
4076 \family default
4077 , use 
4078 \family typewriter
4079
4080 \backslash
4081 #
4082 \family default
4083 .
4084 \end_layout
4085
4086 \begin_layout Standard
4087 If you make a keyboard description file that works for your language, please
4088  mail it to me, so I can include it in the next keymap distribution.
4089 \end_layout
4090
4091 \begin_layout Standard
4092 More keywords will be supported in keymap configuration file in future,
4093  like
4094 \end_layout
4095
4096 \begin_layout Itemize
4097
4098 \family typewriter
4099
4100 \backslash
4101 kinclude filename
4102 \family default
4103 \emph on
4104
4105 \hfill
4106
4107 \family typewriter
4108 \emph default
4109 include
4110 \family default
4111  another file
4112 \end_layout
4113
4114 \begin_layout Itemize
4115
4116 \family typewriter
4117
4118 \backslash
4119 kprog program
4120 \family default
4121 \emph on
4122
4123 \hfill
4124
4125 \family typewriter
4126 \emph default
4127 define
4128 \family default
4129  an external keymap translation program 
4130 \end_layout
4131
4132 \begin_layout Standard
4133 Also, it should look into 
4134 \family typewriter
4135 lyxrc
4136 \family default
4137  file for defaults, too (for example, a 
4138 \family typewriter
4139
4140 \backslash
4141 kinclude
4142 \family default
4143  option to include default keyboard).
4144 \end_layout
4145
4146 \begin_layout Section
4147 International Keymap Stuff
4148 \begin_inset LatexCommand label
4149 name "sec:keymap"
4150
4151 \end_inset
4152
4153
4154 \end_layout
4155
4156 \begin_layout Standard
4157 The next two sections describe the 
4158 \family typewriter
4159 \shape up
4160 .kmap
4161 \family default
4162 \shape default
4163  and 
4164 \family typewriter
4165 \shape up
4166 .cdef
4167 \family default
4168 \shape default
4169  file syntax in detail.
4170  These sections should help you design your own key map if the ones provided
4171  do not meet your needs.
4172 \end_layout
4173
4174 \begin_layout Subsection
4175 The .kmap File
4176 \end_layout
4177
4178 \begin_layout Standard
4179
4180 \family sans
4181 \shape up
4182 .
4183 \family typewriter
4184 kmap
4185 \family default
4186 \shape default
4187  file maps keystrokes to characters or strings.
4188  As the name suggests it sets a keyboard mapping.
4189  The 
4190 \family typewriter
4191 .kmap
4192 \family default
4193  file keywords 
4194 \family typewriter
4195 \shape up
4196 kmap
4197 \shape default
4198 ,
4199 \shape up
4200 kmod
4201 \shape default
4202 ,
4203 \shape up
4204 ksmod
4205 \family default
4206 \shape default
4207 , and 
4208 \family typewriter
4209 \shape up
4210 kcomb
4211 \family default
4212 \shape default
4213  are described in this section.
4214 \end_layout
4215
4216 \begin_layout List
4217 \labelwidthstring 00.00.0000
4218
4219 \family typewriter
4220 \shape up
4221 kmap
4222 \family default
4223 \shape default
4224  Map a character to a string
4225 \end_layout
4226
4227 \begin_layout LyX-Code
4228
4229 \backslash
4230 kmap 
4231 \family roman
4232 \emph on
4233 char
4234 \family default
4235 \emph default
4236  
4237 \family roman
4238 \emph on
4239 string
4240 \end_layout
4241
4242 \begin_layout Standard
4243 This will ma
4244 \family roman
4245 p
4246 \family default
4247  
4248 \family roman
4249 \emph on
4250 char
4251 \family default
4252 \emph default
4253  
4254 \family roman
4255 to
4256 \family default
4257  
4258 \family roman
4259 \emph on
4260 string
4261 \emph default
4262 .
4263  Note that in
4264 \family default
4265  
4266 \family roman
4267 \emph on
4268 string
4269 \emph default
4270 ,
4271 \family default
4272  
4273 \family roman
4274 \shape up
4275 the double-quote (")
4276 \family default
4277 \shape default
4278  
4279 \family roman
4280 and
4281 \family default
4282  
4283 \family roman
4284 \shape up
4285 the backslash (
4286 \backslash
4287 )
4288 \family default
4289 \shape default
4290  
4291 \family roman
4292 must be escaped with a preceding backslash (
4293 \shape up
4294
4295 \backslash
4296
4297 \shape default
4298 )
4299 \family default
4300 .
4301 \end_layout
4302
4303 \begin_layout Standard
4304 An example of a 
4305 \family sans
4306 \shape up
4307 kmap
4308 \family default
4309 \shape default
4310  statement to cause the symbol 
4311 \family sans
4312 \shape up
4313 /
4314 \family default
4315 \shape default
4316  to be output for the keystroke 
4317 \family sans
4318 \shape up
4319 &
4320 \family default
4321 \shape default
4322  is:
4323 \end_layout
4324
4325 \begin_layout LyX-Code
4326
4327 \backslash
4328 kmap & /
4329 \end_layout
4330
4331 \begin_layout List
4332 \labelwidthstring 00.00.0000
4333
4334 \family typewriter
4335 \shape up
4336 kmod
4337 \family default
4338 \shape default
4339  Specify an accent character
4340 \end_layout
4341
4342 \begin_layout LyX-Code
4343
4344 \backslash
4345 kmod 
4346 \family roman
4347 \emph on
4348 char accent allowed
4349 \end_layout
4350
4351 \begin_layout Standard
4352 This will make the cha
4353 \family roman
4354 racter
4355 \family default
4356  
4357 \family roman
4358 \emph on
4359 char
4360 \family default
4361 \emph default
4362  
4363 \family roman
4364 \shape up
4365 \emph on
4366 be an accent
4367 \family default
4368 \shape default
4369 \emph default
4370  
4371 \family roman
4372 \shape up
4373 on the
4374 \family default
4375 \shape default
4376  
4377 \family roman
4378 \shape up
4379 \emph on
4380 allowed
4381 \family default
4382 \shape default
4383 \emph default
4384  
4385 \family roman
4386 \shape up
4387 cha
4388 \family default
4389 racter(s).
4390  This is the dead key
4391 \begin_inset Foot
4392 status collapsed
4393
4394 \begin_layout Standard
4395 The term 
4396 \family roman
4397 \emph on
4398 dead key
4399 \family default
4400 \emph default
4401  refers to a key that does not produce a character by itself, but when followed
4402  with another key, produces the desired accent character.
4403  For example, a German characte
4404 \family roman
4405 r with an umlaut like
4406 \family default
4407  
4408 \family roman
4409 \emph on
4410 ä
4411 \family default
4412 \emph default
4413  
4414 \family roman
4415 can be produced in this manner.
4416 \end_layout
4417
4418 \end_inset
4419
4420  mechanism.
4421  
4422 \end_layout
4423
4424 \begin_layout Standard
4425 If you 
4426 \family roman
4427 hit
4428 \family default
4429  
4430 \family roman
4431 \emph on
4432 char
4433 \family default
4434 \emph default
4435  
4436 \family roman
4437 and then another key not in
4438 \family default
4439  
4440 \family roman
4441 \emph on
4442 allowed
4443 \emph default
4444 , you will get a
4445 \family default
4446  
4447 \family roman
4448 \emph on
4449 char
4450 \family default
4451 \emph default
4452  
4453 \family roman
4454 followed by the other, unallowed key, as output.
4455
4456 \family default
4457  Note that a 
4458 \family sans
4459 \shape up
4460 Backspace
4461 \family default
4462 \shape default
4463  cancels a dead key, so if 
4464 \family roman
4465 you hit
4466 \family default
4467  
4468 \family roman
4469 \emph on
4470 char
4471 \family default
4472 \emph default
4473  
4474 \family sans
4475 \shape up
4476 \emph on
4477 Backspace
4478 \family default
4479 \emph default
4480 , the cursor will not go one position backwards but will instead cancel
4481  the effect t
4482 \family roman
4483 hat
4484 \family default
4485 \shape default
4486  
4487 \family roman
4488 \shape up
4489 \emph on
4490 char
4491 \family default
4492 \shape default
4493 \emph default
4494  
4495 \family roman
4496 \shape up
4497 might have had on the next keystroke.
4498  
4499 \end_layout
4500
4501 \begin_layout Standard
4502 The following example specifies that the character ' is to be an acute accent,
4503  allowed on the characters a, e, i, o, u, A, E, I, O, and U:
4504 \end_layout
4505
4506 \begin_layout LyX-Code
4507
4508 \backslash
4509 kmod ' acute aeiouAEIOU
4510 \end_layout
4511
4512 \begin_layout List
4513 \labelwidthstring 00.00.0000
4514
4515 \family typewriter
4516 ksmod
4517 \family default
4518  Specify an exception to the accent character
4519 \end_layout
4520
4521 \begin_layout LyX-Code
4522
4523 \backslash
4524 kxmod  
4525 \family roman
4526 \emph on
4527 accent char result
4528 \end_layout
4529
4530 \begin_layout Standard
4531 This defines an exce
4532 \family roman
4533 ption for
4534 \family default
4535  
4536 \family roman
4537 \emph on
4538 accent
4539 \family default
4540 \emph default
4541  
4542 \family roman
4543 on
4544 \family default
4545  
4546 \family roman
4547 \emph on
4548 char
4549 \emph default
4550 .
4551  T
4552 \shape up
4553 he
4554 \family default
4555 \shape default
4556  
4557 \family roman
4558 \shape up
4559 \emph on
4560 accent
4561 \family default
4562 \shape default
4563 \emph default
4564  
4565 \family roman
4566 \shape up
4567 must
4568 \family default
4569 \shape default
4570  
4571 \shape up
4572 have been assigned a keystroke with a previous
4573 \shape default
4574  
4575 \family typewriter
4576 \shape up
4577
4578 \backslash
4579 kmo
4580 \shape default
4581 d
4582 \family default
4583  declar
4584 \family roman
4585 ation and
4586 \family default
4587  
4588 \family roman
4589 \emph on
4590 char
4591 \family default
4592 \emph default
4593  
4594 \family roman
4595 must not belong in the
4596 \family default
4597  
4598 \family roman
4599 \emph on
4600 allowed
4601 \family default
4602 \emph default
4603  
4604 \family roman
4605 set of
4606 \family default
4607  
4608 \family roman
4609 \emph on
4610 accent
4611 \emph default
4612 .
4613  When
4614 \family default
4615  
4616 \family roman
4617 \shape up
4618 you enter the
4619 \family default
4620 \shape default
4621  
4622 \family roman
4623 \shape up
4624 \emph on
4625 accent char
4626 \family default
4627 \shape default
4628 \emph default
4629  
4630 \family roman
4631 \shape up
4632 sequence,
4633 \family default
4634 \shape default
4635  
4636 \family roman
4637 \shape up
4638 \emph on
4639 result
4640 \family default
4641 \shape default
4642 \emph default
4643  
4644 \family roman
4645 \shape up
4646  is produced.
4647  If such a declaration does not exist in
4648 \family default
4649 \shape default
4650  
4651 \shape up
4652 the
4653 \shape default
4654  
4655 \family typewriter
4656 \shape up
4657 .kmap
4658 \family default
4659 \shape default
4660  file and yo
4661 \family roman
4662 u enter
4663 \family default
4664  
4665 \family roman
4666 \emph on
4667 accent  char
4668 \emph default
4669 , you get
4670 \family default
4671  
4672 \family roman
4673 \emph on
4674 accent_key char
4675 \family default
4676 \emph default
4677  
4678 \family roman
4679  where
4680 \family default
4681  
4682 \family roman
4683 \emph on
4684 accent_key
4685 \family default
4686 \emph default
4687  
4688 \family roman
4689  is the first arg
4690 \family default
4691 ument of the 
4692 \family typewriter
4693 \shape up
4694
4695 \backslash
4696 kmod
4697 \family default
4698 \shape default
4699  declaration.
4700  
4701 \end_layout
4702
4703 \begin_layout Standard
4704 The following command produces causes äi to be produced when you enter acute-i
4705  ('i):
4706 \end_layout
4707
4708 \begin_layout LyX-Code
4709
4710 \backslash
4711 kxmod acute i "
4712 \backslash
4713
4714 \backslash
4715 '{
4716 \backslash
4717
4718 \backslash
4719 i}"
4720 \end_layout
4721
4722 \begin_layout List
4723 \labelwidthstring 00.00.0000
4724
4725 \family typewriter
4726 kcomb
4727 \family default
4728  Combine two accent characters
4729 \end_layout
4730
4731 \begin_layout LyX-Code
4732
4733 \backslash
4734 kcomb 
4735 \family roman
4736 \emph on
4737 accent1 accent2 allowed
4738 \end_layout
4739
4740 \begin_layout Standard
4741 This one is getting pretty esoteric.
4742  It allows you to combine the effect 
4743 \family roman
4744 of
4745 \family default
4746  
4747 \family roman
4748 \emph on
4749 accent1
4750 \family default
4751 \emph default
4752  
4753 \family roman
4754 and
4755 \family default
4756  
4757 \family roman
4758 \emph on
4759 accent2
4760 \family default
4761 \emph default
4762  
4763 \family roman
4764 (in that order!) on
4765 \family default
4766  
4767 \family roman
4768 \emph on
4769 allowed
4770 \family default
4771 \emph default
4772  
4773 \family roman
4774 chars.
4775  The keystrokes for
4776 \family default
4777  
4778 \family roman
4779 \emph on
4780 accent1
4781 \family default
4782 \emph default
4783  
4784 \family roman
4785 and
4786 \family default
4787  
4788 \family roman
4789 \emph on
4790 accent2
4791 \family default
4792 \emph default
4793  
4794 \family roman
4795 must have be
4796 \family default
4797 en set with a 
4798 \family typewriter
4799 \shape up
4800
4801 \backslash
4802 kmod
4803 \family default
4804 \shape default
4805  command at 
4806 \family roman
4807 a
4808 \family default
4809  
4810 \family roman
4811 \emph on
4812 previous
4813 \family default
4814 \emph default
4815  
4816 \family roman
4817 point in the
4818 \family default
4819  file.
4820  
4821 \end_layout
4822
4823 \begin_layout Standard
4824 Consider this example from the 
4825 \family typewriter
4826 \shape up
4827 greek.kmap
4828 \family default
4829 \shape default
4830  file:
4831 \end_layout
4832
4833 \begin_layout LyX-Code
4834
4835 \backslash
4836 kmod ; acute aeioyvhAEIOYVH 
4837 \backslash
4838 kmod : umlaut iyIY 
4839 \backslash
4840 kcomb acute umlaut iyIY
4841 \end_layout
4842
4843 \begin_layout Standard
4844 This allows you to press 
4845 \family sans
4846 \shape up
4847 ;:i
4848 \family default
4849 \shape default
4850  and get the effect of 
4851 \family typewriter
4852 \shape up
4853
4854 \backslash
4855 '{
4856 \backslash
4857 "{i}}
4858 \family default
4859 \shape default
4860 .
4861  
4862 \family roman
4863 \shape up
4864 A backspace
4865 \family default
4866 \shape default
4867  in this case cancels the last dead key, so if you press 
4868 \family sans
4869 \shape up
4870 ;: Backspace i
4871 \family default
4872 \shape default
4873  you get 
4874 \family typewriter
4875 \shape up
4876
4877 \backslash
4878 '{i}
4879 \family default
4880 \shape default
4881 .
4882 \end_layout
4883
4884 \begin_layout Subsection
4885 The .cdef File
4886 \end_layout
4887
4888 \begin_layout Standard
4889 After the 
4890 \family typewriter
4891 \shape up
4892 .kmap
4893 \family default
4894 \shape default
4895  mapping is performed, a 
4896 \family typewriter
4897 \shape up
4898 .cde
4899 \shape default
4900 f
4901 \family default
4902  file maps the strings that the symbols generate to characters in the current
4903  font.
4904  The LyX distribution currently includes at least the 
4905 \family typewriter
4906 \shape up
4907 iso8859-1.cdef
4908 \family default
4909 \shape default
4910  and 
4911 \family typewriter
4912 \shape up
4913 iso8859-2.cdef
4914 \family default
4915 \shape default
4916  files.
4917 \end_layout
4918
4919 \begin_layout Standard
4920 In general the 
4921 \family typewriter
4922 \shape up
4923 .cdef
4924 \family default
4925 \shape default
4926  file is a sequence of declarations of the form
4927 \end_layout
4928
4929 \begin_layout LyX-Code
4930
4931 \family roman
4932 \emph on
4933 char_index_in_set
4934 \family default
4935 \emph default
4936  
4937 \family roman
4938 \emph on
4939  string
4940 \end_layout
4941
4942 \begin_layout Standard
4943 For example, in order to map 
4944 \family sans
4945 \shape up
4946
4947 \backslash
4948 '{e}
4949 \family default
4950 \shape default
4951  to the corresponding character in the iso-8859-1 set (233), the following
4952  declaration is used
4953 \end_layout
4954
4955 \begin_layout LyX-Code
4956 233 "
4957 \backslash
4958
4959 \backslash
4960 '{e}"
4961 \end_layout
4962
4963 \begin_layout Standard
4964 with 
4965 \family typewriter
4966
4967 \backslash
4968
4969 \family default
4970  and 
4971 \family typewriter
4972 "
4973 \family default
4974  being escap
4975 \family roman
4976 ed in
4977 \family default
4978  
4979 \family roman
4980 \emph on
4981 string
4982 \emph default
4983 .
4984  Note that
4985 \family default
4986  the same character can apply to more than one string.
4987  In the 
4988 \family typewriter
4989 i
4990 \shape up
4991 so-8859-7.cdef
4992 \family default
4993 \shape default
4994  file you have
4995 \end_layout
4996
4997 \begin_layout LyX-Code
4998 192 "
4999 \backslash
5000
5001 \backslash
5002 '{
5003 \backslash
5004
5005 \backslash
5006
5007 \backslash
5008 "{i}}"
5009 \newline
5010 192 "
5011 \backslash
5012
5013 \backslash
5014
5015 \backslash
5016 "{
5017 \backslash
5018
5019 \backslash
5020 '{i}}"
5021 \end_layout
5022
5023 \begin_layout Standard
5024 If LyX cannot find a mapping for the string produced by the keystroke or
5025  a deadkey sequence, it will check if it looks like an accented char and
5026  try to draw an accent over the character on screen.
5027 \end_layout
5028
5029 \begin_layout Subsection
5030 Dead Keys
5031 \end_layout
5032
5033 \begin_layout Standard
5034 There is a second way to add support for international characters through
5035  so-called dead-keys.
5036  A dead-key works in combination with a letter to produce an accented character.
5037  Here, we'll explain how to create a really simple dead-key to illustrate
5038  how they work.
5039 \end_layout
5040
5041 \begin_layout Standard
5042 Suppose you happen to need the circumflex character, 
5043 \begin_inset Quotes eld
5044 \end_inset
5045
5046  ̂
5047 \begin_inset Quotes erd
5048 \end_inset
5049
5050 .
5051  You could bind the 
5052 \family sans
5053 ^
5054 \family default
5055 -key [a.k.a.\InsetSpace ~
5056
5057 \family sans
5058 Shift-6
5059 \family default
5060 ] to the LyX command 
5061 \family typewriter
5062 accent-circumflex
5063 \family default
5064  in your 
5065 \family typewriter
5066 lyxrc
5067 \family default
5068  file.
5069  Now, whenever you type the 
5070 \family sans
5071 ^
5072 \family default
5073 -key followed by a letter, that letter will have a circumflex accent on
5074  it.
5075  For example, the sequence 
5076 \begin_inset Quotes eld
5077 \end_inset
5078
5079
5080 \family sans
5081 ^e
5082 \family default
5083
5084 \begin_inset Quotes erd
5085 \end_inset
5086
5087  produces the letter: 
5088 \begin_inset Quotes eld
5089 \end_inset
5090
5091 ê
5092 \begin_inset Quotes erd
5093 \end_inset
5094
5095 .
5096  If you tried to type 
5097 \begin_inset Quotes eld
5098 \end_inset
5099
5100
5101 \family sans
5102 ^t
5103 \family default
5104
5105 \begin_inset Quotes erd
5106 \end_inset
5107
5108 , however, LyX will complain with a beep, since a 
5109 \begin_inset Quotes eld
5110 \end_inset
5111
5112
5113 \family sans
5114 t
5115 \family default
5116
5117 \begin_inset Quotes erd
5118 \end_inset
5119
5120  never takes a circumflex accent.
5121  Hitting 
5122 \family sans
5123 Space
5124 \family default
5125  after a dead-key produces the bare-accent.
5126  Please note this last point! If you bind a key to a dead-key, you'll need
5127  to rebind the character on that key to yet another key.
5128  Binding the 
5129 \family sans
5130 ,-key
5131 \family default
5132  to a cedilla is a bad idea, since you'll only get cedillas instead of commas.
5133 \end_layout
5134
5135 \begin_layout Standard
5136 One common way to bind dead-keys is to use 
5137 \family sans
5138 Meta-
5139 \family default
5140
5141 \family sans
5142 Ctrl-
5143 \family default
5144 , and 
5145 \family sans
5146 Shift-
5147 \family default
5148  in combination with an accent, like 
5149 \begin_inset Quotes eld
5150 \end_inset
5151
5152
5153 \family sans
5154 ~
5155 \family default
5156
5157 \begin_inset Quotes erd
5158 \end_inset
5159
5160  or 
5161 \begin_inset Quotes eld
5162 \end_inset
5163
5164
5165 \family sans
5166 ,
5167 \family default
5168
5169 \begin_inset Quotes erd
5170 \end_inset
5171
5172  or 
5173 \begin_inset Quotes eld
5174 \end_inset
5175
5176
5177 \family sans
5178 ^
5179 \family default
5180
5181 \begin_inset Quotes erd
5182 \end_inset
5183
5184 .
5185  Another way involves using 
5186 \family typewriter
5187 xmodmap
5188 \family default
5189  and 
5190 \family typewriter
5191 xkeycaps
5192 \family default
5193  [remember them from section?] to set up the special 
5194 \family typewriter
5195 Mode_Switch
5196 \family default
5197  key.
5198  The 
5199 \family typewriter
5200 Mode_Switch
5201 \family default
5202  acts in some ways just like 
5203 \family sans
5204 Shift
5205 \family default
5206  and permits you to bind keys to accented characters.
5207  You can also turn keys into dead-keys by binding them to something like
5208  
5209 \family typewriter
5210 usldead_cedilla
5211 \family default
5212  and then binding this symbolic key to the corresponding LyX command.
5213 \begin_inset Foot
5214 status collapsed
5215
5216 \begin_layout Standard
5217 Note from 
5218 \noun on
5219 John Weiss
5220 \noun default
5221 : This is exactly what I do in my 
5222 \family typewriter
5223 ~/.lyx/lyxrc
5224 \family default
5225  and my 
5226 \family typewriter
5227 ~/.xmodmap
5228 \family default
5229  files.
5230  I have my 
5231 \family sans
5232 Scroll\InsetSpace ~
5233 Lock
5234 \family default
5235  key set up as 
5236 \family typewriter
5237 Mode_Shift
5238 \family default
5239  and a bunch of these 
5240 \begin_inset Quotes eld
5241 \end_inset
5242
5243
5244 \family typewriter
5245 usldead_*
5246 \family default
5247
5248 \begin_inset Quotes erd
5249 \end_inset
5250
5251  symbolic keys bound such things as 
5252 \family sans
5253 Scroll\InsetSpace ~
5254 Lock-^
5255 \family default
5256  and 
5257 \family sans
5258 Scroll\InsetSpace ~
5259 Lock-~
5260 \family default
5261 .
5262  This is how I produce my accented characters.
5263 \end_layout
5264
5265 \end_inset
5266
5267  You can make just about anything into the 
5268 \family typewriter
5269 Mode_Switch
5270 \family default
5271  key: One of the 
5272 \family sans
5273 Ctrl-
5274 \family default
5275  keys, a spare function key, etc.
5276  As for the LyX commands that produce accents, check the entry for 
5277 \family typewriter
5278 accent-acute
5279 \family default
5280  in the 
5281 \emph on
5282 Reference Manual
5283 \emph default
5284 .
5285  You'll find the complete list there.
5286 \end_layout
5287
5288 \begin_layout Subsection
5289 Saving your Language Configuration
5290 \end_layout
5291
5292 \begin_layout Standard
5293 \begin_inset LatexCommand label
5294 name "sec:savlang"
5295
5296 \end_inset
5297
5298 You can edit your preferences so that your desired language environment
5299  is automatically configured when LyX starts up, via the 
5300 \family sans
5301 \bar under
5302 E
5303 \bar default
5304 dit\SpecialChar \menuseparator
5305
5306 \bar under
5307 P
5308 \bar default
5309 references
5310 \family default
5311  dialog.
5312 \end_layout
5313
5314 \begin_layout Chapter
5315 Installing New Document Classes, Layouts, and Templates 
5316 \begin_inset LatexCommand label
5317 name "chap:textclass"
5318
5319 \end_inset
5320
5321
5322 \begin_inset OptArg
5323 status collapsed
5324
5325 \begin_layout Standard
5326 Installing New Document Classes
5327 \end_layout
5328
5329 \end_inset
5330
5331
5332 \end_layout
5333
5334 \begin_layout Standard
5335 In this chapter, we describe the procedures for creating and installing
5336  new LyX layout and template files, as well as offer a refresher on correctly
5337  installing new LaTeX document classes.
5338  Some definitions: a document class is a LaTeX file (usually ending in 
5339 \family typewriter
5340 .cls
5341 \family default
5342  or 
5343 \family typewriter
5344 .sty
5345 \family default
5346 ) which describes the format of a document such as an article, report, journal
5347  preprint, etc.
5348  and all the commands needed to realize that format.
5349  A layout file is a LyX file which corresponds to a LaTeX document class
5350  and which tells LyX how to 
5351 \begin_inset Quotes eld
5352 \end_inset
5353
5354 draw
5355 \begin_inset Quotes erd
5356 \end_inset
5357
5358  things on the screen to make the display look something like the final
5359  printed page.
5360  More precisely, a layout file describes a 
5361 \begin_inset Quotes eld
5362 \end_inset
5363
5364 text class
5365 \begin_inset Quotes erd
5366 \end_inset
5367
5368  which is the internal construct LyX uses to render the screen display.
5369  
5370 \begin_inset Quotes eld
5371 \end_inset
5372
5373 Layout
5374 \begin_inset Quotes erd
5375 \end_inset
5376
5377  and 
5378 \begin_inset Quotes eld
5379 \end_inset
5380
5381 text class
5382 \begin_inset Quotes erd
5383 \end_inset
5384
5385  can be used somewhat interchangeably, but it is better to refer to the
5386  file as the layout, and the thing living in LyX's memory as the text class.
5387  A template file is simply a LyX document which contains a set of predefined
5388  entries for a given document class which are generally required for that
5389  class.
5390  Templates are especially useful for things like journal manuscripts which
5391  are to be submitted electronically.
5392 \end_layout
5393
5394 \begin_layout Section
5395 Installing a new LaTeX package
5396 \end_layout
5397
5398 \begin_layout Standard
5399 Some installations may not include a LaTeX package that you would like to
5400  use within LyX.
5401  For example, you might need FoilTeX, a common (and very powerful) package
5402  for preparing slides or viewgraphs for overhead projectors.
5403  Here are the formal steps involved in getting the package up and running
5404  if you are using teTeX or some other web2c based distribution.
5405  
5406 \end_layout
5407
5408 \begin_layout Enumerate
5409 Get the package from CTAN or wherever.
5410 \begin_inset Foot
5411 status collapsed
5412
5413 \begin_layout Standard
5414 See the 
5415 \emph on
5416 Inventory of your LaTeX configuration
5417 \emph default
5418  manual for details of what CTAN is and where supported document classes
5419  can be found.
5420 \end_layout
5421
5422 \end_inset
5423
5424
5425 \end_layout
5426
5427 \begin_layout Enumerate
5428 Read the file 
5429 \family typewriter
5430 texmf.cnf
5431 \family default
5432  (this usually lives in the directory 
5433 \family typewriter
5434 $TEXMF/web2c
5435 \family default
5436 , though you can run 
5437 \family typewriter
5438 kpsewhich texmf.cnf
5439 \family default
5440  to locate it).
5441  It describes how to add a local 
5442 \family typewriter
5443 texmf
5444 \family default
5445  directory; follow the instructions.
5446  You need to insert the name of your local 
5447 \family typewriter
5448 texmf
5449 \family default
5450  directory in 
5451 \family typewriter
5452 texmf.cnf
5453 \family default
5454 .
5455  Under Linux, 
5456 \family typewriter
5457 /usr/local
5458 \family default
5459  is a logical place to install software that did not come with your distribution
5460 , so you might use 
5461 \family typewriter
5462 /usr/local/texmf
5463 \family default
5464 .
5465  Usually, you will have to modify only two things:
5466 \end_layout
5467
5468 \begin_deeper
5469 \begin_layout Enumerate
5470 Set 
5471 \family typewriter
5472 TEXMFLOCAL
5473 \family default
5474  to the directory you chose; e.g.
5475  
5476 \newline
5477
5478 \family typewriter
5479 TEXMFLOCAL = /usr/local/texmf
5480 \end_layout
5481
5482 \begin_layout Enumerate
5483 Make sure 
5484 \family typewriter
5485 TEXMF
5486 \family default
5487  includes the 
5488 \family typewriter
5489 TEXMFLOCAL
5490 \family default
5491  variable; e.g.
5492  
5493 \newline
5494
5495 \family typewriter
5496 TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
5497 \end_layout
5498
5499 \end_deeper
5500 \begin_layout Enumerate
5501 Create your local 
5502 \family typewriter
5503 texmf
5504 \family default
5505  directory (e.g.
5506  
5507 \family typewriter
5508 /usr/local/texmf
5509 \family default
5510 ).
5511  You must follow the directory structure of your existing 
5512 \family typewriter
5513 texmf
5514 \family default
5515  directory (for example, latex packages should go under 
5516 \family typewriter
5517 /usr/local/texmf/tex/latex/
5518 \family default
5519 ).
5520 \end_layout
5521
5522 \begin_layout Enumerate
5523 Install the package.
5524  For example, you would unpack the FoilTeX tarball and create 
5525 \family typewriter
5526 /usr/local/texmf/tex/latex/foiltex
5527 \family default
5528 .
5529  The 
5530 \family typewriter
5531 foiltex
5532 \family default
5533  directory contains various files.
5534 \end_layout
5535
5536 \begin_layout Enumerate
5537 Run: 
5538 \family typewriter
5539 texhash
5540 \family default
5541 .
5542  This should create 
5543 \family typewriter
5544 /usr/local/texmf/ls-R
5545 \family default
5546  amongst others.
5547 \end_layout
5548
5549 \begin_layout Enumerate
5550 From within LyX, do: 
5551 \family sans
5552 \bar under
5553 T
5554 \bar default
5555 ools\SpecialChar \menuseparator
5556
5557 \bar under
5558 R
5559 \bar default
5560 econfigure
5561 \family default
5562 .
5563  Restart LyX.
5564 \end_layout
5565
5566 \begin_layout Standard
5567 Now you should see your new package---for example 
5568 \family sans
5569 slides (FoilTeX)
5570 \family default
5571 ---under 
5572 \family sans
5573 \bar under
5574 L
5575 \bar default
5576 ayout\SpecialChar \menuseparator
5577
5578 \bar under
5579 D
5580 \bar default
5581 ocument
5582 \family default
5583 , field 
5584 \family sans
5585 \bar under
5586 C
5587 \bar default
5588 lass
5589 \family default
5590 .
5591  Note that there are simpler ways of installing packages: you can add a
5592  link to the new package directory in the system LaTeX directory (
5593 \family typewriter
5594 $TEXMF/tex/latex
5595 \family default
5596 , don't forget to then run 
5597 \family typewriter
5598 texconfig
5599 \family default
5600 ), or sometimes simply set the 
5601 \family typewriter
5602 $TEXINPUTS
5603 \family default
5604  environment variable to include the new package.
5605  However, the formal procedure described in 
5606 \family typewriter
5607 texmf.cnf
5608 \family default
5609  is guaranteed to work, so you should follow it unless circumstances absolutely
5610  prevent it: such as, when you don't have superuser access.
5611 \end_layout
5612
5613 \begin_layout Section
5614 \begin_inset LatexCommand label
5615 name "sec:Layouts"
5616
5617 \end_inset
5618
5619 Layouts
5620 \end_layout
5621
5622 \begin_layout Standard
5623 This section describes how to write and install your own LyX layout files
5624  (also known as text classes) and walks through the 
5625 \family typewriter
5626 article
5627 \family default
5628  text class format as an example.
5629  The 
5630 \family typewriter
5631 .layout
5632 \family default
5633  files describe what paragraph styles are available for a given document
5634  class and how LyX should display them.
5635  We try to provide a thorough description of the process here; however,
5636  there are so many different types of documents supported by LaTeX classes
5637  that we can't hope to cover every different possibility or problem you
5638  might encounter.
5639  (The LyX users' list is frequented by people with lots of experience with
5640  layout design who are willing to share what they've learned.)
5641 \end_layout
5642
5643 \begin_layout Standard
5644 As you prepare to write a new layout, it is extremely helpful to look at
5645  the example layouts distributed with LyX.
5646  If you use a nice LaTeX document class that might be of interest for others,
5647  too, and have a nice corresponding LyX layout, feel free to contribute
5648  the stuff to us, so we may put it into the distribution.
5649  There is also a section on the LyX wiki for this kind of material.
5650 \end_layout
5651
5652 \begin_layout Standard
5653 All the tags described in this chapter are case-insensitive; this means
5654  that 
5655 \family typewriter
5656 Style
5657 \family default
5658
5659 \family typewriter
5660 style
5661 \family default
5662  and 
5663 \family typewriter
5664 StYlE
5665 \family default
5666  are really the same command.
5667  The possible values are printed in brackets after the feature's name.
5668  The default value if a feature isn't specified inside a text class-description
5669  is typeset 
5670 \family typewriter
5671 \emph on
5672 emphasized
5673 \family default
5674 \emph default
5675 .
5676  If the argument has a datatype like 
5677 \begin_inset Quotes eld
5678 \end_inset
5679
5680 string
5681 \begin_inset Quotes erd
5682 \end_inset
5683
5684  or 
5685 \begin_inset Quotes eld
5686 \end_inset
5687
5688 float
5689 \begin_inset Quotes erd
5690 \end_inset
5691
5692 , the default is shown like this: 
5693 \family typewriter
5694 float=
5695 \emph on
5696 default
5697 \family default
5698 \emph default
5699 .
5700 \end_layout
5701
5702 \begin_layout Subsection
5703 Layout modules
5704 \end_layout
5705
5706 \begin_layout Standard
5707 Similar to layout files, and new with LyX 1.6, are layout 
5708 \emph on
5709 modules
5710 \emph default
5711 .
5712  Modules are to LaTeX packages much as layouts are to LaTeX classes, and
5713  some modules---such as the URL module---provide support for just such a
5714  package.
5715  In a sense, layout modules are similar to included files---files like stdsectio
5716 ns.inc---in that modules are not specific to a given document layout but
5717  may be used with many different layouts.
5718  The difference is that using a layout module does not require editing the
5719  layout file.
5720  Rather, modules are selected in the 
5721 \family sans
5722 \bar under
5723 D
5724 \bar default
5725 ocument\SpecialChar \menuseparator
5726
5727 \bar under
5728 S
5729 \bar default
5730 ettings
5731 \family default
5732  dialog.
5733 \end_layout
5734
5735 \begin_layout Standard
5736 Building modules is the easiest way to get started with layout editing,
5737  since it can be as simple as adding a single new paragraph or flex inset.
5738  But modules may, in principle, contain anything a layout file can contain.
5739 \end_layout
5740
5741 \begin_layout Standard
5742 A module must begin with a line like the following:
5743 \end_layout
5744
5745 \begin_layout LyX-Code
5746 #
5747 \backslash
5748 DeclareLyXModule[url.sty]{Adds a character style for the 
5749 \backslash
5750 url command.}{URL} 
5751 \end_layout
5752
5753 \begin_layout Standard
5754 The argument in square brackets is optional: It declares any LaTeX packages
5755  on which the module depends.
5756  The two mandatory arguments, in curly brackets, are a short description
5757  of the module and the name of the module, as they should appear in 
5758 \family sans
5759 Document\SpecialChar \menuseparator
5760 Settings
5761 \family default
5762 .
5763  
5764 \end_layout
5765
5766 \begin_layout Standard
5767 After creating a new module, you will need to reconfigure and then restart
5768  LyX for it to appear in the menu.
5769  However, changes you make to the module will be seen immediately, if you
5770  open 
5771 \family sans
5772 Document\SpecialChar \menuseparator
5773 Settings
5774 \family default
5775 , make some change (or even just highlight something), and then hit 
5776 \begin_inset Quotes eld
5777 \end_inset
5778
5779 OK
5780 \begin_inset Quotes erd
5781 \end_inset
5782
5783 .
5784  It is strongly recommended that you save your work before doing so.
5785  It is, in fact, strongly recommended that you not attempt to create or
5786  edit modules while simultaneously working on documents.
5787  Though of course the developers strive to keep LyX stable in such situations,
5788  syntax errors and the like in your module file could cause strange behavior.
5789 \end_layout
5790
5791 \begin_layout Subsection
5792 Supporting new document classes
5793 \end_layout
5794
5795 \begin_layout Standard
5796 There are two situations you are likely to encounter when wanting to support
5797  a new LaTeX document class, involving LaTeX2e class (
5798 \family typewriter
5799 .cls
5800 \family default
5801 ) and style (
5802 \family typewriter
5803 .sty
5804 \family default
5805 ) files.
5806  Supporting a style file is usually fairly easy.
5807  Supporting a new document class is a bit harder.
5808 \end_layout
5809
5810 \begin_layout Subsection
5811 A layout for a 
5812 \family sans
5813 sty
5814 \family default
5815  file
5816 \end_layout
5817
5818 \begin_layout Standard
5819 If your new document class is provided as a style file that is used in conjuncti
5820 on with an existing, supported document class---for the sake of the example,
5821  we'll assume that the style file is called 
5822 \family sans
5823 myclass.sty
5824 \family default
5825  and it is meant to be used with 
5826 \family sans
5827 report.cls
5828 \family default
5829 , which is a standard class---start by copying the existing class's layout
5830  file into your local directory:
5831 \end_layout
5832
5833 \begin_layout LyX-Code
5834 cp report.layout ~/.lyx/layouts/myclass.layout
5835 \end_layout
5836
5837 \begin_layout Standard
5838 Then edit 
5839 \family typewriter
5840 myclass.layout
5841 \family default
5842  and change the line: 
5843 \end_layout
5844
5845 \begin_layout LyX-Code
5846
5847 \backslash
5848 DeclareLaTeXClass{report}
5849 \end_layout
5850
5851 \begin_layout Standard
5852 to read
5853 \end_layout
5854
5855 \begin_layout LyX-Code
5856
5857 \backslash
5858 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
5859 \end_layout
5860
5861 \begin_layout Standard
5862 Then add:
5863 \end_layout
5864
5865 \begin_layout LyX-Code
5866 Preamble 
5867 \newline
5868     
5869 \backslash
5870 usepackage{myclass}
5871 \newline
5872 EndPreamble
5873 \end_layout
5874
5875 \begin_layout Standard
5876 near the top of the file.
5877 \end_layout
5878
5879 \begin_layout Standard
5880 Start LyX and select 
5881 \family sans
5882 \bar under
5883 T
5884 \bar default
5885 ools\SpecialChar \menuseparator
5886
5887 \bar under
5888 R
5889 \bar default
5890 econfigure
5891 \family default
5892 .
5893  Then restart LyX and try creating a new document.
5894  You should see "
5895 \family sans
5896 report (myclass)
5897 \family default
5898 " as a document class option in the 
5899 \family sans
5900 \bar under
5901 D
5902 \bar default
5903 ocument\SpecialChar \menuseparator
5904
5905 \bar under
5906 S
5907 \bar default
5908 ettings
5909 \family default
5910  dialog.
5911  It is likely that some of the sectioning commands and such in your new
5912  class will work differently from how they worked in the base class---
5913 \family typewriter
5914 report
5915 \family default
5916  in this example---so you can fiddle around with the settings for the different
5917  sections if you wish.
5918  See below for more discussion on this.
5919 \end_layout
5920
5921 \begin_layout Subsection
5922 Layout for a 
5923 \family sans
5924 cls
5925 \family default
5926  file
5927 \end_layout
5928
5929 \begin_layout Standard
5930 There are two possibilities here.
5931  One is that the class file is itself based upon an existing document class.
5932  For example, many thesis classes are based upon 
5933 \family sans
5934 book.cls
5935 \family default
5936 .
5937  To see whether yours is, look for a line like
5938 \end_layout
5939
5940 \begin_layout LyX-Code
5941
5942 \backslash
5943 LoadClass{book}
5944 \end_layout
5945
5946 \begin_layout Standard
5947 in the file.
5948  If so, then you may proceed largely as in the previous section, though
5949  the DeclareLaTeXClass line will be different.
5950  If your new class is thesis, and it is based upon book, then the line should
5951  read:
5952 \end_layout
5953
5954 \begin_layout LyX-Code
5955
5956 \backslash
5957 DeclareLaTeXClass[myclass, book]{thesis}
5958 \end_layout
5959
5960 \begin_layout Standard
5961 If, on the other hand, the new class is not based upon an existing class,
5962  you will probably have to 
5963 \begin_inset Quotes eld
5964 \end_inset
5965
5966 roll your own
5967 \begin_inset Quotes erd
5968 \end_inset
5969
5970  layout.
5971  We strongly suggest copying an existing layout file which uses a similar
5972  LaTeX class and then modifying it, if you can do so.
5973  At least use an existing file as a starting point so you can find out what
5974  items you need to worry about.
5975  Again, the specifics are covered below.
5976 \end_layout
5977
5978 \begin_layout Section
5979 Declaring a new text class
5980 \end_layout
5981
5982 \begin_layout Standard
5983 When it's finally time to get your hands dirty and create or edit your own
5984  layout file, the following sections describe what you're up against.
5985  Our advice is to go slowly, save and test often, listen to soothing music,
5986  and enjoy one or two of your favorite adult beverages; more if you are
5987  getting particularly stuck.
5988  It's really not that hard, except that the multitude of options can become
5989  overwhelming if you try to do to much in one sitting.
5990  Go have another adult beverage, just for good measure.
5991 \end_layout
5992
5993 \begin_layout Standard
5994 Here we go!
5995 \end_layout
5996
5997 \begin_layout Standard
5998 Lines in a layout file which begin with a 
5999 \family typewriter
6000 #
6001 \family default
6002  are comments.
6003  There is one exception to this rule: all layouts should begin with lines
6004  like:
6005 \end_layout
6006
6007 \begin_layout LyX-Code
6008
6009 \size small
6010 #% Do not delete the line below; configure depends on this 
6011 \end_layout
6012
6013 \begin_layout LyX-Code
6014
6015 \size small
6016 #  
6017 \backslash
6018 DeclareLaTeXClass{article}
6019 \end_layout
6020
6021 \begin_layout Standard
6022 The second line is used when you configure LyX.
6023  The layout file is read by the LaTeX script 
6024 \family typewriter
6025 chkconfig.ltx
6026 \family default
6027 , in a special mode where 
6028 \family typewriter
6029 #
6030 \family default
6031  is ignored.
6032  The first line is just a LaTeX comment, and the second one contains the
6033  declaration of the text class.
6034  If these lines appear in a file named 
6035 \family typewriter
6036 article.layout
6037 \family default
6038 , then they define a text class of name 
6039 \family typewriter
6040 article
6041 \family default
6042  (the name of the layout file) which uses the LaTeX document class 
6043 \family typewriter
6044 article.cls
6045 \family default
6046  (the default is to use the same name as the layout).
6047  The string 
6048 \begin_inset Quotes eld
6049 \end_inset
6050
6051 article
6052 \begin_inset Quotes erd
6053 \end_inset
6054
6055  that appears above is used as a description of the text class in the 
6056 \family sans
6057 \bar under
6058 D
6059 \bar default
6060 ocument\SpecialChar \menuseparator
6061
6062 \bar under
6063 S
6064 \bar default
6065 ettings
6066 \family default
6067  dialog.
6068 \end_layout
6069
6070 \begin_layout Standard
6071 Let's assume that you wrote your own text class that uses the 
6072 \family typewriter
6073 article.cls
6074 \family default
6075  documentclass, but where you changed the appearance of the section headings.
6076  If you put it in a file 
6077 \family typewriter
6078 myarticle.layout
6079 \family default
6080 , the header of this file should be:
6081 \end_layout
6082
6083 \begin_layout LyX-Code
6084
6085 \size small
6086 #% Do not delete the line below; configure depends on this 
6087 \end_layout
6088
6089 \begin_layout LyX-Code
6090
6091 \size small
6092 #  
6093 \backslash
6094 DeclareLaTeXClass[article]{article (with my own headings)}
6095 \end_layout
6096
6097 \begin_layout Standard
6098 This declares a text class 
6099 \family typewriter
6100 myarticle
6101 \family default
6102 , associated with the LaTeX document class 
6103 \family typewriter
6104 article.cls
6105 \family default
6106  and described as 
6107 \begin_inset Quotes eld
6108 \end_inset
6109
6110 article (with my own headings)
6111 \begin_inset Quotes erd
6112 \end_inset
6113
6114 .
6115  If your text class depends on several packages, you can declare it as:
6116 \end_layout
6117
6118 \begin_layout LyX-Code
6119
6120 \size small
6121 #% Do not delete the line below; configure depends on this 
6122 \end_layout
6123
6124 \begin_layout LyX-Code
6125
6126 \size small
6127 #  
6128 \backslash
6129 DeclareLaTeXClass[article,foo.sty]{article (with my own headings)}
6130 \end_layout
6131
6132 \begin_layout Standard
6133 This indicates that your text class uses the foo.sty package.
6134  Finally, it is also possible to declare classes for DocBook code.
6135  Typical declarations will look like
6136 \end_layout
6137
6138 \begin_layout LyX-Code
6139
6140 \size small
6141 #% Do not delete the line below; configure depends on this 
6142 \end_layout
6143
6144 \begin_layout LyX-Code
6145
6146 \size small
6147
6148 \backslash
6149 DeclareDocBookClass[article]{SGML (DocBook article)}
6150 \end_layout
6151
6152 \begin_layout Standard
6153 Note that these declarations can also be given an optional parameter declaring
6154  the name of the document class (but not a list).
6155 \end_layout
6156
6157 \begin_layout Standard
6158 When the text class has been modified to your taste, all you have to do
6159  is to copy it either in 
6160 \family typewriter
6161 $LyXDir/layouts/
6162 \family default
6163  or in 
6164 \family typewriter
6165 $UserDir/layouts
6166 \family default
6167  and run 
6168 \family sans
6169 \bar under
6170 T
6171 \bar default
6172 ools\SpecialChar \menuseparator
6173
6174 \bar under
6175 R
6176 \bar default
6177 econfigure
6178 \family default
6179 .
6180  Exit LyX and restart it; then your new text class should be available along
6181  with the others.
6182 \end_layout
6183
6184 \begin_layout Standard
6185 In versions of LyX prior to 1.6, you had to restart LyX to see any changes
6186  you made to your layout files.
6187  As a result, editing layout files could be very time consuming.
6188  Beginning with 1.6, however, you can force a reload of the layout currently
6189  in use by using the LyX function 
6190 \family sans
6191 layout-reload
6192 \family default
6193 .
6194  There is no default binding for this function---though, of course, you
6195  can bind it to a key yourself (see section 
6196 \begin_inset LatexCommand ref
6197 reference "sec:bindings"
6198
6199 \end_inset
6200
6201 ).
6202  You should simply enter this command in the mini-buffer.
6203  
6204 \emph on
6205 Warning
6206 \emph default
6207 : This is very much an `advanced feature'.
6208  It is 
6209 \emph on
6210 strongly
6211 \emph default
6212  recommended that you save your work before using this function.
6213  It is, in fact, 
6214 \emph on
6215 strongly
6216 \emph default
6217  recommended that you not attempt to edit your layout while simultaneously
6218  working on a document that you care about.
6219  Use a test document.
6220  Syntax errors and the like in your layout file could cause peculiar behavior.
6221  In particular, such errors could cause LyX to regard the current layout
6222  as invalid and to attempt to switch to some other layout.
6223  The LyX team strives to keep LyX stable in such situations, but safe is
6224  better than sorry.
6225 \end_layout
6226
6227 \begin_layout Subsection
6228 File format
6229 \end_layout
6230
6231 \begin_layout Standard
6232 The first non-comment line must contain the file format number:
6233 \end_layout
6234
6235 \begin_layout Description
6236
6237 \family typewriter
6238 \series medium
6239 Format
6240 \family default
6241 \series default
6242  [
6243 \family typewriter
6244 int
6245 \family default
6246 ] This tag was introduced with LyX 1.4.0 (layout files of LyX 1.3.x and earlier
6247  don't have an explicit file format).
6248  The file format that is documented here is 
6249 \family typewriter
6250 2
6251 \family default
6252 .
6253 \end_layout
6254
6255 \begin_layout Subsection
6256 General text class parameters
6257 \end_layout
6258
6259 \begin_layout Standard
6260 These are the general parameters which describe the form of the entire document:
6261 \end_layout
6262
6263 \begin_layout Standard
6264 \begin_inset ERT
6265 status inlined
6266
6267 \begin_layout Standard
6268
6269
6270 \backslash
6271 begin{sloppypar}
6272 \end_layout
6273
6274 \end_inset
6275
6276
6277 \end_layout
6278
6279 \begin_layout Description
6280
6281 \family typewriter
6282 \series medium
6283 Columns
6284 \family default
6285 \series default
6286  [
6287 \family typewriter
6288 \emph on
6289 1
6290 \emph default
6291 , 2
6292 \family default
6293 ] Whether the class-default should have one or two columns.
6294  Can be changed in the 
6295 \family sans
6296 \bar under
6297 D
6298 \bar default
6299 ocument\SpecialChar \menuseparator
6300
6301 \bar under
6302 S
6303 \bar default
6304 ettings
6305 \family default
6306  dialog.
6307  This setting (same goes for 
6308 \family typewriter
6309 Sides
6310 \family default
6311 , too) is important: if your text class has two columns by default but you
6312  forget to set it correctly, the 
6313 \family typewriter
6314 twocolumn
6315 \family default
6316  LaTeX option will 
6317 \emph on
6318 not
6319 \emph default
6320  be output when you select 
6321 \family sans
6322 Two columns
6323 \family default
6324  in 
6325 \family sans
6326 \bar under
6327 D
6328 \bar default
6329 ocument\SpecialChar \menuseparator
6330
6331 \bar under
6332 S
6333 \bar default
6334 ettings.
6335 \end_layout
6336
6337 \begin_layout Description
6338
6339 \family typewriter
6340 \series medium
6341 Sides
6342 \family default
6343 \series default
6344  [
6345 \family typewriter
6346 \emph on
6347 1
6348 \emph default
6349 , 2
6350 \family default
6351 ] Whether the class-default should be printing on one or both sides of the
6352  paper.
6353  Can be changed in the 
6354 \family sans
6355 \bar under
6356 D
6357 \bar default
6358 ocument\SpecialChar \menuseparator
6359
6360 \bar under
6361 S
6362 \bar default
6363 ettings
6364 \family default
6365  dialog.
6366 \end_layout
6367
6368 \begin_layout Description
6369
6370 \family typewriter
6371 \series medium
6372 PageStyle
6373 \family default
6374 \series default
6375  [
6376 \family typewriter
6377 \emph on
6378 plain
6379 \emph default
6380 , empty, headings
6381 \family default
6382 ] The class default pagestyle.
6383  Can be changed in the 
6384 \family sans
6385 \bar under
6386 D
6387 \bar default
6388 ocument\SpecialChar \menuseparator
6389
6390 \bar under
6391 S
6392 \bar default
6393 ettings
6394 \family default
6395  dialog.
6396 \end_layout
6397
6398 \begin_layout Description
6399
6400 \family typewriter
6401 \series medium
6402 ClassOptions\SpecialChar \ldots{}
6403 End
6404 \family default
6405 \series default
6406  This section describes various global options supported by the document
6407  class.
6408  See Section\InsetSpace ~
6409
6410 \begin_inset LatexCommand ref
6411 reference "sec:classoptions"
6412
6413 \end_inset
6414
6415  for a description.
6416 \end_layout
6417
6418 \begin_layout Description
6419
6420 \family typewriter
6421 \series medium
6422 Provides 
6423 \family default
6424 \series default
6425 [
6426 \family typewriter
6427 string
6428 \family default
6429 ] [
6430 \family typewriter
6431 \emph on
6432 0
6433 \emph default
6434 , 1
6435 \family default
6436 ] Whether the class already provides the feature
6437 \family typewriter
6438  string
6439 \family default
6440 .
6441  A feature is in general the name of a package (amsmath, makeidx, \SpecialChar \ldots{}
6442 ) or a
6443  macro (url, boldsymbol,\SpecialChar \ldots{}
6444 ); the complete list of supported features is unfortunat
6445 ely not documented.
6446 \end_layout
6447
6448 \begin_layout Description
6449
6450 \family typewriter
6451 \series medium
6452 DefaultFont
6453 \family default
6454 \series default
6455  This is used to describe the default font of the document.
6456  See Section\InsetSpace ~
6457
6458 \begin_inset LatexCommand ref
6459 reference "sec:fonts"
6460
6461 \end_inset
6462
6463  for a description.
6464 \end_layout
6465
6466 \begin_layout Description
6467
6468 \family typewriter
6469 \series medium
6470 DefaultStyle
6471 \family default
6472 \series default
6473  [
6474 \family typewriter
6475 string
6476 \family default
6477 ] This is the style that will be assigned to new paragraphs, usually 
6478 \family sans
6479 Standard
6480 \family default
6481 .
6482  This will default to the first defined style if not given, but you are
6483  highly encouraged to use this directive.
6484 \end_layout
6485
6486 \begin_layout Description
6487
6488 \family typewriter
6489 \series medium
6490 TitleLatexType
6491 \family default
6492 \series default
6493  [
6494 \family typewriter
6495 \emph on
6496 CommandAfter
6497 \family default
6498 \emph default
6499
6500 \family typewriter
6501 Environment
6502 \family default
6503 ] Indicates what kind of markup is used to define the title of a document.
6504  
6505 \family typewriter
6506 CommandAfter
6507 \family default
6508  means that the macro with name 
6509 \family typewriter
6510 TitleLatexName
6511 \family default
6512  will be inserted after the last layout which has 
6513 \begin_inset Quotes eld
6514 \end_inset
6515
6516
6517 \family typewriter
6518 InTitle 1
6519 \family default
6520
6521 \begin_inset Quotes erd
6522 \end_inset
6523
6524 .
6525  
6526 \family typewriter
6527 Environment
6528 \family default
6529  corresponds to the case where the block of paragraphs which have 
6530 \begin_inset Quotes eld
6531 \end_inset
6532
6533
6534 \family typewriter
6535 InTitle 1
6536 \family default
6537
6538 \begin_inset Quotes erd
6539 \end_inset
6540
6541  should be enclosed into the 
6542 \family typewriter
6543 TitleLatexName
6544 \family default
6545  environment
6546 \family typewriter
6547 .
6548 \end_layout
6549
6550 \begin_layout Description
6551
6552 \family typewriter
6553 \series medium
6554 TitleLatexName
6555 \family default
6556 \series default
6557  [
6558 \family typewriter
6559 string="maketitle"
6560 \family default
6561 ] The name of the command/environment mentionned above.
6562 \end_layout
6563
6564 \begin_layout Description
6565
6566 \family typewriter
6567 \series medium
6568 Preamble\SpecialChar \ldots{}
6569 EndPreamble
6570 \family default
6571 \series default
6572  A set of macro definitions that will be output at the beginning of the
6573  LaTeX files.
6574  Use this for global definitions.
6575 \end_layout
6576
6577 \begin_layout Description
6578
6579 \family typewriter
6580 \series medium
6581 Input
6582 \family default
6583 \series default
6584  As its name implies, this command allows you to include another layout
6585  definition file within yours to avoid duplicating commands.
6586  Common examples are the standard layout files, for example, 
6587 \family typewriter
6588 stdclass.inc
6589 \family default
6590 , which contains most of the basic layouts.
6591 \end_layout
6592
6593 \begin_layout Description
6594
6595 \family typewriter
6596 \series medium
6597 Style\SpecialChar \ldots{}
6598 End
6599 \family default
6600 \series default
6601  This sequence defines a new style.
6602  If the style already exists, it will redefine some of its parameters instead.
6603  See Section\InsetSpace ~
6604
6605 \begin_inset LatexCommand ref
6606 reference "sec:style"
6607
6608 \end_inset
6609
6610  for details.
6611 \end_layout
6612
6613 \begin_layout Description
6614
6615 \family typewriter
6616 \series medium
6617 NoStyle
6618 \family default
6619 \series default
6620  This command deletes an existing style.
6621  This is particularly useful when you want to suppress a style that has
6622  be defined in an input file.
6623 \end_layout
6624
6625 \begin_layout Description
6626
6627 \family typewriter
6628 \series medium
6629 Float\SpecialChar \ldots{}
6630 End
6631 \family default
6632 \series default
6633  This sequence defines a new float.
6634  See Section\InsetSpace ~
6635
6636 \begin_inset LatexCommand ref
6637 reference "sec:floats"
6638
6639 \end_inset
6640
6641  for details.
6642 \end_layout
6643
6644 \begin_layout Description
6645
6646 \family typewriter
6647 \series medium
6648 NoFloat
6649 \family default
6650 \series default
6651  This command deletes an existing float.
6652  This is particularly useful when you want to suppress a float that has
6653  be defined in an input file.
6654 \end_layout
6655
6656 \begin_layout Description
6657
6658 \family typewriter
6659 \series medium
6660 InsetLayout\SpecialChar \ldots{}
6661 End
6662 \family default
6663 \series default
6664  This section (re-)defines the layout of an inset.
6665  It can be applied to an existing inset of to a new, user-defined inset,
6666  e.g., a new character style.
6667  See Section\InsetSpace ~
6668
6669 \begin_inset LatexCommand ref
6670 reference "sec:charstyle"
6671
6672 \end_inset
6673
6674  for a description.
6675 \end_layout
6676
6677 \begin_layout Description
6678
6679 \family typewriter
6680 \series medium
6681 Counter\SpecialChar \ldots{}
6682 End
6683 \family default
6684 \series default
6685  This sequence defines a new counter.
6686  See Section\InsetSpace ~
6687
6688 \begin_inset LatexCommand ref
6689 reference "sec:counter"
6690
6691 \end_inset
6692
6693  for details.
6694 \end_layout
6695
6696 \begin_layout Standard
6697 \begin_inset ERT
6698 status inlined
6699
6700 \begin_layout Standard
6701
6702
6703 \backslash
6704 end{sloppypar}
6705 \end_layout
6706
6707 \end_inset
6708
6709
6710 \end_layout
6711
6712 \begin_layout Subsection
6713
6714 \family typewriter
6715 ClassOptions
6716 \family default
6717  section
6718 \end_layout
6719
6720 \begin_layout Standard
6721 \begin_inset LatexCommand label
6722 name "sec:classoptions"
6723
6724 \end_inset
6725
6726 The 
6727 \family typewriter
6728 ClassOptions
6729 \family default
6730  section can contain the following entries:
6731 \end_layout
6732
6733 \begin_layout Description
6734
6735 \family typewriter
6736 \series medium
6737 FontSize
6738 \family default
6739 \series default
6740  [
6741 \family typewriter
6742 string="10|11|12"
6743 \family default
6744 ] The list of available font sizes for the document's main font, separated
6745  by 
6746 \begin_inset Quotes eld
6747 \end_inset
6748
6749
6750 \family typewriter
6751 |
6752 \family default
6753
6754 \begin_inset Quotes erd
6755 \end_inset
6756
6757 .
6758 \end_layout
6759
6760 \begin_layout Description
6761
6762 \family typewriter
6763 \series medium
6764 PageStyle
6765 \family default
6766 \series default
6767  [
6768 \family typewriter
6769 string="empty|plain|headings|fancy"
6770 \family default
6771 ] The list of available page styles, separated by 
6772 \begin_inset Quotes eld
6773 \end_inset
6774
6775
6776 \family typewriter
6777 |
6778 \family default
6779
6780 \begin_inset Quotes erd
6781 \end_inset
6782
6783 .
6784 \end_layout
6785
6786 \begin_layout Description
6787
6788 \family typewriter
6789 \series medium
6790 Other
6791 \family default
6792 \series default
6793  [
6794 \family typewriter
6795 string=""
6796 \family default
6797 ] Some document class options, separated by a comma, that will be added
6798  to the optional part of the 
6799 \family typewriter
6800
6801 \backslash
6802 documentclass
6803 \family default
6804  command.
6805 \end_layout
6806
6807 \begin_layout Subsection
6808 Specific Paragraph Layouts
6809 \end_layout
6810
6811 \begin_layout Standard
6812 \begin_inset LatexCommand label
6813 name "sec:style"
6814
6815 \end_inset
6816
6817 A paragraph layout description looks like this
6818 \begin_inset Foot
6819 status collapsed
6820
6821 \begin_layout Standard
6822 Note that this will either define a new layout or modify an existing one.
6823 \end_layout
6824
6825 \end_inset
6826
6827 :
6828 \end_layout
6829
6830 \begin_layout LyX-Code
6831 Style 
6832 \family roman
6833 \emph on
6834 name
6835 \end_layout
6836
6837 \begin_layout LyX-Code
6838  ...
6839 \end_layout
6840
6841 \begin_layout LyX-Code
6842 End
6843 \end_layout
6844
6845 \begin_layout Standard
6846 where the following commands are allowed:
6847 \end_layout
6848
6849 \begin_layout Standard
6850 \begin_inset ERT
6851 status inlined
6852
6853 \begin_layout Standard
6854
6855
6856 \backslash
6857 begin{sloppypar}
6858 \end_layout
6859
6860 \end_inset
6861
6862
6863 \end_layout
6864
6865 \begin_layout Description
6866
6867 \family typewriter
6868 \series medium
6869 CopyStyle
6870 \family default
6871 \series default
6872  
6873 \family typewriter
6874 [string]
6875 \family default
6876  This is used to copy all the features of an existing layout into the current
6877  one.
6878  
6879 \end_layout
6880
6881 \begin_layout Description
6882
6883 \family typewriter
6884 \series medium
6885 LatexType
6886 \family default
6887 \series default
6888  [
6889 \family typewriter
6890 \emph on
6891 Paragraph
6892 \emph default
6893 , Command, Environment, Item_Environment,
6894 \family default
6895  
6896 \family typewriter
6897 List_Environment
6898 \family default
6899 ] How the layout should be translated into LaTeX.
6900  
6901 \family typewriter
6902 Paragraph
6903 \family default
6904  means nothing special.
6905  
6906 \family typewriter
6907 Command
6908 \family default
6909  means 
6910 \family typewriter
6911
6912 \backslash
6913
6914 \emph on
6915 LatexName
6916 \emph default
6917 {\SpecialChar \ldots{}
6918 }
6919 \family default
6920  and 
6921 \family typewriter
6922 Environment
6923 \family default
6924  means 
6925 \family typewriter
6926
6927 \backslash
6928 begin{
6929 \emph on
6930 LatexName
6931 \emph default
6932 }\SpecialChar \ldots{}
6933
6934 \backslash
6935 end{
6936 \emph on
6937 LatexName
6938 \emph default
6939 }
6940 \family default
6941 .
6942  
6943 \family typewriter
6944 Item_Environment
6945 \family default
6946  is the same as 
6947 \family typewriter
6948 Environment
6949 \family default
6950 , except that a 
6951 \family typewriter
6952
6953 \backslash
6954 item
6955 \family default
6956  is generated for each paragraph of this environment.
6957  
6958 \family typewriter
6959 List_Environment
6960 \family default
6961  is the same as 
6962 \family typewriter
6963 Item_Environment
6964 \family default
6965 , except that 
6966 \family typewriter
6967 LabelWidthString
6968 \family default
6969  is passed as an argument to the environment.
6970  
6971 \family typewriter
6972 LabelWidthString
6973 \family default
6974  can be defined in the 
6975 \family sans
6976 \bar under
6977 L
6978 \bar default
6979 ayout\SpecialChar \menuseparator
6980
6981 \bar under
6982 P
6983 \bar default
6984 aragraph
6985 \family default
6986  dialog.
6987  
6988 \family typewriter
6989 \emph on
6990 LatexType
6991 \family default
6992 \emph default
6993  is perhaps a bit misleading, since these rules apply to SGML classes, too.
6994  Visit the SGML class files for specific examples.
6995 \end_layout
6996
6997 \begin_layout Description
6998
6999 \family typewriter
7000 \series medium
7001 InTitle
7002 \family default
7003 \series default
7004  
7005 \family typewriter
7006 [1, 0]
7007 \family default
7008  If 1, marks the layout as being part of a title block (see also the 
7009 \family typewriter
7010 TitleLatexType
7011 \family default
7012  and 
7013 \family typewriter
7014 TitleLatexName
7015 \family default
7016  global entries)
7017 \end_layout
7018
7019 \begin_layout Description
7020
7021 \family typewriter
7022 \series medium
7023 LatexName
7024 \family default
7025 \series default
7026  The name of the corresponding LaTeX stuff.
7027  Either the environment or command name.
7028 \end_layout
7029
7030 \begin_layout Description
7031
7032 \family typewriter
7033 \series medium
7034 LatexParam
7035 \family default
7036 \series default
7037  The optional parameter for the corresponding 
7038 \family typewriter
7039 \series medium
7040 LatexName
7041 \family default
7042 \series default
7043  stuff.
7044  This parameter cannot be changed from within LyX.
7045 \end_layout
7046
7047 \begin_layout Description
7048
7049 \family typewriter
7050 \series medium
7051 OptionalArgs
7052 \family default
7053 \series default
7054  [
7055 \family typewriter
7056 int=0
7057 \family default
7058 ] The number of optional arguments that can be used with this layout.
7059  This is useful for things like section headings, and only makes sense with
7060  LaTeX.
7061 \end_layout
7062
7063 \begin_layout Description
7064
7065 \family typewriter
7066 \series medium
7067 Margin
7068 \family default
7069 \series default
7070  [
7071 \family typewriter
7072 \emph on
7073 Static
7074 \emph default
7075 , Manual, Dynamic, First_Dynamic, Right_Address_Box
7076 \family default
7077
7078 \newline
7079 The kind of margin that the layout has on the left side.
7080  
7081 \family typewriter
7082 Static
7083 \family default
7084  just means a fixed margin.
7085  
7086 \family typewriter
7087 Manual
7088 \family default
7089  means that the left margin depends on the string entered in the 
7090 \family sans
7091 \bar under
7092 E
7093 \bar default
7094 dit\SpecialChar \menuseparator
7095
7096 \bar under
7097 P
7098 \bar default
7099 aragraph\InsetSpace ~
7100 Settings
7101 \family default
7102  dialog.
7103  This is used to typeset nice lists without tabulators.
7104  
7105 \family typewriter
7106 Dynamic
7107 \family default
7108  means that the margin depends on the size of the label.
7109  This is used for automatic enumerated headlines.
7110  It is obvious that the headline 
7111 \begin_inset Quotes eld
7112 \end_inset
7113
7114 5.4.3.2.1 Very long headline
7115 \begin_inset Quotes erd
7116 \end_inset
7117
7118  must have a wider left margin (as wide as 
7119 \begin_inset Quotes eld
7120 \end_inset
7121
7122 5.4.3.2.1
7123 \begin_inset Quotes erd
7124 \end_inset
7125
7126  plus the space) than 
7127 \begin_inset Quotes eld
7128 \end_inset
7129
7130 3.2 Very long headline
7131 \begin_inset Quotes erd
7132 \end_inset
7133
7134 , even if other word processors are not able to do this.
7135  
7136 \family typewriter
7137 First_Dynamic
7138 \family default
7139  is similar, but only the very first row of the paragraph is dynamic, while
7140  the others are static; this is used, for example, for descriptions.
7141  
7142 \family typewriter
7143 Right_Address_Box
7144 \family default
7145  means the margin is chosen in a way that the longest row of this paragraph
7146  fits to the right margin.
7147  This is used to typeset an address on the right edge of the page.
7148 \end_layout
7149
7150 \begin_layout Description
7151
7152 \family typewriter
7153 \series medium
7154 NextNoIndent
7155 \family default
7156 \series default
7157  [
7158 \family typewriter
7159 1,
7160 \family default
7161  
7162 \family typewriter
7163 \emph on
7164 0
7165 \family default
7166 \emph default
7167 ] Whether the following Paragraph is allowed to indent its very first row.
7168  
7169 \family typewriter
7170 1
7171 \family default
7172  means that it is not allowed to do so, 
7173 \family typewriter
7174 0
7175 \family default
7176  means it could do so if it wants to.
7177 \end_layout
7178
7179 \begin_layout Description
7180
7181 \family typewriter
7182 \series medium
7183 ParIndent
7184 \family default
7185 \series default
7186  [
7187 \family typewriter
7188 string=""
7189 \family default
7190 ] The indent of the very first line of a paragraph.
7191  The argument is passed as a string.
7192  For example 
7193 \family typewriter
7194 "MM"
7195 \family default
7196  means that the paragraph is indented with the width of 
7197 \family typewriter
7198 "MM"
7199 \family default
7200  in 
7201 \family typewriter
7202 the
7203 \family default
7204  normal font.
7205  You can get a negative width by prefixing the string with 
7206 \family typewriter
7207 "-"
7208 \family default
7209 .
7210  This way was chosen so that the look is the same with each used screen
7211  font.
7212  The 
7213 \family typewriter
7214 Parindent
7215 \family default
7216  will be fixed for a certain layout.
7217  The exception is Standard layout, since the indentation of a Standard layout
7218  paragraph can be prohibited with 
7219 \family typewriter
7220 NextNoIndent
7221 \family default
7222 .
7223  Also, Standard layout paragraphs inside environments use the 
7224 \family typewriter
7225 Parindent
7226 \family default
7227  of the environment, not their native one.
7228  For example, Standard paragraphs inside an enumeration are not indented.
7229 \end_layout
7230
7231 \begin_layout Description
7232
7233 \family typewriter
7234 \series medium
7235 Parskip
7236 \family default
7237 \series default
7238  [
7239 \family typewriter
7240 float=0
7241 \family default
7242 ] LyX allows to choose either 
7243 \begin_inset Quotes eld
7244 \end_inset
7245
7246 indent
7247 \begin_inset Quotes erd
7248 \end_inset
7249
7250  or 
7251 \begin_inset Quotes eld
7252 \end_inset
7253
7254 skip
7255 \begin_inset Quotes erd
7256 \end_inset
7257
7258  to typeset a document.
7259  When 
7260 \begin_inset Quotes eld
7261 \end_inset
7262
7263 indent
7264 \begin_inset Quotes erd
7265 \end_inset
7266
7267  is chosen, this value is completely ignored.
7268  When 
7269 \begin_inset Quotes eld
7270 \end_inset
7271
7272 skip
7273 \begin_inset Quotes erd
7274 \end_inset
7275
7276  is chosen, the parindent of a LaTeXtype 
7277 \begin_inset Quotes eld
7278 \end_inset
7279
7280 Paragraph
7281 \begin_inset Quotes erd
7282 \end_inset
7283
7284  layout is ignored and all paragraphs are additionally separated by this
7285  parskip argument.
7286  The vertical space is calculated with 
7287 \family typewriter
7288 value*DefaultHeight()
7289 \family default
7290  where 
7291 \family typewriter
7292 DefaultHeight()
7293 \family default
7294  is the height of a row with the normal font.
7295  This way, the look stays the same with different screen fonts.
7296 \end_layout
7297
7298 \begin_layout Description
7299
7300 \family typewriter
7301 \series medium
7302 TopSep
7303 \family default
7304 \series default
7305  [
7306 \family typewriter
7307 float=0
7308 \family default
7309 ] The vertical space with which the very first of a chain of paragraphs
7310  with this layout is separated from the previous paragraph.
7311  If the previous paragraph has another layout, the separations are not simply
7312  added, but the maximum is taken.
7313 \end_layout
7314
7315 \begin_layout Description
7316
7317 \family typewriter
7318 \series medium
7319 BottomSep
7320 \family default
7321 \series default
7322  [
7323 \family typewriter
7324 float=0
7325 \family default
7326 ] The same as 
7327 \family typewriter
7328 TopSep
7329 \family default
7330  for the very last paragraph.
7331 \end_layout
7332
7333 \begin_layout Description
7334
7335 \family typewriter
7336 \series medium
7337 Parsep
7338 \family default
7339 \series default
7340  [
7341 \family typewriter
7342 float=0
7343 \family default
7344 ] The vertical space between two paragraphs of this layout.
7345 \end_layout
7346
7347 \begin_layout Description
7348
7349 \family typewriter
7350 \series medium
7351 Itemsep
7352 \family default
7353 \series default
7354  [
7355 \family typewriter
7356 float=0
7357 \family default
7358 ] This is an extra space between the paragraphs of an environment layout.
7359  If you put other layouts into an environment, each is separated with the
7360  environment's 
7361 \family typewriter
7362 Parsep
7363 \family default
7364 .
7365  But the whole items of the environment are additionally separated with
7366  this 
7367 \family typewriter
7368 Itemsep
7369 \family default
7370 .
7371  
7372 \end_layout
7373
7374 \begin_layout Description
7375
7376 \family typewriter
7377 \series medium
7378 LeftMargin
7379 \family default
7380 \series default
7381  [
7382 \family typewriter
7383 string=""
7384 \family default
7385 ] If you put layouts into environments, the leftmargins are not simply added,
7386  but added with a factor 
7387 \begin_inset Formula $\frac{4}{depth+4}$
7388 \end_inset
7389
7390 .
7391  Note that this parameter is also used when the border is defined as 
7392 \family typewriter
7393 Manual
7394 \family default
7395  or 
7396 \family typewriter
7397 Dynamic
7398 \family default
7399 .
7400  Then it is added to the manual or dynamic border.
7401  This string has the same meaning as for 
7402 \family typewriter
7403 ParIndent
7404 \family default
7405 .
7406 \end_layout
7407
7408 \begin_layout Description
7409
7410 \family typewriter
7411 \series medium
7412 RightMargin
7413 \family default
7414 \series default
7415  [
7416 \family typewriter
7417 string=""
7418 \family default
7419 ] Similar to 
7420 \family typewriter
7421 LeftMargin
7422 \family default
7423 .
7424 \end_layout
7425
7426 \begin_layout Description
7427
7428 \family typewriter
7429 \series medium
7430 Labeltype
7431 \family default
7432 \series default
7433  [
7434 \family typewriter
7435 \emph on
7436 No_Label
7437 \emph default
7438 , Manual, Static, Top_Environment, 
7439 \newline
7440 Centered_Top_Environment, Sensitive,
7441  Counter
7442 \family default
7443
7444 \newline
7445
7446 \family typewriter
7447 Manual
7448 \family default
7449  means the label is the very first word (up to the first real blank).
7450  
7451 \family typewriter
7452 Static
7453 \family default
7454  means it is defined in the layout (see 
7455 \family typewriter
7456 LabelString
7457 \family default
7458 ).
7459  
7460 \family typewriter
7461 Top_Environment
7462 \family default
7463  and 
7464 \family typewriter
7465 Centered_Top_Environment
7466 \family default
7467  are special cases of 
7468 \family typewriter
7469 Static
7470 \family default
7471 .
7472  The label will be printed above the paragraph, but only at the top of an
7473  environment or the top of a chain of paragraphs with this layout.
7474  Usage is for example the 
7475 \family sans
7476 Abstract
7477 \family default
7478  layout or the 
7479 \family sans
7480 Bibliography
7481 \family default
7482  layout.
7483  This is also the case for 
7484 \family typewriter
7485 Manual
7486 \family default
7487  labels with latex type 
7488 \family typewriter
7489 Environment
7490 \family default
7491 , in order to make layouts for theorems work correctly.
7492  
7493 \family typewriter
7494 Sensitive
7495 \family default
7496  is a special case for the caption-labels 
7497 \begin_inset Quotes eld
7498 \end_inset
7499
7500 Figure
7501 \begin_inset Quotes erd
7502 \end_inset
7503
7504  and 
7505 \begin_inset Quotes eld
7506 \end_inset
7507
7508 Table
7509 \begin_inset Quotes erd
7510 \end_inset
7511
7512 .
7513  
7514 \family typewriter
7515 Sensitive
7516 \family default
7517  means the (hardcoded) label string depends on the kind of float.
7518  The 
7519 \family typewriter
7520 Counter
7521 \family default
7522  label type defines automatically numbered labels.
7523 \end_layout
7524
7525 \begin_layout Description
7526
7527 \family typewriter
7528 \series medium
7529 LabelCounter
7530 \family default
7531 \series default
7532  [
7533 \family typewriter
7534 string=""
7535 \family default
7536 ]
7537 \newline
7538 The name of the counter for automatic numbering (see Section\InsetSpace ~
7539
7540 \begin_inset LatexCommand ref
7541 reference "sec:counter"
7542
7543 \end_inset
7544
7545  for details).
7546  This must be given if 
7547 \family typewriter
7548 \series medium
7549 Labeltype
7550 \family default
7551 \series default
7552  is 
7553 \family typewriter
7554 Counter
7555 \family default
7556 .
7557 \end_layout
7558
7559 \begin_layout Description
7560
7561 \family typewriter
7562 \series medium
7563 Labelsep
7564 \family default
7565 \series default
7566  [
7567 \family typewriter
7568 string=""
7569 \family default
7570 ] The horizontal space between the label and the text body.
7571  Only used for labels that are not above the text body.
7572 \end_layout
7573
7574 \begin_layout Description
7575
7576 \family typewriter
7577 \series medium
7578 LabelBottomsep
7579 \family default
7580 \series default
7581  [float=0] The vertical space between the label and the text body.
7582  Only used for labels that are above the text body (
7583 \family typewriter
7584 Top_Environment
7585 \family default
7586
7587 \family typewriter
7588 Centered_Top_Environment
7589 \family default
7590 ).
7591 \end_layout
7592
7593 \begin_layout Description
7594
7595 \family typewriter
7596 \series medium
7597 LabelString
7598 \family default
7599 \series default
7600  [
7601 \family typewriter
7602 string=""
7603 \family default
7604 ] The string used for a label with a 
7605 \family typewriter
7606 Static
7607 \family default
7608  labeltype.
7609  When the border is 
7610 \family typewriter
7611 Manual
7612 \family default
7613  this string is also used as a suggestion for the 
7614 \family typewriter
7615 LabelWidthString
7616 \family default
7617  that can be set in the 
7618 \family sans
7619 \bar under
7620 E
7621 \bar default
7622 dit\SpecialChar \menuseparator
7623
7624 \bar under
7625 P
7626 \bar default
7627 aragraph\InsetSpace ~
7628 Settings
7629 \family default
7630  dialog.
7631  When 
7632 \family typewriter
7633 \series medium
7634 LabelCounter
7635 \family default
7636 \series default
7637  is set, this string can be contain the special formatting commands described
7638  in Section\InsetSpace ~
7639
7640 \begin_inset LatexCommand ref
7641 reference "sec:counter"
7642
7643 \end_inset
7644
7645 .
7646  For the sake of backwards compatibility, the string 
7647 \family typewriter
7648 @
7649 \emph on
7650 style-name
7651 \emph default
7652 @
7653 \family default
7654  will be replaced by the expanded 
7655 \family typewriter
7656 LabelString
7657 \family default
7658  of style 
7659 \family typewriter
7660 \emph on
7661 style-name
7662 \family default
7663 \emph default
7664 .
7665  This feature is now obsolete and should be replaced by the mechanisms of
7666  Section\InsetSpace ~
7667
7668 \begin_inset LatexCommand ref
7669 reference "sec:counter"
7670
7671 \end_inset
7672
7673 .
7674 \end_layout
7675
7676 \begin_layout Description
7677
7678 \family typewriter
7679 \series medium
7680 LabelStringAppendix
7681 \family default
7682 \series default
7683  [
7684 \family typewriter
7685 string=""
7686 \family default
7687 ] This is used inside the appendix instead of 
7688 \family typewriter
7689 LabelString
7690 \family default
7691 .
7692  Note that every 
7693 \family typewriter
7694 LabelString
7695 \family default
7696  statement resets 
7697 \family typewriter
7698 \series medium
7699 LabelStringAppendix
7700 \family default
7701 \series default
7702  too
7703 \family typewriter
7704 \series medium
7705 .
7706 \end_layout
7707
7708 \begin_layout Description
7709
7710 \family typewriter
7711 \series medium
7712 TocLevel [int]
7713 \family default
7714 \series default
7715  The level of the style in the table of contents.
7716  This is used for automatic numbering of section headings.
7717 \end_layout
7718
7719 \begin_layout Description
7720
7721 \family typewriter
7722 \series medium
7723 EndLabeltype
7724 \family default
7725 \series default
7726  [
7727 \family typewriter
7728 \emph on
7729 No_Label
7730 \emph default
7731 , Box, Filled_Box, Static
7732 \family default
7733 ] The type of label that stands at the end of the paragraph (or sequence
7734  of paragraphs if 
7735 \family typewriter
7736 LatexType
7737 \family default
7738  is 
7739 \family typewriter
7740 Environment
7741 \family default
7742
7743 \family typewriter
7744 Item_Environment
7745 \family default
7746  or 
7747 \family typewriter
7748 List_Environment
7749 \family default
7750 ).
7751  
7752 \family typewriter
7753 No_Label
7754 \family default
7755  means 
7756 \begin_inset Quotes eld
7757 \end_inset
7758
7759 nothing
7760 \begin_inset Quotes erd
7761 \end_inset
7762
7763
7764 \family typewriter
7765 Box
7766 \family default
7767  (resp.
7768 \family typewriter
7769 \InsetSpace ~
7770 Filled_Box
7771 \family default
7772 ) is a white (resp.\InsetSpace ~
7773 black) square suitable for end of proof markers, 
7774 \family typewriter
7775 Static
7776 \family default
7777  is an explicit text string.
7778 \end_layout
7779
7780 \begin_layout Description
7781
7782 \family typewriter
7783 \series medium
7784 EndLabelString
7785 \family default
7786 \series default
7787  [
7788 \family typewriter
7789 string=""
7790 \family default
7791 ] The string used for a label with a 
7792 \family typewriter
7793 Static
7794 \family default
7795  
7796 \family typewriter
7797 EndLabelType
7798 \family default
7799 .
7800  
7801 \end_layout
7802
7803 \begin_layout Description
7804
7805 \family typewriter
7806 \series medium
7807 Align
7808 \family default
7809 \series default
7810  [
7811 \family typewriter
7812 \emph on
7813 block
7814 \emph default
7815 , left, right, center
7816 \family default
7817 ] Paragraph alignment.
7818 \end_layout
7819
7820 \begin_layout Description
7821
7822 \family typewriter
7823 \series medium
7824 AlignPossible
7825 \family default
7826 \series default
7827  [
7828 \family typewriter
7829 \emph on
7830 block
7831 \emph default
7832 , left, right, center
7833 \family default
7834 ] A comma separated 
7835 \emph on
7836 list
7837 \emph default
7838  of possible aligns.
7839  Some LaTeX styles prohibit certain alignments, since those wouldn't make
7840  sense.
7841  For example a right-aligned or centered enumeration isn't possible.
7842 \end_layout
7843
7844 \begin_layout Description
7845
7846 \family typewriter
7847 \series medium
7848 Fill_Top
7849 \family default
7850 \series default
7851  [
7852 \family typewriter
7853 \emph on
7854 0
7855 \emph default
7856 ,1
7857 \family default
7858 ] With this parameter the 
7859 \family sans
7860 Fill
7861 \family default
7862  value of the 
7863 \begin_inset Quotes eld
7864 \end_inset
7865
7866 Vertical space above
7867 \begin_inset Quotes erd
7868 \end_inset
7869
7870  list of the 
7871 \family sans
7872 \bar under
7873 E
7874 \bar default
7875 dit\SpecialChar \menuseparator
7876
7877 \bar under
7878 P
7879 \bar default
7880 aragraph\InsetSpace ~
7881 Settings
7882 \family default
7883  dialog can be set when initializing a paragraph with this layout
7884 \begin_inset Foot
7885 status collapsed
7886
7887 \begin_layout Standard
7888
7889 \emph on
7890 Note from Jean-Marc:
7891 \emph default
7892  I'm not sure that this setting has much use, and it should probably be
7893  removed in later versions.
7894 \end_layout
7895
7896 \end_inset
7897
7898 .
7899  
7900 \end_layout
7901
7902 \begin_layout Description
7903
7904 \family typewriter
7905 \series medium
7906 Fill_Bottom
7907 \family default
7908 \series default
7909  [
7910 \family typewriter
7911 \emph on
7912 0
7913 \emph default
7914 ,1
7915 \family default
7916 ] Similar to 
7917 \family typewriter
7918 Fill_Top
7919 \family default
7920 .
7921 \end_layout
7922
7923 \begin_layout Description
7924
7925 \family typewriter
7926 \series medium
7927 NeedProtect
7928 \family default
7929 \series default
7930  [
7931 \family typewriter
7932 \emph on
7933 0
7934 \emph default
7935 ,1
7936 \family default
7937 ] Whether fragile commands in this layout should be 
7938 \family typewriter
7939
7940 \backslash
7941 protect
7942 \family default
7943 'ed.
7944 \end_layout
7945
7946 \begin_layout Description
7947
7948 \family typewriter
7949 \series medium
7950 Newline
7951 \family default
7952 \series default
7953  [
7954 \family typewriter
7955 0,
7956 \family default
7957  
7958 \family typewriter
7959 \emph on
7960 1
7961 \family default
7962 \emph default
7963 ] Whether newlines are translated into LaTeX newlines (
7964 \family typewriter
7965
7966 \backslash
7967
7968 \backslash
7969
7970 \family default
7971 ) or not.
7972  The translation can be switched off to allow more comfortable LaTeX editing
7973  inside LyX.
7974 \end_layout
7975
7976 \begin_layout Description
7977
7978 \family typewriter
7979 \series medium
7980 PassThru
7981 \family default
7982 \series default
7983  [
7984 \family typewriter
7985 \emph on
7986 0
7987 \emph default
7988 , 1
7989 \family default
7990 ] Whether the contents of this paragraph should be output in raw form, meaning
7991  without special translations that LaTeX would require.
7992  This somehow replaces the older 
7993 \family typewriter
7994 Latex
7995 \family default
7996  font property.
7997 \end_layout
7998
7999 \begin_layout Description
8000
8001 \family typewriter
8002 \series medium
8003 FreeSpacing
8004 \family default
8005 \series default
8006  [
8007 \family typewriter
8008 \emph on
8009 0
8010 \emph default
8011 , 1
8012 \family default
8013 ] Usually LyX doesn't allow you to insert more than one space between words,
8014  since a space is considered as the separation between two words, not a
8015  character or symbol of its own.
8016  This is a very fine thing but sometimes annoying, for example when typing
8017  program code or plain LaTeX code.
8018  For this reason, 
8019 \family typewriter
8020 FreeSpacing
8021 \family default
8022  can be enabled.
8023  Note that LyX will create protected blanks for the additional blanks when
8024  in another mode than LaTeX-mode.
8025 \end_layout
8026
8027 \begin_layout Description
8028
8029 \family typewriter
8030 \series medium
8031 KeepEmpty
8032 \family default
8033 \series default
8034  [
8035 \family typewriter
8036 \emph on
8037 0
8038 \emph default
8039 , 1
8040 \family default
8041 ] Usually LyX does not allow you to leave a paragraph empty, since it would
8042  lead to empty LaTeX output.
8043  There are some cases where this could be desirable however: in a letter
8044  template, the required fields can be provided as empty fields, so that
8045  people do not forget them; in some special classes, a layout can be used
8046  as some kind of break, which does not contain actual text.
8047 \end_layout
8048
8049 \begin_layout Description
8050
8051 \family typewriter
8052 \series medium
8053 Spacing
8054 \family default
8055 \series default
8056  [
8057 \family typewriter
8058 \emph on
8059 single
8060 \emph default
8061 , onehalf, double, other
8062 \family default
8063  
8064 \emph on
8065 value
8066 \emph default
8067 ] This defines what the default spacing should be in the layout.
8068  The arguments 
8069 \family typewriter
8070 single
8071 \family default
8072
8073 \family typewriter
8074 onehalf
8075 \family default
8076  and 
8077 \family typewriter
8078 double
8079 \family default
8080  correspond respectively to a multiplier value of 1, 1.25 and 1.667.
8081  If you specify the argument 
8082 \family typewriter
8083 other
8084 \family default
8085 , then you should also provide a numerical argument which will be the actual
8086  multiplier value.
8087  Note that, contrary to other parameters, 
8088 \family typewriter
8089 Spacing
8090 \family default
8091  implies the generation of specific LaTeX code, using the package 
8092 \family typewriter
8093 setspace.sty
8094 \family roman
8095 .
8096 \end_layout
8097
8098 \begin_layout Description
8099
8100 \family typewriter
8101 \series medium
8102 Font
8103 \family default
8104 \series default
8105  The font used for both the text body 
8106 \emph on
8107 and
8108 \emph default
8109  the label.
8110  See section\InsetSpace ~
8111
8112 \begin_inset LatexCommand ref
8113 reference "sec:fonts"
8114
8115 \end_inset
8116
8117 .
8118  Note that defining this font automatically defines the 
8119 \family typewriter
8120 LabelFont
8121 \family default
8122  to the same value.
8123 \end_layout
8124
8125 \begin_layout Description
8126
8127 \family typewriter
8128 \series medium
8129 TextFont
8130 \family default
8131 \series default
8132  The font used for the text body .
8133  See section\InsetSpace ~
8134
8135 \begin_inset LatexCommand ref
8136 reference "sec:fonts"
8137
8138 \end_inset
8139
8140 .
8141 \end_layout
8142
8143 \begin_layout Description
8144
8145 \family typewriter
8146 \series medium
8147 LabelFont
8148 \family default
8149 \series default
8150  The font used for the label.
8151  See section\InsetSpace ~
8152
8153 \begin_inset LatexCommand ref
8154 reference "sec:fonts"
8155
8156 \end_inset
8157
8158 .
8159 \end_layout
8160
8161 \begin_layout Description
8162
8163 \family typewriter
8164 \series medium
8165 Preamble\SpecialChar \ldots{}
8166 EndPreamble
8167 \family default
8168 \series default
8169  A set of macro definitions that will be output at the beginning of the
8170  LaTeX files when the layout is used.
8171  Use this to define the macros needed by this particular layout.
8172 \end_layout
8173
8174 \begin_layout Description
8175
8176 \family typewriter
8177 \series medium
8178 DependsOn
8179 \family default
8180 \series default
8181  the name of a style which preamble should be output 
8182 \emph on
8183 before
8184 \emph default
8185  the one mentionned above.
8186  This allows to ensure some ordering of the preamble snippets when macros
8187  definitions depend on one another
8188 \begin_inset Foot
8189 status collapsed
8190
8191 \begin_layout Standard
8192 Note that, besides that functionality, there is no way to ensure any ordering
8193  of preambles.
8194  The ordering that you see in a given version of LyX may change without
8195  warning in later versions.
8196 \end_layout
8197
8198 \end_inset
8199
8200 .
8201 \end_layout
8202
8203 \begin_layout Standard
8204 \begin_inset ERT
8205 status inlined
8206
8207 \begin_layout Standard
8208
8209
8210 \backslash
8211 end{sloppypar}
8212 \end_layout
8213
8214 \end_inset
8215
8216
8217 \end_layout
8218
8219 \begin_layout Subsection
8220 Floats
8221 \end_layout
8222
8223 \begin_layout Standard
8224 \begin_inset LatexCommand label
8225 name "sec:floats"
8226
8227 \end_inset
8228
8229 Since version 1.3.0 of LyX, it is necessary to define the floats (
8230 \family sans
8231 figure
8232 \family default
8233
8234 \family sans
8235 table
8236 \family default
8237 , \SpecialChar \ldots{}
8238 ) in the text class itself.
8239  If you are looking here to learn how to upgrade an existing text class,
8240  it will probably turn out that all you have to do is to add
8241 \end_layout
8242
8243 \begin_layout LyX-Code
8244 Input stdfloats.inc
8245 \end_layout
8246
8247 \begin_layout Standard
8248 at a reasonable location of the text class.
8249 \begin_inset Foot
8250 status collapsed
8251
8252 \begin_layout Standard
8253 Don't forget to also have a look at counters in next section.
8254 \end_layout
8255
8256 \end_inset
8257
8258  If you want to implement a text class that proposes some other float types
8259  (like the AGU class bundled with LyX), the information below will hopefully
8260  help you:
8261 \end_layout
8262
8263 \begin_layout Description
8264
8265 \family typewriter
8266 \series medium
8267 Type
8268 \family default
8269 \series default
8270  [
8271 \family typewriter
8272 string
8273 \family default
8274 =
8275 \begin_inset Quotes erd
8276 \end_inset
8277
8278
8279 \begin_inset Quotes erd
8280 \end_inset
8281
8282 ] The 
8283 \begin_inset Quotes eld
8284 \end_inset
8285
8286 type
8287 \begin_inset Quotes erd
8288 \end_inset
8289
8290  of the new class of floats, like program or algorithm.
8291  After the appropriate 
8292 \family typewriter
8293
8294 \backslash
8295 newfloat
8296 \family default
8297 , commands such as 
8298 \family typewriter
8299
8300 \backslash
8301 begin{program}
8302 \family default
8303  or 
8304 \family typewriter
8305
8306 \backslash
8307 end{algorithm*}
8308 \family default
8309  will be available.
8310 \end_layout
8311
8312 \begin_layout Description
8313
8314 \family typewriter
8315 \series medium
8316 GuiName
8317 \family default
8318 \series default
8319  [
8320 \family typewriter
8321 string
8322 \family default
8323 =
8324 \begin_inset Quotes erd
8325 \end_inset
8326
8327
8328 \begin_inset Quotes erd
8329 \end_inset
8330
8331 ] The string that will be used in the menus and also for the caption.
8332 \end_layout
8333
8334 \begin_layout Description
8335
8336 \family typewriter
8337 \series medium
8338 LaTeXBuiltin
8339 \family default
8340 \series default
8341  [
8342 \family typewriter
8343 \emph on
8344 0
8345 \family default
8346 \emph default
8347
8348 \family typewriter
8349 1
8350 \family default
8351 ] Set to 
8352 \family typewriter
8353 1
8354 \family default
8355  if the float is already defined by the documentclass.
8356  If this is set to 
8357 \family typewriter
8358 0
8359 \family default
8360 , the float will be defined using the LaTeX package 
8361 \family typewriter
8362 float
8363 \family default
8364 .
8365 \end_layout
8366
8367 \begin_layout Description
8368
8369 \family typewriter
8370 \series medium
8371 NumberWithin
8372 \family default
8373 \series default
8374  [
8375 \family typewriter
8376 string
8377 \family default
8378 =
8379 \begin_inset Quotes erd
8380 \end_inset
8381
8382
8383 \begin_inset Quotes erd
8384 \end_inset
8385
8386 ] This (optional) argument determines whether floats of this class will
8387  be numbered within some sectional unit of the document.
8388  For example, if within is equal to 
8389 \family typewriter
8390 chapter
8391 \family default
8392 , the floats will be numbered within chapters.
8393  
8394 \end_layout
8395
8396 \begin_layout Description
8397
8398 \family typewriter
8399 \series medium
8400 Style
8401 \family default
8402 \series default
8403  [
8404 \family typewriter
8405 string
8406 \family default
8407 =
8408 \begin_inset Quotes erd
8409 \end_inset
8410
8411
8412 \begin_inset Quotes erd
8413 \end_inset
8414
8415 ] The style used when defining the float using 
8416 \family typewriter
8417
8418 \backslash
8419 newfloat
8420 \family default
8421 .
8422 \end_layout
8423
8424 \begin_layout Description
8425
8426 \family typewriter
8427 \series medium
8428 Placement
8429 \family default
8430 \series default
8431  [
8432 \family typewriter
8433 string
8434 \family default
8435 =
8436 \begin_inset Quotes erd
8437 \end_inset
8438
8439
8440 \begin_inset Quotes erd
8441 \end_inset
8442
8443 ] The default placement for the given class of floats.
8444  They are like in standard LaTeX: 
8445 \family typewriter
8446 t
8447 \family default
8448
8449 \family typewriter
8450 b
8451 \family default
8452
8453 \family typewriter
8454 p
8455 \family default
8456  and 
8457 \family typewriter
8458 h
8459 \family default
8460  for top, bottom, page, and here, respectively.
8461 \begin_inset Foot
8462 status collapsed
8463
8464 \begin_layout Standard
8465 Note that the order of these letters in the string is irrelevant, like in
8466  LaTeX.
8467 \end_layout
8468
8469 \end_inset
8470
8471  On top of that there is a new type, 
8472 \family typewriter
8473 H
8474 \family default
8475 , which does not really correspond to a float, since it means: put it 
8476 \begin_inset Quotes eld
8477 \end_inset
8478
8479 here
8480 \begin_inset Quotes erd
8481 \end_inset
8482
8483  and nowhere else.
8484  Note, however that the 
8485 \family typewriter
8486 H
8487 \family default
8488  specifier is special and, because of implementation details cannot be used
8489  in non-builtin float types.
8490  If you do not understand what this means, just use 
8491 \family typewriter
8492 "tbp"
8493 \family default
8494 .
8495 \end_layout
8496
8497 \begin_layout Description
8498
8499 \family typewriter
8500 \series medium
8501 Extension
8502 \family default
8503 \series default
8504  [
8505 \family typewriter
8506 string
8507 \family default
8508 =
8509 \begin_inset Quotes erd
8510 \end_inset
8511
8512
8513 \begin_inset Quotes erd
8514 \end_inset
8515
8516 ] The file name extension of an auxiliary file for the list of figures (or
8517  whatever).
8518  LaTeX writes the captions to this file.
8519 \end_layout
8520
8521 \begin_layout Description
8522
8523 \family typewriter
8524 \series medium
8525 ListName
8526 \family default
8527 \series default
8528  [
8529 \family typewriter
8530 string
8531 \family default
8532 =
8533 \begin_inset Quotes erd
8534 \end_inset
8535
8536
8537 \begin_inset Quotes erd
8538 \end_inset
8539
8540 ] The heading used for the list of floats.
8541 \end_layout
8542
8543 \begin_layout Standard
8544 Note that defining a float with type 
8545 \family typewriter
8546 \emph on
8547 type
8548 \family default
8549 \emph default
8550  automatically defines the corresponding counter with name 
8551 \family typewriter
8552 \emph on
8553 type
8554 \family default
8555 \emph default
8556 .
8557 \end_layout
8558
8559 \begin_layout Subsection
8560 Inset layouts and Flex insets
8561 \end_layout
8562
8563 \begin_layout Standard
8564 \begin_inset LatexCommand label
8565 name "sec:charstyle"
8566
8567 \end_inset
8568
8569 You can define character styles since version 1.4.0 of LyX; since version
8570  1.6.0 these are called Flex insets.
8571  
8572 \end_layout
8573
8574 \begin_layout Standard
8575 Furthermore it is possible to define the general layout of many different
8576  types of insets.
8577  Currently layout parameters can be defined for footnotes, marginal notes,
8578  note insets, ERT insets, branch insets, and Flex insets.
8579  The latter are definable from the user GUI and come in three different
8580  kinds: character style (
8581 \family typewriter
8582 CharStyle
8583 \family default
8584 ) , user custom (
8585 \family typewriter
8586 Custom
8587 \family default
8588 ), and XML element (
8589 \family typewriter
8590 Element
8591 \family default
8592 ) insets.
8593  
8594 \end_layout
8595
8596 \begin_layout Standard
8597 The 
8598 \family typewriter
8599 InsetLayout
8600 \family default
8601  definition starting line is of the form
8602 \end_layout
8603
8604 \begin_layout LyX-Code
8605 InsetLayout <Type> <Name>
8606 \end_layout
8607
8608 \begin_layout Standard
8609 where
8610 \end_layout
8611
8612 \begin_layout Standard
8613
8614 \family typewriter
8615 <type>
8616 \family default
8617  can be 
8618 \family typewriter
8619 Foot, Margin, Note, Flex
8620 \family default
8621 , and 
8622 \end_layout
8623
8624 \begin_layout Standard
8625
8626 \family typewriter
8627 <Name>
8628 \family default
8629  can be empty (for foot- and marginal notes, branches and ERT) or one of
8630  types 
8631 \family typewriter
8632 CharStyle:Noun
8633 \family default
8634
8635 \family typewriter
8636 Note:Comment
8637 \family default
8638
8639 \family typewriter
8640 Custom:Endnote
8641 \family default
8642
8643 \family typewriter
8644 Element:Filename
8645 \family default
8646 , etc.
8647  Here, the second part of the name can be chosen freely (for CharStyle,
8648  Custom and Element), or from a predefined list (for Note).
8649 \end_layout
8650
8651 \begin_layout Standard
8652 The following 
8653 \family typewriter
8654 InsetLayout
8655 \family default
8656  section can contain the following entries:
8657 \end_layout
8658
8659 \begin_layout Description
8660
8661 \family typewriter
8662 \series medium
8663 LyxType 
8664 \family default
8665 \series default
8666 can be 
8667 \family typewriter
8668 charstyle
8669 \family default
8670
8671 \family typewriter
8672 custom
8673 \family default
8674
8675 \family typewriter
8676 element
8677 \family default
8678
8679 \family typewriter
8680 end
8681 \family default
8682  (indicating a dummy definition ending definitions of charstyles etc.).
8683  This entry is only meaningful for Flex (user definable) insets, the three
8684  types of which are CharStyle, Custom and Element.
8685 \end_layout
8686
8687 \begin_layout Description
8688
8689 \family typewriter
8690 \series medium
8691 Decoration
8692 \family default
8693 \series default
8694  can be 
8695 \family typewriter
8696 \series medium
8697 Classic
8698 \family default
8699 \series default
8700 ,
8701 \family typewriter
8702 \series medium
8703  Minimalistic or Conglomerate
8704 \family default
8705 \series default
8706 , describing the rendering style used for the inset's frame and buttons.
8707 \end_layout
8708
8709 \begin_layout Description
8710
8711 \family typewriter
8712 \series medium
8713 LabelString
8714 \family default
8715 \series default
8716  defines what will be displayed on the button or elsewhere as the inset
8717  label.
8718  Some inset types (ERT and Branch) modify this label on the fly.
8719 \end_layout
8720
8721 \begin_layout Description
8722
8723 \family typewriter
8724 \series medium
8725 Font
8726 \family default
8727 \series default
8728  The font used for both the text body 
8729 \emph on
8730 and
8731 \emph default
8732  the label.
8733  See section\InsetSpace ~
8734
8735 \begin_inset LatexCommand ref
8736 reference "sec:fonts"
8737
8738 \end_inset
8739
8740 .
8741  Note that defining this font automatically defines the 
8742 \family typewriter
8743 LabelFont
8744 \family default
8745  to the same value.
8746 \end_layout
8747
8748 \begin_layout Description
8749
8750 \family typewriter
8751 \series medium
8752 LabelFont
8753 \family default
8754 \series default
8755  The font used for the label.
8756  See section\InsetSpace ~
8757
8758 \begin_inset LatexCommand ref
8759 reference "sec:fonts"
8760
8761 \end_inset
8762
8763 .
8764  Note that this definition can never appear before 
8765 \family typewriter
8766 Font
8767 \family default
8768 , lest it be ineffective (see above)
8769 \end_layout
8770
8771 \begin_layout Description
8772
8773 \family typewriter
8774 \series medium
8775 LatexName
8776 \family default
8777 \series default
8778  The name of the corresponding LaTeX stuff.
8779  Either the environment or command name.
8780 \end_layout
8781
8782 \begin_layout Description
8783
8784 \family typewriter
8785 \series medium
8786 LatexParam
8787 \family default
8788 \series default
8789  The optional parameter for the corresponding 
8790 \family typewriter
8791 \series medium
8792 LatexName
8793 \family default
8794 \series default
8795  stuff, including possible bracket pairs like 
8796 \family typewriter
8797 []
8798 \family default
8799 .
8800  This parameter cannot be changed from within LyX.
8801 \end_layout
8802
8803 \begin_layout Description
8804
8805 \family typewriter
8806 \series medium
8807 LatexType
8808 \family default
8809 \series default
8810  See section\InsetSpace ~
8811
8812 \begin_inset LatexCommand ref
8813 reference "sec:style"
8814
8815 \end_inset
8816
8817 .
8818 \end_layout
8819
8820 \begin_layout Description
8821
8822 \family typewriter
8823 \series medium
8824 Preamble\SpecialChar \ldots{}
8825 EndPreamble
8826 \family default
8827 \series default
8828  See section\InsetSpace ~
8829
8830 \begin_inset LatexCommand ref
8831 reference "sec:style"
8832
8833 \end_inset
8834
8835
8836 \end_layout
8837
8838 \begin_layout Subsection
8839 Counters
8840 \end_layout
8841
8842 \begin_layout Standard
8843 \begin_inset LatexCommand label
8844 name "sec:counter"
8845
8846 \end_inset
8847
8848 Since version 1.3.0 of LyX, it is necessary to define the counters (
8849 \family sans
8850 chapter
8851 \family default
8852
8853 \family sans
8854 figure
8855 \family default
8856 , \SpecialChar \ldots{}
8857 ) in the text class itself.
8858  If you are looking here to learn how to upgrade an existing text class,
8859  it will probably turn out that all you have to do is to add
8860 \end_layout
8861
8862 \begin_layout LyX-Code
8863 Input stdcounters.inc
8864 \end_layout
8865
8866 \begin_layout Standard
8867 The following parameters can be used:
8868 \end_layout
8869
8870 \begin_layout Description
8871
8872 \family typewriter
8873 \series medium
8874 Name
8875 \family default
8876 \series default
8877  [
8878 \family typewriter
8879 string
8880 \family default
8881 =
8882 \begin_inset Quotes erd
8883 \end_inset
8884
8885
8886 \begin_inset Quotes erd
8887 \end_inset
8888
8889 ] The name of the counter.
8890 \end_layout
8891
8892 \begin_layout Description
8893
8894 \family typewriter
8895 \series medium
8896 Within
8897 \family default
8898 \series default
8899  [
8900 \family typewriter
8901 string
8902 \family default
8903 =
8904 \begin_inset Quotes erd
8905 \end_inset
8906
8907
8908 \begin_inset Quotes erd
8909 \end_inset
8910
8911 ] If this is set to the name of another counter, the present counter will
8912  be reset everytime the other one is increased.
8913  For example, 
8914 \family typewriter
8915 subsection
8916 \family default
8917  is numbered inside 
8918 \family typewriter
8919 section
8920 \family default
8921 .
8922 \end_layout
8923
8924 \begin_layout Description
8925
8926 \family typewriter
8927 \series medium
8928 LabelString [string=""]
8929 \family default
8930 \series default
8931  when this is defined, this string defines how the counter is displayed.
8932  Setting this value resets 
8933 \family typewriter
8934 LabelStringAppendix
8935 \family default
8936  to the same value.
8937  The following special constructs can be used in the string:
8938 \end_layout
8939
8940 \begin_deeper
8941 \begin_layout Itemize
8942
8943 \family typewriter
8944
8945 \backslash
8946 thecounter
8947 \family default
8948  will be replaced by the expansion of the 
8949 \family typewriter
8950 LabelString
8951 \family default
8952  (or 
8953 \family typewriter
8954 LabelStringAppendix
8955 \family default
8956 ) of the counter 
8957 \family typewriter
8958 counter
8959 \family default
8960 .
8961  If these are empty, a default value is constructed as follows: if the counter
8962  has a master counter 
8963 \family typewriter
8964 master
8965 \family default
8966 , the string 
8967 \family typewriter
8968
8969 \backslash
8970 themaster.
8971 \backslash
8972 arabic{counter}
8973 \family default
8974  is used; otherwise the string 
8975 \family typewriter
8976
8977 \backslash
8978 arabic{counter}
8979 \family default
8980  is used.
8981 \end_layout
8982
8983 \begin_layout Itemize
8984 counter values can be expressed using LaTeX-like macros 
8985 \family typewriter
8986
8987 \backslash
8988
8989 \emph on
8990 numbertype
8991 \emph default
8992 {
8993 \emph on
8994 counter
8995 \emph default
8996 }
8997 \family default
8998 , where 
8999 \family typewriter
9000 \emph on
9001 numbertype
9002 \family default
9003 \emph default
9004  can be:
9005 \end_layout
9006
9007 \begin_deeper
9008 \begin_layout Description
9009
9010 \family typewriter
9011 \series medium
9012 arabic
9013 \family default
9014 \series default
9015  to translate 
9016 \family typewriter
9017 counter
9018 \family default
9019  to arabic numerals, like 1, 2, 3\SpecialChar \ldots{}
9020
9021 \begin_inset Foot
9022 status collapsed
9023
9024 \begin_layout Standard
9025
9026 \family roman
9027 \series medium
9028 \shape up
9029 \size normal
9030 \emph off
9031 \bar no
9032 \noun off
9033 \color none
9034 Actually, the situation is a bit more complicated than that: any
9035 \family default
9036 \series default
9037 \shape default
9038 \emph default
9039 \bar default
9040  
9041 \family typewriter
9042 \size default
9043 \emph on
9044 \noun default
9045 numbertype
9046 \family roman
9047 \series medium
9048 \shape up
9049 \size normal
9050 \emph off
9051 \bar no
9052 \noun off
9053  other than those descibed below will produce arabic numerals.
9054  It would not be surprising to see this change in the future.
9055 \end_layout
9056
9057 \end_inset
9058
9059
9060 \end_layout
9061
9062 \begin_layout Description
9063
9064 \family typewriter
9065 \series medium
9066 alph
9067 \family default
9068 \series default
9069  for lower-case letters: a, b, c, \SpecialChar \ldots{}
9070
9071 \end_layout
9072
9073 \begin_layout Description
9074
9075 \family typewriter
9076 \series medium
9077 Alph
9078 \family default
9079 \series default
9080  for upper-case letters: A, B, C, \SpecialChar \ldots{}
9081
9082 \end_layout
9083
9084 \begin_layout Description
9085
9086 \family typewriter
9087 \series medium
9088 roman
9089 \family default
9090 \series default
9091  for lower-case roman numerals: i, ii, iii, \SpecialChar \ldots{}
9092
9093 \end_layout
9094
9095 \begin_layout Description
9096
9097 \family typewriter
9098 \series medium
9099 Roman
9100 \family default
9101 \series default
9102  for upper-case roman numerals: I, II, III\SpecialChar \ldots{}
9103
9104 \end_layout
9105
9106 \begin_layout Description
9107
9108 \family typewriter
9109 \series medium
9110 hebrew
9111 \family default
9112 \series default
9113  for hebrew numerals.
9114 \end_layout
9115
9116 \end_deeper
9117 \end_deeper
9118 \begin_layout Description
9119
9120 \family typewriter
9121 \series medium
9122 LabelStringAppendix [string=""]
9123 \family default
9124 \series default
9125  the same as 
9126 \family typewriter
9127 LabelString
9128 \family default
9129 , for use in appendix.
9130 \end_layout
9131
9132 \begin_layout Subsection
9133 Font description
9134 \end_layout
9135
9136 \begin_layout Standard
9137 \begin_inset LatexCommand label
9138 name "sec:fonts"
9139
9140 \end_inset
9141
9142 A font description looks like that:
9143 \end_layout
9144
9145 \begin_layout LyX-Code
9146 Font 
9147 \family roman
9148 \emph on
9149 or
9150 \family default
9151 \emph default
9152  LabelFont
9153 \end_layout
9154
9155 \begin_layout LyX-Code
9156  ...
9157 \end_layout
9158
9159 \begin_layout LyX-Code
9160 EndFont
9161 \end_layout
9162
9163 \begin_layout Standard
9164 and the following commands are available:
9165 \end_layout
9166
9167 \begin_layout Description
9168
9169 \family typewriter
9170 \series medium
9171 Family
9172 \family default
9173 \series default
9174  [
9175 \family typewriter
9176 \emph on
9177 Roman
9178 \emph default
9179 , Sans, Typewriter
9180 \family default
9181
9182 \end_layout
9183
9184 \begin_layout Description
9185
9186 \family typewriter
9187 \series medium
9188 Series
9189 \family default
9190 \series default
9191  [
9192 \family typewriter
9193 \emph on
9194 Medium
9195 \emph default
9196 , Bold
9197 \family default
9198
9199 \end_layout
9200
9201 \begin_layout Description
9202
9203 \family typewriter
9204 \series medium
9205 Shape
9206 \family default
9207 \series default
9208  [
9209 \family typewriter
9210 \emph on
9211 Up
9212 \emph default
9213 , Italic, SmallCaps, Slanted
9214 \family default
9215
9216 \end_layout
9217
9218 \begin_layout Description
9219
9220 \family typewriter
9221 \series medium
9222 Size
9223 \family default
9224 \series default
9225  [
9226 \family typewriter
9227 tiny, small,
9228 \family default
9229  
9230 \family typewriter
9231 \emph on
9232 normal
9233 \emph default
9234 , large, larger, largest, huge, giant
9235 \family default
9236 ]
9237 \end_layout
9238
9239 \begin_layout Description
9240
9241 \family typewriter
9242 \series medium
9243 Color
9244 \family default
9245 \series default
9246  [
9247 \family typewriter
9248 \emph on
9249 none
9250 \emph default
9251 , black, white, red, green, blue, cyan, magenta, yellow
9252 \family default
9253 ]
9254 \end_layout
9255
9256 \begin_layout Subsection
9257 Upgrading old layout files
9258 \end_layout
9259
9260 \begin_layout Standard
9261 The file format of layout files changes from time to time, so old layout
9262  files need to be converted.
9263  This process has been automated in LyX 1.4.0: If LyX reads an old format
9264  layout file it will call the conversion tool 
9265 \family typewriter
9266 $LyXDir/scripts/layout2layout.py
9267 \family default
9268  and convert it to a temporary file in current format.
9269  The original file is left untouched, so that you can still use it with
9270  LyX 1.3.x.
9271  If you want to convert the layout file permanently, just call the converter
9272  by hand:
9273 \end_layout
9274
9275 \begin_layout LyX-Code
9276 python $LyXDir/scripts/layout2layout.py myclass.layout myclassnew.layout
9277 \end_layout
9278
9279 \begin_layout Standard
9280 Then copy 
9281 \family typewriter
9282 myclassnew.layout
9283 \family default
9284  to 
9285 \family typewriter
9286 $UserDir/layouts/
9287 \family default
9288 .
9289 \end_layout
9290
9291 \begin_layout Standard
9292 The automatic conversion does only handle syntax changes.
9293  It cannot handle the case where the contents of included files was changed.
9294  For example, layout files based on 
9295 \family typewriter
9296 book.layout
9297 \family default
9298  need to include 
9299 \family typewriter
9300 numreport.inc
9301 \family default
9302  in addition to 
9303 \family typewriter
9304 stdclass.inc
9305 \family default
9306 .
9307  If you get error messages about undefined counters, try to convert your
9308  file with 
9309 \family typewriter
9310 layout2layout.py
9311 \family default
9312  and then add one of 
9313 \family typewriter
9314 numarticle.inc
9315 \family default
9316
9317 \family typewriter
9318 numreport.inc
9319 \family default
9320  and 
9321 \family typewriter
9322 numrevtex.inc
9323 \family default
9324 .
9325 \end_layout
9326
9327 \begin_layout Section
9328 Creating Templates
9329 \begin_inset LatexCommand label
9330 name "sec:templates"
9331
9332 \end_inset
9333
9334
9335 \end_layout
9336
9337 \begin_layout Standard
9338 Templates are created just like usual documents.
9339  The only difference is that usual documents contain all possible settings,
9340  including the fontscheme and the papersize.
9341  Usually a user doesn't want a template to overwrite his defaults in these
9342  cases.
9343  For that reason, the designer of a template should remove the corresponding
9344  commands like 
9345 \family typewriter
9346
9347 \backslash
9348 fontscheme
9349 \family default
9350  or 
9351 \family typewriter
9352
9353 \backslash
9354 papersize
9355 \family default
9356  from the template LyX file.
9357  This can be done with any simple text-editor, for example 
9358 \family typewriter
9359 vi
9360 \family default
9361  or 
9362 \family typewriter
9363 xedit
9364 \family default
9365 .
9366  
9367 \end_layout
9368
9369 \begin_layout Standard
9370 Put the edited template files you create in 
9371 \family typewriter
9372 $UserDir/templates/
9373 \family default
9374 , copy the ones you use from the global template directory in 
9375 \family typewriter
9376 $LyXDir/templates/
9377 \family default
9378  to the same place, and redefine the template path in the 
9379 \family sans
9380 \bar under
9381 E
9382 \bar default
9383 dit\SpecialChar \menuseparator
9384
9385 \bar under
9386 P
9387 \bar default
9388 references
9389 \family default
9390  dialog (tabs 
9391 \family sans
9392 Input
9393 \family default
9394
9395 \family sans
9396 Path
9397 \family default
9398 ).
9399  
9400 \end_layout
9401
9402 \begin_layout Standard
9403 Note that there is a template which has a particular meaning: 
9404 \family typewriter
9405 defaults.lyx
9406 \family default
9407 .
9408  This template is loaded everytime you create a new document with 
9409 \family sans
9410 \bar under
9411 F
9412 \bar default
9413 ile
9414 \family default
9415 \SpecialChar \menuseparator
9416
9417 \family sans
9418 \bar under
9419 N
9420 \bar default
9421 ew
9422 \family default
9423  in order to provide useful defaults.
9424  To create this template from inside LyX, all you have to do is to open
9425  a document with the correct settings, and use the 
9426 \family sans
9427 Sa
9428 \bar under
9429 v
9430 \bar default
9431 e as Document Defaults
9432 \family default
9433  button.
9434 \end_layout
9435
9436 \begin_layout Chapter
9437 Including External Material
9438 \end_layout
9439
9440 \begin_layout Section
9441 Background
9442 \end_layout
9443
9444 \begin_layout Standard
9445 \begin_inset Note Note
9446 status collapsed
9447
9448 \begin_layout Standard
9449 This section is completely outdated.
9450 \end_layout
9451
9452 \end_inset
9453
9454 One often requested feature from LyX users is to be able to interface LyX
9455  with Xfig, Dia, or other similar applications that specialize in producing
9456  a certain kind of diagram, figure, schematic or whatever material might
9457  be relevant to include in your document.
9458  Previously, it was only possible to include boring, static, fixed images
9459  in LyX documents with the graphics feature, but there are several limitations
9460  attached to this approach:
9461 \end_layout
9462
9463 \begin_layout Itemize
9464 If you want to change the figure, you have to invoke an external program
9465  by hand
9466 \end_layout
9467
9468 \begin_layout Itemize
9469 LyX does not notice that the referenced files change, so the on-screen display
9470  can fast become obsolete, and this is aggravated by the lack of a means
9471  of updating the display
9472 \end_layout
9473
9474 \begin_layout Itemize
9475 The graphics stuff does not provide any mechanisms for coping with different
9476  exported formats such as DocBook, HTML or plain text
9477 \end_layout
9478
9479 \begin_layout Standard
9480 The external material facility attempts to solve all of these problems
9481 \begin_inset Foot
9482 status collapsed
9483
9484 \begin_layout Standard
9485 Even if the graphics facility can't solve all problems, it is still valuable
9486  because it does provide in-line preview of the graphics, and supports advanced
9487  geometric transformations with a comfortable user interface.
9488 \end_layout
9489
9490 \end_inset
9491
9492 .
9493  It does this by offering a general method to interface LyX to external
9494  applications.
9495  Instead of introducing a long list of different constructs tailored for
9496  each specific application, we chose to sacrifice the in-line displaying
9497  of the included material in order to provide a general construct to cover
9498  a wide range of applications.
9499  The result is the external material construct.
9500  External material presents itself in the document simply as a button, but
9501  don't let this fool you.
9502  When you click on it, a dialog will appear that allows you to chose exactly
9503  what material to include, and in the following sections you will learn
9504  that this is indeed a powerful mechanism that can solve all of the above
9505  problems, and more.
9506 \end_layout
9507
9508 \begin_layout Section
9509 How does it work?
9510 \end_layout
9511
9512 \begin_layout Standard
9513 The external material feature is based on the concept of a 
9514 \emph on
9515 template
9516 \emph default
9517 .
9518  A template is a specification of how LyX should interface with a certain
9519  kind of material.
9520  As bundled, LyX comes with predefined templates for Xfig figures, Dia diagrams,
9521  various raster format images, gnuplot, and more.
9522  You can check the actual list by using the menu 
9523 \family sans
9524 Insert\SpecialChar \menuseparator
9525 File\SpecialChar \menuseparator
9526 External
9527 \family default
9528 \InsetSpace ~
9529
9530 \family sans
9531 Material
9532 \family default
9533 .
9534  Furthermore, it is possible to roll your own template to support a specific
9535  kind of material.
9536  Later we'll describe in more detail what is involved, and hopefully you
9537  will submit all the templates you create so we can include them in a later
9538  LyX version.
9539 \end_layout
9540
9541 \begin_layout Standard
9542 Another basic idea of the external material feature is to distinguish between
9543  the original file that serves as a base for final material and the produced
9544  file that is included in your exported or printed document.
9545  For example, consider the case of a figure produced with 
9546 \family typewriter
9547 Xfig
9548 \family default
9549 .
9550  The Xfig application itself works on an original file with the 
9551 \family typewriter
9552 .fig
9553 \family default
9554  extension.
9555  Within XFig, you create and change your figure, and when you are done,
9556  you save the 
9557 \family typewriter
9558 fig
9559 \family default
9560 -file.
9561  When you want to include the figure in your document, you invoke 
9562 \family typewriter
9563 transfig
9564 \family default
9565  in order to create a PostScript file that can readily be included in your
9566  LaTeX file.
9567  In this case, the 
9568 \family typewriter
9569 .fig
9570 \family default
9571  file is the original file, and the PostScript file is the produced file.
9572 \end_layout
9573
9574 \begin_layout Standard
9575 This distinction is important in order to allow updating of the material
9576  while you are in the process of writing the document.
9577  Furthermore, it provides us with the flexibility that is needed to support
9578  multiple export formats.
9579  For instance, in the case of a plain text file, it is not exactly an award-winn
9580 ing idea to include the figure as raw PostScript.
9581  Instead, you'd either prefer to just include a reference to the figure,
9582  or try to invoke some graphics to Ascii converter to make the final result
9583  look similar to the real graphics.
9584  The external material management allows you to do this, because it is parameter
9585 ized on the different export formats that LyX supports.
9586 \end_layout
9587
9588 \begin_layout Standard
9589 Besides supporting the production of different products according to the
9590  exported format, it supports tight integration with editing and viewing
9591  applications.
9592  In the case of an XFig figure, you are able to invoke 
9593 \family typewriter
9594 Xfig
9595 \family default
9596  on the original file with a single click from within the external material
9597  dialog in LyX, and also preview the produced PostScript file with 
9598 \family typewriter
9599 ghostview
9600 \family default
9601  with another click.
9602  No more fiddling around with the command line and/or file browsers to locate
9603  and manipulate the original or produced files.
9604  In this way, you are finally able to take full advantage of the many different
9605  applications that are relevant to use when you write your documents, and
9606  ultimately be more productive.
9607 \end_layout
9608
9609 \begin_layout Section
9610 External material dialog
9611 \end_layout
9612
9613 \begin_layout Standard
9614 The 
9615 \family sans
9616 External Material
9617 \family default
9618  dialog is described in the 
9619 \family sans
9620 \emph on
9621 EmbeddedObjects
9622 \family default
9623 \emph default
9624  manual.
9625 \end_layout
9626
9627 \begin_layout Section
9628 Examples
9629 \end_layout
9630
9631 \begin_layout Standard
9632 In this section, we should include some examples of use of the external
9633  material.
9634  Those examples could include:
9635 \end_layout
9636
9637 \begin_layout Itemize
9638 External raster images
9639 \end_layout
9640
9641 \begin_layout Itemize
9642 External XFig figures
9643 \end_layout
9644
9645 \begin_layout Itemize
9646 Chess diagrams
9647 \end_layout
9648
9649 \begin_layout Itemize
9650 Sound samples
9651 \end_layout
9652
9653 \begin_layout Itemize
9654 The use of makefiles
9655 \end_layout
9656
9657 \begin_layout Itemize
9658 Recursive external LyX templates
9659 \end_layout
9660
9661 \begin_layout Section
9662 The external template configuration file
9663 \end_layout
9664
9665 \begin_layout Standard
9666 It is relatively easy to add custom external template definitions to LyX.
9667  However, be aware this doing this in an careless manner most probably 
9668 \emph on
9669 will
9670 \emph default
9671  introduce an easily exploitable security hole.
9672  So before you do this, please read the discussion about security which
9673  will follow later.
9674 \end_layout
9675
9676 \begin_layout Standard
9677 Having said that, we encourage you to submit any interesting templates that
9678  you create.
9679  
9680 \end_layout
9681
9682 \begin_layout Standard
9683 The external templates are defined in the 
9684 \family typewriter
9685 lib/external_templates
9686 \family default
9687  file.
9688  You can place your own version in 
9689 \family typewriter
9690 .lyx/external_templates
9691 \family default
9692 .
9693 \end_layout
9694
9695 \begin_layout Standard
9696 A typical template looks like this:
9697 \end_layout
9698
9699 \begin_layout LyX-Code
9700 Template XFig
9701 \end_layout
9702
9703 \begin_layout LyX-Code
9704 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
9705 \end_layout
9706
9707 \begin_layout LyX-Code
9708 HelpText
9709 \end_layout
9710
9711 \begin_layout LyX-Code
9712 An XFig figure.
9713 \end_layout
9714
9715 \begin_layout LyX-Code
9716 HelpTextEnd
9717 \end_layout
9718
9719 \begin_layout LyX-Code
9720 InputFormat fig
9721 \end_layout
9722
9723 \begin_layout LyX-Code
9724 FileFilter "*.fig"
9725 \end_layout
9726
9727 \begin_layout LyX-Code
9728 AutomaticProduction true
9729 \end_layout
9730
9731 \begin_layout LyX-Code
9732 Transform Rotate
9733 \end_layout
9734
9735 \begin_layout LyX-Code
9736 Transform Resize
9737 \end_layout
9738
9739 \begin_layout LyX-Code
9740 Format LaTeX
9741 \end_layout
9742
9743 \begin_layout LyX-Code
9744 TransformCommand Rotate RotationLatexCommand
9745 \end_layout
9746
9747 \begin_layout LyX-Code
9748 TransformCommand Resize ResizeLatexCommand
9749 \end_layout
9750
9751 \begin_layout LyX-Code
9752 Product "$$RotateFront$$ResizeFront
9753 \end_layout
9754
9755 \begin_layout LyX-Code
9756          
9757 \backslash
9758
9759 \backslash
9760 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
9761 \end_layout
9762
9763 \begin_layout LyX-Code
9764          $$ResizeBack$$RotateBack"
9765 \end_layout
9766
9767 \begin_layout LyX-Code
9768 UpdateFormat pstex
9769 \end_layout
9770
9771 \begin_layout LyX-Code
9772 UpdateResult "$$AbsPath$$Basename.pstex_t"
9773 \end_layout
9774
9775 \begin_layout LyX-Code
9776 Requirement "graphicx"
9777 \end_layout
9778
9779 \begin_layout LyX-Code
9780 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
9781 \end_layout
9782
9783 \begin_layout LyX-Code
9784 ReferencedFile latex "$$AbsPath$$Basename.eps"
9785 \end_layout
9786
9787 \begin_layout LyX-Code
9788 ReferencedFile dvi "$$AbsPath$$Basename.eps"
9789 \end_layout
9790
9791 \begin_layout LyX-Code
9792 FormatEnd
9793 \end_layout
9794
9795 \begin_layout LyX-Code
9796 Format PDFLaTeX
9797 \end_layout
9798
9799 \begin_layout LyX-Code
9800 TransformCommand Rotate RotationLatexCommand
9801 \end_layout
9802
9803 \begin_layout LyX-Code
9804 TransformCommand Resize ResizeLatexCommand
9805 \end_layout
9806
9807 \begin_layout LyX-Code
9808 Product "$$RotateFront$$ResizeFront
9809 \end_layout
9810
9811 \begin_layout LyX-Code
9812          
9813 \backslash
9814
9815 \backslash
9816 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
9817 \end_layout
9818
9819 \begin_layout LyX-Code
9820          $$ResizeBack$$RotateBack"
9821 \end_layout
9822
9823 \begin_layout LyX-Code
9824 UpdateFormat pdftex
9825 \end_layout
9826
9827 \begin_layout LyX-Code
9828 UpdateResult "$$AbsPath$$Basename.pdftex_t"
9829 \end_layout
9830
9831 \begin_layout LyX-Code
9832 Requirement "graphicx"
9833 \end_layout
9834
9835 \begin_layout LyX-Code
9836 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
9837 \end_layout
9838
9839 \begin_layout LyX-Code
9840 ReferencedFile latex "$$AbsPath$$Basename.pdf"
9841 \end_layout
9842
9843 \begin_layout LyX-Code
9844 FormatEnd
9845 \end_layout
9846
9847 \begin_layout LyX-Code
9848 Format Ascii
9849 \end_layout
9850
9851 \begin_layout LyX-Code
9852 Product "$$Contents(
9853 \backslash
9854 "$$AbsPath$$Basename.asc
9855 \backslash
9856 ")"
9857 \end_layout
9858
9859 \begin_layout LyX-Code
9860 UpdateFormat asciixfig
9861 \end_layout
9862
9863 \begin_layout LyX-Code
9864 UpdateResult "$$AbsPath$$Basename.asc"
9865 \end_layout
9866
9867 \begin_layout LyX-Code
9868 FormatEnd
9869 \end_layout
9870
9871 \begin_layout LyX-Code
9872 Format DocBook
9873 \end_layout
9874
9875 \begin_layout LyX-Code
9876 Product "<graphic fileref=
9877 \backslash
9878 "$$AbsOrRelPathMaster$$Basename.eps
9879 \backslash
9880 ">
9881 \end_layout
9882
9883 \begin_layout LyX-Code
9884          </graphic>"
9885 \end_layout
9886
9887 \begin_layout LyX-Code
9888 UpdateFormat eps
9889 \end_layout
9890
9891 \begin_layout LyX-Code
9892 UpdateResult "$$AbsPath$$Basename.eps"
9893 \end_layout
9894
9895 \begin_layout LyX-Code
9896 ReferencedFile docbook "$$AbsPath$$Basename.eps"
9897 \end_layout
9898
9899 \begin_layout LyX-Code
9900 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
9901 \end_layout
9902
9903 \begin_layout LyX-Code
9904 FormatEnd
9905 \end_layout
9906
9907 \begin_layout LyX-Code
9908 Product "[XFig: $$FName]"
9909 \end_layout
9910
9911 \begin_layout LyX-Code
9912 FormatEnd
9913 \end_layout
9914
9915 \begin_layout LyX-Code
9916 TemplateEnd
9917 \end_layout
9918
9919 \begin_layout Standard
9920 As you can see, the template is enclosed in 
9921 \family typewriter
9922 Template
9923 \family default
9924  \SpecialChar \ldots{}
9925  
9926 \family typewriter
9927 TemplateEnd
9928 \family default
9929 .
9930  It contains a header specifying some general settings, and for each supported
9931  primary document file format a section 
9932 \family typewriter
9933 Format
9934 \family default
9935  \SpecialChar \ldots{}
9936  
9937 \family typewriter
9938 FormatEnd
9939 \family default
9940 .
9941 \end_layout
9942
9943 \begin_layout Subsection
9944 The template header
9945 \end_layout
9946
9947 \begin_layout Description
9948
9949 \family typewriter
9950 \series medium
9951 Template\InsetSpace ~
9952 <id>
9953 \family default
9954 \series default
9955  A unique name for the template.
9956  It must not contain substitution macros (see below).
9957 \end_layout
9958
9959 \begin_layout Description
9960
9961 \family typewriter
9962 \series medium
9963 GuiName\InsetSpace ~
9964 <guiname>
9965 \family default
9966 \series default
9967  The text that is displayed on the button.
9968  This command must occur exactly once.
9969 \end_layout
9970
9971 \begin_layout Description
9972
9973 \family typewriter
9974 \series medium
9975 HelpText\InsetSpace ~
9976 <text>\InsetSpace ~
9977 HelpTextEnd
9978 \family default
9979 \series default
9980  The help text that is used in the External dialog.
9981  Provide enough information to explain to the user just what the template
9982  can provide him with.
9983  This command must occur exactly once.
9984 \end_layout
9985
9986 \begin_layout Description
9987
9988 \family typewriter
9989 \series medium
9990 InputFormat\InsetSpace ~
9991 <format>
9992 \family default
9993 \series default
9994  The file format of the original file.
9995  This must be the name of a format that is known to LyX (see the 
9996 \family sans
9997 \bar under
9998 T
9999 \bar default
10000 ools\SpecialChar \menuseparator
10001
10002 \bar under
10003 P
10004 \bar default
10005 references:Conversion
10006 \family default
10007  dialog).
10008  Use 
10009 \family typewriter
10010 "*"
10011 \family default
10012  if the template can handle original files of more than one format.
10013  LyX will attempt to interrogate the file itself in order to deduce its
10014  format in this case.
10015  This command must occur exactly once.
10016 \end_layout
10017
10018 \begin_layout Description
10019
10020 \family typewriter
10021 \series medium
10022 FileFilter\InsetSpace ~
10023 <pattern>
10024 \family default
10025 \series default
10026  A glob pattern that is used in the file dialog to filter out the desired
10027  files.
10028  If there is more than one possible file extension (e.g.\InsetSpace ~
10029 tgif has 
10030 \family typewriter
10031 .obj
10032 \family default
10033  and 
10034 \family typewriter
10035 .tgo
10036 \family default
10037 ), use something like 
10038 \family typewriter
10039 "*.{obj,tgo}"
10040 \family default
10041 .
10042  This command must occur exactly once.
10043 \end_layout
10044
10045 \begin_layout Description
10046
10047 \family typewriter
10048 \series medium
10049 AutomaticProduction\InsetSpace ~
10050 true|false
10051 \family default
10052 \series default
10053  Wether the file represented by the template must be generated by LyX.
10054  This command must occur exactly once.
10055 \end_layout
10056
10057 \begin_layout Description
10058
10059 \family typewriter
10060 \series medium
10061 Transform\InsetSpace ~
10062 Rotate|Resize|Clip|Extra
10063 \family default
10064 \series default
10065  This command specifies which transformations are supported by this template.
10066  It may occur zero or more times.
10067  This command enables the corresponding tabs in the external dialog.
10068  Each 
10069 \family typewriter
10070 Transform
10071 \family default
10072  command must have either a corresponding 
10073 \family typewriter
10074 TransformCommand
10075 \family default
10076  or a 
10077 \family typewriter
10078 TransformOption
10079 \family default
10080  command in the 
10081 \family typewriter
10082 Format
10083 \family default
10084  section.
10085  Otherwise the transformation will not be supported by that format.
10086 \end_layout
10087
10088 \begin_layout Subsection
10089 The Format section
10090 \end_layout
10091
10092 \begin_layout Description
10093
10094 \family typewriter
10095 \series medium
10096 Format\InsetSpace ~
10097 LaTeX|PDFLaTeX|PlainText|DocBook
10098 \family default
10099 \series default
10100  The primary document file format that this format definition is for.
10101  Not every template has a sensible representation in all document file formats.
10102  Please define nevertheless a 
10103 \family typewriter
10104 Format
10105 \family default
10106  section for all formats.
10107  Use a dummy text when no representation is available.
10108  Then you can at least see a reference to the external material in the exported
10109  document.
10110 \end_layout
10111
10112 \begin_layout Description
10113
10114 \family typewriter
10115 \series medium
10116 TransformCommand\InsetSpace ~
10117 Rotate\InsetSpace ~
10118 RotationLatexCommand
10119 \family default
10120 \series default
10121  This command specifies that the built in LaTeX command should be used for
10122  rotation.
10123  This command may occur once or not at all.
10124 \end_layout
10125
10126 \begin_layout Description
10127
10128 \family typewriter
10129 \series medium
10130 TransformCommand\InsetSpace ~
10131 Resize\InsetSpace ~
10132 ResizeLatexCommand
10133 \family default
10134 \series default
10135  This command specifies that the built in LaTeX command should be used for
10136  resizing.
10137  This command may occur once or not at all.
10138 \end_layout
10139
10140 \begin_layout Description
10141
10142 \family typewriter
10143 \series medium
10144 TransformOption\InsetSpace ~
10145 Rotate\InsetSpace ~
10146 RotationLatexOption
10147 \family default
10148 \series default
10149  This command specifies that rotation is done via an optional argument.
10150  This command may occur once or not at all.
10151 \end_layout
10152
10153 \begin_layout Description
10154
10155 \family typewriter
10156 \series medium
10157 TransformOption\InsetSpace ~
10158 Resize\InsetSpace ~
10159 ResizeLatexOption
10160 \family default
10161 \series default
10162  This command specifies that resizing is done via an optional argument.
10163  This command may occur once or not at all.
10164 \end_layout
10165
10166 \begin_layout Description
10167
10168 \family typewriter
10169 \series medium
10170 TransformOption\InsetSpace ~
10171 Clip\InsetSpace ~
10172 ClipLatexOption
10173 \family default
10174 \series default
10175  This command specifies that clipping is done via an optional argument.
10176  This command may occur once or not at all.
10177 \end_layout
10178
10179 \begin_layout Description
10180
10181 \family typewriter
10182 \series medium
10183 TransformOption\InsetSpace ~
10184 Extra\InsetSpace ~
10185 ExtraLatexOption
10186 \family default
10187 \series default
10188  This command specifies that an extra optional argument is used.
10189  This command may occur once or not at all.
10190 \end_layout
10191
10192 \begin_layout Description
10193
10194 \family typewriter
10195 \series medium
10196 Product\InsetSpace ~
10197 <text>
10198 \family default
10199 \series default
10200  The text that is inserted in the exported document.
10201  This is actually the most important command and can be quite complex.
10202  This command must occur exactly once.
10203 \end_layout
10204
10205 \begin_layout Description
10206
10207 \family typewriter
10208 \series medium
10209 UpdateFormat\InsetSpace ~
10210 <format>
10211 \family default
10212 \series default
10213  The file format of the converted file.
10214  This must be the name of a format that is known to LyX (see the 
10215 \family sans
10216 \bar under
10217 T
10218 \bar default
10219 ools\SpecialChar \menuseparator
10220
10221 \bar under
10222 P
10223 \bar default
10224 references:Conversion
10225 \family default
10226  dialog).
10227  This command must occur exactly once.
10228 \end_layout
10229
10230 \begin_layout Description
10231
10232 \family typewriter
10233 \series medium
10234 UpdateResult\InsetSpace ~
10235 <filename>
10236 \family default
10237 \series default
10238  The file name of the converted file.
10239  The file name must be absolute.
10240  This command must occur exactly once.
10241 \end_layout
10242
10243 \begin_layout Description
10244
10245 \family typewriter
10246 \series medium
10247 ReferencedFile\InsetSpace ~
10248 <format>\InsetSpace ~
10249 <filename>
10250 \family default
10251 \series default
10252  This command denotes files that are created by the conversion process and
10253  are needed for a particular export format.
10254  If the filename is relative, it is interpreted relative to the master document.
10255  This command may be given zero or more times.
10256 \end_layout
10257
10258 \begin_layout Description
10259
10260 \family typewriter
10261 \series medium
10262 Requirement\InsetSpace ~
10263 <package>
10264 \family default
10265 \series default
10266  The name of a required LaTeX package.
10267  The package is included via 
10268 \family typewriter
10269
10270 \backslash
10271 usepackage{}
10272 \family default
10273  in the LaTeX preamble.
10274  This command may occur zero or more times.
10275 \end_layout
10276
10277 \begin_layout Description
10278
10279 \family typewriter
10280 \series medium
10281 Preamble\InsetSpace ~
10282 <name>
10283 \family default
10284 \series default
10285  This command specifies a preamble snippet that will be included in the
10286  LaTeX preamble.
10287  It has to be defined using 
10288 \family typewriter
10289 PreambleDef
10290 \family default
10291  \SpecialChar \ldots{}
10292  
10293 \family typewriter
10294 PreambleDefEnd
10295 \family default
10296 .
10297  This command may occur zero or more times.
10298 \end_layout
10299
10300 \begin_layout Description
10301
10302 \family typewriter
10303 \series medium
10304 Option\InsetSpace ~
10305 <name>\InsetSpace ~
10306 <value>
10307 \family default
10308 \series default
10309  This command defines an additional macro 
10310 \family typewriter
10311 $$<name>
10312 \family default
10313  for substitution in 
10314 \family typewriter
10315 Product
10316 \family default
10317 .
10318  
10319 \family typewriter
10320 <value>
10321 \family default
10322  itself may contain substitution macros.
10323  The advantage over using 
10324 \family typewriter
10325 <value>
10326 \family default
10327  directly in 
10328 \family typewriter
10329 Product
10330 \family default
10331  is that the substituted value of 
10332 \family typewriter
10333 $$<name>
10334 \family default
10335  is sanitized so that it is a valid optional argument in the document format.
10336  This command may occur zero or more times.
10337 \end_layout
10338
10339 \begin_layout Subsection
10340 Preamble definitions
10341 \end_layout
10342
10343 \begin_layout Standard
10344 The external template configuration file may contain additional preamble
10345  definitions enclosed by 
10346 \family typewriter
10347 PreambleDef
10348 \family default
10349  \SpecialChar \ldots{}
10350  
10351 \family typewriter
10352 PreambleDefEnd
10353 \family default
10354 .
10355  They can be used by the templates in the 
10356 \family typewriter
10357 Format
10358 \family default
10359  section.
10360 \end_layout
10361
10362 \begin_layout Section
10363 The substitution mechanism
10364 \end_layout
10365
10366 \begin_layout Standard
10367 When the external material facility invokes an external program, it is done
10368  on the basis of a command defined in the template configuration file.
10369  These commands can contain various macros that are expanded before execution.
10370  Execution always take place in the directory of the containing document.
10371 \end_layout
10372
10373 \begin_layout Standard
10374 Also, whenever external material is to be displayed, the name will be produced
10375  by the substitution mechanism, and most other commands in the template
10376  definition support substitution as well.
10377 \end_layout
10378
10379 \begin_layout Standard
10380 The available macros are the following:
10381 \end_layout
10382
10383 \begin_layout Description
10384 $$FName The filename of the file specified in the external material dialog.
10385  This is either an absolute name, or it is relative to the LyX document.
10386 \end_layout
10387
10388 \begin_layout Description
10389 $$Basename The filename without path and without the extension.
10390 \end_layout
10391
10392 \begin_layout Description
10393 $$Extension The file extension (including the dot).
10394 \end_layout
10395
10396 \begin_layout Description
10397 $$FPath The path part of 
10398 \family typewriter
10399 $$FName
10400 \family default
10401  (absolute name or relative to the LyX document).
10402 \end_layout
10403
10404 \begin_layout Description
10405 $$AbsPath The absolute file path.
10406 \end_layout
10407
10408 \begin_layout Description
10409 $$RelPathMaster The file path, relative to the master LyX document.
10410 \end_layout
10411
10412 \begin_layout Description
10413 $$RelPathParent The file path, relative to the LyX document.
10414 \end_layout
10415
10416 \begin_layout Description
10417 $$AbsOrRelPathMaster The file path, absolute or relative to the master LyX
10418  document.
10419 \end_layout
10420
10421 \begin_layout Description
10422 $$AbsOrRelPathParent The file path, absolute or relative to the LyX document.
10423 \end_layout
10424
10425 \begin_layout Description
10426 $$Tempname A name and full path to a temporary file which will be automatically
10427  deleted whenever the containing document is closed, or the external material
10428  insertion deleted.
10429 \end_layout
10430
10431 \begin_layout Description
10432 $$Contents(
10433 \begin_inset Quotes eld
10434 \end_inset
10435
10436 filename.ext
10437 \begin_inset Quotes erd
10438 \end_inset
10439
10440 ) This macro will expand to the contents of the file with the name 
10441 \family typewriter
10442 filename.ext
10443 \family default
10444 .
10445 \end_layout
10446
10447 \begin_layout Description
10448 $$Sysdir This macro will expand to the absolute path of the system directory.
10449  This is typically used to point to the various helper scripts that are
10450  bundled with LyX.
10451 \end_layout
10452
10453 \begin_layout Standard
10454 All path macros contain a trailing directory separator, so you can construct
10455  e.g.
10456  the absolute filename with 
10457 \family typewriter
10458 $$AbsPath$$Basename$$Extension
10459 \family default
10460 .
10461 \end_layout
10462
10463 \begin_layout Standard
10464 The macros above are substituted in all commands unless otherwise noted.
10465  The command 
10466 \family typewriter
10467 Product
10468 \family default
10469  supports additionally the following substitutions if they are enabled by
10470  the 
10471 \family typewriter
10472 Transform
10473 \family default
10474  and 
10475 \family typewriter
10476 TransformCommand
10477 \family default
10478  commands:
10479 \end_layout
10480
10481 \begin_layout Description
10482 $$ResizeFront The front part of the resize command.
10483 \end_layout
10484
10485 \begin_layout Description
10486 $$ResizeBack The back part of the resize command.
10487 \end_layout
10488
10489 \begin_layout Description
10490 $$RotateFront The front part of the rotation command.
10491 \end_layout
10492
10493 \begin_layout Description
10494 $$RotateBack The back part of the rotation command.
10495 \end_layout
10496
10497 \begin_layout Standard
10498 The value string of the 
10499 \family typewriter
10500 Option
10501 \family default
10502  command supports additionally the following substitutions if they are enabled
10503  by the 
10504 \family typewriter
10505 Transform
10506 \family default
10507  and 
10508 \family typewriter
10509 TransformOption
10510 \family default
10511  commands:
10512 \end_layout
10513
10514 \begin_layout Description
10515 $$Clip The clip option.
10516 \end_layout
10517
10518 \begin_layout Description
10519 $$Extra The extra option.
10520 \end_layout
10521
10522 \begin_layout Description
10523 $$Resize The resize option.
10524 \end_layout
10525
10526 \begin_layout Description
10527 $$Rotate The rotation option.
10528 \end_layout
10529
10530 \begin_layout Standard
10531 You may ask why there are so many path macros.
10532  There are mainly two reasons:
10533 \end_layout
10534
10535 \begin_layout Standard
10536 First, relative and absolute file names should remain relative or absolute,
10537  respectively.
10538  Users may have reasons to prefer either form.
10539  Relative names are useful for portable documents that should work on different
10540  machines, for example.
10541  Absolute names may be required by some programs.
10542 \end_layout
10543
10544 \begin_layout Standard
10545 Second, LaTeX treats relative file names differently than LyX and other
10546  programs in nested included files.
10547  For LyX, a relative file name is always relative to the document that contains
10548  the file name.
10549  For LaTeX, it is always relative to the master document.
10550  These two definitions are identical if you have only one document, but
10551  differ if you have a master document that includes part documents.
10552  That means that relative filenames must be transformed when presented to
10553  LaTeX.
10554  Fortunately LyX does this automatically for you if you choose the right
10555  macros.
10556 \end_layout
10557
10558 \begin_layout Standard
10559 So which path macro should be used in new template definitions? The rule
10560  is not difficult:
10561 \end_layout
10562
10563 \begin_layout Itemize
10564 Use 
10565 \family typewriter
10566 $$AbsPath
10567 \family default
10568  if an absolute path is required.
10569 \end_layout
10570
10571 \begin_layout Itemize
10572 Use 
10573 \family typewriter
10574 $$AbsOrRelPathMaster
10575 \family default
10576  if the substituted string is some kind of LaTeX input.
10577 \end_layout
10578
10579 \begin_layout Itemize
10580 Else use 
10581 \family typewriter
10582 $$AbsOrRelPathParent
10583 \family default
10584  in order to preserve the user's choice.
10585 \end_layout
10586
10587 \begin_layout Standard
10588 There are special cases where this rule does not work and e.g.\InsetSpace ~
10589 relative names
10590  are needed, but normally it will work just fine.
10591  One example for such a case is the command 
10592 \family typewriter
10593 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
10594 \family default
10595  in the XFig template above: We can't use the absolute name because the
10596  copier for 
10597 \family typewriter
10598 .pstex_t
10599 \family default
10600  files needs the relative name in order to rewrite the file content.
10601 \end_layout
10602
10603 \begin_layout Section
10604 Security discussion
10605 \end_layout
10606
10607 \begin_layout Standard
10608 \begin_inset Note Note
10609 status collapsed
10610
10611 \begin_layout Standard
10612 This section is outdated
10613 \end_layout
10614
10615 \end_inset
10616
10617 The external material feature interfaces with a lot of external programs
10618  and does so automatically, so we have to consider the security implications
10619  of this.
10620  In particular, since you have the option of including your own filenames
10621  and/or parameter strings and those are expanded into a command, it seems
10622  that it would be possible to create a malicious document which executes
10623  arbitrary commands when a user views or prints the document.
10624  This is something we definately want to avoid.
10625 \end_layout
10626
10627 \begin_layout Standard
10628 However, since the external program commands are specified in the template
10629  configuration file only, there are no security issues if LyX is properly
10630  configured with safe templates only.
10631  This is so because the external programs are invoked with the 
10632 \family typewriter
10633 execvp
10634 \family default
10635 -system call rather than the 
10636 \family typewriter
10637 system
10638 \family default
10639  system-call, so it's not possible to execute arbitrary commands from the
10640  filename or parameter section via the shell.
10641 \end_layout
10642
10643 \begin_layout Standard
10644 This also implies that you are restricted in what command strings you can
10645  use in the external material templates.
10646  In particular, pipes and redirection are not readily available.
10647  This has to be so if LyX should remain safe.
10648  If you want to use some of the shell features, you should write a safe
10649  script to do this in a controlled manner, and then invoke the script from
10650  the command string.
10651  In the 
10652 \family typewriter
10653 lib/scripts
10654 \family default
10655  directory of the LyX installation, you can find a safe wrapper script 
10656 \family typewriter
10657 general_command_wrapper.py
10658 \family default
10659  that supports redirection of input and output.
10660  That can serve as an example for how to write safe template scripts.
10661  For a more advanced example that uses 
10662 \family typewriter
10663 fork
10664 \family default
10665  and friends, take a look at the 
10666 \family typewriter
10667 pic2ascii.py
10668 \family default
10669  converter script.
10670 \end_layout
10671
10672 \begin_layout Standard
10673 It is possible to design a template that interacts directly with the shell,
10674  but since this would allow a malicious user to execute arbitrary commands
10675  by writing clever filenames and/or parameters, we generally recommend that
10676  you only use safe scripts that work with the 
10677 \family typewriter
10678 execvp
10679 \family default
10680  system call in a controlled manner.
10681  Of course, for use in a controlled environment, it can be tempting to just
10682  fall back to use ordinary shell scripts.
10683  If you do so, be aware that you 
10684 \emph on
10685 will
10686 \emph default
10687  provide an easily exploitable security hole in your system.
10688  Of course it stands to reason that such unsafe templates will never be
10689  included in the standard LyX distribution, although we do encourage people
10690  to submit new templates in the open source tradition.
10691  But LyX as shipped from the official distribution channels will never have
10692  unsafe templates.
10693 \end_layout
10694
10695 \begin_layout Standard
10696 Including external material provides a lot of power, and you have to be
10697  careful not to introduce security hazards with this power.
10698  A subtle error in a single line in an innocent looking script can open
10699  the door to huge security problems.
10700  So if you do not fully understand the issues, we recommend that you consult
10701  a knowledgable security professional or the LyX development team if you
10702  have any questions about whether a given template is safe or not.
10703  And do this before you use it in an uncontrolled environment.
10704 \end_layout
10705
10706 \begin_layout Chapter
10707 The LyX Server
10708 \end_layout
10709
10710 \begin_layout Section
10711 Introduction
10712 \end_layout
10713
10714 \begin_layout Standard
10715 The LyX server is a method implemented in LyX that will enable other programs
10716  to talk to LyX, invoke LyX commands, and retrieve information about the
10717  LyX internal state.
10718  This is only intended for advanced users, but they should find it useful.
10719 \end_layout
10720
10721 \begin_layout Section
10722 Starting the LyX Server
10723 \end_layout
10724
10725 \begin_layout Standard
10726 The LyX server works through the use of a pair of named pipes.
10727  These are usually located in your home directory and have the names 
10728 \begin_inset Quotes eld
10729 \end_inset
10730
10731
10732 \family typewriter
10733 .lyxpipe.in
10734 \family default
10735
10736 \begin_inset Quotes erd
10737 \end_inset
10738
10739  and 
10740 \begin_inset Quotes eld
10741 \end_inset
10742
10743
10744 \family typewriter
10745 .lyxpipe.out
10746 \family default
10747
10748 \begin_inset Quotes erd
10749 \end_inset
10750
10751 .
10752  External programs write into 
10753 \family typewriter
10754 .lyxpipe.in
10755 \family default
10756  and read back data from 
10757 \family typewriter
10758 .lyxpipe.out
10759 \family default
10760 .
10761  The stem of the pipe names can be defined in the 
10762 \family sans
10763 \bar under
10764 T
10765 \bar default
10766 ools\SpecialChar \menuseparator
10767
10768 \bar under
10769 P
10770 \bar default
10771 references
10772 \family default
10773  dialog, for example 
10774 \family typewriter
10775 "/home/myhome/.lyxpipe"
10776 \family default
10777 .
10778 \end_layout
10779
10780 \begin_layout Standard
10781 LyX will add the '
10782 \family typewriter
10783 .in
10784 \family default
10785 ' and '
10786 \family typewriter
10787 .out
10788 \family default
10789 ' to create the pipes.
10790  The above setting also has the effect of activating the LyX server.
10791  If one of the pipes already exists, LyX will assume that another LyX process
10792  is already running and will not start the server.
10793  To have several LyX processes with servers at the same time, you have to
10794  change the configuration between the start of the programs.
10795 \end_layout
10796
10797 \begin_layout Standard
10798 If you are developing a client program, you might find it useful to enable
10799  debugging information from the LyX server.
10800  Do this by starting LyX as 
10801 \family typewriter
10802 lyx -dbg lyxserver.
10803 \end_layout
10804
10805 \begin_layout Standard
10806 Warning: if LyX crashes, it may not manage to remove the pipes; in this
10807  case you must remove them manually.
10808  If LyX starts and the pipes exist already, it will not start any server.
10809 \end_layout
10810
10811 \begin_layout Standard
10812 Other than this, there are a few points to consider:
10813 \end_layout
10814
10815 \begin_layout Itemize
10816 Both server and clients must run on UNIX or OS/2 machines.
10817  Communications between LyX on UNIX and clients on OS/2 or vice versa is
10818  not possible right now.
10819 \end_layout
10820
10821 \begin_layout Itemize
10822 On OS/2, only one client can connect to LyXServer at a time.
10823 \end_layout
10824
10825 \begin_layout Itemize
10826 On OS/2, clients must open inpipe with 
10827 \family typewriter
10828 O_WRONLY
10829 \family default
10830  mode.
10831 \end_layout
10832
10833 \begin_layout Standard
10834 You can find a complete example client written in C in the source distribution
10835  as 
10836 \family typewriter
10837 development/server_monitor.c
10838 \family default
10839 .
10840 \end_layout
10841
10842 \begin_layout Section
10843 Normal communication
10844 \end_layout
10845
10846 \begin_layout Standard
10847 To issue a LyX call, the client writes a line of ASCII text into the input
10848  pipe.
10849  This line has the following format:
10850 \end_layout
10851
10852 \begin_layout Quote
10853 LYXCMD:
10854 \emph on
10855 clientname
10856 \emph default
10857 :
10858 \emph on
10859 function
10860 \emph default
10861 :
10862 \emph on
10863 argument
10864 \end_layout
10865
10866 \begin_layout Standard
10867 Here 
10868 \emph on
10869 clientname
10870 \emph default
10871  is a name that the client can choose arbitrarily.
10872  Its only use is that LyX will echo it if it sends an answer - so a client
10873  can dispatch results from different requesters.
10874 \end_layout
10875
10876 \begin_layout Standard
10877
10878 \emph on
10879 function
10880 \emph default
10881  is the function you want LyX to perform.
10882  It is the same as the commands you'd use in the minibuffer.
10883 \end_layout
10884
10885 \begin_layout Standard
10886
10887 \emph on
10888 argument
10889 \emph default
10890  is an optional argument which is meaningful only to some functions (for
10891  instance 
10892 \begin_inset Quotes eld
10893 \end_inset
10894
10895 self-insert
10896 \begin_inset Quotes erd
10897 \end_inset
10898
10899  which will insert the argument as text at the cursor position.)
10900 \end_layout
10901
10902 \begin_layout Standard
10903 The answer from LyX will arrive in the output pipe and be of the form
10904 \end_layout
10905
10906 \begin_layout Quote
10907 INFO:
10908 \emph on
10909 clientname
10910 \emph default
10911 :
10912 \emph on
10913 function
10914 \emph default
10915 :
10916 \emph on
10917 data
10918 \end_layout
10919
10920 \begin_layout Standard
10921 where 
10922 \emph on
10923 clientname
10924 \emph default
10925  and 
10926 \emph on
10927 function
10928 \emph default
10929  are just echoed from the command request, while 
10930 \emph on
10931 data
10932 \emph default
10933  is more or less useful information filled according to how the command
10934  execution worked out.
10935  Some commands will return information about the internal state of LyX,
10936  such as 
10937 \begin_inset Quotes eld
10938 \end_inset
10939
10940 font-state
10941 \begin_inset Quotes erd
10942 \end_inset
10943
10944 , while other will return an empty data-response.
10945  This means that the command execution went fine.
10946 \end_layout
10947
10948 \begin_layout Standard
10949 In case of errors, the response from LyX will have this form
10950 \end_layout
10951
10952 \begin_layout Quote
10953 ERROR:
10954 \emph on
10955 clientname
10956 \emph default
10957 :
10958 \emph on
10959 function
10960 \emph default
10961 :
10962 \emph on
10963 error message
10964 \end_layout
10965
10966 \begin_layout Standard
10967 where the 
10968 \emph on
10969 error message
10970 \emph default
10971  should contain an explanation of why the command failed.
10972 \end_layout
10973
10974 \begin_layout Standard
10975 Examples:
10976 \end_layout
10977
10978 \begin_layout LyX-Code
10979 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
10980 \end_layout
10981
10982 \begin_layout LyX-Code
10983 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
10984 \newline
10985 read a <~/.lyxpipe.out
10986 \newline
10987 echo $a
10988 \end_layout
10989
10990 \begin_layout Section
10991 Notification
10992 \end_layout
10993
10994 \begin_layout Standard
10995 LyX can notify clients of events going on asynchronously.
10996  Currently it will only do this if the user binds a key sequence with the
10997  function 
10998 \begin_inset Quotes eld
10999 \end_inset
11000
11001 notify
11002 \begin_inset Quotes erd
11003 \end_inset
11004
11005 .
11006  The format of the string LyX sends is as follows:
11007 \end_layout
11008
11009 \begin_layout Quote
11010
11011 \family typewriter
11012 NOTIFY:
11013 \family default
11014 \emph on
11015 key-sequence
11016 \end_layout
11017
11018 \begin_layout Standard
11019 where 
11020 \emph on
11021 key-sequence
11022 \emph default
11023  is the printed representation of the key sequence that was actually typed
11024  by the user.
11025 \end_layout
11026
11027 \begin_layout Standard
11028 This mechanism can be used to extend LyX's command set and implement macros:
11029  bind some key sequence to 
11030 \begin_inset Quotes eld
11031 \end_inset
11032
11033 notify
11034 \begin_inset Quotes erd
11035 \end_inset
11036
11037 , start a client that listens on the out pipe, dispatches the command according
11038  to the sequence and starts a function that may use LyX calls and LyX requests
11039  to issue a command or a series of commands to LyX.
11040 \end_layout
11041
11042 \begin_layout Section
11043 The simple LyX Server Protocol
11044 \end_layout
11045
11046 \begin_layout Standard
11047 LyX implements a simple protocol that can be used for session management.
11048  All messages are of the form
11049 \end_layout
11050
11051 \begin_layout Quote
11052 LYXSRV:
11053 \emph on
11054 clientname
11055 \emph default
11056 :
11057 \emph on
11058 protocol message
11059 \end_layout
11060
11061 \begin_layout Standard
11062 where 
11063 \emph on
11064 protocol message
11065 \emph default
11066  can be 
11067 \begin_inset Quotes eld
11068 \end_inset
11069
11070 hello
11071 \begin_inset Quotes erd
11072 \end_inset
11073
11074  or 
11075 \begin_inset Quotes eld
11076 \end_inset
11077
11078 bye
11079 \begin_inset Quotes erd
11080 \end_inset
11081
11082 .
11083  If 
11084 \begin_inset Quotes eld
11085 \end_inset
11086
11087 hello
11088 \begin_inset Quotes erd
11089 \end_inset
11090
11091  is received from a client, LyX will report back to inform the client that
11092  it's listening to it's messages, while 
11093 \begin_inset Quotes eld
11094 \end_inset
11095
11096 bye
11097 \begin_inset Quotes erd
11098 \end_inset
11099
11100  sent from LyX will inform clients that LyX is closing.
11101 \end_layout
11102
11103 \begin_layout Chapter
11104 \start_of_appendix
11105 Bindings
11106 \end_layout
11107
11108 \begin_layout Standard
11109 This appendix is a huge cross-reference to all the English language keybindings.
11110  Originally, we simply wanted to list all of the key bindings followed by
11111  the function it's bound to.
11112  That way, a user can look up a key to find out what it does.
11113  We then decided, what the hey, why not include the default toolbar and
11114  menu bindings, too.
11115  Please note this section is likely to be very out of date.
11116 \end_layout
11117
11118 \begin_layout Standard
11119 The form is really self-explanatory, but here are a few tips: all entries
11120  are arranged roughly alphabetically for a given modifier (
11121 \family sans
11122 C-a
11123 \family default
11124
11125 \family sans
11126 C-b
11127 \family default
11128 , etc.).
11129  For the general keyboard layout, simpler prefixes precede the more complex
11130  (
11131 \family sans
11132 C-s
11133 \family default
11134  before 
11135 \family sans
11136 C-S-c
11137 \family default
11138 ).
11139  All entries were gleaned from the default user interface and binding files
11140  located in the directories 
11141 \family typewriter
11142 \SpecialChar \ldots{}
11143 /share/lyx/ui
11144 \family default
11145  and 
11146 \family typewriter
11147 \SpecialChar \ldots{}
11148 /share/lyx/bind
11149 \family default
11150 ; they should be treated as the final word on the bindings.
11151 \end_layout
11152
11153 \begin_layout Standard
11154 As a final note, be aware that some window managers (such as FVWM) take
11155  control of some of the function keys or motion keys.
11156  
11157 \family sans
11158 C-right
11159 \family default
11160  is listed here as generating 
11161 \family typewriter
11162 word-forward
11163 \family default
11164 , but FVWM grabs it and uses it to change virtual desktops instead.
11165  Very annoying unless you instruct your window manager to stop intercepting
11166  such sequences.
11167 \end_layout
11168
11169 \begin_layout Section
11170 Toolbar
11171 \end_layout
11172
11173 \begin_layout LyX-Code
11174 Toolbar
11175 \end_layout
11176
11177 \begin_layout LyX-Code
11178     Layouts
11179 \end_layout
11180
11181 \begin_layout LyX-Code
11182     Icon "buffer-open"
11183 \end_layout
11184
11185 \begin_layout LyX-Code
11186     Icon "buffer-write"
11187 \end_layout
11188
11189 \begin_layout LyX-Code
11190     Icon "buffer-print"
11191 \end_layout
11192
11193 \begin_layout LyX-Code
11194     Separator
11195 \end_layout
11196
11197 \begin_layout LyX-Code
11198     Icon "cut"
11199 \end_layout
11200
11201 \begin_layout LyX-Code
11202     Icon "copy"
11203 \end_layout
11204
11205 \begin_layout LyX-Code
11206     Icon "paste"
11207 \end_layout
11208
11209 \begin_layout LyX-Code
11210     Separator
11211 \end_layout
11212
11213 \begin_layout LyX-Code
11214     Icon "font-emph"
11215 \end_layout
11216
11217 \begin_layout LyX-Code
11218     Icon "font-noun"
11219 \end_layout
11220
11221 \begin_layout LyX-Code
11222     Icon "font-free"
11223 \end_layout
11224
11225 \begin_layout LyX-Code
11226     Separator
11227 \end_layout
11228
11229 \begin_layout LyX-Code
11230     Icon "tex-mode"
11231 \end_layout
11232
11233 \begin_layout LyX-Code
11234     Icon "math-mode"
11235 \end_layout
11236
11237 \begin_layout LyX-Code
11238     Separator
11239 \end_layout
11240
11241 \begin_layout LyX-Code
11242     Icon "footnote-insert"
11243 \end_layout
11244
11245 \begin_layout LyX-Code
11246     Icon "marginpar-insert"
11247 \end_layout
11248
11249 \begin_layout LyX-Code
11250     Icon "depth-next"
11251 \end_layout
11252
11253 \begin_layout LyX-Code
11254     Separator
11255 \end_layout
11256
11257 \begin_layout LyX-Code
11258     Icon "figure-insert"
11259 \end_layout
11260
11261 \begin_layout LyX-Code
11262     Icon "dialog-tabular-insert"
11263 \end_layout
11264
11265 \begin_layout LyX-Code
11266 End
11267 \end_layout
11268
11269 \begin_layout Section
11270 Menu
11271 \end_layout
11272
11273 \begin_layout Standard
11274 Note that the following bindings are for LyX with English menus.
11275  The second character of the binding depends on the menu language.
11276  For example 
11277 \begin_inset Quotes eld
11278 \end_inset
11279
11280
11281 \family sans
11282 M-i r
11283 \family default
11284
11285 \begin_inset Quotes erd
11286 \end_inset
11287
11288  is with German menus 
11289 \begin_inset Quotes eld
11290 \end_inset
11291
11292
11293 \family sans
11294 M-e q
11295 \family default
11296
11297 \begin_inset Quotes erd
11298 \end_inset
11299
11300 .
11301  To find out the shortcuts of your language press the Meta (Alt)-key and
11302  press then the keys of the underlined characters of the menu names.
11303 \end_layout
11304
11305 \begin_layout Subsection
11306 File
11307 \end_layout
11308
11309 \begin_layout List
11310 \labelwidthstring 00.00.0000
11311
11312 \family sans
11313 M-f\InsetSpace ~
11314 a
11315 \family default
11316  
11317 \family typewriter
11318 buffer-write-as
11319 \end_layout
11320
11321 \begin_layout List
11322 \labelwidthstring 00.00.0000
11323
11324 \family sans
11325 M-f\InsetSpace ~
11326 c
11327 \family default
11328  
11329 \family typewriter
11330 buffer-close
11331 \end_layout
11332
11333 \begin_layout List
11334 \labelwidthstring 00.00.0000
11335
11336 \family sans
11337 M-f\InsetSpace ~
11338 d
11339 \family default
11340  
11341 \family typewriter
11342 buffer-reload
11343 \end_layout
11344
11345 \begin_layout List
11346 \labelwidthstring 00.00.0000
11347
11348 \family sans
11349 M-f\InsetSpace ~
11350 e
11351 \family default
11352  
11353 \family typewriter
11354 file_export
11355 \family default
11356  submenu
11357 \end_layout
11358
11359 \begin_layout List
11360 \labelwidthstring 00.00.0000
11361
11362 \family sans
11363 M-f\InsetSpace ~
11364 f
11365 \family default
11366  
11367 \family typewriter
11368 buffer-export fax
11369 \end_layout
11370
11371 \begin_layout List
11372 \labelwidthstring 00.00.0000
11373
11374 \family sans
11375 M-f\InsetSpace ~
11376 i
11377 \family default
11378  
11379 \family typewriter
11380 file_import
11381 \family default
11382  submenu
11383 \end_layout
11384
11385 \begin_layout List
11386 \labelwidthstring 00.00.0000
11387
11388 \family sans
11389 M-f\InsetSpace ~
11390 n
11391 \family default
11392  
11393 \family typewriter
11394 buffer-new
11395 \end_layout
11396
11397 \begin_layout List
11398 \labelwidthstring 00.00.0000
11399
11400 \family sans
11401 M-f\InsetSpace ~
11402 o
11403 \family default
11404  
11405 \family typewriter
11406 buffer-open
11407 \end_layout
11408
11409 \begin_layout List
11410 \labelwidthstring 00.00.0000
11411
11412 \family sans
11413 M-f\InsetSpace ~
11414 p
11415 \family default
11416  
11417 \family typewriter
11418 buffer-print
11419 \end_layout
11420
11421 \begin_layout List
11422 \labelwidthstring 00.00.0000
11423
11424 \family sans
11425 M-f\InsetSpace ~
11426 s
11427 \family default
11428  
11429 \family typewriter
11430 buffer-write
11431 \end_layout
11432
11433 \begin_layout List
11434 \labelwidthstring 00.00.0000
11435
11436 \family sans
11437 M-f\InsetSpace ~
11438 t
11439 \family default
11440  
11441 \family typewriter
11442 buffer-new-template
11443 \end_layout
11444
11445 \begin_layout List
11446 \labelwidthstring 00.00.0000
11447
11448 \family sans
11449 M-f\InsetSpace ~
11450 v
11451 \family default
11452  
11453 \family typewriter
11454 file_vc
11455 \family default
11456  submenu 
11457 \end_layout
11458
11459 \begin_deeper
11460 \begin_layout List
11461 \labelwidthstring 00.00.0000
11462
11463 \family sans
11464 h
11465 \family default
11466  
11467 \family typewriter
11468 vc-history 
11469 \end_layout
11470
11471 \begin_layout List
11472 \labelwidthstring 00.00.0000
11473
11474 \family sans
11475 i
11476 \family default
11477  
11478 \family typewriter
11479 vc-check-in
11480 \end_layout
11481
11482 \begin_layout List
11483 \labelwidthstring 00.00.0000
11484
11485 \family sans
11486 l
11487 \family default
11488  
11489 \family typewriter
11490 vc-revert
11491 \end_layout
11492
11493 \begin_layout List
11494 \labelwidthstring 00.00.0000
11495
11496 \family sans
11497 o
11498 \family default
11499  
11500 \family typewriter
11501 vc-check-out
11502 \end_layout
11503
11504 \begin_layout List
11505 \labelwidthstring 00.00.0000
11506
11507 \family sans
11508 r
11509 \family default
11510  
11511 \family typewriter
11512 vc-register
11513 \end_layout
11514
11515 \begin_layout List
11516 \labelwidthstring 00.00.0000
11517
11518 \family sans
11519 u
11520 \family default
11521  
11522 \family typewriter
11523 vc-undo-last
11524 \end_layout
11525
11526 \end_deeper
11527 \begin_layout List
11528 \labelwidthstring 00.00.0000
11529
11530 \family sans
11531 M-f\InsetSpace ~
11532 x
11533 \family default
11534  
11535 \family typewriter
11536 lyx-quit
11537 \end_layout
11538
11539 \begin_layout Subsection
11540 Edit
11541 \end_layout
11542
11543 \begin_layout List
11544 \labelwidthstring 00.00.0000
11545
11546 \family sans
11547 M-e\InsetSpace ~
11548 a
11549 \family default
11550  
11551 \family typewriter
11552 paste
11553 \end_layout
11554
11555 \begin_layout List
11556 \labelwidthstring 00.00.0000
11557
11558 \family sans
11559 M-e\InsetSpace ~
11560 c
11561 \family default
11562  
11563 \family typewriter
11564 cut
11565 \end_layout
11566
11567 \begin_layout List
11568 \labelwidthstring 00.00.0000
11569
11570 \family sans
11571 M-e\InsetSpace ~
11572 d
11573 \family default
11574  
11575 \family typewriter
11576 redo
11577 \end_layout
11578
11579 \begin_layout List
11580 \labelwidthstring 00.00.0000
11581
11582 \family sans
11583 M-e\InsetSpace ~
11584 e
11585 \family default
11586  
11587 \family typewriter
11588 error-remove-all
11589 \end_layout
11590
11591 \begin_layout List
11592 \labelwidthstring 00.00.0000
11593
11594 \family sans
11595 M-e\InsetSpace ~
11596 f
11597 \family default
11598  
11599 \family typewriter
11600 find-replace
11601 \end_layout
11602
11603 \begin_layout List
11604 \labelwidthstring 00.00.0000
11605
11606 \family sans
11607 M-e\InsetSpace ~
11608 h
11609 \family default
11610  
11611 \family typewriter
11612 buffer-chktex
11613 \end_layout
11614
11615 \begin_layout List
11616 \labelwidthstring 00.00.0000
11617
11618 \family sans
11619 M-e\InsetSpace ~
11620 i
11621 \family default
11622  
11623 \family typewriter
11624 edit_floats
11625 \family default
11626  submenu
11627 \end_layout
11628
11629 \begin_deeper
11630 \begin_layout List
11631 \labelwidthstring 00.00.0000
11632
11633 \family sans
11634 a
11635 \family default
11636  
11637 \family typewriter
11638 tabular-feature append-row
11639 \end_layout
11640
11641 \begin_layout List
11642 \labelwidthstring 00.00.0000
11643
11644 \family sans
11645 b
11646 \family default
11647  
11648 \family typewriter
11649 tabular-feature toggle-line-bottom
11650 \end_layout
11651
11652 \begin_layout List
11653 \labelwidthstring 00.00.0000
11654
11655 \family sans
11656 c
11657 \family default
11658  
11659 \family typewriter
11660 tabular-feature align-center
11661 \end_layout
11662
11663 \begin_layout List
11664 \labelwidthstring 00.00.0000
11665
11666 \family sans
11667 d
11668 \family default
11669  
11670 \family typewriter
11671 tabular-feature delete-column
11672 \end_layout
11673
11674 \begin_layout List
11675 \labelwidthstring 00.00.0000
11676
11677 \family sans
11678 e
11679 \family default
11680  
11681 \family typewriter
11682 tabular-feature align-left
11683 \end_layout
11684
11685 \begin_layout List
11686 \labelwidthstring 00.00.0000
11687
11688 \family sans
11689 i
11690 \family default
11691  
11692 \family typewriter
11693 tabular-feature align-right
11694 \end_layout
11695
11696 \begin_layout List
11697 \labelwidthstring 00.00.0000
11698
11699 \family sans
11700 l
11701 \family default
11702  
11703 \family typewriter
11704 tabular-feature toggle-line-left
11705 \end_layout
11706
11707 \begin_layout List
11708 \labelwidthstring 00.00.0000
11709
11710 \family sans
11711 m
11712 \family default
11713  
11714 \family typewriter
11715 tabular-feature multicolumn
11716 \end_layout
11717
11718 \begin_layout List
11719 \labelwidthstring 00.00.0000
11720
11721 \family sans
11722 n
11723 \family default
11724  
11725 \family typewriter
11726 tabular-feature valign-center
11727 \end_layout
11728
11729 \begin_layout List
11730 \labelwidthstring 00.00.0000
11731
11732 \family sans
11733 o
11734 \family default
11735  
11736 \family typewriter
11737 tabular-feature valign-top
11738 \end_layout
11739
11740 \begin_layout List
11741 \labelwidthstring 00.00.0000
11742
11743 \family sans
11744 r
11745 \family default
11746  
11747 \family typewriter
11748 tabular-feature toggle-line-right
11749 \end_layout
11750
11751 \begin_layout List
11752 \labelwidthstring 00.00.0000
11753
11754 \family sans
11755 t
11756 \family default
11757  
11758 \family typewriter
11759 tabular-feature toggle-line-top
11760 \end_layout
11761
11762 \begin_layout List
11763 \labelwidthstring 00.00.0000
11764
11765 \family sans
11766 u
11767 \family default
11768  
11769 \family typewriter
11770 tabular-feature append-column
11771 \end_layout
11772
11773 \begin_layout List
11774 \labelwidthstring 00.00.0000
11775
11776 \family sans
11777 v
11778 \family default
11779  
11780 \family typewriter
11781 tabular-feature valign-bottom
11782 \end_layout
11783
11784 \begin_layout List
11785 \labelwidthstring 00.00.0000
11786
11787 \family sans
11788 w
11789 \family default
11790  
11791 \family typewriter
11792 tabular-feature delete-row
11793 \end_layout
11794
11795 \end_deeper
11796 \begin_layout List
11797 \labelwidthstring 00.00.0000
11798
11799 \family sans
11800 M-e\InsetSpace ~
11801 l
11802 \family default
11803  
11804 \family typewriter
11805 math-panel
11806 \end_layout
11807
11808 \begin_deeper
11809 \begin_layout List
11810 \labelwidthstring 00.00.0000
11811
11812 \family sans
11813 a
11814 \family default
11815  
11816 \family typewriter
11817 floats-operate openfoot
11818 \end_layout
11819
11820 \begin_layout List
11821 \labelwidthstring 00.00.0000
11822
11823 \family sans
11824 c
11825 \family default
11826  
11827 \family typewriter
11828 floats-operate closefoot
11829 \end_layout
11830
11831 \begin_layout List
11832 \labelwidthstring 00.00.0000
11833
11834 \family sans
11835 f
11836 \family default
11837  
11838 \family typewriter
11839 floats-operate openfig
11840 \end_layout
11841
11842 \begin_layout List
11843 \labelwidthstring 00.00.0000
11844
11845 \family sans
11846 m
11847 \family default
11848  
11849 \family typewriter
11850 melt
11851 \end_layout
11852
11853 \begin_layout List
11854 \labelwidthstring 00.00.0000
11855
11856 \family sans
11857 o
11858 \family default
11859  
11860 \family typewriter
11861 open-stuff
11862 \end_layout
11863
11864 \begin_layout List
11865 \labelwidthstring 00.00.0000
11866
11867 \family sans
11868 t
11869 \family default
11870  
11871 \family typewriter
11872 floats-operate closefig
11873 \end_layout
11874
11875 \end_deeper
11876 \begin_layout List
11877 \labelwidthstring 00.00.0000
11878
11879 \family sans
11880 M-e\InsetSpace ~
11881 o
11882 \family default
11883  
11884 \family typewriter
11885 copy
11886 \end_layout
11887
11888 \begin_layout List
11889 \labelwidthstring 00.00.0000
11890
11891 \family sans
11892 M-e\InsetSpace ~
11893 p
11894 \family default
11895  
11896 \family typewriter
11897 dialog-preferences
11898 \family default
11899  
11900 \end_layout
11901
11902 \begin_layout List
11903 \labelwidthstring 00.00.0000
11904
11905 \family sans
11906 M-e\InsetSpace ~
11907 r
11908 \family default
11909  
11910 \family typewriter
11911 reconfigure
11912 \end_layout
11913
11914 \begin_layout List
11915 \labelwidthstring 00.00.0000
11916
11917 \family sans
11918 M-e\InsetSpace ~
11919 s
11920 \family default
11921  
11922 \family typewriter
11923 spellchecker
11924 \end_layout
11925
11926 \begin_layout List
11927 \labelwidthstring 00.00.0000
11928
11929 \family sans
11930 M-e\InsetSpace ~
11931 t
11932 \family default
11933  
11934 \family typewriter
11935 edit_tabular
11936 \family default
11937  submenu
11938 \end_layout
11939
11940 \begin_layout List
11941 \labelwidthstring 00.00.0000
11942
11943 \family sans
11944 M-e\InsetSpace ~
11945 u
11946 \family default
11947  
11948 \family typewriter
11949 undo
11950 \end_layout
11951
11952 \begin_layout List
11953 \labelwidthstring 00.00.0000
11954
11955 \family sans
11956 M-e\InsetSpace ~
11957 x
11958 \family default
11959  
11960 \family typewriter
11961 edit_paste
11962 \family default
11963  submenu
11964 \end_layout
11965
11966 \begin_deeper
11967 \begin_layout List
11968 \labelwidthstring 00.00.0000
11969
11970 \family sans
11971 l
11972 \family default
11973  
11974 \family typewriter
11975 primary-selection-paste
11976 \end_layout
11977
11978 \begin_layout List
11979 \labelwidthstring 00.00.0000
11980
11981 \family sans
11982 p
11983 \family default
11984  
11985 \family typewriter
11986 primary-selection-paste paragraph
11987 \end_layout
11988
11989 \end_deeper
11990 \begin_layout Subsection
11991 Insert
11992 \end_layout
11993
11994 \begin_layout List
11995 \labelwidthstring 00.00.0000
11996
11997 \family sans
11998 M-i\InsetSpace ~
11999 a
12000 \family default
12001  
12002 \family typewriter
12003 insert_floats
12004 \family default
12005  submenu
12006 \end_layout
12007
12008 \begin_deeper
12009 \begin_layout List
12010 \labelwidthstring 00.00.0000
12011
12012 \family sans
12013 a
12014 \family default
12015  
12016 \family typewriter
12017 buffer-float-insert algorithm
12018 \end_layout
12019
12020 \begin_layout List
12021 \labelwidthstring 00.00.0000
12022
12023 \family sans
12024 d
12025 \family default
12026  
12027 \family typewriter
12028 buffer-float-insert wide-tab
12029 \end_layout
12030
12031 \begin_layout List
12032 \labelwidthstring 00.00.0000
12033
12034 \family sans
12035 f
12036 \family default
12037  
12038 \family typewriter
12039 buffer-float-insert figure
12040 \end_layout
12041
12042 \begin_layout List
12043 \labelwidthstring 00.00.0000
12044
12045 \family sans
12046 t
12047 \family default
12048  
12049 \family typewriter
12050 buffer-float-insert table
12051 \end_layout
12052
12053 \begin_layout List
12054 \labelwidthstring 00.00.0000
12055
12056 \family sans
12057 w
12058 \family default
12059  
12060 \family typewriter
12061 buffer-float-insert wide-fig
12062 \end_layout
12063
12064 \end_deeper
12065 \begin_layout List
12066 \labelwidthstring 00.00.0000
12067
12068 \family sans
12069 M-i\InsetSpace ~
12070 b
12071 \family default
12072  
12073 \family typewriter
12074 dialog-tabular-insert
12075 \end_layout
12076
12077 \begin_layout List
12078 \labelwidthstring 00.00.0000
12079
12080 \family sans
12081 M-i\InsetSpace ~
12082 c
12083 \family default
12084  
12085 \family typewriter
12086 citation-insert
12087 \end_layout
12088
12089 \begin_layout List
12090 \labelwidthstring 00.00.0000
12091
12092 \family sans
12093 M-i\InsetSpace ~
12094 d
12095 \family default
12096  
12097 \family typewriter
12098 math-display
12099 \end_layout
12100
12101 \begin_layout List
12102 \labelwidthstring 00.00.0000
12103
12104 \family sans
12105 M-i\InsetSpace ~
12106 e
12107 \family default
12108  
12109 \family typewriter
12110 buffer-child-insert
12111 \end_layout
12112
12113 \begin_layout List
12114 \labelwidthstring 00.00.0000
12115
12116 \family sans
12117 M-i\InsetSpace ~
12118 f
12119 \family default
12120  
12121 \family typewriter
12122 footnote-insert
12123 \end_layout
12124
12125 \begin_layout List
12126 \labelwidthstring 00.00.0000
12127
12128 \family sans
12129 M-i\InsetSpace ~
12130 g
12131 \family default
12132  
12133 \family typewriter
12134 figure-insert
12135 \end_layout
12136
12137 \begin_layout List
12138 \labelwidthstring 00.00.0000
12139
12140 \family sans
12141 M-i\InsetSpace ~
12142 h
12143 \family default
12144  
12145 \family typewriter
12146 math-mode
12147 \end_layout
12148
12149 \begin_layout List
12150 \labelwidthstring 00.00.0000
12151
12152 \family sans
12153 M-i\InsetSpace ~
12154 i
12155 \family default
12156  
12157 \family typewriter
12158 index-insert
12159 \end_layout
12160
12161 \begin_layout List
12162 \labelwidthstring 00.00.0000
12163
12164 \family sans
12165 M-i\InsetSpace ~
12166 l
12167 \family default
12168  
12169 \family typewriter
12170 label-insert
12171 \end_layout
12172
12173 \begin_layout List
12174 \labelwidthstring 00.00.0000
12175
12176 \family sans
12177 M-i\InsetSpace ~
12178 m
12179 \family default
12180  
12181 \family typewriter
12182 marginpar-insert
12183 \end_layout
12184
12185 \begin_layout List
12186 \labelwidthstring 00.00.0000
12187
12188 \family sans
12189 M-i\InsetSpace ~
12190 n
12191 \family default
12192  
12193 \family typewriter
12194 note-insert
12195 \end_layout
12196
12197 \begin_layout List
12198 \labelwidthstring 00.00.0000
12199
12200 \family sans
12201 M-i\InsetSpace ~
12202 o
12203 \family default
12204  
12205 \family typewriter
12206 insert_toc
12207 \family default
12208  submenu
12209 \end_layout
12210
12211 \begin_deeper
12212 \begin_layout List
12213 \labelwidthstring 00.00.0000
12214
12215 \family sans
12216 a
12217 \family default
12218  
12219 \family typewriter
12220 loa-insert
12221 \end_layout
12222
12223 \begin_layout List
12224 \labelwidthstring 00.00.0000
12225
12226 \family sans
12227 b
12228 \family default
12229  
12230 \family typewriter
12231 bibtex-insert
12232 \end_layout
12233
12234 \begin_layout List
12235 \labelwidthstring 00.00.0000
12236
12237 \family sans
12238 c
12239 \family default
12240  
12241 \family typewriter
12242 toc-insert
12243 \end_layout
12244
12245 \begin_layout List
12246 \labelwidthstring 00.00.0000
12247
12248 \family sans
12249 f
12250 \family default
12251  
12252 \family typewriter
12253 lof-insert
12254 \end_layout
12255
12256 \begin_layout List
12257 \labelwidthstring 00.00.0000
12258
12259 \family sans
12260 i
12261 \family default
12262  
12263 \family typewriter
12264 index-print
12265 \end_layout
12266
12267 \begin_layout List
12268 \labelwidthstring 00.00.0000
12269
12270 \family sans
12271 t
12272 \family default
12273  
12274 \family typewriter
12275 lot-insert
12276 \end_layout
12277
12278 \end_deeper
12279 \begin_layout List
12280 \labelwidthstring 00.00.0000
12281
12282 \family sans
12283 M-i\InsetSpace ~
12284 r
12285 \family default
12286  
12287 \family typewriter
12288 reference-insert
12289 \end_layout
12290
12291 \begin_layout List
12292 \labelwidthstring 00.00.0000
12293
12294 \family sans
12295 M-i\InsetSpace ~
12296 s
12297 \family default
12298  
12299 \family typewriter
12300 insert_special
12301 \family default
12302  submenu
12303 \end_layout
12304
12305 \begin_deeper
12306 \begin_layout List
12307 \labelwidthstring 00.00.0000
12308
12309 \family sans
12310 b
12311 \family default
12312  
12313 \family typewriter
12314 protected-space-insert
12315 \end_layout
12316
12317 \begin_layout List
12318 \labelwidthstring 00.00.0000
12319
12320 \family sans
12321 e
12322 \family default
12323  
12324 \family typewriter
12325 end-of-sentence-period-insert
12326 \end_layout
12327
12328 \begin_layout List
12329 \labelwidthstring 00.00.0000
12330
12331 \family sans
12332 h
12333 \family default
12334  
12335 \family typewriter
12336 hfill-insert
12337 \end_layout
12338
12339 \begin_layout List
12340 \labelwidthstring 00.00.0000
12341
12342 \family sans
12343 i
12344 \family default
12345  
12346 \family typewriter
12347 dots-insert
12348 \end_layout
12349
12350 \begin_layout List
12351 \labelwidthstring 00.00.0000
12352
12353 \family sans
12354 l
12355 \family default
12356  
12357 \family typewriter
12358 break-line
12359 \end_layout
12360
12361 \begin_layout List
12362 \labelwidthstring 00.00.0000
12363
12364 \family sans
12365 m
12366 \family default
12367  
12368 \family typewriter
12369 menu-separator-insert
12370 \end_layout
12371
12372 \begin_layout List
12373 \labelwidthstring 00.00.0000
12374
12375 \family sans
12376 p
12377 \family default
12378  
12379 \family typewriter
12380 hyphenation-point-insert
12381 \end_layout
12382
12383 \begin_layout List
12384 \labelwidthstring 00.00.0000
12385
12386 \family sans
12387 q
12388 \family default
12389  
12390 \family typewriter
12391 quote-insert
12392 \end_layout
12393
12394 \begin_layout List
12395 \labelwidthstring 00.00.0000
12396
12397 \family sans
12398 s
12399 \family default
12400  
12401 \family typewriter
12402 command-sequence math-insert ^;math-mode;
12403 \end_layout
12404
12405 \begin_layout List
12406 \labelwidthstring 00.00.0000
12407
12408 \family sans
12409 u
12410 \family default
12411  
12412 \family typewriter
12413 command-sequence math-insert _;math-mode;
12414 \end_layout
12415
12416 \end_deeper
12417 \begin_layout List
12418 \labelwidthstring 00.00.0000
12419
12420 \family sans
12421 M-i\InsetSpace ~
12422 t
12423 \family default
12424  
12425 \family typewriter
12426 insert_file
12427 \family default
12428  submenu
12429 \end_layout
12430
12431 \begin_deeper
12432 \begin_layout List
12433 \labelwidthstring 00.00.0000
12434
12435 \family sans
12436 l
12437 \family default
12438  
12439 \family typewriter
12440 file-insert-plaintext lines
12441 \end_layout
12442
12443 \begin_layout List
12444 \labelwidthstring 00.00.0000
12445
12446 \family sans
12447 p
12448 \family default
12449  
12450 \family typewriter
12451 file-insert-plaintext paragraphs
12452 \end_layout
12453
12454 \begin_layout List
12455 \labelwidthstring 00.00.0000
12456
12457 \family sans
12458 x
12459 \family default
12460  
12461 \family typewriter
12462 file-insert
12463 \end_layout
12464
12465 \end_deeper
12466 \begin_layout List
12467 \labelwidthstring 00.00.0000
12468
12469 \family sans
12470 M-i\InsetSpace ~
12471 u
12472 \family default
12473  
12474 \family typewriter
12475 url-insert
12476 \end_layout
12477
12478 \begin_layout List
12479 \labelwidthstring 00.00.0000
12480
12481 \family sans
12482 M-i\InsetSpace ~
12483 w
12484 \family default
12485  
12486 \family typewriter
12487 index-insert-last
12488 \end_layout
12489
12490 \begin_layout List
12491 \labelwidthstring 00.00.0000
12492
12493 \family sans
12494 M-i\InsetSpace ~
12495 x
12496 \family default
12497  
12498 \family typewriter
12499 external-insert
12500 \end_layout
12501
12502 \begin_layout Subsection
12503 Layout
12504 \end_layout
12505
12506 \begin_layout List
12507 \labelwidthstring 00.00.0000
12508
12509 \family sans
12510 M-l\InsetSpace ~
12511 a
12512 \family default
12513  
12514 \family typewriter
12515 appendix
12516 \end_layout
12517
12518 \begin_layout List
12519 \labelwidthstring 00.00.0000
12520
12521 \family sans
12522 M-l\InsetSpace ~
12523 b
12524 \family default
12525  
12526 \family typewriter
12527 font-bold
12528 \end_layout
12529
12530 \begin_layout List
12531 \labelwidthstring 00.00.0000
12532
12533 \family sans
12534 M-l\InsetSpace ~
12535 c
12536 \family default
12537  
12538 \family typewriter
12539 layout-character
12540 \end_layout
12541
12542 \begin_layout List
12543 \labelwidthstring 00.00.0000
12544
12545 \family sans
12546 M-l\InsetSpace ~
12547 d
12548 \family default
12549  
12550 \family typewriter
12551 layout-document
12552 \end_layout
12553
12554 \begin_layout List
12555 \labelwidthstring 00.00.0000
12556
12557 \family sans
12558 M-l\InsetSpace ~
12559 e
12560 \family default
12561  
12562 \family typewriter
12563 font-emph
12564 \end_layout
12565
12566 \begin_layout List
12567 \labelwidthstring 00.00.0000
12568
12569 \family sans
12570 M-l\InsetSpace ~
12571 l
12572 \family default
12573  
12574 \family typewriter
12575 layout-preamble
12576 \end_layout
12577
12578 \begin_layout List
12579 \labelwidthstring 00.00.0000
12580
12581 \family sans
12582 M-l\InsetSpace ~
12583 n
12584 \family default
12585  
12586 \family typewriter
12587 font-noun
12588 \end_layout
12589
12590 \begin_layout List
12591 \labelwidthstring 00.00.0000
12592
12593 \family sans
12594 M-l\InsetSpace ~
12595 p
12596 \family default
12597  
12598 \family typewriter
12599 layout-paragraph
12600 \end_layout
12601
12602 \begin_layout List
12603 \labelwidthstring 00.00.0000
12604
12605 \family sans
12606 M-l\InsetSpace ~
12607 s
12608 \family default
12609  
12610 \family typewriter
12611 layout-save-default
12612 \end_layout
12613
12614 \begin_layout List
12615 \labelwidthstring 00.00.0000
12616
12617 \family sans
12618 M-l\InsetSpace ~
12619 t
12620 \family default
12621  
12622 \family typewriter
12623 layout-tabular
12624 \end_layout
12625
12626 \begin_layout List
12627 \labelwidthstring 00.00.0000
12628
12629 \family sans
12630 M-l\InsetSpace ~
12631 v
12632 \family default
12633  
12634 \family typewriter
12635 depth-increment
12636 \end_layout
12637
12638 \begin_layout List
12639 \labelwidthstring 00.00.0000
12640
12641 \family sans
12642 M-l\InsetSpace ~
12643 x
12644 \family default
12645  
12646 \family typewriter
12647 tex-mode
12648 \end_layout
12649
12650 \begin_layout Subsubsection
12651
12652 \family sans
12653 Layout\SpecialChar \menuseparator
12654 Character
12655 \family default
12656  
12657 \end_layout
12658
12659 \begin_layout List
12660 \labelwidthstring 00.00.0000
12661
12662 \family sans
12663 M-c\InsetSpace ~
12664 b
12665 \family default
12666  
12667 \family typewriter
12668 font-bold
12669 \end_layout
12670
12671 \begin_layout List
12672 \labelwidthstring 00.00.0000
12673
12674 \family sans
12675 M-c\InsetSpace ~
12676 c
12677 \family default
12678  
12679 \family typewriter
12680 font-noun
12681 \end_layout
12682
12683 \begin_layout List
12684 \labelwidthstring 00.00.0000
12685
12686 \family sans
12687 M-c\InsetSpace ~
12688 e
12689 \family default
12690  
12691 \family typewriter
12692 font-emph
12693 \end_layout
12694
12695 \begin_layout List
12696 \labelwidthstring 00.00.0000
12697
12698 \family sans
12699 M-c\InsetSpace ~
12700 m
12701 \family default
12702  
12703 \family typewriter
12704 math-mode
12705 \end_layout
12706
12707 \begin_layout List
12708 \labelwidthstring 00.00.0000
12709
12710 \family sans
12711 M-c\InsetSpace ~
12712 p
12713 \family default
12714  
12715 \family typewriter
12716 font-code
12717 \end_layout
12718
12719 \begin_layout List
12720 \labelwidthstring 00.00.0000
12721
12722 \family sans
12723 M-c\InsetSpace ~
12724 r
12725 \family default
12726  
12727 \family typewriter
12728 font-roman
12729 \end_layout
12730
12731 \begin_layout List
12732 \labelwidthstring 00.00.0000
12733
12734 \family sans
12735 M-c\InsetSpace ~
12736 s
12737 \family default
12738  
12739 \family typewriter
12740 font-sans
12741 \end_layout
12742
12743 \begin_layout List
12744 \labelwidthstring 00.00.0000
12745
12746 \family sans
12747 M-c\InsetSpace ~
12748 u
12749 \family default
12750  
12751 \family typewriter
12752 font-underline
12753 \end_layout
12754
12755 \begin_layout List
12756 \labelwidthstring 00.00.0000
12757
12758 \family sans
12759 M-c\InsetSpace ~
12760 space
12761 \family default
12762  
12763 \family typewriter
12764 font-default
12765 \end_layout
12766
12767 \begin_layout List
12768 \labelwidthstring 00.00.0000
12769
12770 \family sans
12771 M-c\InsetSpace ~
12772 Down
12773 \family default
12774  
12775 \family typewriter
12776 word-lowcase
12777 \end_layout
12778
12779 \begin_layout List
12780 \labelwidthstring 00.00.0000
12781
12782 \family sans
12783 M-c\InsetSpace ~
12784 Up
12785 \family default
12786  
12787 \family typewriter
12788 word-upcase
12789 \end_layout
12790
12791 \begin_layout List
12792 \labelwidthstring 00.00.0000
12793
12794 \family sans
12795 M-c\InsetSpace ~
12796 Right
12797 \family default
12798  
12799 \family typewriter
12800 word-capitalize
12801 \end_layout
12802
12803 \begin_layout List
12804 \labelwidthstring 00.00.0000
12805
12806 \family sans
12807 M-s\InsetSpace ~
12808 h
12809 \family default
12810  
12811 \family typewriter
12812 font-size huge
12813 \end_layout
12814
12815 \begin_layout List
12816 \labelwidthstring 00.00.0000
12817
12818 \family sans
12819 M-s\InsetSpace ~
12820 l
12821 \family default
12822  
12823 \family typewriter
12824 font-size large
12825 \end_layout
12826
12827 \begin_layout List
12828 \labelwidthstring 00.00.0000
12829
12830 \family sans
12831 M-s\InsetSpace ~
12832 n
12833 \family default
12834  
12835 \family typewriter
12836 font-size normal
12837 \end_layout
12838
12839 \begin_layout List
12840 \labelwidthstring 00.00.0000
12841
12842 \family sans
12843 M-s\InsetSpace ~
12844 s
12845 \family default
12846  
12847 \family typewriter
12848 font-size small
12849 \end_layout
12850
12851 \begin_layout List
12852 \labelwidthstring 00.00.0000
12853
12854 \family sans
12855 M-s\InsetSpace ~
12856 t
12857 \family default
12858  
12859 \family typewriter
12860 font-size tiny
12861 \end_layout
12862
12863 \begin_layout List
12864 \labelwidthstring 00.00.0000
12865
12866 \family sans
12867 M-s\InsetSpace ~
12868 0
12869 \family default
12870  
12871 \family typewriter
12872 font-size huger
12873 \end_layout
12874
12875 \begin_layout List
12876 \labelwidthstring 00.00.0000
12877
12878 \family sans
12879 M-s\InsetSpace ~
12880 1
12881 \family default
12882  
12883 \family typewriter
12884 font-size tiny
12885 \end_layout
12886
12887 \begin_layout List
12888 \labelwidthstring 00.00.0000
12889
12890 \family sans
12891 M-s\InsetSpace ~
12892 2
12893 \family default
12894  
12895 \family typewriter
12896 font-size smallest
12897 \end_layout
12898
12899 \begin_layout List
12900 \labelwidthstring 00.00.0000
12901
12902 \family sans
12903 M-s\InsetSpace ~
12904 3
12905 \family default
12906  
12907 \family typewriter
12908 font-size smaller
12909 \end_layout
12910
12911 \begin_layout List
12912 \labelwidthstring 00.00.0000
12913
12914 \family sans
12915 M-s\InsetSpace ~
12916 4
12917 \family default
12918  
12919 \family typewriter
12920 font-size small
12921 \end_layout
12922
12923 \begin_layout List
12924 \labelwidthstring 00.00.0000
12925
12926 \family sans
12927 M-s\InsetSpace ~
12928 5
12929 \family default
12930  
12931 \family typewriter
12932 font-size normal
12933 \end_layout
12934
12935 \begin_layout List
12936 \labelwidthstring 00.00.0000
12937
12938 \family sans
12939 M-s\InsetSpace ~
12940 6
12941 \family default
12942  
12943 \family typewriter
12944 font-size large
12945 \end_layout
12946
12947 \begin_layout List
12948 \labelwidthstring 00.00.0000
12949
12950 \family sans
12951 M-s\InsetSpace ~
12952 7
12953 \family default
12954  
12955 \family typewriter
12956 font-size larger
12957 \end_layout
12958
12959 \begin_layout List
12960 \labelwidthstring 00.00.0000
12961
12962 \family sans
12963 M-s\InsetSpace ~
12964 8
12965 \family default
12966  
12967 \family typewriter
12968 font-size largest
12969 \end_layout
12970
12971 \begin_layout List
12972 \labelwidthstring 00.00.0000
12973
12974 \family sans
12975 M-s\InsetSpace ~
12976 9
12977 \family default
12978  
12979 \family typewriter
12980 font-size huge
12981 \end_layout
12982
12983 \begin_layout List
12984 \labelwidthstring 00.00.0000
12985
12986 \family sans
12987 M-s\InsetSpace ~
12988 S-H
12989 \family default
12990  
12991 \family typewriter
12992 font-size huger
12993 \end_layout
12994
12995 \begin_layout List
12996 \labelwidthstring 00.00.0000
12997
12998 \family sans
12999 M-s\InsetSpace ~
13000 S-L
13001 \family default
13002  
13003 \family typewriter
13004 font-size larger
13005 \end_layout
13006
13007 \begin_layout List
13008 \labelwidthstring 00.00.0000
13009
13010 \family sans
13011 M-s\InsetSpace ~
13012 S-S
13013 \family default
13014  
13015 \family typewriter
13016 font-size smaller
13017 \end_layout
13018
13019 \begin_layout List
13020 \labelwidthstring 00.00.0000
13021
13022 \family sans
13023 M-s\InsetSpace ~
13024 plus
13025 \family default
13026  
13027 \family typewriter
13028 font-size increase
13029 \end_layout
13030
13031 \begin_layout List
13032 \labelwidthstring 00.00.0000
13033
13034 \family sans
13035 M-s\InsetSpace ~
13036 minus
13037 \family default
13038  
13039 \family typewriter
13040 font-size decrease
13041 \end_layout
13042
13043 \begin_layout Subsection
13044 View
13045 \end_layout
13046
13047 \begin_layout Subsection
13048 Navigate
13049 \end_layout
13050
13051 \begin_layout Subsection
13052 Help
13053 \end_layout
13054
13055 \begin_layout Subsection
13056 Paragraph Style
13057 \end_layout
13058
13059 \begin_layout List
13060 \labelwidthstring 00.00.0000
13061
13062 \family sans
13063 M-p\InsetSpace ~
13064 a
13065 \family default
13066  
13067 \family typewriter
13068 layout Abstract
13069 \end_layout
13070
13071 \begin_layout List
13072 \labelwidthstring 00.00.0000
13073
13074 \family sans
13075 M-p\InsetSpace ~
13076 b
13077 \family default
13078  
13079 \family typewriter
13080 layout Itemize
13081 \end_layout
13082
13083 \begin_layout List
13084 \labelwidthstring 00.00.0000
13085
13086 \family sans
13087 M-p\InsetSpace ~
13088 c
13089 \family default
13090  
13091 \family typewriter
13092 layout LyX-Code
13093 \end_layout
13094
13095 \begin_layout List
13096 \labelwidthstring 00.00.0000
13097
13098 \family sans
13099 M-p\InsetSpace ~
13100 d
13101 \family default
13102  
13103 \family typewriter
13104 layout Description
13105 \end_layout
13106
13107 \begin_layout List
13108 \labelwidthstring 00.00.0000
13109
13110 \family sans
13111 M-p\InsetSpace ~
13112 e
13113 \family default
13114  
13115 \family typewriter
13116 layout Enumerate
13117 \end_layout
13118
13119 \begin_layout List
13120 \labelwidthstring 00.00.0000
13121
13122 \family sans
13123 M-p\InsetSpace ~
13124 f
13125 \family default
13126  
13127 \family typewriter
13128 layout ShortFoilhead
13129 \end_layout
13130
13131 \begin_layout List
13132 \labelwidthstring 00.00.0000
13133
13134 \family sans
13135 M-p\InsetSpace ~
13136 i
13137 \family default
13138  
13139 \family typewriter
13140 layout Itemize
13141 \end_layout
13142
13143 \begin_layout List
13144 \labelwidthstring 00.00.0000
13145
13146 \family sans
13147 M-p\InsetSpace ~
13148 l
13149 \family default
13150  
13151 \family typewriter
13152 layout List
13153 \end_layout
13154
13155 \begin_layout List
13156 \labelwidthstring 00.00.0000
13157
13158 \family sans
13159 M-p\InsetSpace ~
13160 n
13161 \family default
13162  
13163 \family typewriter
13164 layout Enumerate
13165 \end_layout
13166
13167 \begin_layout List
13168 \labelwidthstring 00.00.0000
13169
13170 \family sans
13171 M-p\InsetSpace ~
13172 q
13173 \family default
13174  
13175 \family typewriter
13176 layout Quote
13177 \end_layout
13178
13179 \begin_layout List
13180 \labelwidthstring 00.00.0000
13181
13182 \family sans
13183 M-p\InsetSpace ~
13184 r
13185 \family default
13186  
13187 \family typewriter
13188 layout ShortRotatefoilhead
13189 \end_layout
13190
13191 \begin_layout List
13192 \labelwidthstring 00.00.0000
13193
13194 \family sans
13195 M-p\InsetSpace ~
13196 s
13197 \family default
13198  
13199 \family typewriter
13200 layout Standard
13201 \end_layout
13202
13203 \begin_layout List
13204 \labelwidthstring 00.00.0000
13205
13206 \family sans
13207 M-p\InsetSpace ~
13208 t
13209 \family default
13210  
13211 \family typewriter
13212 layout Title
13213 \end_layout
13214
13215 \begin_layout List
13216 \labelwidthstring 00.00.0000
13217
13218 \family sans
13219 M-p\InsetSpace ~
13220 v
13221 \family default
13222  
13223 \family typewriter
13224 layout Verse
13225 \end_layout
13226
13227 \begin_layout List
13228 \labelwidthstring 00.00.0000
13229
13230 \family sans
13231 M-p\InsetSpace ~
13232 space
13233 \family default
13234  
13235 \family typewriter
13236 drop-layouts-choice
13237 \end_layout
13238
13239 \begin_layout List
13240 \labelwidthstring 00.00.0000
13241
13242 \family sans
13243 M-p
13244 \noun on
13245 \InsetSpace ~
13246 0
13247 \family default
13248 \noun default
13249  
13250 \family typewriter
13251 layout Part
13252 \end_layout
13253
13254 \begin_layout List
13255 \labelwidthstring 00.00.0000
13256
13257 \family sans
13258 M-p
13259 \noun on
13260 \InsetSpace ~
13261 1
13262 \family default
13263 \noun default
13264  
13265 \family typewriter
13266 layout Chapter
13267 \end_layout
13268
13269 \begin_layout List
13270 \labelwidthstring 00.00.0000
13271
13272 \family sans
13273 M-p\InsetSpace ~
13274 2
13275 \family default
13276  
13277 \family typewriter
13278 layout Section
13279 \end_layout
13280
13281 \begin_layout List
13282 \labelwidthstring 00.00.0000
13283
13284 \family sans
13285 M-p\InsetSpace ~
13286 3
13287 \family default
13288  
13289 \family typewriter
13290 layout Subsection
13291 \end_layout
13292
13293 \begin_layout List
13294 \labelwidthstring 00.00.0000
13295
13296 \family sans
13297 M-p\InsetSpace ~
13298 4
13299 \family default
13300  
13301 \family typewriter
13302 layout Subsubsection
13303 \end_layout
13304
13305 \begin_layout List
13306 \labelwidthstring 00.00.0000
13307
13308 \family sans
13309 M-p\InsetSpace ~
13310 5
13311 \family default
13312  
13313 \family typewriter
13314 layout Paragraph
13315 \end_layout
13316
13317 \begin_layout List
13318 \labelwidthstring 00.00.0000
13319
13320 \family sans
13321 M-p\InsetSpace ~
13322 6
13323 \family default
13324  
13325 \family typewriter
13326 layout Subparagraph
13327 \end_layout
13328
13329 \begin_layout List
13330 \labelwidthstring 00.00.0000
13331
13332 \family sans
13333 M-p\InsetSpace ~
13334 asterisk\InsetSpace ~
13335 0
13336 \family default
13337  
13338 \family typewriter
13339 layout Part*
13340 \end_layout
13341
13342 \begin_layout List
13343 \labelwidthstring 00.00.0000
13344
13345 \family sans
13346 M-p\InsetSpace ~
13347 asterisk\InsetSpace ~
13348 1
13349 \family default
13350  
13351 \family typewriter
13352 layout Chapter*
13353 \end_layout
13354
13355 \begin_layout List
13356 \labelwidthstring 00.00.0000
13357
13358 \family sans
13359 M-p\InsetSpace ~
13360 asterisk\InsetSpace ~
13361 2
13362 \family default
13363  
13364 \family typewriter
13365 layout Section*
13366 \end_layout
13367
13368 \begin_layout List
13369 \labelwidthstring 00.00.0000
13370
13371 \family sans
13372 M-p\InsetSpace ~
13373 asterisk\InsetSpace ~
13374 3
13375 \family default
13376  
13377 \family typewriter
13378 layout Subsection*
13379 \end_layout
13380
13381 \begin_layout List
13382 \labelwidthstring 00.00.0000
13383
13384 \family sans
13385 M-p\InsetSpace ~
13386 asterisk\InsetSpace ~
13387 4
13388 \family default
13389  
13390 \family typewriter
13391 layout Subsubsection*
13392 \end_layout
13393
13394 \begin_layout List
13395 \labelwidthstring 00.00.0000
13396
13397 \family sans
13398 M-p\InsetSpace ~
13399 asterisk\InsetSpace ~
13400 5
13401 \family default
13402  
13403 \family typewriter
13404 layout Paragraph*
13405 \end_layout
13406
13407 \begin_layout List
13408 \labelwidthstring 00.00.0000
13409
13410 \family sans
13411 M-p\InsetSpace ~
13412 asterisk\InsetSpace ~
13413 6
13414 \family default
13415  
13416 \family typewriter
13417 layout Subparagraph*
13418 \end_layout
13419
13420 \begin_layout List
13421 \labelwidthstring 00.00.0000
13422
13423 \family sans
13424 M-p\InsetSpace ~
13425 S-A
13426 \family default
13427  
13428 \family typewriter
13429 layout Author
13430 \end_layout
13431
13432 \begin_layout List
13433 \labelwidthstring 00.00.0000
13434
13435 \family sans
13436 M-p\InsetSpace ~
13437 S-B
13438 \family default
13439  
13440 \family typewriter
13441 layout Bibliography
13442 \end_layout
13443
13444 \begin_layout List
13445 \labelwidthstring 00.00.0000
13446
13447 \family sans
13448 M-p\InsetSpace ~
13449 S-C
13450 \family default
13451  
13452 \family typewriter
13453 layout Comment
13454 \end_layout
13455
13456 \begin_layout List
13457 \labelwidthstring 00.00.0000
13458
13459 \family sans
13460 M-p\InsetSpace ~
13461 S-D
13462 \family default
13463  
13464 \family typewriter
13465 layout Date
13466 \end_layout
13467
13468 \begin_layout List
13469 \labelwidthstring 00.00.0000
13470
13471 \family sans
13472 M-p\InsetSpace ~
13473 S-F
13474 \family default
13475  
13476 \family typewriter
13477 layout Foilhead
13478 \end_layout
13479
13480 \begin_layout List
13481 \labelwidthstring 00.00.0000
13482
13483 \family sans
13484 M-p\InsetSpace ~
13485 S-L
13486 \family default
13487  
13488 \family typewriter
13489 layout LaTeX
13490 \end_layout
13491
13492 \begin_layout List
13493 \labelwidthstring 00.00.0000
13494
13495 \family sans
13496 M-p\InsetSpace ~
13497 S-Q
13498 \family default
13499  
13500 \family typewriter
13501 layout Quotation
13502 \end_layout
13503
13504 \begin_layout List
13505 \labelwidthstring 00.00.0000
13506
13507 \family sans
13508 M-p\InsetSpace ~
13509 S-R
13510 \family default
13511  
13512 \family typewriter
13513 layout Rotatefoilhead
13514 \end_layout
13515
13516 \begin_layout List
13517 \labelwidthstring 00.00.0000
13518
13519 \family sans
13520 M-p\InsetSpace ~
13521 C-a
13522 \family default
13523  
13524 \family typewriter
13525 layout RightAddress
13526 \end_layout
13527
13528 \begin_layout List
13529 \labelwidthstring 00.00.0000
13530
13531 \family sans
13532 M-p\InsetSpace ~
13533 M-a
13534 \family default
13535  
13536 \family typewriter
13537 layout Address
13538 \end_layout
13539
13540 \begin_layout List
13541 \labelwidthstring 00.00.0000
13542
13543 \family sans
13544 M-p\InsetSpace ~
13545 M-c
13546 \family default
13547  
13548 \family typewriter
13549 layout Caption
13550 \end_layout
13551
13552 \begin_layout List
13553 \labelwidthstring 00.00.0000
13554
13555 \family sans
13556 M-p\InsetSpace ~
13557 Left
13558 \family default
13559  
13560 \family typewriter
13561 depth-decrement
13562 \end_layout
13563
13564 \begin_layout List
13565 \labelwidthstring 00.00.0000
13566
13567 \family sans
13568 M-p\InsetSpace ~
13569 Right
13570 \family default
13571  
13572 \family typewriter
13573 depth-increment
13574 \end_layout
13575
13576 \begin_layout Standard
13577 These ones are kept for backwards compatibility, but only make sense on
13578  a qwerty keyboard:
13579 \end_layout
13580
13581 \begin_layout List
13582 \labelwidthstring 00.00.0000
13583
13584 \family sans
13585 M-p\InsetSpace ~
13586 S-at
13587 \family default
13588  
13589 \family typewriter
13590 layout Section*
13591 \end_layout
13592
13593 \begin_layout List
13594 \labelwidthstring 00.00.0000
13595
13596 \family sans
13597 M-p\InsetSpace ~
13598 S-dollar
13599 \family default
13600  
13601 \family typewriter
13602 layout Subsubsection*
13603 \end_layout
13604
13605 \begin_layout List
13606 \labelwidthstring 00.00.0000
13607
13608 \family sans
13609 M-p\InsetSpace ~
13610 S-numbersign
13611 \family default
13612  
13613 \family typewriter
13614 layout Subsection*
13615 \end_layout
13616
13617 \begin_layout Section
13618 Keyboard
13619 \end_layout
13620
13621 \begin_layout Subsection
13622 Specific to 
13623 \family typewriter
13624 emacs.bind
13625 \end_layout
13626
13627 \begin_layout List
13628 \labelwidthstring 00.00.0000
13629
13630 \family sans
13631 C-a
13632 \family default
13633  
13634 \family typewriter
13635 line-begin
13636 \end_layout
13637
13638 \begin_layout List
13639 \labelwidthstring 00.00.0000
13640
13641 \family sans
13642 C-b
13643 \family default
13644  
13645 \family typewriter
13646 char-backward
13647 \end_layout
13648
13649 \begin_layout List
13650 \labelwidthstring 00.00.0000
13651
13652 \family sans
13653 C-d
13654 \family default
13655  
13656 \family typewriter
13657 delete-forward
13658 \end_layout
13659
13660 \begin_layout List
13661 \labelwidthstring 00.00.0000
13662
13663 \family sans
13664 C-e
13665 \family default
13666  
13667 \family typewriter
13668 line-end
13669 \end_layout
13670
13671 \begin_layout List
13672 \labelwidthstring 00.00.0000
13673
13674 \family sans
13675 C-f
13676 \family default
13677  
13678 \family typewriter
13679 char-forward
13680 \end_layout
13681
13682 \begin_layout List
13683 \labelwidthstring 00.00.0000
13684
13685 \family sans
13686 C-g
13687 \family default
13688  
13689 \family typewriter
13690 cancel
13691 \end_layout
13692
13693 \begin_layout List
13694 \labelwidthstring 00.00.0000
13695
13696 \family sans
13697 C-h
13698 \family default
13699  
13700 \family typewriter
13701 hyphenation-point-insert
13702 \end_layout
13703
13704 \begin_layout List
13705 \labelwidthstring 00.00.0000
13706
13707 \family sans
13708 C-i
13709 \family default
13710  
13711 \family typewriter
13712 hfill-insert
13713 \end_layout
13714
13715 \begin_layout List
13716 \labelwidthstring 00.00.0000
13717
13718 \family sans
13719 C-k
13720 \family default
13721  
13722 \family typewriter
13723 line-delete-forward
13724 \end_layout
13725
13726 \begin_layout List
13727 \labelwidthstring 00.00.0000
13728
13729 \family sans
13730 C-l
13731 \family default
13732  
13733 \family typewriter
13734 screen-recenter
13735 \end_layout
13736
13737 \begin_layout List
13738 \labelwidthstring 00.00.0000
13739
13740 \family sans
13741 C-m
13742 \family default
13743  
13744 \family typewriter
13745 mark-toggle
13746 \end_layout
13747
13748 \begin_layout List
13749 \labelwidthstring 00.00.0000
13750
13751 \family sans
13752 C-n
13753 \family default
13754  
13755 \family typewriter
13756 down
13757 \end_layout
13758
13759 \begin_layout List
13760 \labelwidthstring 00.00.0000
13761
13762 \family sans
13763 C-o
13764 \family default
13765  
13766 \family typewriter
13767 open-stuff
13768 \end_layout
13769
13770 \begin_layout List
13771 \labelwidthstring 00.00.0000
13772
13773 \family sans
13774 C-p
13775 \family default
13776  
13777 \family typewriter
13778 up
13779 \end_layout
13780
13781 \begin_layout List
13782 \labelwidthstring 00.00.0000
13783
13784 \family sans
13785 C-q
13786 \family default
13787  
13788 \family typewriter
13789 quote-insert 
13790 \end_layout
13791
13792 \begin_layout List
13793 \labelwidthstring 00.00.0000
13794
13795 \family sans
13796 C-s
13797 \family default
13798  
13799 \family typewriter
13800 find-replace
13801 \end_layout
13802
13803 \begin_layout List
13804 \labelwidthstring 00.00.0000
13805
13806 \family sans
13807 C-u
13808 \family default
13809  
13810 \family typewriter
13811 font-underline 
13812 \end_layout
13813
13814 \begin_layout List
13815 \labelwidthstring 00.00.0000
13816
13817 \family sans
13818 C-v
13819 \family default
13820  
13821 \family typewriter
13822 screen-down 
13823 \end_layout
13824
13825 \begin_layout List
13826 \labelwidthstring 00.00.0000
13827
13828 \family sans
13829 C-w
13830 \family default
13831  
13832 \family typewriter
13833 cut
13834 \end_layout
13835
13836 \begin_layout List
13837 \labelwidthstring 00.00.0000
13838
13839 \family sans
13840 C-y
13841 \family default
13842  
13843 \family typewriter
13844 paste
13845 \end_layout
13846
13847 \begin_layout List
13848 \labelwidthstring 00.00.0000
13849
13850 \family sans
13851 C-S-Y
13852 \family default
13853  
13854 \family typewriter
13855 layout-paste
13856 \end_layout
13857
13858 \begin_layout List
13859 \labelwidthstring 00.00.0000
13860
13861 \family sans
13862 C-x\InsetSpace ~
13863 a
13864 \family default
13865  
13866 \family typewriter
13867 buffer-auto-save
13868 \end_layout
13869
13870 \begin_layout List
13871 \labelwidthstring 00.00.0000
13872
13873 \family sans
13874 C-x\InsetSpace ~
13875 b
13876 \family default
13877  
13878 \family typewriter
13879 buffer-previous
13880 \end_layout
13881
13882 \begin_layout List
13883 \labelwidthstring 00.00.0000
13884
13885 \family sans
13886 C-x\InsetSpace ~
13887 c
13888 \family default
13889  
13890 \family typewriter
13891 lyx-quit
13892 \end_layout
13893
13894 \begin_layout List
13895 \labelwidthstring 00.00.0000
13896
13897 \family sans
13898 C-x\InsetSpace ~
13899 d
13900 \family default
13901  
13902 \family typewriter
13903 buffer-new
13904 \end_layout
13905
13906 \begin_layout List
13907 \labelwidthstring 00.00.0000
13908
13909 \family sans
13910 ?\InsetSpace ~
13911 C-x\InsetSpace ~
13912 f
13913 \family default
13914  
13915 \family typewriter
13916 buffer-open
13917 \end_layout
13918
13919 \begin_layout List
13920 \labelwidthstring 00.00.0000
13921
13922 \family sans
13923 C-x\InsetSpace ~
13924 g
13925 \family default
13926  
13927 \family typewriter
13928 buffer-view-ps
13929 \end_layout
13930
13931 \begin_layout List
13932 \labelwidthstring 00.00.0000
13933
13934 \family sans
13935 C-x\InsetSpace ~
13936 k
13937 \family default
13938  
13939 \family typewriter
13940 buffer-close
13941 \end_layout
13942
13943 \begin_layout List
13944 \labelwidthstring 00.00.0000
13945
13946 \family sans
13947 C-x\InsetSpace ~
13948 p
13949 \family default
13950  
13951 \family typewriter
13952 buffer-view
13953 \end_layout
13954
13955 \begin_layout List
13956 \labelwidthstring 00.00.0000
13957
13958 \family sans
13959 C-x\InsetSpace ~
13960 r
13961 \family default
13962  
13963 \family typewriter
13964 buffer-typeset
13965 \end_layout
13966
13967 \begin_layout List
13968 \labelwidthstring 00.00.0000
13969
13970 \family sans
13971 ?\InsetSpace ~
13972 C-x\InsetSpace ~
13973 s
13974 \family default
13975  
13976 \family typewriter
13977 buffer-write
13978 \end_layout
13979
13980 \begin_layout List
13981 \labelwidthstring 00.00.0000
13982
13983 \family sans
13984 C-x\InsetSpace ~
13985 t
13986 \family default
13987  
13988 \family typewriter
13989 buffer-typeset
13990 \end_layout
13991
13992 \begin_layout List
13993 \labelwidthstring 00.00.0000
13994
13995 \family sans
13996 C-x\InsetSpace ~
13997 u
13998 \family default
13999  
14000 \family typewriter
14001 undo
14002 \end_layout
14003
14004 \begin_layout List
14005 \labelwidthstring 00.00.0000
14006
14007 \family sans
14008 C-x\InsetSpace ~
14009 v\InsetSpace ~
14010 c
14011 \family default
14012  
14013 \family typewriter
14014 vc-undo-last
14015 \end_layout
14016
14017 \begin_layout List
14018 \labelwidthstring 00.00.0000
14019
14020 \family sans
14021 C-x\InsetSpace ~
14022 v\InsetSpace ~
14023 h
14024 \family default
14025  
14026 \family typewriter
14027 vc-history
14028 \end_layout
14029
14030 \begin_layout List
14031 \labelwidthstring 00.00.0000
14032
14033 \family sans
14034 C-x\InsetSpace ~
14035 v\InsetSpace ~
14036 i
14037 \family default
14038  
14039 \family typewriter
14040 vc-register
14041 \end_layout
14042
14043 \begin_layout List
14044 \labelwidthstring 00.00.0000
14045
14046 \family sans
14047 C-x\InsetSpace ~
14048 v\InsetSpace ~
14049 u
14050 \family default
14051  
14052 \family typewriter
14053 vc-revert
14054 \end_layout
14055
14056 \begin_layout List
14057 \labelwidthstring 00.00.0000
14058
14059 \family sans
14060 C-x\InsetSpace ~
14061 v\InsetSpace ~
14062 v
14063 \family default
14064  
14065 \family typewriter
14066 vc-check-in
14067 \end_layout
14068
14069 \begin_layout List
14070 \labelwidthstring 00.00.0000
14071
14072 \family sans
14073 ?\InsetSpace ~
14074 C-x\InsetSpace ~
14075 w
14076 \family default
14077  
14078 \family typewriter
14079 buffer-write-as
14080 \end_layout
14081
14082 \begin_layout List
14083 \labelwidthstring 00.00.0000
14084
14085 \family sans
14086 C-x\InsetSpace ~
14087 bracketleft
14088 \family default
14089  
14090 \family typewriter
14091 screen-up
14092 \end_layout
14093
14094 \begin_layout List
14095 \labelwidthstring 00.00.0000
14096
14097 \family sans
14098 C-x\InsetSpace ~
14099 bracketright
14100 \family default
14101  
14102 \family typewriter
14103 screen-down
14104 \end_layout
14105
14106 \begin_layout List
14107 \labelwidthstring 00.00.0000
14108
14109 \family sans
14110 C-x\InsetSpace ~
14111 C-a
14112 \family default
14113  
14114 \family typewriter
14115 buffer-auto-save
14116 \end_layout
14117
14118 \begin_layout List
14119 \labelwidthstring 00.00.0000
14120
14121 \family sans
14122 C-x\InsetSpace ~
14123 C-b
14124 \family default
14125  
14126 \family typewriter
14127 menu-open Documents
14128 \end_layout
14129
14130 \begin_layout List
14131 \labelwidthstring 00.00.0000
14132
14133 \family sans
14134 C-x\InsetSpace ~
14135 C-c
14136 \family default
14137  
14138 \family typewriter
14139 lyx-quit
14140 \end_layout
14141
14142 \begin_layout List
14143 \labelwidthstring 00.00.0000
14144
14145 \family sans
14146 C-x\InsetSpace ~
14147 C-d
14148 \family default
14149  
14150 \family typewriter
14151 buffer-new
14152 \end_layout
14153
14154 \begin_layout List
14155 \labelwidthstring 00.00.0000
14156
14157 \family sans
14158 C-x\InsetSpace ~
14159 C-f
14160 \family default
14161  
14162 \family typewriter
14163 buffer-open
14164 \end_layout
14165
14166 \begin_layout List
14167 \labelwidthstring 00.00.0000
14168
14169 \family sans
14170 C-x\InsetSpace ~
14171 C-g
14172 \family default
14173  
14174 \family typewriter
14175 buffer-view-ps
14176 \end_layout
14177
14178 \begin_layout List
14179 \labelwidthstring 00.00.0000
14180
14181 \family sans
14182 C-x\InsetSpace ~
14183 C-p
14184 \family default
14185  
14186 \family typewriter
14187 buffer-view
14188 \end_layout
14189
14190 \begin_layout List
14191 \labelwidthstring 00.00.0000
14192
14193 \family sans
14194 C-x\InsetSpace ~
14195 C-q
14196 \family default
14197  
14198 \family typewriter
14199 buffer-toggle-read-only
14200 \end_layout
14201
14202 \begin_layout List
14203 \labelwidthstring 00.00.0000
14204
14205 \family sans
14206 C-x\InsetSpace ~
14207 C-s
14208 \family default
14209  
14210 \family typewriter
14211 buffer-write
14212 \end_layout
14213
14214 \begin_layout List
14215 \labelwidthstring 00.00.0000
14216
14217 \family sans
14218 C-x\InsetSpace ~
14219 C-t
14220 \family default
14221  
14222 \family typewriter
14223 buffer-typeset
14224 \end_layout
14225
14226 \begin_layout List
14227 \labelwidthstring 00.00.0000
14228
14229 \family sans
14230 C-x\InsetSpace ~
14231 C-w
14232 \family default
14233  
14234 \family typewriter
14235 buffer-write-as
14236 \end_layout
14237
14238 \begin_layout List
14239 \labelwidthstring 00.00.0000
14240
14241 \family sans
14242 Home
14243 \family default
14244  
14245 \family typewriter
14246 buffer-begin
14247 \end_layout
14248
14249 \begin_layout List
14250 \labelwidthstring 00.00.0000
14251
14252 \family sans
14253 End
14254 \family default
14255  
14256 \family typewriter
14257 buffer-end
14258 \end_layout
14259
14260 \begin_layout List
14261 \labelwidthstring 00.00.0000
14262
14263 \family sans
14264 S-Home
14265 \family default
14266  
14267 \family typewriter
14268 line-begin-select
14269 \end_layout
14270
14271 \begin_layout List
14272 \labelwidthstring 00.00.0000
14273
14274 \family sans
14275 S-End
14276 \family default
14277  
14278 \family typewriter
14279 line-end-select
14280 \end_layout
14281
14282 \begin_layout List
14283 \labelwidthstring 00.00.0000
14284
14285 \family sans
14286 S-Up
14287 \family default
14288  
14289 \family typewriter
14290 up-select
14291 \end_layout
14292
14293 \begin_layout List
14294 \labelwidthstring 00.00.0000
14295
14296 \family sans
14297 S-Down
14298 \family default
14299  
14300 \family typewriter
14301 down-select
14302 \end_layout
14303
14304 \begin_layout List
14305 \labelwidthstring 00.00.0000
14306
14307 \family sans
14308 S-Next
14309 \family default
14310  
14311 \family typewriter
14312 screen-down-select
14313 \end_layout
14314
14315 \begin_layout List
14316 \labelwidthstring 00.00.0000
14317
14318 \family sans
14319 S-Prior
14320 \family default
14321  
14322 \family typewriter
14323 screen-up-select
14324 \end_layout
14325
14326 \begin_layout List
14327 \labelwidthstring 00.00.0000
14328
14329 \family sans
14330 S-Left
14331 \family default
14332  
14333 \family typewriter
14334 backward-select
14335 \end_layout
14336
14337 \begin_layout List
14338 \labelwidthstring 00.00.0000
14339
14340 \family sans
14341 S-Right
14342 \family default
14343  
14344 \family typewriter
14345 forward-select
14346 \end_layout
14347
14348 \begin_layout List
14349 \labelwidthstring 00.00.0000
14350
14351 \family sans
14352 C-Up
14353 \family default
14354  
14355 \family typewriter
14356 paragraph-up
14357 \end_layout
14358
14359 \begin_layout List
14360 \labelwidthstring 00.00.0000
14361
14362 \family sans
14363 C-Down
14364 \family default
14365  
14366 \family typewriter
14367 paragraph-down
14368 \end_layout
14369
14370 \begin_layout List
14371 \labelwidthstring 00.00.0000
14372
14373 \family sans
14374 C-Left
14375 \family default
14376  
14377 \family typewriter
14378 word-backward
14379 \end_layout
14380
14381 \begin_layout List
14382 \labelwidthstring 00.00.0000
14383
14384 \family sans
14385 C-Right
14386 \family default
14387  
14388 \family typewriter
14389 word-forward
14390 \end_layout
14391
14392 \begin_layout List
14393 \labelwidthstring 00.00.0000
14394
14395 \family sans
14396 C-Delete
14397 \family default
14398  
14399 \family typewriter
14400 word-delete-forward
14401 \end_layout
14402
14403 \begin_layout List
14404 \labelwidthstring 00.00.0000
14405
14406 \family sans
14407 C-BackSpace
14408 \family default
14409  
14410 \family typewriter
14411 word-delete-backward
14412 \end_layout
14413
14414 \begin_layout List
14415 \labelwidthstring 00.00.0000
14416
14417 \family sans
14418 C-Return
14419 \family default
14420  
14421 \family typewriter
14422 break-line
14423 \end_layout
14424
14425 \begin_layout List
14426 \labelwidthstring 00.00.0000
14427
14428 \family sans
14429 C-period
14430 \family default
14431  
14432 \family typewriter
14433 end-of-sentence-period-insert
14434 \end_layout
14435
14436 \begin_layout List
14437 \labelwidthstring 00.00.0000
14438
14439 \family sans
14440 C-space
14441 \family default
14442  
14443 \family typewriter
14444 protected-space-insert
14445 \end_layout
14446
14447 \begin_layout List
14448 \labelwidthstring 00.00.0000
14449
14450 \family sans
14451 C-S-at
14452 \family default
14453  
14454 \family typewriter
14455 mark-on
14456 \end_layout
14457
14458 \begin_layout List
14459 \labelwidthstring 00.00.0000
14460
14461 \family sans
14462 C-S-greater
14463 \family default
14464  
14465 \family typewriter
14466 label-goto
14467 \end_layout
14468
14469 \begin_layout List
14470 \labelwidthstring 00.00.0000
14471
14472 \family sans
14473 C-S-less
14474 \family default
14475  
14476 \family typewriter
14477 reference-back
14478 \end_layout
14479
14480 \begin_layout List
14481 \labelwidthstring 00.00.0000
14482
14483 \family sans
14484 C-S-slash
14485 \family default
14486  
14487 \family typewriter
14488 undo
14489 \end_layout
14490
14491 \begin_layout List
14492 \labelwidthstring 00.00.0000
14493
14494 \family sans
14495 C-S-underscore
14496 \family default
14497  
14498 \family typewriter
14499 undo
14500 \end_layout
14501
14502 \begin_layout List
14503 \labelwidthstring 00.00.0000
14504
14505 \family sans
14506 C-S-quotedbl
14507 \family default
14508  
14509 \family typewriter
14510 quote-insert
14511 \end_layout
14512
14513 \begin_layout List
14514 \labelwidthstring 00.00.0000
14515
14516 \family sans
14517 C-S-Home
14518 \family default
14519  
14520 \family typewriter
14521 buffer-begin-select
14522 \end_layout
14523
14524 \begin_layout List
14525 \labelwidthstring 00.00.0000
14526
14527 \family sans
14528 C-S-End
14529 \family default
14530  
14531 \family typewriter
14532 buffer-end-select
14533 \end_layout
14534
14535 \begin_layout List
14536 \labelwidthstring 00.00.0000
14537
14538 \family sans
14539 C-S-Up
14540 \family default
14541  
14542 \family typewriter
14543 paragraph-up-select
14544 \end_layout
14545
14546 \begin_layout List
14547 \labelwidthstring 00.00.0000
14548
14549 \family sans
14550 C-S-Down
14551 \family default
14552  
14553 \family typewriter
14554 paragraph-down-select
14555 \end_layout
14556
14557 \begin_layout List
14558 \labelwidthstring 00.00.0000
14559
14560 \family sans
14561 C-S-Left
14562 \family default
14563  
14564 \family typewriter
14565 word-backward-select
14566 \end_layout
14567
14568 \begin_layout List
14569 \labelwidthstring 00.00.0000
14570
14571 \family sans
14572 C-S-Right
14573 \family default
14574  
14575 \family typewriter
14576 word-forward-select
14577 \end_layout
14578
14579 \begin_layout List
14580 \labelwidthstring 00.00.0000
14581
14582 \family sans
14583 Escape
14584 \family default
14585  
14586 \family typewriter
14587 meta-prefix
14588 \end_layout
14589
14590 \begin_layout List
14591 \labelwidthstring 00.00.0000
14592
14593 \family sans
14594 M-d
14595 \family default
14596  
14597 \family typewriter
14598 word-delete-forward
14599 \end_layout
14600
14601 \begin_layout List
14602 \labelwidthstring 00.00.0000
14603
14604 \family sans
14605 M-w
14606 \family default
14607  
14608 \family typewriter
14609 copy
14610 \end_layout
14611
14612 \begin_layout List
14613 \labelwidthstring 00.00.0000
14614
14615 \family sans
14616 M-x
14617 \family default
14618  
14619 \family typewriter
14620 command-execute
14621 \end_layout
14622
14623 \begin_layout List
14624 \labelwidthstring 00.00.0000
14625
14626 \family sans
14627 M-S-W
14628 \family default
14629  
14630 \family typewriter
14631 layout-copy
14632 \end_layout
14633
14634 \begin_layout List
14635 \labelwidthstring 00.00.0000
14636
14637 \family sans
14638 M-period
14639 \family default
14640  
14641 \family typewriter
14642 dots-insert
14643 \end_layout
14644
14645 \begin_layout List
14646 \labelwidthstring 00.00.0000
14647
14648 \family sans
14649 M-Return
14650 \family default
14651  
14652 \family typewriter
14653 break-paragraph-keep-layout
14654 \end_layout
14655
14656 \begin_layout List
14657 \labelwidthstring 00.00.0000
14658
14659 \family sans
14660 M-S-percent
14661 \family default
14662  
14663 \family typewriter
14664 find-replace
14665 \end_layout
14666
14667 \begin_layout Subsection
14668 Specific to 
14669 \family typewriter
14670 cua.bind
14671 \end_layout
14672
14673 \begin_layout List
14674 \labelwidthstring 00.00.0000
14675
14676 \family sans
14677 C-b
14678 \family default
14679  
14680 \family typewriter
14681 font-bold
14682 \end_layout
14683
14684 \begin_layout List
14685 \labelwidthstring 00.00.0000
14686
14687 \family sans
14688 C-c
14689 \family default
14690  
14691 \family typewriter
14692 copy
14693 \end_layout
14694
14695 \begin_layout List
14696 \labelwidthstring 00.00.0000
14697
14698 \family sans
14699 C-d
14700 \family default
14701  
14702 \family typewriter
14703 buffer-view 
14704 \end_layout
14705
14706 \begin_layout List
14707 \labelwidthstring 00.00.0000
14708
14709 \family sans
14710 C-e
14711 \family default
14712  
14713 \family typewriter
14714 font-emph
14715 \end_layout
14716
14717 \begin_layout List
14718 \labelwidthstring 00.00.0000
14719
14720 \family sans
14721 C-f
14722 \family default
14723  
14724 \family typewriter
14725 find-replace
14726 \end_layout
14727
14728 \begin_layout List
14729 \labelwidthstring 00.00.0000
14730
14731 \family sans
14732 C-g
14733 \family default
14734  
14735 \family typewriter
14736 error-next
14737 \end_layout
14738
14739 \begin_layout List
14740 \labelwidthstring 00.00.0000
14741
14742 \family sans
14743 C-i
14744 \family default
14745  
14746 \family typewriter
14747 open-stuff 
14748 \end_layout
14749
14750 \begin_layout List
14751 \labelwidthstring 00.00.0000
14752
14753 \family sans
14754 C-k
14755 \family default
14756  
14757 \family typewriter
14758 font-noun 
14759 \end_layout
14760
14761 \begin_layout List
14762 \labelwidthstring 00.00.0000
14763
14764 \family sans
14765 C-l
14766 \family default
14767  
14768 \family typewriter
14769 tex-mode 
14770 \end_layout
14771
14772 \begin_layout List
14773 \labelwidthstring 00.00.0000
14774
14775 \family sans
14776 C-m
14777 \family default
14778  
14779 \family typewriter
14780 math-mode
14781 \end_layout
14782
14783 \begin_layout List
14784 \labelwidthstring 00.00.0000
14785
14786 \family sans
14787 C-n
14788 \family default
14789  
14790 \family typewriter
14791 buffer-new
14792 \end_layout
14793
14794 \begin_layout List
14795 \labelwidthstring 00.00.0000
14796
14797 \family sans
14798 C-o
14799 \family default
14800  
14801 \family typewriter
14802 buffer-open
14803 \end_layout
14804
14805 \begin_layout List
14806 \labelwidthstring 00.00.0000
14807
14808 \family sans
14809 C-p
14810 \family default
14811  
14812 \family typewriter
14813 buffer-print
14814 \end_layout
14815
14816 \begin_layout List
14817 \labelwidthstring 00.00.0000
14818
14819 \family sans
14820 C-q
14821 \family default
14822  
14823 \family typewriter
14824 lyx-quit
14825 \end_layout
14826
14827 \begin_layout List
14828 \labelwidthstring 00.00.0000
14829
14830 \family sans
14831 C-r
14832 \family default
14833  
14834 \family typewriter
14835 buffer-reload
14836 \end_layout
14837
14838 \begin_layout List
14839 \labelwidthstring 00.00.0000
14840
14841 \family sans
14842 C-s
14843 \family default
14844  
14845 \family typewriter
14846 buffer-write
14847 \end_layout
14848
14849 \begin_layout List
14850 \labelwidthstring 00.00.0000
14851
14852 \family sans
14853 C-t
14854 \family default
14855  
14856 \family typewriter
14857 buffer-view-ps
14858 \end_layout
14859
14860 \begin_layout List
14861 \labelwidthstring 00.00.0000
14862
14863 \family sans
14864 C-u
14865 \family default
14866  
14867 \family typewriter
14868 font-underline
14869 \end_layout
14870
14871 \begin_layout List
14872 \labelwidthstring 00.00.0000
14873
14874 \family sans
14875 C-v
14876 \family default
14877  
14878 \family typewriter
14879 paste
14880 \end_layout
14881
14882 \begin_layout List
14883 \labelwidthstring 00.00.0000
14884
14885 \family sans
14886 C-w
14887 \family default
14888  
14889 \family typewriter
14890 buffer-close
14891 \end_layout
14892
14893 \begin_layout List
14894 \labelwidthstring 00.00.0000
14895
14896 \family sans
14897 C-x
14898 \family default
14899  
14900 \family typewriter
14901 cut
14902 \end_layout
14903
14904 \begin_layout List
14905 \labelwidthstring 00.00.0000
14906
14907 \family sans
14908 C-z
14909 \family default
14910  
14911 \family typewriter
14912 undo
14913 \end_layout
14914
14915 \begin_layout List
14916 \labelwidthstring 00.00.0000
14917
14918 \family sans
14919 C-space
14920 \family default
14921  
14922 \family typewriter
14923 protected-space-insert
14924 \end_layout
14925
14926 \begin_layout List
14927 \labelwidthstring 00.00.0000
14928
14929 \family sans
14930 C-S-C
14931 \family default
14932  
14933 \family typewriter
14934 layout-copy
14935 \end_layout
14936
14937 \begin_layout List
14938 \labelwidthstring 00.00.0000
14939
14940 \family sans
14941 C-S-D
14942 \family default
14943  
14944 \family typewriter
14945 buffer-typeset
14946 \end_layout
14947
14948 \begin_layout List
14949 \labelwidthstring 00.00.0000
14950
14951 \family sans
14952 C-S-M
14953 \family default
14954  
14955 \family typewriter
14956 math-display
14957 \end_layout
14958
14959 \begin_layout List
14960 \labelwidthstring 00.00.0000
14961
14962 \family sans
14963 C-S-N
14964 \family default
14965  
14966 \family typewriter
14967 buffer-new-template
14968 \end_layout
14969
14970 \begin_layout List
14971 \labelwidthstring 00.00.0000
14972
14973 \family sans
14974 C-S-P
14975 \family default
14976  
14977 \family typewriter
14978 font-code 
14979 \end_layout
14980
14981 \begin_layout List
14982 \labelwidthstring 00.00.0000
14983
14984 \family sans
14985 C-S-S
14986 \family default
14987  
14988 \family typewriter
14989 buffer-write-as
14990 \end_layout
14991
14992 \begin_layout List
14993 \labelwidthstring 00.00.0000
14994
14995 \family sans
14996 C-S-T
14997 \family default
14998  
14999 \family typewriter
15000 buffer-typeset-ps
15001 \end_layout
15002
15003 \begin_layout List
15004 \labelwidthstring 00.00.0000
15005
15006 \family sans
15007 C-S-V
15008 \family default
15009  
15010 \family typewriter
15011 layout-paste
15012 \end_layout
15013
15014 \begin_layout List
15015 \labelwidthstring 00.00.0000
15016
15017 \family sans
15018 C-S-Z
15019 \family default
15020  
15021 \family typewriter
15022 redo
15023 \end_layout
15024
15025 \begin_layout List
15026 \labelwidthstring 00.00.0000
15027
15028 \family sans
15029 S-Insert
15030 \family default
15031  
15032 \family typewriter
15033 paste
15034 \end_layout
15035
15036 \begin_layout List
15037 \labelwidthstring 00.00.0000
15038
15039 \family sans
15040 S-Delete
15041 \family default
15042  
15043 \family typewriter
15044 cut
15045 \end_layout
15046
15047 \begin_layout List
15048 \labelwidthstring 00.00.0000
15049
15050 \family sans
15051 C-period
15052 \family default
15053  
15054 \family typewriter
15055 end-of-sentence-period-insert
15056 \end_layout
15057
15058 \begin_layout List
15059 \labelwidthstring 00.00.0000
15060
15061 \family sans
15062 C-S-greater
15063 \family default
15064  
15065 \family typewriter
15066 label-goto
15067 \end_layout
15068
15069 \begin_layout List
15070 \labelwidthstring 00.00.0000
15071
15072 \family sans
15073 C-S-less
15074 \family default
15075  
15076 \family typewriter
15077 reference-back
15078 \end_layout
15079
15080 \begin_layout List
15081 \labelwidthstring 00.00.0000
15082
15083 \family sans
15084 C-minus
15085 \family default
15086  
15087 \family typewriter
15088 hyphenation-point-insert
15089 \end_layout
15090
15091 \begin_layout List
15092 \labelwidthstring 00.00.0000
15093
15094 \family sans
15095 C-S-quotedbl
15096 \family default
15097  
15098 \family typewriter
15099 quote-insert
15100 \end_layout
15101
15102 \begin_layout List
15103 \labelwidthstring 00.00.0000
15104
15105 \family sans
15106 C-S-space
15107 \family default
15108  
15109 \family typewriter
15110 protected-space-insert
15111 \end_layout
15112
15113 \begin_layout List
15114 \labelwidthstring 00.00.0000
15115
15116 \family sans
15117 M-x
15118 \family default
15119  
15120 \family typewriter
15121 command-execute
15122 \end_layout
15123
15124 \begin_layout List
15125 \labelwidthstring 00.00.0000
15126
15127 \family sans
15128 S-Home
15129 \family default
15130  
15131 \family typewriter
15132 line-begin-select
15133 \end_layout
15134
15135 \begin_layout List
15136 \labelwidthstring 00.00.0000
15137
15138 \family sans
15139 S-End
15140 \family default
15141  
15142 \family typewriter
15143 line-end-select
15144 \end_layout
15145
15146 \begin_layout List
15147 \labelwidthstring 00.00.0000
15148
15149 \family sans
15150 S-Up
15151 \family default
15152  
15153 \family typewriter
15154 up-select
15155 \end_layout
15156
15157 \begin_layout List
15158 \labelwidthstring 00.00.0000
15159
15160 \family sans
15161 S-Down
15162 \family default
15163  
15164 \family typewriter
15165 down-select
15166 \end_layout
15167
15168 \begin_layout List
15169 \labelwidthstring 00.00.0000
15170
15171 \family sans
15172 S-Delete
15173 \family default
15174  
15175 \family typewriter
15176 cut
15177 \end_layout
15178
15179 \begin_layout List
15180 \labelwidthstring 00.00.0000
15181
15182 \family sans
15183 S-Insert
15184 \family default
15185  
15186 \family typewriter
15187 paste
15188 \end_layout
15189
15190 \begin_layout List
15191 \labelwidthstring 00.00.0000
15192
15193 \family sans
15194 S-Next
15195 \family default
15196  
15197 \family typewriter
15198 screen-down-select
15199 \end_layout
15200
15201 \begin_layout List
15202 \labelwidthstring 00.00.0000
15203
15204 \family sans
15205 S-Prior
15206 \family default
15207  
15208 \family typewriter
15209 screen-up-select
15210 \end_layout
15211
15212 \begin_layout List
15213 \labelwidthstring 00.00.0000
15214
15215 \family sans
15216 S-Left
15217 \family default
15218  
15219 \family typewriter
15220 backward-select
15221 \end_layout
15222
15223 \begin_layout List
15224 \labelwidthstring 00.00.0000
15225
15226 \family sans
15227 S-Right
15228 \family default
15229  
15230 \family typewriter
15231 forward-select
15232 \end_layout
15233
15234 \begin_layout List
15235 \labelwidthstring 00.00.0000
15236
15237 \family sans
15238 C-Home
15239 \family default
15240  
15241 \family typewriter
15242 buffer-begin
15243 \end_layout
15244
15245 \begin_layout List
15246 \labelwidthstring 00.00.0000
15247
15248 \family sans
15249 C-End
15250 \family default
15251  
15252 \family typewriter
15253 buffer-end
15254 \end_layout
15255
15256 \begin_layout List
15257 \labelwidthstring 00.00.0000
15258
15259 \family sans
15260 C-Up
15261 \family default
15262  
15263 \family typewriter
15264 paragraph-up
15265 \end_layout
15266
15267 \begin_layout List
15268 \labelwidthstring 00.00.0000
15269
15270 \family sans
15271 C-Down
15272 \family default
15273  
15274 \family typewriter
15275 paragraph-down
15276 \end_layout
15277
15278 \begin_layout List
15279 \labelwidthstring 00.00.0000
15280
15281 \family sans
15282 C-Delete
15283 \family default
15284  
15285 \family typewriter
15286 word-delete-forward
15287 \end_layout
15288
15289 \begin_layout List
15290 \labelwidthstring 00.00.0000
15291
15292 \family sans
15293 C-BackSpace
15294 \family default
15295  
15296 \family typewriter
15297 word-delete-backward
15298 \end_layout
15299
15300 \begin_layout List
15301 \labelwidthstring 00.00.0000
15302
15303 \family sans
15304 C-Insert
15305 \family default
15306  
15307 \family typewriter
15308 copy
15309 \end_layout
15310
15311 \begin_layout List
15312 \labelwidthstring 00.00.0000
15313
15314 \family sans
15315 C-Return
15316 \family default
15317  
15318 \family typewriter
15319 break-line
15320 \end_layout
15321
15322 \begin_layout List
15323 \labelwidthstring 00.00.0000
15324
15325 \family sans
15326 C-Left
15327 \family default
15328  
15329 \family typewriter
15330 word-backward
15331 \end_layout
15332
15333 \begin_layout List
15334 \labelwidthstring 00.00.0000
15335
15336 \family sans
15337 C-Right
15338 \family default
15339  
15340 \family typewriter
15341 word-forward
15342 \end_layout
15343
15344 \begin_layout List
15345 \labelwidthstring 00.00.0000
15346
15347 \family sans
15348 C-S-Down
15349 \family default
15350  
15351 \family typewriter
15352 paragraph-down-select
15353 \end_layout
15354
15355 \begin_layout List
15356 \labelwidthstring 00.00.0000
15357
15358 \family sans
15359 C-S-End
15360 \family default
15361  
15362 \family typewriter
15363 buffer-end-select
15364 \end_layout
15365
15366 \begin_layout List
15367 \labelwidthstring 00.00.0000
15368
15369 \family sans
15370 C-S-Home
15371 \family default
15372  
15373 \family typewriter
15374 buffer-begin-select
15375 \end_layout
15376
15377 \begin_layout List
15378 \labelwidthstring 00.00.0000
15379
15380 \family sans
15381 C-S-Left
15382 \family default
15383  
15384 \family typewriter
15385 word-backward-select
15386 \end_layout
15387
15388 \begin_layout List
15389 \labelwidthstring 00.00.0000
15390
15391 \family sans
15392 C-S-Right
15393 \family default
15394  
15395 \family typewriter
15396 word-forward-select
15397 \end_layout
15398
15399 \begin_layout List
15400 \labelwidthstring 00.00.0000
15401
15402 \family sans
15403 C-S-Up
15404 \family default
15405  
15406 \family typewriter
15407 paragraph-up-select
15408 \end_layout
15409
15410 \begin_layout List
15411 \labelwidthstring 00.00.0000
15412
15413 \family sans
15414 C-S-quotedbl
15415 \family default
15416  
15417 \family typewriter
15418 quote-insert
15419 \end_layout
15420
15421 \begin_layout List
15422 \labelwidthstring 00.00.0000
15423
15424 \family sans
15425 M-Return
15426 \family default
15427  
15428 \family typewriter
15429 break-paragraph-keep-layout
15430 \end_layout
15431
15432 \begin_layout List
15433 \labelwidthstring 00.00.0000
15434
15435 \family sans
15436 M-period
15437 \family default
15438  
15439 \family typewriter
15440 dots-insert
15441 \end_layout
15442
15443 \begin_layout List
15444 \labelwidthstring 00.00.0000
15445
15446 \family sans
15447 M-S-Right
15448 \family default
15449  
15450 \family typewriter
15451 depth-increment
15452 \end_layout
15453
15454 \begin_layout List
15455 \labelwidthstring 00.00.0000
15456
15457 \family sans
15458 M-S-Left
15459 \family default
15460  
15461 \family typewriter
15462 depth-decrement
15463 \end_layout
15464
15465 \begin_layout List
15466 \labelwidthstring 00.00.0000
15467
15468 \family sans
15469 Escape
15470 \family default
15471  
15472 \family typewriter
15473 cancel
15474 \end_layout
15475
15476 \begin_layout List
15477 \labelwidthstring 00.00.0000
15478
15479 \family sans
15480 F2
15481 \family default
15482  
15483 \family typewriter
15484 buffer-write
15485 \end_layout
15486
15487 \begin_layout List
15488 \labelwidthstring 00.00.0000
15489
15490 \family sans
15491 F3
15492 \family default
15493  
15494 \family typewriter
15495 buffer-open
15496 \end_layout
15497
15498 \begin_layout List
15499 \labelwidthstring 00.00.0000
15500
15501 \family sans
15502 F5
15503 \family default
15504  
15505 \family typewriter
15506 screen-recenter
15507 \end_layout
15508
15509 \begin_layout List
15510 \labelwidthstring 00.00.0000
15511
15512 \family sans
15513 F7
15514 \family default
15515  
15516 \family typewriter
15517 spellchecker
15518 \end_layout
15519
15520 \begin_layout List
15521 \labelwidthstring 00.00.0000
15522
15523 \family sans
15524 F9
15525 \family default
15526  
15527 \family typewriter
15528 meta-prefix
15529 \end_layout
15530
15531 \begin_layout List
15532 \labelwidthstring 00.00.0000
15533
15534 \family sans
15535 C-F4
15536 \family default
15537  
15538 \family typewriter
15539 buffer-close
15540 \end_layout
15541
15542 \begin_layout List
15543 \labelwidthstring 00.00.0000
15544
15545 \family sans
15546 M-F4
15547 \family default
15548  
15549 \family typewriter
15550 lyx-quit
15551 \end_layout
15552
15553 \begin_layout Subsection
15554 Specific to 
15555 \family typewriter
15556 sciword.bind
15557 \end_layout
15558
15559 \begin_layout Standard
15560 These are LyX keyboard definitions for mathematics, similar to those of
15561  Scientific Word.
15562 \end_layout
15563
15564 \begin_layout Standard
15565 The bindings file and the present documentation were prepared by Serge Winitzki
15566  with assistance from Jean-Marc Lasgouttes.
15567  Version 1.3, for LyX 1.2.x and 1.3.x.
15568 \end_layout
15569
15570 \begin_layout Standard
15571 These definitions make it a lot easier to type equations without using the
15572  mouse, especially for people familiar with Scientific Word.
15573  The standard LyX bindings such as 
15574 \family typewriter
15575 M-m
15576 \family default
15577  or 
15578 \family typewriter
15579 M-o
15580 \family default
15581  are unmodified.
15582 \end_layout
15583
15584 \begin_layout Standard
15585 Tip: to find the "LyX bind name" for a key, look at the status bar after
15586  typing some non-existent key combination.
15587  E.g.
15588  to find how "Ctrl-&" is referenced, press Ctrl-S and then Ctrl-&: the status
15589  bar shows "C-s S-C-ampersand." (This does not work in LyX 1.3.0!)
15590 \end_layout
15591
15592 \begin_layout List
15593 \labelwidthstring 00.00.0000
15594
15595 \family sans
15596 C-c
15597 \family default
15598  
15599 \family typewriter
15600 copy
15601 \family default
15602  -- Copy, cut, paste is as in Sciword, 
15603 \family typewriter
15604 C-c
15605 \family default
15606
15607 \family typewriter
15608 C-x
15609 \family default
15610 , and 
15611 \family typewriter
15612 C-v
15613 \family default
15614 .
15615 \end_layout
15616
15617 \begin_layout List
15618 \labelwidthstring 00.00.0000
15619
15620 \family sans
15621 C-d
15622 \family default
15623  
15624 \family typewriter
15625 math-display
15626 \family default
15627  -- Display equation toggle: type 
15628 \family typewriter
15629 C-d
15630 \family default
15631  to insert a displayed formula (
15632 \family typewriter
15633 d
15634 \family default
15635  for 
15636 \begin_inset Quotes eld
15637 \end_inset
15638
15639 displayed
15640 \begin_inset Quotes erd
15641 \end_inset
15642
15643 ).
15644  You can also type 
15645 \family typewriter
15646 C-d
15647 \family default
15648  in a displayed formula to convert it back to an inline formula.
15649 \end_layout
15650
15651 \begin_layout List
15652 \labelwidthstring 00.00.0000
15653
15654 \family sans
15655 C-f
15656 \family default
15657  
15658 \family typewriter
15659 math-insert 
15660 \backslash
15661 frac
15662 \family default
15663  -- Fractions: type 
15664 \family typewriter
15665 C-f
15666 \family default
15667  to insert a fraction (
15668 \family typewriter
15669 f
15670 \family default
15671  for 
15672 \begin_inset Quotes eld
15673 \end_inset
15674
15675 fraction
15676 \begin_inset Quotes erd
15677 \end_inset
15678
15679 ).
15680  You can also select an expression and type 
15681 \family typewriter
15682 C-f
15683 \family default
15684  to convert it to the numerator of a fraction.
15685  Note: pressing 
15686 \family typewriter
15687 Backspace
15688 \family default
15689  at the 
15690 \emph on
15691 left
15692 \emph default
15693  end of the denominator will delete the numerator and convert the denominator
15694  to a non-fraction.
15695 \end_layout
15696
15697 \begin_layout List
15698 \labelwidthstring 00.00.0000
15699
15700 \family sans
15701 C-i
15702 \family default
15703  
15704 \family typewriter
15705 math-insert 
15706 \backslash
15707 int
15708 \family default
15709  -- Inserts 
15710 \begin_inset Formula $\int$
15711 \end_inset
15712
15713  (
15714 \family typewriter
15715 i
15716 \family default
15717  for 
15718 \begin_inset Quotes eld
15719 \end_inset
15720
15721 integral
15722 \begin_inset Quotes erd
15723 \end_inset
15724
15725 )
15726 \end_layout
15727
15728 \begin_layout List
15729 \labelwidthstring 00.00.0000
15730
15731 \family sans
15732 C-k
15733 \family default
15734  
15735 \family typewriter
15736 line-delete-forward
15737 \family default
15738  -- Emacs-like binding: delete forward of cursor to end of line.
15739 \end_layout
15740
15741 \begin_layout List
15742 \labelwidthstring 00.00.0000
15743
15744 \family sans
15745 C-m
15746 \family default
15747  
15748 \family typewriter
15749 math-mode
15750 \family default
15751  -- A text/math toggle (
15752 \family typewriter
15753 m
15754 \family default
15755  for 
15756 \begin_inset Quotes eld
15757 \end_inset
15758
15759 math
15760 \begin_inset Quotes erd
15761 \end_inset
15762
15763 ): switches to math in text mode, and also inserts roman text in math mode.
15764  Also bound to 
15765 \family typewriter
15766 C-t
15767 \family default
15768  (
15769 \family typewriter
15770 t
15771 \family default
15772  for 
15773 \begin_inset Quotes eld
15774 \end_inset
15775
15776 text
15777 \begin_inset Quotes erd
15778 \end_inset
15779
15780 ).
15781 \end_layout
15782
15783 \begin_layout List
15784 \labelwidthstring 00.00.0000
15785
15786 \family sans
15787 C-n
15788 \family default
15789  
15790 \family typewriter
15791 math-number
15792 \family default
15793  -- Add/remove numbering in a single equation.
15794 \end_layout
15795
15796 \begin_layout List
15797 \labelwidthstring 00.00.0000
15798
15799 \family sans
15800 S-C-N
15801 \family default
15802  
15803 \family typewriter
15804 math-nonumber
15805 \family default
15806  -- Add/remove numbering at a line in equation arrays.
15807 \end_layout
15808
15809 \begin_layout Standard
15810 The above commands are toggles that control the numbering of equations (
15811 \family typewriter
15812 N
15813 \family default
15814  for 
15815 \begin_inset Quotes eld
15816 \end_inset
15817
15818 number
15819 \begin_inset Quotes erd
15820 \end_inset
15821
15822 ).
15823  Note: when deleting a number in a labeled eqnarray, the label is not really
15824  removed (the TeX code becomes 
15825 \begin_inset Quotes eld
15826 \end_inset
15827
15828
15829 \family typewriter
15830
15831 \backslash
15832 label{} 
15833 \backslash
15834 nonumber
15835 \family default
15836
15837 \begin_inset Quotes erd
15838 \end_inset
15839
15840  ) and this generates a (harmless) LaTeX warning.
15841 \end_layout
15842
15843 \begin_layout List
15844 \labelwidthstring 00.00.0000
15845
15846 \family sans
15847 C-o
15848 \family default
15849  
15850 \family typewriter
15851 file-open
15852 \family default
15853  -- Open a new document.
15854  (W*ndows)
15855 \end_layout
15856
15857 \begin_layout List
15858 \labelwidthstring 00.00.0000
15859
15860 \family sans
15861 C-q
15862 \family default
15863  
15864 \family typewriter
15865 quote-insert
15866 \family default
15867  -- Insert a quote character " (
15868 \family typewriter
15869 q
15870 \family default
15871  for 
15872 \begin_inset Quotes eld
15873 \end_inset
15874
15875 quote
15876 \begin_inset Quotes erd
15877 \end_inset
15878
15879 ).
15880  This is not the 
15881 \begin_inset Quotes eld
15882 \end_inset
15883
15884 smart
15885 \begin_inset Quotes erd
15886 \end_inset
15887
15888  double quote character that you get by default.
15889 \end_layout
15890
15891 \begin_layout List
15892 \labelwidthstring 00.00.0000
15893
15894 \family sans
15895 C-r
15896 \family default
15897  
15898 \family typewriter
15899 math-insert 
15900 \backslash
15901 sqrt
15902 \family default
15903  -- Square root sign 
15904 \begin_inset Formula $\sqrt{x}$
15905 \end_inset
15906
15907  (
15908 \family typewriter
15909 r
15910 \family default
15911  for 
15912 \begin_inset Quotes eld
15913 \end_inset
15914
15915 root
15916 \begin_inset Quotes erd
15917 \end_inset
15918
15919 ).
15920 \end_layout
15921
15922 \begin_layout List
15923 \labelwidthstring 00.00.0000
15924
15925 \family sans
15926 S-C-R
15927 \family default
15928  
15929 \family typewriter
15930 math-insert 
15931 \backslash
15932 root
15933 \family default
15934  -- root sign 
15935 \begin_inset Formula $\sqrt[n]{x}$
15936 \end_inset
15937
15938 .
15939 \end_layout
15940
15941 \begin_layout List
15942 \labelwidthstring 00.00.0000
15943
15944 \family sans
15945 C-t
15946 \family default
15947  
15948 \family typewriter
15949 math-mode
15950 \family default
15951  -- Another binding for a switch between the text and the math mode (
15952 \family typewriter
15953 t
15954 \family default
15955  is for 
15956 \begin_inset Quotes eld
15957 \end_inset
15958
15959 text
15960 \begin_inset Quotes erd
15961 \end_inset
15962
15963 ).
15964  Note that the roman text inserted in math mode is special.
15965 \end_layout
15966
15967 \begin_layout List
15968 \labelwidthstring 00.00.0000
15969
15970 \family sans
15971 C-u
15972 \family default
15973  
15974 \family typewriter
15975 font-underline
15976 \family default
15977  -- 
15978 \bar under
15979 Underline
15980 \bar default
15981  the selected text (text mode only, use things like 
15982 \family typewriter
15983
15984 \backslash
15985 overline
15986 \family default
15987  or 
15988 \family typewriter
15989
15990 \backslash
15991 underbar
15992 \family default
15993  for math ).
15994 \end_layout
15995
15996 \begin_layout List
15997 \labelwidthstring 00.00.0000
15998
15999 \family sans
16000 C-v
16001 \family default
16002  
16003 \family typewriter
16004 paste
16005 \family default
16006  -- W*ndows heritage.
16007 \end_layout
16008
16009 \begin_layout List
16010 \labelwidthstring 00.00.0000
16011
16012 \family sans
16013 C-w
16014 \family default
16015  
16016 \family typewriter
16017 buffer-close
16018 \family default
16019  -- Close the current document (again, a W*ndows heritage).
16020 \end_layout
16021
16022 \begin_layout List
16023 \labelwidthstring 00.00.0000
16024
16025 \family sans
16026 C-x
16027 \family default
16028  
16029 \family typewriter
16030 cut
16031 \end_layout
16032
16033 \begin_layout List
16034 \labelwidthstring 00.00.0000
16035
16036 \family sans
16037 C-z
16038 \family default
16039  
16040 \family typewriter
16041 undo
16042 \end_layout
16043
16044 \begin_layout List
16045 \labelwidthstring 00.00.0000
16046
16047 \family sans
16048 S-C-Z
16049 \family default
16050  
16051 \family typewriter
16052 redo
16053 \family default
16054  -- the 
16055 \begin_inset Quotes eld
16056 \end_inset
16057
16058 Redo
16059 \begin_inset Quotes erd
16060 \end_inset
16061
16062  operation, or 
16063 \begin_inset Quotes eld
16064 \end_inset
16065
16066 undo the undo
16067 \begin_inset Quotes erd
16068 \end_inset
16069
16070 .
16071 \end_layout
16072
16073 \begin_layout Standard
16074 Bracket delimiters: press 
16075 \family typewriter
16076 Ctrl
16077 \family default
16078 -<bracket key> to insert a matching pair of delimiters.
16079  For example, 
16080 \family typewriter
16081 Ctrl-[
16082 \family default
16083  inserts a pair of parentheses 
16084 \begin_inset Formula $\left[\right]$
16085 \end_inset
16086
16087 .
16088  (Note: 
16089 \family typewriter
16090 Ctrl-]
16091 \family default
16092  does the same thing.) It will switch to math mode if needed.
16093  The supported characters are ( [ { < |.
16094  It is the same to press the right or the left bracket.
16095  The corresponding delimiters are 
16096 \begin_inset Formula $\left(\right)$
16097 \end_inset
16098
16099  
16100 \begin_inset Formula $\left[\right]$
16101 \end_inset
16102
16103  
16104 \begin_inset Formula $\left\{ \right\} $
16105 \end_inset
16106
16107  
16108 \begin_inset Formula $\left\langle \right\rangle $
16109 \end_inset
16110
16111  
16112 \begin_inset Formula $\left|\right|$
16113 \end_inset
16114
16115 .
16116  The delimiters are 
16117 \begin_inset Quotes eld
16118 \end_inset
16119
16120 smart
16121 \begin_inset Quotes erd
16122 \end_inset
16123
16124  and resize with their contents.
16125  Use Math Panel to get other or non-matching delimiters.
16126  Press backspace on the 
16127 \emph on
16128 left
16129 \emph default
16130  delimiter to remove both 
16131 \begin_inset Quotes eld
16132 \end_inset
16133
16134 smart
16135 \begin_inset Quotes erd
16136 \end_inset
16137
16138  delimiters without removing their contents.
16139 \end_layout
16140
16141 \begin_layout List
16142 \labelwidthstring 00.00.0000
16143
16144 \family sans
16145 C-9
16146 \family default
16147  
16148 \family typewriter
16149 math-delim ( )
16150 \family default
16151  -- for convenience, pressing 
16152 \family typewriter
16153 Ctrl-9
16154 \family default
16155  is the same as 
16156 \family typewriter
16157 Ctrl-(
16158 \family default
16159  or 
16160 \family typewriter
16161 Ctrl-)
16162 \end_layout
16163
16164 \begin_layout List
16165 \labelwidthstring 00.00.0000
16166
16167 \family sans
16168 S-C-parenleft
16169 \family default
16170  
16171 \family typewriter
16172 math-delim ( )
16173 \end_layout
16174
16175 \begin_layout List
16176 \labelwidthstring 00.00.0000
16177
16178 \family sans
16179 C-0
16180 \family default
16181  
16182 \family typewriter
16183 math-delim ( )
16184 \end_layout
16185
16186 \begin_layout List
16187 \labelwidthstring 00.00.0000
16188
16189 \family sans
16190 S-C-parenright
16191 \family default
16192  
16193 \family typewriter
16194 math-delim ( )
16195 \end_layout
16196
16197 \begin_layout List
16198 \labelwidthstring 00.00.0000
16199
16200 \family sans
16201 C-bracketleft
16202 \family default
16203  
16204 \family typewriter
16205 math-delim [ ]
16206 \end_layout
16207
16208 \begin_layout List
16209 \labelwidthstring 00.00.0000
16210
16211 \family sans
16212 C-bracketright
16213 \family default
16214  
16215 \family typewriter
16216 math-delim [ ]
16217 \end_layout
16218
16219 \begin_layout List
16220 \labelwidthstring 00.00.0000
16221
16222 \family sans
16223 C-S-less
16224 \family default
16225  
16226 \family typewriter
16227 math-delim langle rangle
16228 \family default
16229  -- angular delimiters 
16230 \begin_inset Formula $\left\langle \right\rangle $
16231 \end_inset
16232
16233 , not to confuse with ordinary < > signs.
16234 \end_layout
16235
16236 \begin_layout List
16237 \labelwidthstring 00.00.0000
16238
16239 \family sans
16240 C-S-greater
16241 \family default
16242  
16243 \family typewriter
16244 math-delim langle rangle
16245 \end_layout
16246
16247 \begin_layout Standard
16248 The bar bracket: on some keyboards (e.g.\InsetSpace ~
16249 some British ones), the bar character
16250  is bound to an 
16251 \family typewriter
16252 Alt
16253 \family default
16254 -something and on some wayward Unices to "brokenbar".
16255  So we define all of these keys as well.
16256 \end_layout
16257
16258 \begin_layout List
16259 \labelwidthstring 00.00.0000
16260
16261 \family sans
16262 C-S-bar
16263 \family default
16264  
16265 \family typewriter
16266 math-delim | |
16267 \end_layout
16268
16269 \begin_layout List
16270 \labelwidthstring 00.00.0000
16271
16272 \family sans
16273 C-S-brokenbar
16274 \family default
16275  
16276 \family typewriter
16277 math-delim | |
16278 \end_layout
16279
16280 \begin_layout List
16281 \labelwidthstring 00.00.0000
16282
16283 \family sans
16284 C-M-bar
16285 \family default
16286  
16287 \family typewriter
16288 math-delim | |
16289 \end_layout
16290
16291 \begin_layout List
16292 \labelwidthstring 00.00.0000
16293
16294 \family sans
16295 S-C-braceleft
16296 \family default
16297  
16298 \family typewriter
16299 math-delim { }
16300 \end_layout
16301
16302 \begin_layout List
16303 \labelwidthstring 00.00.0000
16304
16305 \family sans
16306 S-C-braceright
16307 \family default
16308  
16309 \family typewriter
16310 math-delim { }
16311 \end_layout
16312
16313 \begin_layout Standard
16314 Accents are in most cases 
16315 \family typewriter
16316 Ctrl
16317 \family default
16318 -<accent key>, e.g.\InsetSpace ~
16319
16320 \family typewriter
16321 Ctrl-.
16322
16323 \family default
16324  for overdot, 
16325 \family typewriter
16326 Ctrl-'
16327 \family default
16328  for acute accent, 
16329 \family typewriter
16330 Ctrl-~
16331 \family default
16332  for tilde (you also need to press 
16333 \family typewriter
16334 Shift
16335 \family default
16336  here) etc.
16337  For example, 
16338 \begin_inset Quotes eld
16339 \end_inset
16340
16341
16342 \family typewriter
16343 Ctrl-'
16344 \family default
16345  
16346 \family typewriter
16347 a
16348 \family default
16349
16350 \begin_inset Quotes erd
16351 \end_inset
16352
16353  inserts á.
16354  Some accents work only in math mode and others only in text mode.
16355 \end_layout
16356
16357 \begin_layout List
16358 \labelwidthstring 00.00.0000
16359
16360 \family sans
16361 C-period
16362 \family default
16363  
16364 \family typewriter
16365 accent-dot
16366 \family default
16367  -- overdot accent, ȧ (text mode only).
16368 \end_layout
16369
16370 \begin_layout List
16371 \labelwidthstring 00.00.0000
16372
16373 \family sans
16374 C-comma
16375 \family default
16376  
16377 \family typewriter
16378 math-insert 
16379 \backslash
16380 dot
16381 \family default
16382  -- overdot accent, 
16383 \begin_inset Formula $\dot{a}$
16384 \end_inset
16385
16386  (math mode only -- in physics this denotes a first derivative).
16387 \end_layout
16388
16389 \begin_layout List
16390 \labelwidthstring 00.00.0000
16391
16392 \family sans
16393 C-equals
16394 \family default
16395  
16396 \family typewriter
16397 math-insert 
16398 \backslash
16399 overrightarrow
16400 \family default
16401  -- Vector accent over math 
16402 \begin_inset Formula $\overrightarrow{x}$
16403 \end_inset
16404
16405 .
16406 \end_layout
16407
16408 \begin_layout List
16409 \labelwidthstring 00.00.0000
16410
16411 \family sans
16412 S-C-quotedbl
16413 \family default
16414  
16415 \family typewriter
16416 accent-umlaut
16417 \family default
16418  -- umlaut accent, ä (text mode only)
16419 \end_layout
16420
16421 \begin_layout List
16422 \labelwidthstring 00.00.0000
16423
16424 \family sans
16425 S-C-colon
16426 \family default
16427  
16428 \family typewriter
16429 math-insert 
16430 \backslash
16431 ddot
16432 \family default
16433  -- double dot accent, 
16434 \begin_inset Formula $\ddot{a}$
16435 \end_inset
16436
16437  (math mode only -- in physics this denotes a second derivative).
16438  To get a triple dot in math mode, use 
16439 \family typewriter
16440
16441 \backslash
16442 dddot
16443 \end_layout
16444
16445 \begin_layout List
16446 \labelwidthstring 00.00.0000
16447
16448 \family sans
16449 C-quoteleft
16450 \family default
16451  
16452 \family typewriter
16453 accent-grave
16454 \family default
16455  -- grave accent à (text mode only, use 
16456 \family typewriter
16457
16458 \backslash
16459 grave
16460 \family default
16461  for math)
16462 \end_layout
16463
16464 \begin_layout List
16465 \labelwidthstring 00.00.0000
16466
16467 \family sans
16468 S-C-asciitilde
16469 \family default
16470  
16471 \family typewriter
16472 accent-tilde
16473 \family default
16474  -- tilde accent ã (text mode only, use 
16475 \family typewriter
16476
16477 \backslash
16478 tilde
16479 \family default
16480  for math)
16481 \end_layout
16482
16483 \begin_layout List
16484 \labelwidthstring 00.00.0000
16485
16486 \family sans
16487 C-apostrophe
16488 \family default
16489  
16490 \family typewriter
16491 accent-acute
16492 \family default
16493  -- acute accent á (text mode only, use 
16494 \family typewriter
16495
16496 \backslash
16497 acute
16498 \family default
16499  for math)
16500 \end_layout
16501
16502 \begin_layout List
16503 \labelwidthstring 00.00.0000
16504
16505 \family sans
16506 S-C-asciicircum
16507 \family default
16508  
16509 \family typewriter
16510 accent-circumflex
16511 \family default
16512  -- circumflex (caret) accent â (text mode only, use 
16513 \family typewriter
16514
16515 \backslash
16516 hat
16517 \family default
16518  for math).
16519 \end_layout
16520
16521 \begin_layout Standard
16522 Function keys.
16523  The new key S-F2 for creating a LaTeX file seems handy.
16524 \end_layout
16525
16526 \begin_layout List
16527 \labelwidthstring 00.00.0000
16528
16529 \family sans
16530 F2
16531 \family default
16532  
16533 \family typewriter
16534 buffer-write
16535 \family default
16536  -- Save current document.
16537 \end_layout
16538
16539 \begin_layout List
16540 \labelwidthstring 00.00.0000
16541
16542 \family sans
16543 S-F2
16544 \family default
16545  
16546 \family typewriter
16547 buffer-export latex
16548 \family default
16549  -- Write a LaTeX file for the current document.
16550 \end_layout
16551
16552 \begin_layout List
16553 \labelwidthstring 00.00.0000
16554
16555 \family sans
16556 F3
16557 \family default
16558  
16559 \family typewriter
16560 find-replace
16561 \family default
16562  -- Find and replace dialog.
16563 \end_layout
16564
16565 \begin_layout List
16566 \labelwidthstring 00.00.0000
16567
16568 \family sans
16569 C-F4
16570 \family default
16571  
16572 \family typewriter
16573 buffer-close
16574 \family default
16575  -- same as 
16576 \family typewriter
16577 C-w
16578 \family default
16579 .
16580 \end_layout
16581
16582 \begin_layout List
16583 \labelwidthstring 00.00.0000
16584
16585 \family sans
16586 M-F4
16587 \family default
16588  
16589 \family typewriter
16590 lyx-quit
16591 \family default
16592  -- 
16593 \family typewriter
16594 Alt-F4
16595 \family default
16596  to quit LyX is the W*ndows w*ndow manager's mnemonic.
16597 \end_layout
16598
16599 \begin_layout Standard
16600
16601 \family typewriter
16602 F4
16603 \family default
16604  to 
16605 \family typewriter
16606 F8
16607 \family default
16608  are used to switch fonts.
16609  Use 
16610 \family typewriter
16611 F4
16612 \family default
16613  to switch back to the normal font.
16614  The non-default font switches 
16615 \family typewriter
16616 F5
16617 \family default
16618  - 
16619 \family typewriter
16620 F8
16621 \family default
16622  all work as toggles.
16623  They also work on the whole word if you put the cursor in the middle of
16624  the word, or if you select some text.
16625 \end_layout
16626
16627 \begin_layout List
16628 \labelwidthstring 00.00.0000
16629
16630 \family sans
16631 F4
16632 \family default
16633  
16634 \family typewriter
16635 font-default
16636 \family default
16637  -- stop using any special font
16638 \end_layout
16639
16640 \begin_layout List
16641 \labelwidthstring 00.00.0000
16642
16643 \family sans
16644 F5
16645 \family default
16646  
16647 \family typewriter
16648 font-bold
16649 \family default
16650  -- make 
16651 \series bold
16652 bold
16653 \series default
16654  text.
16655 \end_layout
16656
16657 \begin_layout List
16658 \labelwidthstring 00.00.0000
16659
16660 \family sans
16661 F6
16662 \family default
16663  
16664 \family typewriter
16665 font-emph
16666 \family default
16667  -- make 
16668 \emph on
16669 emphasized
16670 \emph default
16671  text.
16672 \end_layout
16673
16674 \begin_layout List
16675 \labelwidthstring 00.00.0000
16676
16677 \family sans
16678 F7
16679 \family default
16680  
16681 \family typewriter
16682 font-code
16683 \family default
16684  -- make 
16685 \family typewriter
16686 typewritten
16687 \family default
16688  text.
16689 \end_layout
16690
16691 \begin_layout List
16692 \labelwidthstring 00.00.0000
16693
16694 \family sans
16695 F8
16696 \family default
16697  
16698 \family typewriter
16699 font-noun
16700 \family default
16701  -- make 
16702 \noun on
16703 Caps/small caps
16704 \noun default
16705  text.
16706  (Used sometimes for people's names.)
16707 \end_layout
16708
16709 \begin_layout Standard
16710
16711 \family typewriter
16712 F9
16713 \family default
16714  is bound as 
16715 \begin_inset Quotes eld
16716 \end_inset
16717
16718 meta-prefix
16719 \begin_inset Quotes erd
16720 \end_inset
16721
16722 , same as the 
16723 \family typewriter
16724 Alt
16725 \family default
16726  key (useful e.g.\InsetSpace ~
16727 if the keyboard has no working 
16728 \family typewriter
16729 Alt
16730 \family default
16731 ).
16732 \end_layout
16733
16734 \begin_layout Standard
16735 Here are some Sciword-inspired mnemonics for frequently used math symbols.
16736  Many symbols start with a 
16737 \family typewriter
16738 C-s
16739 \family default
16740  sequence.
16741  Therefore 
16742 \family typewriter
16743 C-s
16744 \family default
16745  cannot be itself bound to anything.
16746 \end_layout
16747
16748 \begin_layout List
16749 \labelwidthstring 00.00.0000
16750
16751 \family sans
16752 M-apostrophe
16753 \family default
16754  
16755 \family typewriter
16756 math-insert 
16757 \backslash
16758 prime
16759 \family default
16760  -- The 
16761 \begin_inset Quotes eld
16762 \end_inset
16763
16764 prime
16765 \begin_inset Quotes erd
16766 \end_inset
16767
16768  symbol 
16769 \begin_inset Formula $\prime$
16770 \end_inset
16771
16772  in math mode.
16773  This is frequently unnecessary: in most cases the normal apostrophe works
16774  just fine, e.g.
16775  
16776 \begin_inset Formula $x'+2x=0$
16777 \end_inset
16778
16779 , but in some cases this would generate a double superscript error in LaTeX.
16780  For example: 
16781 \begin_inset Formula $x^{\prime2}$
16782 \end_inset
16783
16784  (
16785 \begin_inset Formula $x$
16786 \end_inset
16787
16788  prime squared) must be entered with the prime character.
16789 \end_layout
16790
16791 \begin_layout List
16792 \labelwidthstring 00.00.0000
16793
16794 \family sans
16795 C-s\InsetSpace ~
16796 apostrophe
16797 \family default
16798  
16799 \family typewriter
16800 command-sequence math-superscript; math-insert 
16801 \backslash
16802 prime;
16803 \family default
16804  -- Insert a prime as a superscript (see example above).
16805 \end_layout
16806
16807 \begin_layout List
16808 \labelwidthstring 00.00.0000
16809
16810 \family sans
16811 C-Up
16812 \family default
16813  
16814 \family typewriter
16815 math-insert ^
16816 \family default
16817  -- Insert an upper index.
16818  Also, 
16819 \family typewriter
16820
16821 \end_layout
16822
16823 \begin_layout List
16824 \labelwidthstring 00.00.0000
16825
16826 \family sans
16827 C-Down
16828 \family default
16829  
16830 \family typewriter
16831 math-insert _
16832 \family default
16833  -- Insert a lower index.
16834  Also, 
16835 \family typewriter
16836 _
16837 \end_layout
16838
16839 \begin_layout List
16840 \labelwidthstring 00.00.0000
16841
16842 \family sans
16843 C-s\InsetSpace ~
16844 d
16845 \family default
16846  
16847 \family typewriter
16848 math-insert 
16849 \backslash
16850 partial
16851 \family default
16852  -- Partial derivative symbol 
16853 \begin_inset Formula $\partial$
16854 \end_inset
16855
16856 .
16857 \end_layout
16858
16859 \begin_layout List
16860 \labelwidthstring 00.00.0000
16861
16862 \family sans
16863 C-s\InsetSpace ~
16864 e
16865 \family default
16866  
16867 \family typewriter
16868 math-insert 
16869 \backslash
16870 sum
16871 \family default
16872  -- Summation symbol 
16873 \begin_inset Formula $\sum$
16874 \end_inset
16875
16876  (not the same as the Greek letter uppercase Sigma 
16877 \begin_inset Formula $\Sigma$
16878 \end_inset
16879
16880  because it can resize and allows smart upper/lower limits).
16881 \end_layout
16882
16883 \begin_layout List
16884 \labelwidthstring 00.00.0000
16885
16886 \family sans
16887 C-s\InsetSpace ~
16888 p
16889 \family default
16890  
16891 \family typewriter
16892 math-insert 
16893 \backslash
16894 prod
16895 \family default
16896  -- Product symbol 
16897 \begin_inset Formula $\prod$
16898 \end_inset
16899
16900  (not the same as the Greek letter uppercase Pi, 
16901 \begin_inset Formula $\Pi$
16902 \end_inset
16903
16904 ).
16905 \end_layout
16906
16907 \begin_layout List
16908 \labelwidthstring 00.00.0000
16909
16910 \family sans
16911 C-s\InsetSpace ~
16912 i
16913 \family default
16914  
16915 \family typewriter
16916 math-insert 
16917 \backslash
16918 infty
16919 \family default
16920  -- Infinity 
16921 \begin_inset Formula $\infty$
16922 \end_inset
16923
16924 .
16925 \end_layout
16926
16927 \begin_layout List
16928 \labelwidthstring 00.00.0000
16929
16930 \family sans
16931 C-s\InsetSpace ~
16932 x
16933 \family default
16934  
16935 \family typewriter
16936 math-insert 
16937 \backslash
16938 times
16939 \family default
16940  -- Cross product 
16941 \begin_inset Formula $\times$
16942 \end_inset
16943
16944 .
16945 \end_layout
16946
16947 \begin_layout List
16948 \labelwidthstring 00.00.0000
16949
16950 \family sans
16951 C-s\InsetSpace ~
16952 v
16953 \family default
16954  
16955 \family typewriter
16956 math-matrix 1 2
16957 \family default
16958  -- Insert a stacked array 
16959 \begin_inset Formula $\begin{array}{c}
16960 \begin{array}{c}
16961 \end{array}\end{array}$
16962 \end_inset
16963
16964 .
16965  (Frequently useful in formulae.)
16966 \end_layout
16967
16968 \begin_layout List
16969 \labelwidthstring 00.00.0000
16970
16971 \family sans
16972 C-s\InsetSpace ~
16973 m
16974 \family default
16975  
16976 \family typewriter
16977 math-matrix 3 3
16978 \family default
16979  -- Insert a 3
16980 \begin_inset Formula $\times$
16981 \end_inset
16982
16983 3 matrix 
16984 \begin_inset Formula $\begin{array}{ccc}
16985 \\\\\end{array}$
16986 \end_inset
16987
16988 .
16989  (Then you can modify its size using the 
16990 \family sans
16991 Edit\SpecialChar \menuseparator
16992 Math
16993 \family default
16994  menu.)
16995 \end_layout
16996
16997 \begin_layout List
16998 \labelwidthstring 00.00.0000
16999
17000 \family sans
17001 C-s\InsetSpace ~
17002 S-plus
17003 \family default
17004  
17005 \family typewriter
17006 math-insert 
17007 \backslash
17008 dagger
17009 \family default
17010  -- The 
17011 \begin_inset Quotes eld
17012 \end_inset
17013
17014 dagger
17015 \begin_inset Quotes erd
17016 \end_inset
17017
17018  
17019 \begin_inset Formula $\dagger$
17020 \end_inset
17021
17022 .
17023 \end_layout
17024
17025 \begin_layout List
17026 \labelwidthstring 00.00.0000
17027
17028 \family sans
17029 C-s\InsetSpace ~
17030 equal
17031 \family default
17032  
17033 \family typewriter
17034 math-insert 
17035 \backslash
17036 equiv
17037 \family default
17038  -- 
17039 \begin_inset Quotes eld
17040 \end_inset
17041
17042 Identical equality
17043 \begin_inset Quotes erd
17044 \end_inset
17045
17046  
17047 \begin_inset Formula $\equiv$
17048 \end_inset
17049
17050 .
17051 \end_layout
17052
17053 \begin_layout List
17054 \labelwidthstring 00.00.0000
17055
17056 \family sans
17057 M-equal
17058 \family default
17059  
17060 \family typewriter
17061 math-insert 
17062 \backslash
17063 approx
17064 \family default
17065  -- 
17066 \begin_inset Quotes eld
17067 \end_inset
17068
17069 Approximate equality
17070 \begin_inset Quotes erd
17071 \end_inset
17072
17073  
17074 \begin_inset Formula $\approx$
17075 \end_inset
17076
17077 .
17078 \end_layout
17079
17080 \begin_layout List
17081 \labelwidthstring 00.00.0000
17082
17083 \family sans
17084 M-minus
17085 \family default
17086  
17087 \family typewriter
17088 math-insert 
17089 \backslash
17090 sim
17091 \family default
17092  -- The 
17093 \begin_inset Quotes eld
17094 \end_inset
17095
17096 of order
17097 \begin_inset Quotes erd
17098 \end_inset
17099
17100  sign 
17101 \begin_inset Formula $\sim$
17102 \end_inset
17103
17104 .
17105 \end_layout
17106
17107 \begin_layout List
17108 \labelwidthstring 00.00.0000
17109
17110 \family sans
17111 C-minus
17112 \family default
17113  
17114 \family typewriter
17115 math-insert 
17116 \backslash
17117 rightarrow
17118 \family default
17119  -- The arrow 
17120 \begin_inset Formula $\rightarrow$
17121 \end_inset
17122
17123  as in 
17124 \begin_inset Formula $\lim_{x\rightarrow0}$
17125 \end_inset
17126
17127 .
17128 \end_layout
17129
17130 \begin_layout List
17131 \labelwidthstring 00.00.0000
17132
17133 \family sans
17134 S-M-less
17135 \family default
17136  
17137 \family typewriter
17138 math-insert 
17139 \backslash
17140 leq
17141 \family default
17142  -- Less-or-equal 
17143 \begin_inset Formula $\leq$
17144 \end_inset
17145
17146 .
17147 \end_layout
17148
17149 \begin_layout List
17150 \labelwidthstring 00.00.0000
17151
17152 \family sans
17153 S-M-greater
17154 \family default
17155  
17156 \family typewriter
17157 math-insert 
17158 \backslash
17159 geq
17160 \family default
17161  -- Greater-or-equal 
17162 \begin_inset Formula $\geq$
17163 \end_inset
17164
17165 .
17166 \end_layout
17167
17168 \begin_layout List
17169 \labelwidthstring 00.00.0000
17170
17171 \family sans
17172 C-s\InsetSpace ~
17173 S-less
17174 \family default
17175  
17176 \family typewriter
17177 math-insert 
17178 \backslash
17179 ll
17180 \family default
17181  -- 
17182 \begin_inset Quotes eld
17183 \end_inset
17184
17185 Much less than
17186 \begin_inset Quotes erd
17187 \end_inset
17188
17189  
17190 \begin_inset Formula $\ll$
17191 \end_inset
17192
17193  (useful in physics)
17194 \end_layout
17195
17196 \begin_layout List
17197 \labelwidthstring 00.00.0000
17198
17199 \family sans
17200 C-s\InsetSpace ~
17201 S-greater
17202 \family default
17203  
17204 \family typewriter
17205 math-insert 
17206 \backslash
17207 gg
17208 \family default
17209  -- 
17210 \begin_inset Quotes eld
17211 \end_inset
17212
17213 Much greater than
17214 \begin_inset Quotes erd
17215 \end_inset
17216
17217  sign 
17218 \begin_inset Formula $\gg$
17219 \end_inset
17220
17221 .
17222 \end_layout
17223
17224 \begin_layout Subsection
17225 Standard math bindings
17226 \end_layout
17227
17228 \begin_layout List
17229 \labelwidthstring 00.00.0000
17230
17231 \family sans
17232 M-m\InsetSpace ~
17233 b
17234 \family default
17235  
17236 \family typewriter
17237 math-insert 
17238 \backslash
17239 overline
17240 \end_layout
17241
17242 \begin_layout List
17243 \labelwidthstring 00.00.0000
17244
17245 \family sans
17246 M-m\InsetSpace ~
17247 d
17248 \family default
17249  
17250 \family typewriter
17251 math-display
17252 \end_layout
17253
17254 \begin_layout List
17255 \labelwidthstring 00.00.0000
17256
17257 \family sans
17258 M-m\InsetSpace ~
17259 e
17260 \family default
17261  
17262 \family typewriter
17263 math-insert ^
17264 \end_layout
17265
17266 \begin_layout List
17267 \labelwidthstring 00.00.0000
17268
17269 \family sans
17270 M-m\InsetSpace ~
17271 f
17272 \family default
17273  
17274 \family typewriter
17275 math-insert 
17276 \backslash
17277 frac
17278 \end_layout
17279
17280 \begin_layout List
17281 \labelwidthstring 00.00.0000
17282
17283 \family sans
17284 M-m\InsetSpace ~
17285 g
17286 \family default
17287  
17288 \family typewriter
17289 math-greek
17290 \end_layout
17291
17292 \begin_layout List
17293 \labelwidthstring 00.00.0000
17294
17295 \family sans
17296 M-m\InsetSpace ~
17297 h
17298 \family default
17299  
17300 \family typewriter
17301 accent-circumflex
17302 \end_layout
17303
17304 \begin_layout List
17305 \labelwidthstring 00.00.0000
17306
17307 \family sans
17308 M-m\InsetSpace ~
17309 i
17310 \family default
17311  
17312 \family typewriter
17313 math-insert 
17314 \backslash
17315 int
17316 \end_layout
17317
17318 \begin_layout List
17319 \labelwidthstring 00.00.0000
17320
17321 \family sans
17322 M-m\InsetSpace ~
17323 l
17324 \family default
17325  
17326 \family typewriter
17327 math-limits
17328 \end_layout
17329
17330 \begin_layout List
17331 \labelwidthstring 00.00.0000
17332
17333 \family sans
17334 M-m\InsetSpace ~
17335 m
17336 \family default
17337  
17338 \family typewriter
17339 math-mode
17340 \end_layout
17341
17342 \begin_layout List
17343 \labelwidthstring 00.00.0000
17344
17345 \family sans
17346 M-m\InsetSpace ~
17347 n
17348 \family default
17349  
17350 \family typewriter
17351 math-number
17352 \end_layout
17353
17354 \begin_layout List
17355 \labelwidthstring 00.00.0000
17356
17357 \family sans
17358 M-m\InsetSpace ~
17359 o
17360 \family default
17361  
17362 \family typewriter
17363 math-insert 
17364 \backslash
17365 oint
17366 \end_layout
17367
17368 \begin_layout List
17369 \labelwidthstring 00.00.0000
17370
17371 \family sans
17372 M-m\InsetSpace ~
17373 p
17374 \family default
17375  
17376 \family typewriter
17377 math-insert 
17378 \backslash
17379 partial
17380 \end_layout
17381
17382 \begin_layout List
17383 \labelwidthstring 00.00.0000
17384
17385 \family sans
17386 M-m\InsetSpace ~
17387 r
17388 \family default
17389  
17390 \family typewriter
17391 math-insert 
17392 \backslash
17393 sqrt
17394 \end_layout
17395
17396 \begin_layout List
17397 \labelwidthstring 00.00.0000
17398
17399 \family sans
17400 M-m\InsetSpace ~
17401 s
17402 \family default
17403  
17404 \family typewriter
17405 math-insert 
17406 \backslash
17407 sqrt
17408 \end_layout
17409
17410 \begin_layout List
17411 \labelwidthstring 00.00.0000
17412
17413 \family sans
17414 M-m\InsetSpace ~
17415 u
17416 \family default
17417  
17418 \family typewriter
17419 math-insert 
17420 \backslash
17421 sum
17422 \end_layout
17423
17424 \begin_layout List
17425 \labelwidthstring 00.00.0000
17426
17427 \family sans
17428 M-m\InsetSpace ~
17429 v
17430 \family default
17431  
17432 \family typewriter
17433 math-insert 
17434 \backslash
17435 vec
17436 \end_layout
17437
17438 \begin_layout List
17439 \labelwidthstring 00.00.0000
17440
17441 \family sans
17442 M-m\InsetSpace ~
17443 x
17444 \family default
17445  
17446 \family typewriter
17447 math-insert _
17448 \end_layout
17449
17450 \begin_layout List
17451 \labelwidthstring 00.00.0000
17452
17453 \family sans
17454 M-m\InsetSpace ~
17455 8
17456 \family default
17457  
17458 \family typewriter
17459 math-insert 
17460 \backslash
17461 infty
17462 \end_layout
17463
17464 \begin_layout List
17465 \labelwidthstring 00.00.0000
17466
17467 \family sans
17468 M-m\InsetSpace ~
17469 S-G
17470 \family default
17471  
17472 \family typewriter
17473 math-greek-toggle
17474 \end_layout
17475
17476 \begin_layout List
17477 \labelwidthstring 00.00.0000
17478
17479 \family sans
17480 M-m\InsetSpace ~
17481 S-N
17482 \family default
17483  
17484 \family typewriter
17485 math-nonumber
17486 \end_layout
17487
17488 \begin_layout List
17489 \labelwidthstring 00.00.0000
17490
17491 \family sans
17492 M-m\InsetSpace ~
17493 S-period
17494 \family default
17495  
17496 \family typewriter
17497 accent-dot
17498 \end_layout
17499
17500 \begin_layout List
17501 \labelwidthstring 00.00.0000
17502
17503 \family sans
17504 M-m\InsetSpace ~
17505 S-asciitilde
17506 \family default
17507  
17508 \family typewriter
17509 accent-tilde
17510 \end_layout
17511
17512 \begin_layout List
17513 \labelwidthstring 00.00.0000
17514
17515 \family sans
17516 M-m\InsetSpace ~
17517 S-apostrophe
17518 \family default
17519  
17520 \family typewriter
17521 math-insert 
17522 \backslash
17523 prime
17524 \end_layout
17525
17526 \begin_layout List
17527 \labelwidthstring 00.00.0000
17528
17529 \family sans
17530 M-m\InsetSpace ~
17531 S-parenleft
17532 \family default
17533  
17534 \family typewriter
17535 math-delim ( )
17536 \end_layout
17537
17538 \begin_layout List
17539 \labelwidthstring 00.00.0000
17540
17541 \family sans
17542 M-m\InsetSpace ~
17543 S-bracketleft
17544 \family default
17545  
17546 \family typewriter
17547 math-delim [ ]
17548 \end_layout
17549
17550 \begin_layout List
17551 \labelwidthstring 00.00.0000
17552
17553 \family sans
17554 M-m\InsetSpace ~
17555 S-braceleft
17556 \family default
17557  
17558 \family typewriter
17559 math-delim { }
17560 \end_layout
17561
17562 \begin_layout List
17563 \labelwidthstring 00.00.0000
17564
17565 \family sans
17566 M-m\InsetSpace ~
17567 S-less
17568 \family default
17569  
17570 \family typewriter
17571 math-delim langle rangle
17572 \end_layout
17573
17574 \begin_layout List
17575 \labelwidthstring 00.00.0000
17576
17577 \family sans
17578 M-m\InsetSpace ~
17579 S-greater
17580 \family default
17581  
17582 \family typewriter
17583 math-delim rangle langle
17584 \end_layout
17585
17586 \begin_layout List
17587 \labelwidthstring 00.00.0000
17588
17589 \family sans
17590 M-m\InsetSpace ~
17591 S-bar
17592 \family default
17593  
17594 \family typewriter
17595 math-delim | |
17596 \end_layout
17597
17598 \begin_layout List
17599 \labelwidthstring 00.00.0000
17600
17601 \family sans
17602 M-m\InsetSpace ~
17603 S-plus
17604 \family default
17605  
17606 \family typewriter
17607 math-insert 
17608 \backslash
17609 pm
17610 \end_layout
17611
17612 \begin_layout List
17613 \labelwidthstring 00.00.0000
17614
17615 \family sans
17616 M-m\InsetSpace ~
17617 S-equal
17618 \family default
17619  
17620 \family typewriter
17621 math-insert 
17622 \backslash
17623 neq
17624 \end_layout
17625
17626 \begin_layout Subsection
17627 Other Accelerators
17628 \end_layout
17629
17630 \begin_layout List
17631 \labelwidthstring 00.00.0000
17632
17633 \family sans
17634 M-k\InsetSpace ~
17635 o
17636 \family default
17637  
17638 \family typewriter
17639 keymap-off
17640 \end_layout
17641
17642 \begin_layout List
17643 \labelwidthstring 00.00.0000
17644
17645 \family sans
17646 M-k\InsetSpace ~
17647 t
17648 \family default
17649  
17650 \family typewriter
17651 keymap-toggle
17652 \end_layout
17653
17654 \begin_layout List
17655 \labelwidthstring 00.00.0000
17656
17657 \family sans
17658 M-k\InsetSpace ~
17659 x
17660 \family default
17661  
17662 \family typewriter
17663 keymap-off
17664 \end_layout
17665
17666 \begin_layout List
17667 \labelwidthstring 00.00.0000
17668
17669 \family sans
17670 M-k\InsetSpace ~
17671 1
17672 \family default
17673  
17674 \family typewriter
17675 keymap-primary
17676 \end_layout
17677
17678 \begin_layout List
17679 \labelwidthstring 00.00.0000
17680
17681 \family sans
17682 M-k\InsetSpace ~
17683 2
17684 \family default
17685  
17686 \family typewriter
17687 keymap-secondary
17688 \end_layout
17689
17690 \end_body
17691 \end_document