1 #LyX 1.6.0alpha1 created this file. For more info see http://www.lyx.org/
7 % DO NOT ALTER THIS PREAMBLE!!!
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
16 \usepackage{ifpdf} % part of the hyperref bundle
17 \ifpdf % if pdflatex is used
19 % set fonts for nicer pdf view
20 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
22 % link all cross references and URLs in pdf output
23 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
24 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
25 pdfpagelayout=OneColumn, pdfnewwindow=true,
26 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
27 pdfauthor={LyX Team}, pdftex,
28 pdftitle={Customizing LyX: Features for the Advanced User},pdfsubject={LyX-documentation Customization},
29 pdfkeywords={LyX, documentation}
32 \else % if dvi or ps is produced
34 % link all cross references and URLs in dvi output
35 \usepackage[ps2pdf]{hyperref}
37 \fi % end if pdflatex is used
39 % the pages of the TOC are numbered roman
40 % and a pdf-bookmark for the TOC is added
42 \let\myTOC\tableofcontents
43 \renewcommand\tableofcontents{%
44 \pdfbookmark[1]{Contents}{}
47 \pagenumbering{arabic} }
49 % redefine the \LyX macro for PDF bookmarks
50 \def\LyX{\texorpdfstring{%
51 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
54 % used for multi-column text
63 InsetLayout CharStyle:MenuItem
72 \newcommand*{\menuitem}[1]{{\sffamily #1}}
77 \inputencoding default
80 \font_typewriter default
81 \font_default_family default
87 \paperfontsize default
96 \paperorientation portrait
99 \paragraph_separation indent
101 \quotes_language english
104 \paperpagestyle headings
105 \tracking_changes false
106 \output_changes false
109 \extra_embedded_files ""
115 Customizing LyX: Features for the Advanced User
123 \begin_layout PlainLayout
125 Principal maintainer of this file is
130 If you have comments or error corrections, please send them to the LyX
131 Documentation mailing list, <lyx-docs@lists.lyx.org>.
139 \begin_layout Standard
140 \begin_inset CommandInset toc
141 LatexCommand tableofcontents
148 \begin_layout Chapter
152 \begin_layout Standard
153 This manual covers the customization features present in LyX.
154 In it, we discuss issues like keyboard shortcuts, screen previewing options,
155 printer options, sending commands to LyX via the LyX Server, internationalizati
156 on, installing new LaTeX classes and LyX layouts, etc.
157 We can't possibly hope to touch on everything you can change---our developers
158 add new features faster than we can document them---but we will explain
159 the most common customizations and hopefully point you in the right direction
160 for some of the more obscure ones.
163 \begin_layout Chapter
164 LyX configuration files
167 \begin_layout Standard
168 \begin_inset CommandInset label
174 This chapter aims to help you to find your way through the LyX configuration
176 Before continuing to read this chapter, you should find out where your
177 LyX library directory is by using
178 \begin_inset Flex CharStyle:MenuItem
181 \begin_layout PlainLayout
186 elp\SpecialChar \menuseparator
199 This directory is the place where LyX places its system-wide configuration
200 files, and we will simply name it
201 \begin_inset Flex CharStyle:Code
204 \begin_layout PlainLayout
210 in the remainder of this document.
214 \begin_layout Section
216 \begin_inset Flex CharStyle:Code
219 \begin_layout PlainLayout
228 \begin_layout Standard
229 \begin_inset Flex CharStyle:Code
232 \begin_layout PlainLayout
238 and its sub-directories contain a number of files and that can be used
239 to customise LyX's behaviour.
240 You can change many of these files from within LyX itself through the
241 \begin_inset Flex CharStyle:MenuItem
244 \begin_layout PlainLayout
249 ools\SpecialChar \menuseparator
260 Most customization that you might want to do to LyX is possible through
262 However, many other inner aspects of LyX can be customized by modifying
264 \begin_inset Flex CharStyle:Code
267 \begin_layout PlainLayout
274 They fall in different categories, described in the following subsections.
277 \begin_layout Subsection
278 Automatically generated files
281 \begin_layout Standard
282 These files are generated when you configure LyX.
283 They contain various default values that are guessed by inspection.
284 In general, it is not a good idea to modify them, since they might be overwritt
289 \labelwidthstring 00.00.0000
290 \begin_inset Flex CharStyle:Code
293 \begin_layout PlainLayout
299 contains defaults for various commands.
303 \labelwidthstring 00.00.0000
304 \begin_inset Flex CharStyle:Code
307 \begin_layout PlainLayout
313 contains the list of packages that have been recognized by LyX.
314 It is currently unused by the LyX program itself, but the information extracted
315 , and more, is made available with
316 \begin_inset Flex CharStyle:MenuItem
319 \begin_layout PlainLayout
324 elp\SpecialChar \menuseparator
342 \labelwidthstring 00.00.0000
343 \begin_inset Flex CharStyle:Code
346 \begin_layout PlainLayout
352 is the list of text classes that have been found in your
353 \begin_inset Flex CharStyle:Code
356 \begin_layout PlainLayout
362 directory, along with the associated LaTeX document class and their description.
366 \labelwidthstring 00.00.0000
367 \begin_inset Flex CharStyle:Code
370 \begin_layout PlainLayout
376 is automatically generated during configuration from the file
377 \begin_inset Flex CharStyle:Code
380 \begin_layout PlainLayout
389 \begin_layout Subsection
394 \labelwidthstring 00.00.0000
395 \begin_inset Flex CharStyle:Code
398 \begin_layout PlainLayout
404 this directory contains files with the extension
405 \begin_inset Flex CharStyle:Code
408 \begin_layout PlainLayout
414 that define the keybindings used in LyX (see section
419 \begin_inset CommandInset ref
421 reference "sec:bindings"
426 If there exists an internationalized version of the bind file named
427 \begin_inset Flex CharStyle:Code
430 \begin_layout PlainLayout
436 , that will be used first.
442 \begin_inset CommandInset ref
444 reference "chap:i18n"
449 \begin_inset CommandInset ref
451 reference "sec:bindings"
459 \labelwidthstring 00.00.0000
460 \begin_inset Flex CharStyle:Code
463 \begin_layout PlainLayout
469 contains graphics files that can be included in documents.
474 \labelwidthstring 00.00.0000
475 \begin_inset Flex CharStyle:Code
478 \begin_layout PlainLayout
484 contains LyX documentation files (including the one you are currently reading).
486 \begin_inset Flex CharStyle:Code
489 \begin_layout PlainLayout
495 deserves special attention, as noted above.
496 If there exists an internationalized version of the help-document with
498 \begin_inset Flex CharStyle:Code
501 \begin_layout PlainLayout
507 prepended to the name, that will be used first.
513 \begin_inset CommandInset ref
515 reference "chap:i18n"
523 \labelwidthstring 00.00.0000
524 \begin_inset Flex CharStyle:Code
527 \begin_layout PlainLayout
533 contains example files that explain how to use some features.
534 In the file browser, press the
535 \begin_inset Flex CharStyle:MenuItem
538 \begin_layout PlainLayout
548 \labelwidthstring 00.00.0000
549 \begin_inset Flex CharStyle:Code
552 \begin_layout PlainLayout
558 contains image files that are used by the
559 \begin_inset Flex CharStyle:MenuItem
562 \begin_layout PlainLayout
569 In addition, it also contains the individual icons used in the toolbar
570 and the banners that can be shown when LyX is launched.
574 \labelwidthstring 00.00.0000
575 \begin_inset Flex CharStyle:Code
578 \begin_layout PlainLayout
584 contains keyboard keymapping files.
590 \begin_inset CommandInset ref
592 reference "sec:keymap"
600 \labelwidthstring 00.00.0000
601 \begin_inset Flex CharStyle:Code
604 \begin_layout PlainLayout
610 contains the text class files described in Chapter
615 \begin_inset CommandInset ref
617 reference "chap:textclass"
625 \labelwidthstring 00.00.0000
626 \begin_inset Flex CharStyle:Code
629 \begin_layout PlainLayout
635 contains some files that demonstrate the capabilities of the
636 \begin_inset Flex CharStyle:MenuItem
639 \begin_layout PlainLayout
653 \labelwidthstring 00.00.0000
654 \begin_inset Flex CharStyle:Code
657 \begin_layout PlainLayout
663 contains the standard LyX template files described in Chapter
668 \begin_inset CommandInset ref
670 reference "sec:templates"
678 \labelwidthstring 00.00.0000
679 \begin_inset Flex CharStyle:Code
682 \begin_layout PlainLayout
688 contains some LaTeX cls files distributed with LyX.
692 \labelwidthstring 00.00.0000
693 \begin_inset Flex CharStyle:Code
696 \begin_layout PlainLayout
702 contains files with the extension
703 \begin_inset Flex CharStyle:Code
706 \begin_layout PlainLayout
712 that define the user interface to LyX.
713 That is, the files define which items appear in which menus and the items
714 appearing on the toolbar.
720 \begin_inset CommandInset ref
729 \begin_layout Subsection
730 Files you don't want to modify
733 \begin_layout Standard
734 These files are used internally by LyX and you generally do not need to
735 modify them unless you are a developer.
739 \labelwidthstring 00.00.0000
740 \begin_inset Flex CharStyle:Code
743 \begin_layout PlainLayout
749 this file contains the list of LyX developers.
750 The contents are displayed with the menu entry
751 \begin_inset Flex CharStyle:MenuItem
754 \begin_layout PlainLayout
759 elp\SpecialChar \menuseparator
773 \labelwidthstring 00.00.0000
774 \begin_inset Flex CharStyle:Code
777 \begin_layout PlainLayout
783 this is a LaTeX script used during the configuration process.
788 \labelwidthstring 00.00.0000
789 \begin_inset Flex CharStyle:Code
792 \begin_layout PlainLayout
798 this is the script that is used to re-configure LyX.
799 It creates configuration files in the directory it was run from.
802 \begin_layout Subsection
803 Other files needing a line or two...
807 \labelwidthstring 00.00.0000
808 \begin_inset Flex CharStyle:Code
811 \begin_layout PlainLayout
817 this contains tables describing how different character encodings can be
822 \labelwidthstring 00.00.0000
823 \begin_inset Flex CharStyle:Code
826 \begin_layout PlainLayout
832 this file contains the templates available to the new
833 \begin_inset Flex CharStyle:MenuItem
836 \begin_layout PlainLayout
850 \labelwidthstring 00.00.0000
851 \begin_inset Flex CharStyle:Code
854 \begin_layout PlainLayout
860 this file contains a list of all the languages currently supported by LyX.
863 \begin_layout Section
864 Your local configuration directory
867 \begin_layout Standard
868 Even if you are using LyX as an unprivileged user, you might want to change
869 LyX configuration for your own use.
871 \begin_inset Flex CharStyle:Code
874 \begin_layout PlainLayout
880 directory contains all your personal configuration files.
881 This is the directory described as
882 \begin_inset Quotes eld
886 \begin_inset Quotes erd
890 \begin_inset Flex CharStyle:MenuItem
893 \begin_layout PlainLayout
898 elp\SpecialChar \menuseparator
909 This directory is used as a mirror of
910 \begin_inset Flex CharStyle:Code
913 \begin_layout PlainLayout
919 , which means that every file in
920 \begin_inset Flex CharStyle:Code
923 \begin_layout PlainLayout
929 is a replacement for the corresponding file in
930 \begin_inset Flex CharStyle:Code
933 \begin_layout PlainLayout
940 Any configuration file described in the above sections can be placed either
941 in the system-wide directory, in which case it will affect all users, or
942 in your local directory for your own use.
945 \begin_layout Standard
946 To make things clearer, let's provide a few examples:
949 \begin_layout Itemize
950 The preferences set in the
951 \begin_inset Flex CharStyle:MenuItem
954 \begin_layout PlainLayout
959 ools\SpecialChar \menuseparator
969 dialog are saved to a file
970 \begin_inset Flex CharStyle:Code
973 \begin_layout PlainLayout
980 \begin_inset Flex CharStyle:Code
983 \begin_layout PlainLayout
992 \begin_layout Itemize
993 When you reconfigure using
994 \begin_inset Flex CharStyle:MenuItem
997 \begin_layout PlainLayout
1002 ools\SpecialChar \menuseparator
1013 \begin_inset Flex CharStyle:Code
1016 \begin_layout PlainLayout
1022 and the resulting files are written in your local configuration directory
1024 \begin_inset Space ~
1028 \begin_inset CommandInset ref
1030 reference "sec:autodetected"
1034 to have a list of the
1035 \begin_inset Flex CharStyle:Code
1038 \begin_layout PlainLayout
1044 settings affected by this section).
1045 This means that any additional text class file that you might have added
1047 \begin_inset Flex CharStyle:Code
1050 \begin_layout PlainLayout
1056 will be added to the list of classes in the
1057 \begin_inset Flex CharStyle:MenuItem
1060 \begin_layout PlainLayout
1065 ayout\SpecialChar \menuseparator
1078 \begin_layout Itemize
1079 Similarly, if you have installed some LaTeX document classes in your home
1080 directory, that LaTeX can find with your
1081 \begin_inset Flex CharStyle:Code
1084 \begin_layout PlainLayout
1090 path, they will show up in your list of text classes.
1094 \begin_layout PlainLayout
1095 as long as LyX or yourself have a
1096 \begin_inset Flex CharStyle:Code
1099 \begin_layout PlainLayout
1105 file for it, of course.
1113 \begin_layout Itemize
1114 If you get some updated documentation from LyX ftp site and cannot install
1115 it because you do not have sysadmin rights on your system, you can just
1117 \begin_inset Flex CharStyle:Code
1120 \begin_layout PlainLayout
1126 and the items in the
1127 \begin_inset Flex CharStyle:MenuItem
1130 \begin_layout PlainLayout
1140 menu will open them!
1143 \begin_layout Section
1144 Running LyX with multiple configurations
1147 \begin_layout Standard
1148 The configuration freedom of the local configuration directory may not suffice
1149 if you want to have more than one configuration at your disposal.
1150 For example, you may want to be use different key bindings or printer settings
1152 You can achieve this by having several such directories.
1153 You then specify which directory to use at run-time.
1156 \begin_layout Standard
1157 Invoking LyX with the command line switch
1158 \begin_inset Flex CharStyle:Code
1161 \begin_layout PlainLayout
1171 instructs the program to read the configuration from that directory, and
1172 not from the default directory (you can determine the default directory
1173 by running LyX without this switch as described above).
1174 If this directory does not exist, LyX offers to create it for you, just
1175 like it does for the default directory on the first time you run the program.
1176 You can modify the configuration options in this additional
1177 \begin_inset Flex CharStyle:Code
1180 \begin_layout PlainLayout
1186 exactly as you would for the default directory.
1187 These directories are completely independent (but read on).
1188 Note that setting the environment variable
1189 \begin_inset Flex CharStyle:Code
1192 \begin_layout PlainLayout
1198 to some value has exactly the same effect.
1201 \begin_layout Standard
1202 Having several configurations also requires more maintenance: if you want
1203 to add a new layout to
1204 \begin_inset Flex CharStyle:Code
1207 \begin_layout PlainLayout
1216 \begin_layout Standard
1217 which you want available from all your configurations, you must add it to
1218 each directory separately.
1219 You can avoid this with the following trick: after LyX creates the additional
1220 directory, most of the subdirectories (see above) are empty.
1221 If you want the new configuration to mirror an existing one, replace the
1222 empty subdirectory with a symbolic link to the matching subdirectory in
1223 the existing configuration.
1225 \begin_inset Flex CharStyle:Code
1228 \begin_layout PlainLayout
1234 subirectory, however, since it contains a file written by the configuration
1235 script (also accessible through
1236 \begin_inset Flex CharStyle:MenuItem
1239 \begin_layout PlainLayout
1244 ools\SpecialChar \menuseparator
1250 \begin_inset CommandInset ref
1252 reference "sec:autodetected"
1261 which is configuration-specific.
1264 \begin_layout Chapter
1266 \begin_inset Flex CharStyle:MenuItem
1269 \begin_layout PlainLayout
1278 \begin_layout Section
1279 Using the dialog for the first time
1282 \begin_layout Standard
1284 \begin_inset Flex CharStyle:Code
1287 \begin_layout PlainLayout
1293 file will contain only changes that you have made to the default behaviour,
1294 some of which is hard-coded into LyX and some of which is contained in
1296 \begin_inset Flex CharStyle:Code
1299 \begin_layout PlainLayout
1300 LyXDir/lyxrc.defaults
1306 Note that in both files lines beginning with a
1307 \begin_inset Quotes eld
1311 \begin_inset Flex CharStyle:Code
1314 \begin_layout PlainLayout
1321 \begin_inset Quotes erd
1324 are just comments and not interpreted.
1325 However, only system administrators should edit
1326 \begin_inset Flex CharStyle:Code
1329 \begin_layout PlainLayout
1336 Users should use the
1337 \begin_inset Flex CharStyle:MenuItem
1340 \begin_layout PlainLayout
1345 ools\SpecialChar \menuseparator
1355 dialog to create and modify their own
1356 \begin_inset Flex CharStyle:Code
1359 \begin_layout PlainLayout
1368 \begin_layout Standard
1370 \begin_inset Flex CharStyle:MenuItem
1373 \begin_layout PlainLayout
1378 ools\SpecialChar \menuseparator
1388 dialog will be largely self-explanatory.
1389 Almost all the commands have an associated comment, so you shouldn't have
1390 too much trouble modifying it to taste.
1391 Before we highlight a few of the more important commands below, however,
1393 \begin_inset Flex CharStyle:MenuItem
1396 \begin_layout PlainLayout
1402 ing some of your changes (e.g., screen fonts) will have an instant effect.
1404 changing the bind file) will not.
1405 If nothing appears to have changed, just
1406 \begin_inset Flex CharStyle:MenuItem
1409 \begin_layout PlainLayout
1415 the changes and restart LyX.
1418 \begin_layout Section
1422 \begin_layout Standard
1423 The font used to display your documents on the LyX screen is very important,
1424 since you'll be reading all your documents with this font.
1425 Therefore it is important that the font is as readable and good-looking
1427 The LyX team tried to provide the best possible default font for you, but
1428 since practically all X11 systems are different, it's likely that the default
1429 fonts will be sub-optimal on your system.
1430 Fortunately, you can do something about this.
1431 Before we explain how to do this, you should learn a bit more about fonts
1432 so that you are better prepared for choosing your fonts, because it is
1433 a trade-off that is specific to your preferences and the capabilities of
1437 \begin_layout Standard
1438 Notice that this section only deals with the fonts on the
1442 inside the LyX window.
1443 The fonts that appear on the
1451 are independent from these fonts, and are determined by the document class.
1456 to learn how to change the font of the printed version of your document.
1459 \begin_layout Standard
1460 Basically, screen fonts come in two different kinds: scalable outline fonts
1461 and non-scalable bitmap fonts.
1462 This distinction seems a bit arbitrary, since non-scalable fonts are actually
1463 scalable in most modern font renderers.
1464 The difference lies in the
1468 of the scaling, and the
1473 The most important decision is thus whether you should use non-scalable
1474 bitmap fonts or scalable outline fonts.
1477 \begin_layout Standard
1478 The scalable fonts are built from
1482 of the single glyphs (i.e.
1483 characters) in the font.
1484 This means that each glyph is defined using mathematical curves that are
1485 well suited for scaling to any requested size.
1486 This mathematical definition is interpreted by the font renderer and turned
1487 into a small picture composed of pixels according to which size and glyph,
1488 the programmer requests.
1489 This means that scalable fonts will look pretty good in all sizes.
1490 Well, almost all sizes.
1491 Since scalable fonts are defined in an abstract way, it can be hard to
1492 provide a good rendering at small sizes, where each pixel has to be very
1493 carefully computed to provide a good image.
1494 Technically it is possible to do this from the mathematical definition,
1495 but in order to keep the rendering reasonably fast, tradeoffs have to be
1496 made, and the result is that scalable fonts can be difficult to read at
1500 \begin_layout Standard
1501 Bitmap fonts on the other hand, are defined by bitmap graphics from the
1502 start, so they will look good at all the sizes they are meant for.
1503 However, they don't scale well, because in order to scale a glyph, each
1504 pixel is enlarged into several pixels.
1505 It is the same effect that happens if you try to enlarge a picture in
1506 \begin_inset Flex CharStyle:Code
1509 \begin_layout PlainLayout
1515 or any other picture manipulation program.
1516 In order to relieve this effect, bitmap fonts are typically provided in
1517 several fixed sizes typically from around 8 pixels high up to 34 pixels
1518 or so high in steps according to what is believed to be useful.
1519 The advantage of bitmap fonts is that no complicated computations are necessary
1520 to display each glyph, so bitmap fonts are thus faster displayed than scalable
1522 The disadvantage is that sizes that don't exists as fixed versions have
1523 to be scaled by doubling pixels, and thus look bad.
1526 \begin_layout Standard
1527 The net result of all this, is that bitmap fonts are generally best for
1528 the small sizes, where they are available, while scalable fonts are generally
1529 best for large sizes.
1530 The logical conclusion would thus be to use bitmap fonts for the small
1531 sizes, and scalable fonts for the large sizes.
1532 Unfortunately, this is not a good idea, since bitmap fonts and scalable
1533 fonts are not designed to be used together, so the overall look of such
1534 a scheme would be bad.
1535 The best you can do is thus to try both schemes and decide for yourself
1539 \begin_layout Standard
1540 By default, LyX uses non-scalable bitmap fonts (when using the XForms frontend).
1545 is used, for sans serif fonts,
1553 is used as the monospaced/typewriter font.
1556 \begin_layout Standard
1557 In the following, we will describe what to do if the text does not look
1559 We'll start with the most important parameters: DPI and font zoom.
1562 \begin_layout Subsection
1563 DPI setting and Font Zoom
1566 \begin_layout Standard
1567 LyX automatically tries to scale the fonts to look as close as the paper
1568 output size as possible, except for the so-called font zoom factor.
1571 \begin_layout Standard
1572 In order for this to work on all systems, it relies on the screen DPI (dots
1573 per inch) setting to be correct.
1574 The DPI setting for your system is autodetected by LyX using the information
1575 the X server can provide.
1576 You can check what LyX autodetects the DPI setting to, by running LyX as
1578 \begin_inset Flex CharStyle:Code
1581 \begin_layout PlainLayout
1590 \begin_layout Standard
1591 On many systems, X is not set up correctly, so you should check that it
1594 \begin_inset Quotes eld
1598 \begin_inset Flex CharStyle:Code
1601 \begin_layout PlainLayout
1608 \begin_inset Quotes erd
1611 and write down what the DPI is for the resolution you use (this will be
1612 close to the value LyX detects).
1613 It is the number mentioned as
1614 \begin_inset Quotes eld
1618 \begin_inset Quotes erd
1622 Also write down the number of pixels you have in the width (the first number
1624 \begin_inset Quotes eld
1628 \begin_inset Quotes erd
1634 \begin_layout Standard
1635 Then get the good old ruler out of the closet, and measure the width of
1636 the visible screen-image on your monitor.
1637 Convert this measurement to inches if you used a centimeter ruler by dividing
1639 Now you can determine the correct DPI setting for your screen by dividing
1640 the number of pixels in the width by the width of the screen-image on the
1642 If this number is more than, say, 5 DPI from the detected value, you should
1643 either fix the X setup, or at least tell LyX that the DPI is different
1644 than the detected value.
1647 \begin_layout Standard
1648 If you can't fix the X setup (which of course is best since other programs
1649 than LyX will benefit from this as well), you can tell LyX the correct
1651 \begin_inset Flex CharStyle:MenuItem
1654 \begin_layout PlainLayout
1663 \begin_layout Standard
1664 If the text is too small or too big for your taste, you should fiddle with
1665 the font zoom setting.
1666 This setting is used to scale the point size of the text.
1667 If your DPI setting is correct, and the font zoom setting is set to 100,
1668 this means that LyX will try to display the text exactly the same size
1669 as it will appear on the paper-output.
1670 If you set the zoom factor to 200, the text will try to be 2 times as big
1672 Of course, this will only happen if LyX can find a font that has the appropriat
1673 e size, which you can't count on.
1674 Since LyX is a WYSIWYM system anyways, this limitation isn't much of an
1678 \begin_layout Standard
1679 The default font zoom setting is 150, since a monitor is typically wider
1680 than a piece of paper, but you should try to fiddle with it through the
1682 \begin_inset Flex CharStyle:MenuItem
1685 \begin_layout PlainLayout
1687 \begin_inset Space ~
1700 \begin_inset Flex CharStyle:MenuItem
1703 \begin_layout PlainLayout
1709 dialog to find a size that you like.
1710 When you've found a setting that seems to work nicely for you (tip: use
1712 \begin_inset Flex CharStyle:MenuItem
1715 \begin_layout PlainLayout
1725 button to keep the dialog open while you experiment), you can make this
1726 setting the default by using the
1727 \begin_inset Flex CharStyle:MenuItem
1730 \begin_layout PlainLayout
1743 \begin_layout Standard
1744 While it is often possible to find a suitable size for the text on the screen,
1745 this doesn't necessarily mean that the fonts are the best ones available
1747 In order to help you get the most out of your system, you can use the font
1748 definition commands to fine-tune the look of the text in greater detail
1752 \begin_layout Subsection
1753 Font definition commands
1756 \begin_layout Standard
1757 As mentioned, LyX uses non-scalable bitmap fonts by default with the XForms
1763 is used, for sans serif fonts,
1771 is used as the monospaced/typewriter font.
1774 \begin_layout Standard
1775 You can change all of these from within the
1776 \begin_inset Flex CharStyle:MenuItem
1779 \begin_layout PlainLayout
1786 The number of fonts that are available on different systems vary, but the
1788 \begin_inset Flex CharStyle:Code
1791 \begin_layout PlainLayout
1797 should be available everywhere.
1798 Use that program to find candidate fonts.
1799 When you've found a font that you like, try to insert the first two elements
1801 \begin_inset Quotes eld
1805 \begin_inset Quotes erd
1809 \begin_inset Quotes eld
1813 \begin_inset Quotes erd
1817 \begin_inset Flex CharStyle:Code
1820 \begin_layout PlainLayout
1826 ) in the appropriate field in the
1827 \begin_inset Flex CharStyle:MenuItem
1830 \begin_layout PlainLayout
1837 \begin_inset Flex CharStyle:MenuItem
1840 \begin_layout PlainLayout
1851 LyX will then reformat your document using the new font, and if you like
1852 the font, you should
1853 \begin_inset Flex CharStyle:MenuItem
1856 \begin_layout PlainLayout
1867 One place to start for a new font is to see if the scalable font
1868 \begin_inset Quotes eld
1872 \begin_inset Quotes erd
1876 Tip: You can see whether a font is a bitmap font or a scalable font by
1878 \begin_inset Quotes eld
1882 \begin_inset Quotes erd
1886 \begin_inset Quotes eld
1890 \begin_inset Quotes erd
1894 \begin_inset Flex CharStyle:Code
1897 \begin_layout PlainLayout
1904 If the value 0 is available, the font is scalable.
1905 If the value 0 isn't available, the font is a bitmap font.
1908 \begin_layout Standard
1909 Before you go about scrapping a bitmap font because the larger sizes look
1911 \begin_inset Quotes eld
1915 \begin_inset Quotes erd
1918 , you should toggle the
1919 \begin_inset Quotes eld
1923 \begin_inset Quotes erd
1927 This is only useful if you use bitmap fonts, because only these don't scale
1929 If you define this flag, LyX will only use the fixed font sizes that are
1930 available, and this guarantees that all bitmap fonts look well.
1931 (You can see which individual font sizes are available with the
1932 \begin_inset Flex CharStyle:Code
1935 \begin_layout PlainLayout
1943 \begin_inset Flex CharStyle:Code
1946 \begin_layout PlainLayout
1952 .) However, the prize is that the difference between the size of the fonts
1953 on screen and the size of fonts on paper will be larger because LyX will
1954 have to be satisfied with the closest available size, and not try to scale
1956 Also, you can risk that some logically different sizes, such as
1957 \begin_inset Flex CharStyle:MenuItem
1960 \begin_layout PlainLayout
1967 \begin_inset Flex CharStyle:MenuItem
1970 \begin_layout PlainLayout
1976 , will be mapped to the same screen font, making it hard for you to see
1977 the difference on screen.
1978 We've decided not to use scalable fonts by default because of these artifacts,
1979 but since LyX is a WYSIWYM system, many people like to use the flag anyways,
1980 well-knowing that the font size on the screen can't be trusted.
1981 But remember that this flag only makes a difference when you use bitmap
1983 Scalable fonts won't be affected for reasons you should understand by now.
1986 \begin_layout Standard
1987 One final note regarding this flag: you should know that there is nothing
1988 wrong with using bitmap and scalable fonts at the same time for different
1990 For instance, it's common to use the scalable
1991 \begin_inset Quotes eld
1995 \begin_inset Quotes erd
1998 for the serif text together with a bitmap version of
1999 \begin_inset Quotes eld
2003 \begin_inset Quotes erd
2007 And you can safely select the
2008 \begin_inset Quotes eld
2012 \begin_inset Quotes erd
2015 button without worries: It will only apply to the Helvetica font.
2018 \begin_layout Standard
2019 Sometimes the artifacts introduced by use of the flag can be relieved by
2020 using the fine-detail screen font sizes which defines which point sizes
2021 the different logical font sizes correspond to.
2023 \begin_inset Flex CharStyle:Code
2026 \begin_layout PlainLayout
2032 to see exactly what concrete fonts the logical sizes map to, and try adjusting
2033 the corresponding entries in the
2034 \begin_inset Flex CharStyle:MenuItem
2037 \begin_layout PlainLayout
2043 dialog until you've managed to hit the nail and get the fonts you want.
2044 This can be hard to do, because LyX uses the DPI setting and the font zoom
2045 settings to calculate which exact screen font size to ask the X server
2046 for, thus obfuscating the mapping.
2047 If you can't make it by trial-and-error, you can make the process more
2048 transparent if you set both the DPI setting and font zoom settings to 100---eve
2049 n when this is known to be wrong.
2050 This will of course make your scalable fonts look weird, so use with care.
2053 \begin_layout Subsection
2057 \begin_layout Standard
2058 By default, LyX will use fonts meant to write Western European text, including
2059 all kinds of English.
2060 This is defined through the so-called
2069 If you want to use LyX to write for instance Eastern European text, Cyrillic
2070 or any other language not covered by the ISO-8859-1 font encoding, you
2071 can define a different one with the encoding setting.
2072 This requires you to have special fonts installed.
2074 \begin_inset Flex CharStyle:Code
2077 \begin_layout PlainLayout
2083 to see whether this is the case: check the
2084 \begin_inset Quotes eld
2088 \begin_inset Quotes erd
2092 \begin_inset Quotes eld
2096 \begin_inset Quotes erd
2099 fields for ISO-8859-X values different from ISO-8859-1, and search for
2100 one that contains the national characters of your language.
2101 If you find any, enter this encoding in the dialog.
2102 If not, go searching the Web for appropriate fonts.
2103 For the Qt frontend, it's recommended you use an iso646 font set.
2106 \begin_layout Standard
2107 When you've set LyX up to use a different font encoding, you should also
2108 consider changing the font used by dialog windows in LyX.
2110 \begin_inset Flex CharStyle:MenuItem
2113 \begin_layout PlainLayout
2115 \begin_inset Space ~
2119 \begin_inset Space ~
2127 dialog will not be understandable unless you tell LyX to use a different
2129 By default the menu font is set to
2130 \begin_inset Flex CharStyle:Code
2133 \begin_layout PlainLayout
2134 -*-helvetica-medium-r
2139 , but often Helvetica is not available in the font encoding you need, so
2140 the dialog allows this to be changed.
2143 \begin_layout Standard
2144 As you can see, there are quite a few options that can be used to fine tune
2145 the look of your fonts.
2146 This should not scare you from fiddling with the settings, because after
2147 all, you will hopefully be using LyX for many hours in the future.
2148 And contrary to real WYSIWYG word processors where you are tied to using
2149 fonts that have to look good both on paper and on screen, LyX gives you
2150 the possibility of using fonts that are designed to look good on the screen
2151 while using a different set of fonts to look good on paper.
2154 \begin_layout Section
2156 \begin_inset CommandInset label
2165 \begin_layout Standard
2166 Bindings are used to, well, bind a function to a key.
2167 Several prepackaged binding files are available: a CUA set of bindings
2168 (familiar as the typical set of PC and CDE set of keyboard shortcuts),
2169 an Emacs set of bindings, for those of us who follow the One True Way and
2170 refuse to lower our standards,
2174 \begin_layout PlainLayout
2175 I'm kidding here, of course!
2180 as well as specialty bindings (broadway and hollywood) and other languages
2181 (French, German, etc.).
2184 \begin_layout Standard
2185 If, however, you'd like to customise the keybindings to your own exacting
2186 tastes, then copy the best-fit file in
2187 \begin_inset Flex CharStyle:Code
2190 \begin_layout PlainLayout
2197 \begin_inset Flex CharStyle:Code
2200 \begin_layout PlainLayout
2207 Don't forget to load this new file into LyX using the
2208 \begin_inset Flex CharStyle:MenuItem
2211 \begin_layout PlainLayout
2218 (For the moment you'll have to restart LyX for these changes to take effect.)
2221 \begin_layout Standard
2222 LyX supports internationalization of the user interface (see Chapter
2223 \begin_inset Space ~
2227 \begin_inset CommandInset ref
2229 reference "chap:i18n"
2238 is set, with the environment variable
2239 \begin_inset Flex CharStyle:Code
2242 \begin_layout PlainLayout
2248 , LyX will try to use bindfiles by prepending
2249 \begin_inset Flex CharStyle:Code
2252 \begin_layout PlainLayout
2259 For example, you can put a translated copy of some standard bind file in
2261 \begin_inset Flex CharStyle:Code
2264 \begin_layout PlainLayout
2270 directory, and LyX will use it automatically.
2273 \begin_layout Standard
2275 \begin_inset Flex CharStyle:Code
2278 \begin_layout PlainLayout
2284 files is straightforward:
2287 \begin_layout Standard
2290 bind <key combination> <lyx-function>
2293 \begin_layout Standard
2294 Both key combination and lyx-function (including any arguments) must be
2295 enclosed in "double quotes".
2296 All the LyX functions are listed in the
2303 \begin_layout Section
2305 \begin_inset CommandInset label
2314 \begin_layout Standard
2315 The appearance of both the menu and toolbar may both be changed using the
2317 \begin_inset Flex CharStyle:MenuItem
2320 \begin_layout PlainLayout
2328 \begin_inset Flex CharStyle:Code
2331 \begin_layout PlainLayout
2338 \begin_inset Flex CharStyle:Code
2341 \begin_layout PlainLayout
2348 For the moment, only one file exists,
2349 \begin_inset Flex CharStyle:Code
2352 \begin_layout PlainLayout
2358 , but feel free to experiment.
2359 Just copy the file to the
2360 \begin_inset Flex CharStyle:Code
2363 \begin_layout PlainLayout
2369 directory and play! Note that, for the moment, you'll have to restart LyX
2370 for these changes to take effect.
2373 \begin_layout Standard
2375 \begin_inset Flex CharStyle:Code
2378 \begin_layout PlainLayout
2384 files is straightforward: have a look at default.ui.
2386 \begin_inset Flex CharStyle:Code
2389 \begin_layout PlainLayout
2396 \begin_inset Flex CharStyle:Code
2399 \begin_layout PlainLayout
2406 \begin_inset Flex CharStyle:Code
2409 \begin_layout PlainLayout
2415 entries must be ended with an explicit
2416 \begin_inset Flex CharStyle:Code
2419 \begin_layout PlainLayout
2427 \begin_inset Flex CharStyle:Code
2430 \begin_layout PlainLayout
2437 \begin_inset Flex CharStyle:Code
2440 \begin_layout PlainLayout
2447 \begin_inset Flex CharStyle:Code
2450 \begin_layout PlainLayout
2457 \begin_inset Flex CharStyle:Code
2460 \begin_layout PlainLayout
2467 \begin_inset Flex CharStyle:Code
2470 \begin_layout PlainLayout
2476 s and in the case of the
2477 \begin_inset Quotes eld
2481 \begin_inset Quotes erd
2485 \begin_inset Flex CharStyle:Code
2488 \begin_layout PlainLayout
2495 One small word of warning.
2497 \begin_inset Flex CharStyle:Code
2500 \begin_layout PlainLayout
2506 s may be inserted in a
2507 \begin_inset Flex CharStyle:Code
2510 \begin_layout PlainLayout
2517 \begin_inset Flex CharStyle:Code
2520 \begin_layout PlainLayout
2526 , but they are defined as
2527 \begin_inset Flex CharStyle:Code
2530 \begin_layout PlainLayout
2537 \begin_inset Flex CharStyle:Code
2540 \begin_layout PlainLayout
2549 \begin_layout Section
2550 \begin_inset CommandInset label
2552 name "sec:converters-etc"
2556 Converters, Formats, and Copiers
2559 \begin_layout Standard
2560 LyX has a powerful mechanism to convert to and from any file format using
2565 \begin_layout Subsection
2569 \begin_layout Standard
2570 The first step is to define your file formats if they are not already defined.
2572 \begin_inset Flex CharStyle:MenuItem
2575 \begin_layout PlainLayout
2576 Tools\SpecialChar \menuseparator
2577 Preferences:Converters
2583 Enter a new format name; a new GUI name (used in e.
2584 \begin_inset Space \thinspace{}
2588 \begin_inset Space ~
2592 \begin_inset Flex CharStyle:MenuItem
2595 \begin_layout PlainLayout
2602 \begin_inset Flex CharStyle:MenuItem
2605 \begin_layout PlainLayout
2611 menus); and a file extension.
2616 \begin_layout Standard
2618 \begin_inset Flex CharStyle:MenuItem
2621 \begin_layout PlainLayout
2627 option tells LyX that a format is suitable for document export.
2628 If this is is set and if a suitable conversion route exists, the format
2630 \begin_inset Flex CharStyle:MenuItem
2633 \begin_layout PlainLayout
2634 File\SpecialChar \menuseparator
2641 The format will also appear in the
2642 \begin_inset Flex CharStyle:MenuItem
2645 \begin_layout PlainLayout
2651 menu if it has a specified viewer.
2652 Pure image formats, e.
2653 \begin_inset Space \thinspace{}
2657 \begin_inset Space ~
2661 \begin_inset Flex CharStyle:Code
2664 \begin_layout PlainLayout
2670 , should not use this option.
2671 Formats that can both represent vector graphics and documents like e.
2672 \begin_inset Space \thinspace{}
2676 \begin_inset Space ~
2680 \begin_inset Flex CharStyle:Code
2683 \begin_layout PlainLayout
2692 \begin_layout Standard
2694 \begin_inset Flex CharStyle:MenuItem
2697 \begin_layout PlainLayout
2698 Vector graphics format
2703 tells LyX that a format can contain vector graphics.
2704 This information is used to determine the target format of included graphics
2706 \begin_inset Flex CharStyle:MenuItem
2709 \begin_layout PlainLayout
2716 Included graphics may need to be converted to either
2717 \begin_inset Flex CharStyle:MenuItem
2720 \begin_layout PlainLayout
2727 \begin_inset Flex CharStyle:MenuItem
2730 \begin_layout PlainLayout
2737 \begin_inset Flex CharStyle:MenuItem
2740 \begin_layout PlainLayout
2747 \begin_inset Flex CharStyle:MenuItem
2750 \begin_layout PlainLayout
2756 cannot handle other image formats.
2757 If an included graphic is not already in
2758 \begin_inset Flex CharStyle:MenuItem
2761 \begin_layout PlainLayout
2768 \begin_inset Flex CharStyle:MenuItem
2771 \begin_layout PlainLayout
2778 \begin_inset Flex CharStyle:MenuItem
2781 \begin_layout PlainLayout
2787 format, it is converted to
2788 \begin_inset Flex CharStyle:MenuItem
2791 \begin_layout PlainLayout
2797 if the vector format option is set, and otherwise to
2798 \begin_inset Flex CharStyle:MenuItem
2801 \begin_layout PlainLayout
2810 \begin_layout Standard
2811 A Format can have a Viewer and Editor program associated with it.
2812 For example, you might want to use
2813 \begin_inset Flex CharStyle:MenuItem
2816 \begin_layout PlainLayout
2822 to view PostScript files.
2823 You can enter the program call and its options to the corresponding fields.
2824 For the call you can use the four variable listed in the next section.
2825 The viewer is launched when you view an image in LyX or use the
2826 \begin_inset Flex CharStyle:MenuItem
2829 \begin_layout PlainLayout
2836 If the operating system has a default viewer associated to a format, this
2837 viewer is used instead of the one defined here when you enter in the Viewer
2839 \begin_inset Quotes eld
2843 \begin_inset Flex CharStyle:MenuItem
2846 \begin_layout PlainLayout
2853 \begin_inset Quotes erd
2857 The editor is for example launched when you press the
2858 \begin_inset Flex CharStyle:MenuItem
2861 \begin_layout PlainLayout
2868 \begin_inset Flex CharStyle:MenuItem
2871 \begin_layout PlainLayout
2878 \begin_inset Flex CharStyle:MenuItem
2881 \begin_layout PlainLayout
2890 \begin_layout Subsection
2894 \begin_layout Standard
2895 Each format can have a Copier associated with it.
2896 These are defined in the
2897 \begin_inset Flex CharStyle:MenuItem
2900 \begin_layout PlainLayout
2901 Tools\SpecialChar \menuseparator
2908 Since all conversions from one format to another take place in LyX's temporary
2909 directory, it is sometimes necessary to modify a file before copying it
2910 to the temporary directory in order that the conversion may be performed.
2914 \begin_layout PlainLayout
2915 For example, the file may refer to other files---images, for example---using
2916 relative filenames, and these may become invalid when the file is copied
2917 to the temporary directory.
2922 This is done by the Copier: It copies a file to (or from) the temporary
2923 directory and may modify it in the process.
2926 \begin_layout Standard
2927 Copiers may also be used for other purposes.
2928 For example, if appropriate converters are found, LyX will automatically
2929 install copiers for the
2930 \begin_inset Flex CharStyle:MenuItem
2933 \begin_layout PlainLayout
2940 \begin_inset Flex CharStyle:MenuItem
2943 \begin_layout PlainLayout
2945 \begin_inset Space ~
2954 When these formats are exported, the copier sees that not just the main
2955 HTML file but various associated files (style files, images, etc.) are also
2957 All these files are written to a subdirectory of the directory in which
2958 the original LyX file was found.
2962 \begin_layout PlainLayout
2963 This copier can be customized.
2965 \begin_inset Quotes eld
2969 \begin_inset Quotes erd
2972 argument takes a comma-separated list of extensions to be copied; if it
2973 is omitted, all files will be copied.
2975 \begin_inset Quotes eld
2979 \begin_inset Quotes erd
2982 argument determines the extension added to the generated directory.
2984 \begin_inset Quotes eld
2988 \begin_inset Flex CharStyle:MenuItem
2991 \begin_layout PlainLayout
2998 \begin_inset Quotes erd
3001 , so HTML generated from
3002 \begin_inset Flex CharStyle:MenuItem
3005 \begin_layout PlainLayout
3006 /path/to/filename.lyx
3012 \begin_inset Flex CharStyle:MenuItem
3015 \begin_layout PlainLayout
3016 /path/to/filename.html.LyXconv
3030 \begin_layout Standard
3031 The definitions of the copiers may use four variables:
3035 \labelwidthstring 00.00.0000
3036 $$s The LyX system directory (e.
3037 \begin_inset Space \thinspace{}
3041 \begin_inset Space ~
3045 \begin_inset Flex CharStyle:MenuItem
3048 \begin_layout PlainLayout
3058 \labelwidthstring 00.00.0000
3063 \labelwidthstring 00.00.0000
3068 \labelwidthstring 00.00.0000
3069 $$l The `LaTeX name'
3072 \begin_layout Standard
3073 The latter is to be given in a form suitable for inclusion in a LaTeX's
3080 command and is relevant only when exporting files suitable for such inclusion.
3083 \begin_layout Standard
3084 Copiers can be used to do almost anything with output files.
3085 For example, suppose you want generated pdf files to be copied to a special
3087 \begin_inset Flex CharStyle:Code
3090 \begin_layout PlainLayout
3097 Then you could write a shell script such as this one:
3100 \begin_layout Standard
3101 \begin_inset listings
3105 \begin_layout PlainLayout
3109 \begin_layout PlainLayout
3113 \begin_layout PlainLayout
3114 TOFILE=`basename $2`
3117 \begin_layout PlainLayout
3118 cp $FROMFILE /home/you/pdf/$TOFILE
3123 Save that in your local LyX directory---say,
3124 \begin_inset Flex CharStyle:Code
3127 \begin_layout PlainLayout
3128 /home/you/.lyx/scripts/pdfcopier.sh
3133 ---and make it executable, if you need to do so on your platform.
3135 \begin_inset Flex CharStyle:MenuItem
3138 \begin_layout PlainLayout
3139 Tools\SpecialChar \menuseparator
3146 \begin_inset Flex CharStyle:MenuItem
3149 \begin_layout PlainLayout
3155 format---or one of the other pdf formats---and enter
3156 \begin_inset Flex CharStyle:Code
3159 \begin_layout PlainLayout
3160 pdfcopier.sh $$i $$o
3166 \begin_inset Flex CharStyle:MenuItem
3169 \begin_layout PlainLayout
3179 \begin_layout Subsection
3183 \begin_layout Standard
3184 To define a new converter, select an existing one, select a different format
3186 \begin_inset Flex CharStyle:MenuItem
3189 \begin_layout PlainLayout
3191 \begin_inset Space ~
3200 \begin_inset Space \thinspace{}
3204 \begin_inset Space \thinspace{}
3208 \begin_inset Flex CharStyle:MenuItem
3211 \begin_layout PlainLayout
3213 \begin_inset Space ~
3221 drop-down list, modify the
3222 \begin_inset Flex CharStyle:MenuItem
3225 \begin_layout PlainLayout
3231 field, and press the
3232 \begin_inset Flex CharStyle:MenuItem
3235 \begin_layout PlainLayout
3244 \begin_layout Standard
3245 You do not have to define converters between all the formats between which
3246 you want to convert.
3247 For example, you will note that there is no `LyX to PostScript' converter,
3248 but LyX will export PostScript.
3249 It does so by first creating a LaTeX file (no converter needs to be defined
3250 for this) which is then converted to DVI using the `LaTeX to DVI' converter,
3251 and finally converts the resulting DVI file to PostScript.
3252 LyX finds such `chains' of converters automatically, and it will always
3253 choose the shortest possible chain.
3254 You can, though, still define multiple conversion methods between file
3256 For example, the standard LyX configuration provides three ways to convert
3257 LaTeX to PDF: Directly, using
3258 \begin_inset Flex CharStyle:MenuItem
3261 \begin_layout PlainLayout
3267 ; via (DVI and) PostScript, using
3268 \begin_inset Flex CharStyle:MenuItem
3271 \begin_layout PlainLayout
3278 \begin_inset Flex CharStyle:MenuItem
3281 \begin_layout PlainLayout
3288 To define such alternate chains, you must define multiple target `file
3289 formats', as described in the next section.
3290 For example in the standard configuration the formats named
3291 \begin_inset Flex CharStyle:MenuItem
3294 \begin_layout PlainLayout
3301 \begin_inset Flex CharStyle:MenuItem
3304 \begin_layout PlainLayout
3311 \begin_inset Flex CharStyle:MenuItem
3314 \begin_layout PlainLayout
3320 are defined, all of which share the extension
3321 \begin_inset Flex CharStyle:MenuItem
3324 \begin_layout PlainLayout
3333 \begin_layout Standard
3334 Several variables can be used in the definition of converters:
3338 \labelwidthstring 00.00.0000
3339 $$s The LyX system directory
3343 \labelwidthstring 00.00.0000
3348 \labelwidthstring 00.00.0000
3353 \labelwidthstring 00.00.0000
3354 $$b The base filename of the input file
3358 \labelwidthstring 00.00.0000
3359 $$p The path to the input file
3362 \begin_layout Standard
3364 \begin_inset Flex CharStyle:MenuItem
3367 \begin_layout PlainLayout
3369 \begin_inset Space ~
3377 field you can enter the following flags, separated by commas:
3381 \labelwidthstring 00.00.0000
3382 latex This converter runs some form of LaTeX.
3383 This will make LyX's LaTeX error logs available.
3387 \labelwidthstring 00.00.0000
3388 needaux Needs the LaTeX
3389 \begin_inset Flex CharStyle:MenuItem
3392 \begin_layout PlainLayout
3398 file for the conversion.
3402 \labelwidthstring 00.00.0000
3406 \begin_layout Standard
3407 The following three flags are not really flags at all because they take
3409 \begin_inset Flex CharStyle:MenuItem
3412 \begin_layout PlainLayout
3414 \begin_inset Space ~
3418 \begin_inset Space ~
3430 \labelwidthstring 00.00.0000
3431 parselog If set, the converter's standard error will be redirected to a
3433 \begin_inset Flex CharStyle:Code
3436 \begin_layout PlainLayout
3442 , and the script given as argument will be run as:
3443 \begin_inset Flex CharStyle:Code
3446 \begin_layout PlainLayout
3447 script <infile.out >infile.log
3453 The argument may contain $$s.
3457 \labelwidthstring 00.00.0000
3458 resultdir The name of the directory in which the
3462 will dump the generated files.
3463 LyX will not create this directory, and it does not copy anything into
3464 it, though it will copy this directory to the destination.
3465 The argument may contain $$b, which will be replaced by the basename of
3466 the input and output files, respectively, when the directory is copied.
3469 that resultdir and usetempdir make no sense together.
3470 The latter will be ignored if the former is given.
3474 \labelwidthstring 00.00.0000
3475 resultfile Determines the output filename and may, contain $$b.
3476 Sensible only with resultdir, and optional even then; if not given, it
3477 defaults to `index'.
3480 \begin_layout Standard
3481 None of these last three are presently used in any of the converters that
3482 are installed with LyX.
3484 \begin_inset CommandInset ref
3486 reference "sub:LyX-and-Literate"
3490 of the Extended Features guide for some examples of how you might use parselog.
3493 \begin_layout Section
3494 BibTeX and makeindex
3497 \begin_layout Standard
3498 Both the bibliography generating command (default
3499 \begin_inset Flex CharStyle:Code
3502 \begin_layout PlainLayout
3508 ) and the index generating command (default
3509 \begin_inset Flex CharStyle:Code
3512 \begin_layout PlainLayout
3519 \begin_inset Flex CharStyle:Code
3522 \begin_layout PlainLayout
3529 \begin_inset Flex CharStyle:Code
3532 \begin_layout PlainLayout
3539 As an alternative for
3540 \begin_inset Flex CharStyle:Code
3543 \begin_layout PlainLayout
3550 \begin_inset Flex CharStyle:Code
3553 \begin_layout PlainLayout
3563 \begin_layout Standard
3564 The command to enter is
3568 \begin_inset Flex CharStyle:Code
3571 \begin_layout PlainLayout
3572 makeindex.sh -m $$lang
3580 \begin_layout Standard
3581 where the placeholder
3582 \begin_inset Flex CharStyle:Code
3585 \begin_layout PlainLayout
3595 will be replaced by the chosen document (babel) language.
3599 \begin_layout Standard
3600 have installed the packages
3601 \begin_inset Flex CharStyle:Code
3604 \begin_layout PlainLayout
3611 \begin_inset Flex CharStyle:Code
3614 \begin_layout PlainLayout
3621 \begin_inset Flex CharStyle:Code
3624 \begin_layout PlainLayout
3632 \begin_inset Flex CharStyle:Code
3635 \begin_layout PlainLayout
3641 at a shell prompt for a help page.
3644 \begin_layout Section
3645 Plain text export options
3648 \begin_layout Standard
3649 \begin_inset VSpace bigskip
3655 \begin_layout Standard
3657 There are a couple of commands that can be used to
3658 \begin_inset Quotes eld
3662 \begin_inset Quotes erd
3665 exported plain text files.
3666 Note that LyX automatically detects and uses the best settings for your
3667 system at installation time, but you can modify them if you disagree with
3671 \begin_layout Description
3672 \begin_inset Flex CharStyle:Code
3675 \begin_layout PlainLayout
3677 \begin_inset Space ~
3685 This option defines the command used to produce better plain text tables
3687 \begin_inset Flex CharStyle:Code
3690 \begin_layout PlainLayout
3696 UNIX-commands (refer to their manpages for more information about them).
3697 Setting this as empty tells LyX to use the internal (inferior) formatter.
3700 \begin_layout Description
3701 \begin_inset Flex CharStyle:Code
3704 \begin_layout PlainLayout
3706 \begin_inset Space ~
3710 \begin_inset Space ~
3718 With this command you can set the default line length of the plain text
3720 Setting it to 0 means endless lines.
3723 \begin_layout Section
3727 \begin_layout Standard
3728 There are a bunch of configuration options that are used for interaction
3729 with the external print command from LyX.
3730 Normally the defaults are fine: if, however, your print command takes different
3731 option names, you can modify them here.
3734 \begin_layout Subsection
3738 \begin_layout Standard
3739 You can change the colors used by LyX on-screen using the new
3740 \begin_inset Flex CharStyle:MenuItem
3743 \begin_layout PlainLayout
3750 Alternatively, if you're feeling particularly perverse you could use the
3752 \begin_inset Flex CharStyle:Code
3755 \begin_layout PlainLayout
3761 bindable function (see the
3766 Input would have the format:
3769 \begin_layout Standard
3770 set-color LyXName X11Color
3773 \begin_layout Standard
3774 Here is a (partial) list of the functions and default colors:
3777 \begin_layout Standard
3779 \begin_inset Tabular
3780 <lyxtabular version="3" rows="10" columns="3">
3782 <column alignment="left" valignment="top" width="0pt">
3783 <column alignment="left" valignment="top" width="0pt">
3784 <column alignment="center" valignment="top" width="0pt">
3786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3789 \begin_layout PlainLayout
3804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3807 \begin_layout PlainLayout
3822 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3825 \begin_layout PlainLayout
3842 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3845 \begin_layout PlainLayout
3860 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3863 \begin_layout PlainLayout
3878 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3881 \begin_layout PlainLayout
3898 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3901 \begin_layout PlainLayout
3916 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3919 \begin_layout PlainLayout
3934 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3937 \begin_layout PlainLayout
3954 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3957 \begin_layout PlainLayout
3972 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3975 \begin_layout PlainLayout
3990 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3993 \begin_layout PlainLayout
4010 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4013 \begin_layout PlainLayout
4028 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4031 \begin_layout PlainLayout
4046 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4049 \begin_layout PlainLayout
4066 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4069 \begin_layout PlainLayout
4084 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4087 \begin_layout PlainLayout
4097 fraction Lines, brackets, etc.
4102 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4105 \begin_layout PlainLayout
4122 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4125 \begin_layout PlainLayout
4140 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4143 \begin_layout PlainLayout
4149 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4152 \begin_layout PlainLayout
4169 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4172 \begin_layout PlainLayout
4187 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4190 \begin_layout PlainLayout
4196 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4199 \begin_layout PlainLayout
4216 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4219 \begin_layout PlainLayout
4234 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
4237 \begin_layout PlainLayout
4243 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4246 \begin_layout PlainLayout
4263 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
4266 \begin_layout PlainLayout
4281 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
4284 \begin_layout PlainLayout
4294 selection background
4299 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
4302 \begin_layout PlainLayout
4325 \begin_layout Section
4326 The autodetected settings
4329 \begin_layout Standard
4330 \begin_inset CommandInset label
4332 name "sec:autodetected-1"
4336 There are several items that are detected for you when you run
4337 \begin_inset Flex CharStyle:MenuItem
4340 \begin_layout PlainLayout
4347 \SpecialChar \menuseparator
4356 In this section, we list those which pertain to the user preferences.
4359 \begin_layout Description
4360 \begin_inset Flex CharStyle:Code
4363 \begin_layout PlainLayout
4366 plaintext_roff_command
4372 \begin_inset Flex CharStyle:Code
4375 \begin_layout PlainLayout
4382 \begin_inset Flex CharStyle:Code
4385 \begin_layout PlainLayout
4392 \begin_inset Flex CharStyle:Code
4395 \begin_layout PlainLayout
4401 , depending on what is available.
4404 \begin_layout Description
4405 \begin_inset Flex CharStyle:Code
4408 \begin_layout PlainLayout
4417 \begin_inset Flex CharStyle:Code
4420 \begin_layout PlainLayout
4426 plus a bunch of options.
4429 \begin_layout Description
4430 \begin_inset Flex CharStyle:Code
4433 \begin_layout PlainLayout
4442 \begin_inset Flex CharStyle:Code
4445 \begin_layout PlainLayout
4451 on systems (so-called System V) who have this command, and
4452 \begin_inset Flex CharStyle:Code
4455 \begin_layout PlainLayout
4461 otherwise (BSD systems).
4464 \begin_layout Description
4465 \begin_inset Flex CharStyle:Code
4468 \begin_layout PlainLayout
4471 print_spool_printerprefix
4477 \begin_inset Flex CharStyle:Code
4480 \begin_layout PlainLayout
4487 \begin_inset Flex CharStyle:Code
4490 \begin_layout PlainLayout
4496 , depending on whether
4497 \begin_inset Flex CharStyle:Code
4500 \begin_layout PlainLayout
4507 \begin_inset Flex CharStyle:Code
4510 \begin_layout PlainLayout
4519 \begin_layout Description
4520 \begin_inset Flex CharStyle:Code
4523 \begin_layout PlainLayout
4532 \begin_inset Flex CharStyle:Code
4535 \begin_layout PlainLayout
4542 \begin_inset Flex CharStyle:Code
4545 \begin_layout PlainLayout
4551 fonts are found and LaTeX has support for these fonts built-in.
4552 You can set it manually if you only have the so-called
4553 \begin_inset Flex CharStyle:Code
4556 \begin_layout PlainLayout
4565 \begin_layout Section
4569 \begin_layout Standard
4570 There are many other configuration options that can be used to customize
4572 We still need to document them here, but again, most should be fairly obvious.
4573 Please ask on the mailing lists if you need some more information; it may
4574 even prompt us to expand this section.
4577 \begin_layout Chapter
4578 Internationalizing LyX
4579 \begin_inset CommandInset label
4588 \begin_layout Standard
4589 LyX supports using a translated interface.
4590 Last time we checked, LyX provided text in 14 languages together with the
4591 default English text.
4592 The language of choice is called your
4597 (For further reading on locale settings, see also the documentation for
4598 locale that comes with your operating system.
4599 For Linux, the manual page for locale(5) could be a good place to start).
4602 \begin_layout Standard
4603 Notice that these translations will work, but do contain a few flaws.
4604 In particular, all dialogs have been designed with the English text in
4605 mind, which means that some of the translated text will be too large to
4606 fit within the space allocated.
4607 This is only a display problem and will not cause any harm.
4608 Also, you will find that some of the translations do not define short-cut
4609 keys for everything.
4610 Sometimes, there are simply not enough free letters to do it.
4611 Other times, the translator just hasn't got around to doing it yet.
4612 Our localization team -- which you may wish to join -- will try to fix
4613 these shortcomings in future versions of LyX.
4616 \begin_layout Section
4617 Selecting an alternative language for the user interface
4620 \begin_layout Standard
4621 This feature is disabled by default, meaning that system default language
4623 To enable an alternative language, you have to set an appropriate environment
4626 \begin_inset Flex CharStyle:Code
4629 \begin_layout PlainLayout
4637 for csh class shells
4640 \begin_inset Flex CharStyle:Code
4643 \begin_layout PlainLayout
4655 \begin_inset Flex CharStyle:Code
4658 \begin_layout PlainLayout
4664 with the two letter code (or four letter code, like
4665 \begin_inset Flex CharStyle:Code
4668 \begin_layout PlainLayout
4674 for British English) for the language you want.
4676 \begin_inset Flex CharStyle:Code
4679 \begin_layout PlainLayout
4686 Besides the user interface texts being translated, also the appropriate
4687 manuals will be presented under the Help menu -- if available.
4690 \begin_layout Standard
4691 On some systems, you may have to redefine
4692 \begin_inset Flex CharStyle:Code
4695 \begin_layout PlainLayout
4702 \begin_inset Flex CharStyle:Code
4705 \begin_layout PlainLayout
4712 \begin_inset Flex CharStyle:Code
4715 \begin_layout PlainLayout
4721 , to override the system settings; their preference is in this order
4725 \begin_layout PlainLayout
4726 The shell variable LANGUAGE has been disabled in LyX for technical reasons.
4732 , which corresponds to the way GNU
4733 \begin_inset Flex CharStyle:Code
4736 \begin_layout PlainLayout
4743 Consult your system documentation.
4744 Normally, you'll want to put the appropriate line in a shell script run
4745 on start-up, so that the translation is on by default.
4746 Remember that this affects
4750 localized packages, not only LyX!
4753 \begin_layout Standard
4754 If LyX is configured and compiled with
4755 \begin_inset Quotes eld
4759 \begin_inset Flex CharStyle:Code
4762 \begin_layout PlainLayout
4769 \begin_inset Quotes erd
4772 , this mechanism will not work.
4775 \begin_layout Section
4779 \begin_layout Subsection
4780 Translating the graphical user interface (text messages).
4783 \begin_layout Standard
4785 \begin_inset Flex CharStyle:Code
4788 \begin_layout PlainLayout
4794 library to handle the internationalization of the interface.
4795 To have LyX speak your favorite language in all menus and dialogs, you
4797 \begin_inset Flex CharStyle:Code
4800 \begin_layout PlainLayout
4806 -file for that language.
4807 When this is available, you'll have to generate a mo-file from it and install
4809 \begin_inset Flex CharStyle:Code
4812 \begin_layout PlainLayout
4819 The process of doing all of this is explained in the documentation for
4821 \begin_inset Flex CharStyle:Code
4824 \begin_layout PlainLayout
4831 You should also read the
4832 \begin_inset Flex CharStyle:Code
4835 \begin_layout PlainLayout
4836 LYX-SOURCE-DIR/README.localisation
4841 file, but in short, this is what you do (
4845 denotes the language code):
4848 \begin_layout Standard
4852 \begin_layout PlainLayout
4864 \begin_layout Itemize
4866 \begin_inset Flex CharStyle:Code
4869 \begin_layout PlainLayout
4870 LYX-SOURCE-DIR/po/lyx.pot
4878 \begin_inset Flex CharStyle:Code
4881 \begin_layout PlainLayout
4888 \begin_inset Flex CharStyle:Code
4891 \begin_layout PlainLayout
4897 doesn't exist, it can be remade with
4898 \begin_inset Flex CharStyle:Code
4901 \begin_layout PlainLayout
4907 in that directory, or you can use an existing po-file for some other language
4911 \begin_layout Itemize
4913 \begin_inset Flex CharStyle:Code
4916 \begin_layout PlainLayout
4921 \begin_layout PlainLayout
4922 We recommend that you use Emacs to do this, since the
4923 \begin_inset Flex CharStyle:Code
4926 \begin_layout PlainLayout
4937 distribution includes a nice mode that supports you in doing this.
4943 For some menu- and widget-labels, there are also shortcut keys that should
4945 Those keys are marked after a `|', and should be translated according to
4946 the words and phrases of the
4951 You should also fill also out the information at the beginning of the new
4953 \begin_inset Flex CharStyle:Code
4956 \begin_layout PlainLayout
4962 -file with your email-address, etc., so people know where to reach you with
4963 suggestions and entertaining flames.
4966 \begin_layout Itemize
4972 \begin_inset Flex CharStyle:Code
4975 \begin_layout PlainLayout
4982 This can be done with
4983 \begin_inset Flex CharStyle:Code
4986 \begin_layout PlainLayout
4997 \begin_inset Flex CharStyle:Code
5000 \begin_layout PlainLayout
5013 \begin_layout Itemize
5015 \begin_inset Flex CharStyle:Code
5018 \begin_layout PlainLayout
5028 file to your locale-tree, at the correct directory for application messages
5033 , and under the name
5034 \begin_inset Flex CharStyle:Code
5037 \begin_layout PlainLayout
5045 \begin_inset Flex CharStyle:Code
5048 \begin_layout PlainLayout
5049 /usr/local/share/locale/
5057 \begin_inset Flex CharStyle:Code
5060 \begin_layout PlainLayout
5069 \begin_layout Standard
5073 \begin_layout PlainLayout
5085 \begin_layout Standard
5086 Adding a new po-file to the
5090 of LyX involves altering the configure scripts and more, but the way
5091 \begin_inset Flex CharStyle:Code
5094 \begin_layout PlainLayout
5100 works, you don't actually need the source-code of LyX to translate it---having
5102 \begin_inset Flex CharStyle:Code
5105 \begin_layout PlainLayout
5112 \begin_inset Flex CharStyle:Code
5115 \begin_layout PlainLayout
5122 \begin_inset Flex CharStyle:Code
5125 \begin_layout PlainLayout
5134 \begin_layout Standard
5135 If you've written a translation file for a language that LyX does not currently
5136 support, feel free to submit it for inclusion by sending a patch.
5140 \begin_layout Subsubsection
5144 \begin_layout Standard
5145 Sometimes it turns out that one english message needs to be translated into
5146 different messages in the target language.
5147 One example is the message
5148 \begin_inset Flex CharStyle:Code
5151 \begin_layout PlainLayout
5157 which has the german translation
5162 \begin_inset Flex CharStyle:Code
5165 \begin_layout PlainLayout
5175 \begin_inset Flex CharStyle:Code
5178 \begin_layout PlainLayout
5184 does not handle such ambigous translations.
5185 Therefore you have to add some context information to the message: Instead
5187 \begin_inset Flex CharStyle:Code
5190 \begin_layout PlainLayout
5197 \begin_inset Flex CharStyle:Code
5200 \begin_layout PlainLayout
5201 To[[as in 'From format x to format y']]
5207 \begin_inset Flex CharStyle:Code
5210 \begin_layout PlainLayout
5211 To[[as in 'From page x to page y']].
5216 Now the two occurences of
5217 \begin_inset Flex CharStyle:Code
5220 \begin_layout PlainLayout
5227 \begin_inset Flex CharStyle:Code
5230 \begin_layout PlainLayout
5236 and can be translated correctly to
5237 \begin_inset Flex CharStyle:Code
5240 \begin_layout PlainLayout
5249 \begin_inset Flex CharStyle:Code
5252 \begin_layout PlainLayout
5263 \begin_layout Standard
5264 Of course the context information needs to be stripped off the original
5265 message when no translation is used.
5266 Therefore you have to put it in double square brackets at the end of the
5267 message (see the example above).
5268 The translation mechanism of LyX ensures that everything in double square
5269 brackets at the end of messages is removed before displaying the message.
5272 \begin_layout Subsection
5273 Translating the documentation.
5276 \begin_layout Standard
5277 The online documentation (in the
5278 \begin_inset Flex CharStyle:MenuItem
5281 \begin_layout PlainLayout
5291 -menu) can (and should!) be translated.
5292 If there are translated versions of the documentation available
5296 \begin_layout PlainLayout
5297 As of February 2003, almost all of the docs have been translated into German
5303 has been translated into at least 12 other languages, with other translations
5305 The library of translated documents is growing rapidly.
5310 , and the locale is set accordingly, these will be used automagically by
5312 LyX looks for translated versions as
5313 \begin_inset Flex CharStyle:Code
5316 \begin_layout PlainLayout
5327 \begin_inset Flex CharStyle:Code
5330 \begin_layout PlainLayout
5338 denotes the language as set by the environmental variable
5339 \begin_inset Flex CharStyle:Code
5342 \begin_layout PlainLayout
5349 If there are none, the default English versions will be displayed.
5350 Note that the translated versions must have the same filenames (
5351 \begin_inset Flex CharStyle:Code
5354 \begin_layout PlainLayout
5360 above) as the original.
5361 If you feel up to translating the documentation (an excellent way to proof-read
5362 the original documentation BTW!), there are a few things you should do
5366 \begin_layout Itemize
5368 \begin_inset Flex CharStyle:Code
5371 \begin_layout PlainLayout
5377 , the guide to writing LyX documentation.
5378 Pay special attention to the translator's section.
5381 \begin_layout Itemize
5382 Check out the documentation translation web page at
5383 \begin_inset Flex URL
5386 \begin_layout PlainLayout
5388 http://www.devel.lyx.org
5394 That way, you can find out which (if any) documents have already been translate
5395 d into your language.
5396 You can also find out who (if anyone) is organizing the effort to translate
5397 the documentation into your language.
5398 If no one is organizing the effort, please let us know that you're interested.
5401 \begin_layout Standard
5402 Once you get to actually translating, here's a few hints for you that may
5406 \begin_layout Itemize
5407 Join the documentation team! There is information on how to do that in
5408 \begin_inset Flex CharStyle:Code
5411 \begin_layout PlainLayout
5418 \begin_inset Flex CharStyle:MenuItem
5421 \begin_layout PlainLayout
5426 elp\SpecialChar \menuseparator
5436 ), which by the way is the first document you should translate.
5439 \begin_layout Itemize
5440 Learn the typographic conventions for the language you are translating to.
5441 Typography is an ancient art and over the centuries, a great variety of
5442 conventions have developed throughout different parts of the world.
5443 Also study the professional terminology amongst typographers in your country.
5444 Inventing your own terminology will only confuse the users.
5447 (Warning! Typography is addictive!)
5450 \begin_layout Itemize
5451 Make a copy of the document.
5452 This will be your working copy.
5453 You can use this as your personal translated help-file by placing it in
5455 \begin_inset Flex CharStyle:Code
5458 \begin_layout PlainLayout
5467 \begin_layout Itemize
5468 Sometimes the original document (from the LyX-team) will be updated.
5469 Use the ViewCVS tool available at
5470 \begin_inset Flex URL
5473 \begin_layout PlainLayout
5475 http://www.lyx.org/viewcvs.cgi/lyxdoc/
5480 to see what has been changed
5484 \begin_layout PlainLayout
5485 Alternatively, you can keep a copy of the latest version of the English
5486 document which you've translated.
5492 That way you can easily see which parts of the translated document need
5496 \begin_layout Itemize
5497 If you ever find an error in the original document, fix it and notify the
5498 rest of the documentation team of the changes! (You didn't forget to join
5499 the documentation team did you?)
5502 \begin_layout Section
5503 International Keyboard Support
5506 \begin_layout Standard
5509 [Editor's Note: The following section is by
5517 It needs to be fixed to conform to the new Documentation Style sheet and
5518 to make use of the new v1.0 features.
5519 The whole thing also needs to be merged with the section following it.-jw]
5522 \begin_layout Subsection
5523 Defining Own Keymaps: Keymap File Format
5526 \begin_layout Standard
5527 Let's look at a keyboard definition file a little closer.
5528 It is a plain text file defining
5531 \begin_layout Itemize
5532 key-to-key or key-to-string translations
5535 \begin_layout Itemize
5539 \begin_layout Itemize
5540 dead keys exceptions
5543 \begin_layout Standard
5544 To define key-to-key or key-to-string translation, use this command:
5547 \begin_layout Quotation
5548 \begin_inset Flex CharStyle:Code
5551 \begin_layout PlainLayout
5560 \begin_inset Flex CharStyle:Code
5563 \begin_layout PlainLayout
5572 \begin_layout Standard
5574 \begin_inset Flex CharStyle:Code
5577 \begin_layout PlainLayout
5583 is the key to be translated and
5584 \begin_inset Flex CharStyle:Code
5587 \begin_layout PlainLayout
5593 is the string to be inserted into the document.
5594 To define dead keys, use:
5597 \begin_layout Quotation
5598 \begin_inset Flex CharStyle:Code
5601 \begin_layout PlainLayout
5610 \begin_inset Flex CharStyle:Code
5613 \begin_layout PlainLayout
5622 \begin_layout PlainLayout
5624 \begin_inset Flex CharStyle:Code
5627 \begin_layout PlainLayout
5633 is a keyboard key and
5634 \begin_inset Flex CharStyle:Code
5637 \begin_layout PlainLayout
5644 The following dead keys are supported (shortcut name is in parentheses):
5647 \begin_layout Quotation
5651 \begin_inset Space \hfill{}
5657 \begin_layout Quotation
5659 \begin_inset Space \hfill{}
5665 \begin_layout Quotation
5667 \begin_inset Space \hfill{}
5673 \begin_layout Quotation
5675 \begin_inset Space \hfill{}
5681 \begin_layout Quotation
5683 \begin_inset Space \hfill{}
5689 \begin_layout Quotation
5691 \begin_inset Space \hfill{}
5698 \begin_layout PlainLayout
5710 \begin_layout Quotation
5712 \begin_inset Space \hfill{}
5718 \begin_layout Quotation
5720 \begin_inset Space \hfill{}
5727 \begin_layout PlainLayout
5739 \begin_layout Quotation
5741 \begin_inset Space \hfill{}
5747 \begin_layout Quotation
5749 \begin_inset Space \hfill{}
5755 \begin_layout Quotation
5757 \begin_inset Space \hfill{}
5764 \begin_layout PlainLayout
5776 \begin_layout Quotation
5778 \begin_inset Space \hfill{}
5785 \begin_layout PlainLayout
5797 \begin_layout Quotation
5799 \begin_inset Space \hfill{}
5805 \begin_layout Quotation
5806 hungarian umlaut (hug)
5807 \begin_inset Space \hfill{}
5813 \begin_layout Quotation
5815 \begin_inset Space \hfill{}
5821 \begin_layout Quotation
5823 \begin_inset Space \hfill{}
5830 \begin_layout PlainLayout
5842 \begin_layout Standard
5843 Since in many international keyboards there are exceptions to what some
5844 dead keys should do, you can define them using
5847 \begin_layout Quotation
5848 \begin_inset Flex CharStyle:Code
5851 \begin_layout PlainLayout
5859 deadkey key outstring
5862 \begin_layout PlainLayout
5863 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
5867 \begin_layout Quotation
5868 \begin_inset Flex CharStyle:Code
5871 \begin_layout PlainLayout
5884 \begin_layout PlainLayout
5885 to make it work correctly.
5886 Also, you have to define as exceptions dead keys over i and j, to remove
5887 the dot from them before inserting an accent mark.
5888 I will change this when the time comes, but so far I haven't had time.
5891 \begin_layout PlainLayout
5892 Oh, and about characters: backslash is escaped, so to enter it, you'll need
5895 \begin_inset Flex CharStyle:Code
5898 \begin_layout PlainLayout
5904 have different meaning.
5906 \begin_inset Flex CharStyle:Code
5909 \begin_layout PlainLayout
5915 marks comments, quotes start and end LaTeX-style commands.
5916 To enter quote, you'll need to use
5917 \begin_inset Flex CharStyle:Code
5920 \begin_layout PlainLayout
5929 \begin_inset Flex CharStyle:Code
5932 \begin_layout PlainLayout
5939 \begin_inset Flex CharStyle:Code
5942 \begin_layout PlainLayout
5953 \begin_layout Standard
5954 If you make a keyboard description file that works for your language, please
5955 mail it to me, so I can include it in the next keymap distribution.
5958 \begin_layout Standard
5959 More keywords will be supported in keymap configuration file in future,
5963 \begin_layout Itemize
5964 \begin_inset Flex CharStyle:Code
5967 \begin_layout PlainLayout
5978 \begin_inset Space \hfill{}
5982 \begin_inset Flex CharStyle:Code
5985 \begin_layout PlainLayout
5994 \begin_layout Itemize
5995 \begin_inset Flex CharStyle:Code
5998 \begin_layout PlainLayout
6009 \begin_inset Space \hfill{}
6013 \begin_inset Flex CharStyle:Code
6016 \begin_layout PlainLayout
6022 an external keymap translation program
6025 \begin_layout Standard
6026 Also, it should look into
6027 \begin_inset Flex CharStyle:Code
6030 \begin_layout PlainLayout
6036 file for defaults, too (for example, a
6037 \begin_inset Flex CharStyle:Code
6040 \begin_layout PlainLayout
6048 option to include default keyboard).
6051 \begin_layout Section
6052 International Keymap Stuff
6053 \begin_inset CommandInset label
6062 \begin_layout Standard
6063 The next two sections describe the
6064 \begin_inset Flex CharStyle:Code
6067 \begin_layout PlainLayout
6076 \begin_inset Flex CharStyle:Code
6079 \begin_layout PlainLayout
6087 file syntax in detail.
6088 These sections should help you design your own key map if the ones provided
6089 do not meet your needs.
6092 \begin_layout Subsection
6096 \begin_layout Standard
6098 \begin_inset Flex CharStyle:MenuItem
6101 \begin_layout PlainLayout
6105 \begin_inset Flex CharStyle:Code
6108 \begin_layout PlainLayout
6114 file maps keystrokes to characters or strings.
6115 As the name suggests it sets a keyboard mapping.
6117 \begin_inset Flex CharStyle:Code
6120 \begin_layout PlainLayout
6132 \begin_inset Flex CharStyle:Code
6135 \begin_layout PlainLayout
6152 \begin_inset Flex CharStyle:Code
6155 \begin_layout PlainLayout
6163 are described in this section.
6167 \labelwidthstring 00.00.0000
6168 \begin_inset Flex CharStyle:Code
6171 \begin_layout PlainLayout
6179 Map a character to a string
6182 \begin_layout LyX-Code
6197 \begin_layout Standard
6230 the double-quote (")
6247 must be escaped with a preceding backslash (
6258 \begin_layout Standard
6260 \begin_inset Flex CharStyle:MenuItem
6263 \begin_layout PlainLayout
6271 statement to cause the symbol
6272 \begin_inset Flex CharStyle:MenuItem
6275 \begin_layout PlainLayout
6283 to be output for the keystroke
6284 \begin_inset Flex CharStyle:MenuItem
6287 \begin_layout PlainLayout
6298 \begin_layout LyX-Code
6305 \labelwidthstring 00.00.0000
6306 \begin_inset Flex CharStyle:Code
6309 \begin_layout PlainLayout
6317 Specify an accent character
6320 \begin_layout LyX-Code
6329 \begin_layout Standard
6330 This will make the cha
6368 This is the dead key
6372 \begin_layout PlainLayout
6379 refers to a key that does not produce a character by itself, but when followed
6380 with another key, produces the desired accent character.
6381 For example, a German characte
6383 r with an umlaut like
6393 can be produced in this manner.
6402 \begin_layout Standard
6415 and then another key not in
6432 followed by the other, unallowed key, as output.
6436 \begin_inset Flex CharStyle:MenuItem
6439 \begin_layout PlainLayout
6447 cancels a dead key, so if
6458 \begin_inset Flex CharStyle:MenuItem
6461 \begin_layout PlainLayout
6470 , the cursor will not go one position backwards but will instead cancel
6486 might have had on the next keystroke.
6490 \begin_layout Standard
6491 The following example specifies that the character ' is to be an acute accent,
6492 allowed on the characters a, e, i, o, u, A, E, I, O, and U:
6495 \begin_layout LyX-Code
6498 kmod ' acute aeiouAEIOU
6502 \labelwidthstring 00.00.0000
6503 \begin_inset Flex CharStyle:Code
6506 \begin_layout PlainLayout
6512 Specify an exception to the accent character
6515 \begin_layout LyX-Code
6524 \begin_layout Standard
6525 This defines an exce
6566 have been assigned a keystroke with a previous
6569 \begin_inset Flex CharStyle:Code
6572 \begin_layout PlainLayout
6596 must not belong in the
6648 If such a declaration does not exist in
6656 \begin_inset Flex CharStyle:Code
6659 \begin_layout PlainLayout
6699 \begin_inset Flex CharStyle:Code
6702 \begin_layout PlainLayout
6716 \begin_layout Standard
6717 The following command produces causes äi to be produced when you enter acute-i
6721 \begin_layout LyX-Code
6736 \labelwidthstring 00.00.0000
6737 \begin_inset Flex CharStyle:Code
6740 \begin_layout PlainLayout
6746 Combine two accent characters
6749 \begin_layout LyX-Code
6755 accent1 accent2 allowed
6758 \begin_layout Standard
6759 This one is getting pretty esoteric.
6760 It allows you to combine the effect
6816 \begin_inset Flex CharStyle:Code
6819 \begin_layout PlainLayout
6847 \begin_layout Standard
6848 Consider this example from the
6849 \begin_inset Flex CharStyle:Code
6852 \begin_layout PlainLayout
6863 \begin_layout LyX-Code
6866 kmod ; acute aeioyvhAEIOYVH
6870 kcomb acute umlaut iyIY
6873 \begin_layout Standard
6874 This allows you to press
6875 \begin_inset Flex CharStyle:MenuItem
6878 \begin_layout PlainLayout
6886 and get the effect of
6887 \begin_inset Flex CharStyle:Code
6890 \begin_layout PlainLayout
6909 in this case cancels the last dead key, so if you press
6910 \begin_inset Flex CharStyle:MenuItem
6913 \begin_layout PlainLayout
6922 \begin_inset Flex CharStyle:Code
6925 \begin_layout PlainLayout
6938 \begin_layout Subsection
6942 \begin_layout Standard
6944 \begin_inset Flex CharStyle:Code
6947 \begin_layout PlainLayout
6955 mapping is performed, a
6956 \begin_inset Flex CharStyle:Code
6959 \begin_layout PlainLayout
6969 file maps the strings that the symbols generate to characters in the current
6971 The LyX distribution currently includes at least the
6972 \begin_inset Flex CharStyle:Code
6975 \begin_layout PlainLayout
6984 \begin_inset Flex CharStyle:Code
6987 \begin_layout PlainLayout
6998 \begin_layout Standard
7000 \begin_inset Flex CharStyle:Code
7003 \begin_layout PlainLayout
7011 file is a sequence of declarations of the form
7014 \begin_layout LyX-Code
7027 \begin_layout Standard
7028 For example, in order to map
7029 \begin_inset Flex CharStyle:MenuItem
7032 \begin_layout PlainLayout
7042 to the corresponding character in the iso-8859-1 set (233), the following
7046 \begin_layout LyX-Code
7054 \begin_layout Standard
7056 \begin_inset Flex CharStyle:Code
7059 \begin_layout PlainLayout
7068 \begin_inset Flex CharStyle:Code
7071 \begin_layout PlainLayout
7089 the same character can apply to more than one string.
7091 \begin_inset Flex CharStyle:Code
7094 \begin_layout PlainLayout
7105 \begin_layout LyX-Code
7131 \begin_layout Standard
7132 If LyX cannot find a mapping for the string produced by the keystroke or
7133 a deadkey sequence, it will check if it looks like an accented char and
7134 try to draw an accent over the character on screen.
7137 \begin_layout Subsection
7141 \begin_layout Standard
7142 There is a second way to add support for international characters through
7143 so-called dead-keys.
7144 A dead-key works in combination with a letter to produce an accented character.
7145 Here, we'll explain how to create a really simple dead-key to illustrate
7149 \begin_layout Standard
7150 Suppose you happen to need the circumflex character,
7151 \begin_inset Quotes eld
7155 \begin_inset Quotes erd
7160 \begin_inset Flex CharStyle:MenuItem
7163 \begin_layout PlainLayout
7170 \begin_inset Space ~
7174 \begin_inset Flex CharStyle:MenuItem
7177 \begin_layout PlainLayout
7183 ] to the LyX command
7184 \begin_inset Flex CharStyle:Code
7187 \begin_layout PlainLayout
7194 \begin_inset Flex CharStyle:Code
7197 \begin_layout PlainLayout
7204 Now, whenever you type the
7205 \begin_inset Flex CharStyle:MenuItem
7208 \begin_layout PlainLayout
7214 -key followed by a letter, that letter will have a circumflex accent on
7216 For example, the sequence
7217 \begin_inset Quotes eld
7221 \begin_inset Flex CharStyle:MenuItem
7224 \begin_layout PlainLayout
7231 \begin_inset Quotes erd
7234 produces the letter:
7235 \begin_inset Quotes eld
7239 \begin_inset Quotes erd
7243 If you tried to type
7244 \begin_inset Quotes eld
7248 \begin_inset Flex CharStyle:MenuItem
7251 \begin_layout PlainLayout
7258 \begin_inset Quotes erd
7261 , however, LyX will complain with a beep, since a
7262 \begin_inset Quotes eld
7266 \begin_inset Flex CharStyle:MenuItem
7269 \begin_layout PlainLayout
7276 \begin_inset Quotes erd
7279 never takes a circumflex accent.
7281 \begin_inset Flex CharStyle:MenuItem
7284 \begin_layout PlainLayout
7290 after a dead-key produces the bare-accent.
7291 Please note this last point! If you bind a key to a dead-key, you'll need
7292 to rebind the character on that key to yet another key.
7294 \begin_inset Flex CharStyle:MenuItem
7297 \begin_layout PlainLayout
7303 to a cedilla is a bad idea, since you'll only get cedillas instead of commas.
7306 \begin_layout Standard
7307 One common way to bind dead-keys is to use
7308 \begin_inset Flex CharStyle:MenuItem
7311 \begin_layout PlainLayout
7318 \begin_inset Flex CharStyle:MenuItem
7321 \begin_layout PlainLayout
7328 \begin_inset Flex CharStyle:MenuItem
7331 \begin_layout PlainLayout
7337 in combination with an accent, like
7338 \begin_inset Quotes eld
7342 \begin_inset Flex CharStyle:MenuItem
7345 \begin_layout PlainLayout
7352 \begin_inset Quotes erd
7356 \begin_inset Quotes eld
7360 \begin_inset Flex CharStyle:MenuItem
7363 \begin_layout PlainLayout
7370 \begin_inset Quotes erd
7374 \begin_inset Quotes eld
7378 \begin_inset Flex CharStyle:MenuItem
7381 \begin_layout PlainLayout
7388 \begin_inset Quotes erd
7392 Another way involves using
7393 \begin_inset Flex CharStyle:Code
7396 \begin_layout PlainLayout
7403 \begin_inset Flex CharStyle:Code
7406 \begin_layout PlainLayout
7412 [remember them from section?] to set up the special
7413 \begin_inset Flex CharStyle:Code
7416 \begin_layout PlainLayout
7424 \begin_inset Flex CharStyle:Code
7427 \begin_layout PlainLayout
7433 acts in some ways just like
7434 \begin_inset Flex CharStyle:MenuItem
7437 \begin_layout PlainLayout
7443 and permits you to bind keys to accented characters.
7444 You can also turn keys into dead-keys by binding them to something like
7446 \begin_inset Flex CharStyle:Code
7449 \begin_layout PlainLayout
7455 and then binding this symbolic key to the corresponding LyX command.
7459 \begin_layout PlainLayout
7464 : This is exactly what I do in my
7465 \begin_inset Flex CharStyle:Code
7468 \begin_layout PlainLayout
7475 \begin_inset Flex CharStyle:Code
7478 \begin_layout PlainLayout
7486 \begin_inset Flex CharStyle:MenuItem
7489 \begin_layout PlainLayout
7491 \begin_inset Space ~
7500 \begin_inset Flex CharStyle:Code
7503 \begin_layout PlainLayout
7509 and a bunch of these
7510 \begin_inset Quotes eld
7514 \begin_inset Flex CharStyle:Code
7517 \begin_layout PlainLayout
7524 \begin_inset Quotes erd
7527 symbolic keys bound such things as
7528 \begin_inset Flex CharStyle:MenuItem
7531 \begin_layout PlainLayout
7533 \begin_inset Space ~
7542 \begin_inset Flex CharStyle:MenuItem
7545 \begin_layout PlainLayout
7547 \begin_inset Space ~
7556 This is how I produce my accented characters.
7561 You can make just about anything into the
7562 \begin_inset Flex CharStyle:Code
7565 \begin_layout PlainLayout
7572 \begin_inset Flex CharStyle:MenuItem
7575 \begin_layout PlainLayout
7581 keys, a spare function key, etc.
7582 As for the LyX commands that produce accents, check the entry for
7583 \begin_inset Flex CharStyle:Code
7586 \begin_layout PlainLayout
7597 You'll find the complete list there.
7600 \begin_layout Subsection
7601 Saving your Language Configuration
7604 \begin_layout Standard
7605 \begin_inset CommandInset label
7611 You can edit your preferences so that your desired language environment
7612 is automatically configured when LyX starts up, via the
7613 \begin_inset Flex CharStyle:MenuItem
7616 \begin_layout PlainLayout
7621 dit\SpecialChar \menuseparator
7634 \begin_layout Chapter
7635 Installing New Document Classes, Layouts, and Templates
7636 \begin_inset CommandInset label
7638 name "chap:textclass"
7646 \begin_layout PlainLayout
7647 Installing New Document Classes
7655 \begin_layout Standard
7656 In this chapter, we describe the procedures for creating and installing
7657 new LyX layout and template files, as well as offer a refresher on correctly
7658 installing new LaTeX document classes.
7659 Some definitions: a document class is a LaTeX file (usually ending in
7660 \begin_inset Flex CharStyle:Code
7663 \begin_layout PlainLayout
7670 \begin_inset Flex CharStyle:Code
7673 \begin_layout PlainLayout
7679 ) which describes the format of a document such as an article, report, journal
7681 and all the commands needed to realize that format.
7682 A layout file is a LyX file which corresponds to a LaTeX document class
7683 and which tells LyX how to
7684 \begin_inset Quotes eld
7688 \begin_inset Quotes erd
7691 things on the screen to make the display look something like the final
7693 More precisely, a layout file describes a
7694 \begin_inset Quotes eld
7698 \begin_inset Quotes erd
7701 which is the internal construct LyX uses to render the screen display.
7703 \begin_inset Quotes eld
7707 \begin_inset Quotes erd
7711 \begin_inset Quotes eld
7715 \begin_inset Quotes erd
7718 can be used somewhat interchangeably, but it is better to refer to the
7719 file as the layout, and the thing living in LyX's memory as the text class.
7720 A template file is simply a LyX document which contains a set of predefined
7721 entries for a given document class which are generally required for that
7723 Templates are especially useful for things like journal manuscripts which
7724 are to be submitted electronically.
7727 \begin_layout Section
7728 Installing a new LaTeX package
7731 \begin_layout Standard
7732 Some installations may not include a LaTeX package that you would like to
7734 For example, you might need FoilTeX, a common (and very powerful) package
7735 for preparing slides or viewgraphs for overhead projectors.
7736 Here are the formal steps involved in getting the package up and running
7737 if you are using teTeX or some other web2c based distribution.
7741 \begin_layout Enumerate
7742 Get the package from CTAN or wherever.
7746 \begin_layout PlainLayout
7749 Inventory of your LaTeX configuration
7751 manual for details of what CTAN is and where supported document classes
7760 \begin_layout Enumerate
7762 \begin_inset Flex CharStyle:Code
7765 \begin_layout PlainLayout
7771 (this usually lives in the directory
7772 \begin_inset Flex CharStyle:Code
7775 \begin_layout PlainLayout
7781 , though you can run
7782 \begin_inset Flex CharStyle:Code
7785 \begin_layout PlainLayout
7792 It describes how to add a local
7793 \begin_inset Flex CharStyle:Code
7796 \begin_layout PlainLayout
7802 directory; follow the instructions.
7803 You need to insert the name of your local
7804 \begin_inset Flex CharStyle:Code
7807 \begin_layout PlainLayout
7814 \begin_inset Flex CharStyle:Code
7817 \begin_layout PlainLayout
7825 \begin_inset Flex CharStyle:Code
7828 \begin_layout PlainLayout
7834 is a logical place to install software that did not come with your distribution
7836 \begin_inset Flex CharStyle:Code
7839 \begin_layout PlainLayout
7846 Usually, you will have to modify only two things:
7850 \begin_layout Enumerate
7852 \begin_inset Flex CharStyle:Code
7855 \begin_layout PlainLayout
7861 to the directory you chose; e.g.
7863 \begin_inset Flex CharStyle:Code
7866 \begin_layout PlainLayout
7867 TEXMFLOCAL = /usr/local/texmf
7875 \begin_layout Enumerate
7877 \begin_inset Flex CharStyle:Code
7880 \begin_layout PlainLayout
7882 \begin_inset Flex CharStyle:Code
7885 \begin_layout PlainLayout
7900 \begin_inset Flex CharStyle:Code
7903 \begin_layout PlainLayout
7904 TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
7913 \begin_layout Enumerate
7915 \begin_inset Flex CharStyle:Code
7918 \begin_layout PlainLayout
7919 texmf directory (e.g.
7921 \begin_inset Flex CharStyle:Code
7924 \begin_layout PlainLayout
7936 You must follow the directory structure of your existing
7937 \begin_inset Flex CharStyle:Code
7940 \begin_layout PlainLayout
7946 directory (for example, latex packages should go under
7947 \begin_inset Flex CharStyle:Code
7950 \begin_layout PlainLayout
7951 /usr/local/texmf/tex/latex/
7959 \begin_layout Enumerate
7960 Install the package.
7961 For example, you would unpack the FoilTeX tarball and create
7962 \begin_inset Flex CharStyle:Code
7965 \begin_layout PlainLayout
7966 /usr/local/texmf/tex/latex/foiltex
7973 \begin_inset Flex CharStyle:Code
7976 \begin_layout PlainLayout
7982 directory contains various files.
7985 \begin_layout Enumerate
7987 \begin_inset Flex CharStyle:Code
7990 \begin_layout PlainLayout
7998 \begin_inset Flex CharStyle:Code
8001 \begin_layout PlainLayout
8002 /usr/local/texmf/ls-R
8010 \begin_layout Enumerate
8011 From within LyX, do:
8012 \begin_inset Flex CharStyle:MenuItem
8015 \begin_layout PlainLayout
8020 ools\SpecialChar \menuseparator
8034 \begin_layout Standard
8035 Now you should see your new package---for example
8036 \begin_inset Flex CharStyle:MenuItem
8039 \begin_layout PlainLayout
8046 \begin_inset Flex CharStyle:MenuItem
8049 \begin_layout PlainLayout
8054 ayout\SpecialChar \menuseparator
8065 \begin_inset Flex CharStyle:MenuItem
8068 \begin_layout PlainLayout
8079 Note that there are simpler ways of installing packages: you can add a
8080 link to the new package directory in the system LaTeX directory (
8081 \begin_inset Flex CharStyle:Code
8084 \begin_layout PlainLayout
8090 , don't forget to then run
8091 \begin_inset Flex CharStyle:Code
8094 \begin_layout PlainLayout
8100 ), or sometimes simply set the
8101 \begin_inset Flex CharStyle:Code
8104 \begin_layout PlainLayout
8110 environment variable to include the new package.
8111 However, the formal procedure described in
8112 \begin_inset Flex CharStyle:Code
8115 \begin_layout PlainLayout
8121 is guaranteed to work, so you should follow it unless circumstances absolutely
8122 prevent it: such as, when you don't have superuser access.
8125 \begin_layout Section
8126 \begin_inset CommandInset label
8135 \begin_layout Standard
8136 This section describes how to write and install your own LyX layout files
8137 (also known as text classes) and walks through the
8138 \begin_inset Flex CharStyle:Code
8141 \begin_layout PlainLayout
8147 text class format as an example.
8149 \begin_inset Flex CharStyle:Code
8152 \begin_layout PlainLayout
8158 files describe what paragraph styles are available for a given document
8159 class and how LyX should display them.
8160 We try to provide a thorough description of the process here; however,
8161 there are so many different types of documents supported by LaTeX classes
8162 that we can't hope to cover every different possibility or problem you
8164 (The LyX users' list is frequented by people with lots of experience with
8165 layout design who are willing to share what they've learned.)
8168 \begin_layout Standard
8169 As you prepare to write a new layout, it is extremely helpful to look at
8170 the example layouts distributed with LyX.
8171 If you use a nice LaTeX document class that might be of interest for others,
8172 too, and have a nice corresponding LyX layout, feel free to contribute
8173 the stuff to us, so we may put it into the distribution.
8174 There is also a section on the LyX wiki for this kind of material.
8177 \begin_layout Standard
8178 All the tags described in this chapter are case-insensitive; this means
8180 \begin_inset Flex CharStyle:Code
8183 \begin_layout PlainLayout
8190 \begin_inset Flex CharStyle:Code
8193 \begin_layout PlainLayout
8200 \begin_inset Flex CharStyle:Code
8203 \begin_layout PlainLayout
8209 are really the same command.
8210 The possible values are printed in brackets after the feature's name.
8211 The default value if a feature isn't specified inside a text class-description
8213 \begin_inset Flex CharStyle:Code
8216 \begin_layout PlainLayout
8225 If the argument has a datatype like
8226 \begin_inset Quotes eld
8230 \begin_inset Quotes erd
8234 \begin_inset Quotes eld
8238 \begin_inset Quotes erd
8241 , the default is shown like this:
8242 \begin_inset Flex CharStyle:Code
8245 \begin_layout PlainLayout
8256 \begin_layout Subsection
8257 \begin_inset CommandInset label
8259 name "sub:Layout-modules"
8266 \begin_layout Standard
8267 Similar to layout files, and new with LyX 1.6, are layout
8272 Modules are to LaTeX packages much as layouts are to LaTeX classes, and
8273 some modules---such as the Endnotes module---provide support for just such
8275 In a sense, layout modules are similar to included files---files like stdsectio
8276 ns.inc---in that modules are not specific to a given document layout but
8277 may be used with many different layouts.
8278 The difference is that using a layout module does not require editing the
8280 Rather, modules are selected in the
8281 \begin_inset Flex CharStyle:MenuItem
8284 \begin_layout PlainLayout
8289 ocument\SpecialChar \menuseparator
8302 \begin_layout Standard
8303 Building modules is the easiest way to get started with layout editing,
8304 since it can be as simple as adding a single new paragraph or flex inset.
8305 But modules may, in principle, contain anything a layout file can contain.
8308 \begin_layout Standard
8309 A module must begin with a line like the following:
8312 \begin_layout LyX-Code
8315 DeclareLyXModule[endnotes.sty]{Endnotes}
8318 \begin_layout Standard
8319 The argument in square brackets is optional: It declares any LaTeX packages
8320 on which the module depends.
8321 The mandatory argument, in curly brackets, is the name of the module, as
8323 \begin_inset Flex CharStyle:MenuItem
8326 \begin_layout PlainLayout
8327 Document\SpecialChar \menuseparator
8334 LyX uses the name to identify the module, so it should be unique.
8337 \begin_layout Standard
8338 The module declaration should then be followed by lines like the following:
8341 \begin_layout LyX-Code
8345 \begin_layout LyX-Code
8346 #Adds an endnote command, in addition to footnotes.
8350 \begin_layout LyX-Code
8351 #You will need to add
8353 theendnotes in ERT where you
8356 \begin_layout LyX-Code
8357 #want the endnotes to appear.
8361 \begin_layout LyX-Code
8365 \begin_layout LyX-Code
8366 #Requires: somemodule | othermodule
8369 \begin_layout LyX-Code
8370 #Excludes: badmodule
8373 \begin_layout Standard
8374 The description is used in
8375 \begin_inset Flex CharStyle:MenuItem
8378 \begin_layout PlainLayout
8379 Document\SpecialChar \menuseparator
8385 to provide the user with information about what the module does.
8386 The Requires is used to identify other modules with which this one must
8387 be used; the Excludes line is used to identify modules with which this
8388 one may not be used.
8389 Both are optional, and, as shown, multiple modules should be separated
8390 with the pipe symbol: |.
8391 Note that the required modules are treated disjunctively:
8395 of the required modules must be used.
8400 excluded module may be used.
8401 Note that modules are identified here by their
8405 without the .module extension.
8407 \begin_inset Flex CharStyle:Code
8410 \begin_layout PlainLayout
8417 \begin_inset Flex CharStyle:Code
8420 \begin_layout PlainLayout
8429 \begin_layout Standard
8430 After creating a new module, you will need to reconfigure and then restart
8431 LyX for it to appear in the menu.
8432 However, changes you make to the module will be seen immediately, if you
8434 \begin_inset Flex CharStyle:MenuItem
8437 \begin_layout PlainLayout
8438 Document\SpecialChar \menuseparator
8444 , highlight something, and then hit
8445 \begin_inset Quotes eld
8449 \begin_inset Quotes erd
8455 It is strongly recommended that you save your work before doing so
8458 In fact, it is strongly recommended that you not attempt to edit modules
8459 while simultaneously working on documents.
8460 Though of course the developers strive to keep LyX stable in such situations,
8461 syntax errors and the like in your module file could cause strange behavior.
8464 \begin_layout Subsection
8465 Supporting new document classes
8468 \begin_layout Standard
8469 There are two situations you are likely to encounter when wanting to support
8470 a new LaTeX document class, involving LaTeX2e class (
8471 \begin_inset Flex CharStyle:Code
8474 \begin_layout PlainLayout
8481 \begin_inset Flex CharStyle:Code
8484 \begin_layout PlainLayout
8491 Supporting a style file is usually fairly easy.
8492 Supporting a new document class is a bit harder.
8495 \begin_layout Subsection
8497 \begin_inset Flex CharStyle:MenuItem
8500 \begin_layout PlainLayout
8509 \begin_layout Standard
8510 If your new document class is provided as a style file that is used in conjuncti
8511 on with an existing, supported document class---for the sake of the example,
8512 we'll assume that the style file is called
8513 \begin_inset Flex CharStyle:MenuItem
8516 \begin_layout PlainLayout
8522 and it is meant to be used with
8523 \begin_inset Flex CharStyle:MenuItem
8526 \begin_layout PlainLayout
8532 , which is a standard class---start by copying the existing class's layout
8533 file into your local directory:
8536 \begin_layout LyX-Code
8537 cp report.layout ~/.lyx/layouts/myclass.layout
8540 \begin_layout Standard
8542 \begin_inset Flex CharStyle:Code
8545 \begin_layout PlainLayout
8551 and change the line:
8554 \begin_layout LyX-Code
8557 DeclareLaTeXClass{report}
8560 \begin_layout Standard
8564 \begin_layout LyX-Code
8567 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
8570 \begin_layout Standard
8574 \begin_layout LyX-Code
8584 \begin_layout Standard
8585 near the top of the file.
8588 \begin_layout Standard
8589 Start LyX and select
8590 \begin_inset Flex CharStyle:MenuItem
8593 \begin_layout PlainLayout
8598 ools\SpecialChar \menuseparator
8609 Then restart LyX and try creating a new document.
8611 \begin_inset Flex CharStyle:MenuItem
8614 \begin_layout PlainLayout
8620 " as a document class option in the
8621 \begin_inset Flex CharStyle:MenuItem
8624 \begin_layout PlainLayout
8629 ocument\SpecialChar \menuseparator
8640 It is likely that some of the sectioning commands and such in your new
8641 class will work differently from how they worked in the base class---
8642 \begin_inset Flex CharStyle:Code
8645 \begin_layout PlainLayout
8651 in this example---so you can fiddle around with the settings for the different
8652 sections if you wish.
8653 See below for more discussion on this.
8656 \begin_layout Subsection
8658 \begin_inset Flex CharStyle:MenuItem
8661 \begin_layout PlainLayout
8670 \begin_layout Standard
8671 There are two possibilities here.
8672 One is that the class file is itself based upon an existing document class.
8673 For example, many thesis classes are based upon
8674 \begin_inset Flex CharStyle:MenuItem
8677 \begin_layout PlainLayout
8684 To see whether yours is, look for a line like
8687 \begin_layout LyX-Code
8693 \begin_layout Standard
8695 If so, then you may proceed largely as in the previous section, though
8696 the DeclareLaTeXClass line will be different.
8697 If your new class is thesis, and it is based upon book, then the line should
8701 \begin_layout LyX-Code
8704 DeclareLaTeXClass[myclass, book]{thesis}
8707 \begin_layout Standard
8708 If, on the other hand, the new class is not based upon an existing class,
8709 you will probably have to
8710 \begin_inset Quotes eld
8714 \begin_inset Quotes erd
8718 We strongly suggest copying an existing layout file which uses a similar
8719 LaTeX class and then modifying it, if you can do so.
8720 At least use an existing file as a starting point so you can find out what
8721 items you need to worry about.
8722 Again, the specifics are covered below.
8725 \begin_layout Section
8726 Declaring a new text class
8729 \begin_layout Standard
8730 When it's finally time to get your hands dirty and create or edit your own
8731 layout file, the following sections describe what you're up against.
8732 Our advice is to go slowly, save and test often, listen to soothing music,
8733 and enjoy one or two of your favorite adult beverages; more if you are
8734 getting particularly stuck.
8735 It's really not that hard, except that the multitude of options can become
8736 overwhelming if you try to do to much in one sitting.
8737 Go have another adult beverage, just for good measure.
8740 \begin_layout Standard
8744 \begin_layout Standard
8745 Lines in a layout file which begin with a
8746 \begin_inset Flex CharStyle:Code
8749 \begin_layout PlainLayout
8756 There is one exception to this rule: all layouts should begin with lines
8760 \begin_layout LyX-Code
8763 #% Do not delete the line below; configure depends on this
8766 \begin_layout LyX-Code
8771 DeclareLaTeXClass{article}
8774 \begin_layout Standard
8775 The second line is used when you configure LyX.
8776 The layout file is read by the LaTeX script
8777 \begin_inset Flex CharStyle:Code
8780 \begin_layout PlainLayout
8786 , in a special mode where
8787 \begin_inset Flex CharStyle:Code
8790 \begin_layout PlainLayout
8797 The first line is just a LaTeX comment, and the second one contains the
8798 declaration of the text class.
8799 If these lines appear in a file named
8800 \begin_inset Flex CharStyle:Code
8803 \begin_layout PlainLayout
8809 , then they define a text class of name
8810 \begin_inset Flex CharStyle:Code
8813 \begin_layout PlainLayout
8819 (the name of the layout file) which uses the LaTeX document class
8820 \begin_inset Flex CharStyle:Code
8823 \begin_layout PlainLayout
8829 (the default is to use the same name as the layout).
8831 \begin_inset Quotes eld
8835 \begin_inset Quotes erd
8838 that appears above is used as a description of the text class in the
8839 \begin_inset Flex CharStyle:MenuItem
8842 \begin_layout PlainLayout
8847 ocument\SpecialChar \menuseparator
8860 \begin_layout Standard
8861 Let's assume that you wrote your own text class that uses the
8862 \begin_inset Flex CharStyle:Code
8865 \begin_layout PlainLayout
8871 documentclass, but where you changed the appearance of the section headings.
8872 If you put it in a file
8873 \begin_inset Flex CharStyle:Code
8876 \begin_layout PlainLayout
8882 , the header of this file should be:
8885 \begin_layout LyX-Code
8888 #% Do not delete the line below; configure depends on this
8891 \begin_layout LyX-Code
8896 DeclareLaTeXClass[article]{article (with my own headings)}
8899 \begin_layout Standard
8900 This declares a text class
8901 \begin_inset Flex CharStyle:Code
8904 \begin_layout PlainLayout
8910 , associated with the LaTeX document class
8911 \begin_inset Flex CharStyle:Code
8914 \begin_layout PlainLayout
8921 \begin_inset Quotes eld
8924 article (with my own headings)
8925 \begin_inset Quotes erd
8929 If your text class depends on several packages, you can declare it as:
8932 \begin_layout LyX-Code
8935 #% Do not delete the line below; configure depends on this
8938 \begin_layout LyX-Code
8943 DeclareLaTeXClass[article,foo.sty]{article (with my own headings)}
8946 \begin_layout Standard
8947 This indicates that your text class uses the foo.sty package.
8948 Finally, it is also possible to declare classes for DocBook code.
8949 Typical declarations will look like
8952 \begin_layout LyX-Code
8955 #% Do not delete the line below; configure depends on this
8958 \begin_layout LyX-Code
8963 DeclareDocBookClass[article]{SGML (DocBook article)}
8966 \begin_layout Standard
8967 Note that these declarations can also be given an optional parameter declaring
8968 the name of the document class (but not a list).
8971 \begin_layout Standard
8972 So, to be as explicit as possible, the form of the layout declaration is:
8975 \begin_layout LyX-Code
8980 DeclareLaTeXClass[class,package.sty]{layout description}
8983 \begin_layout Standard
8984 The class need only be specified if the name of the LaTeX class file and
8985 the name of the layout file are different; if the name of the classfile
8986 is not specified, then LyX will simply assume that it is the same as the
8987 name of the layout file.
8990 \begin_layout Standard
8991 When the text class has been modified to your taste, all you have to do
8992 is to copy it either in
8993 \begin_inset Flex CharStyle:Code
8996 \begin_layout PlainLayout
9003 \begin_inset Flex CharStyle:Code
9006 \begin_layout PlainLayout
9013 \begin_inset Flex CharStyle:MenuItem
9016 \begin_layout PlainLayout
9021 ools\SpecialChar \menuseparator
9032 Exit LyX and restart it; then your new text class should be available along
9036 \begin_layout Standard
9037 In versions of LyX prior to 1.6, you had to restart LyX to see any changes
9038 you made to your layout files.
9039 As a result, editing layout files could be very time consuming.
9040 Beginning with 1.6, however, you can force a reload of the layout currently
9041 in use by using the LyX function
9042 \begin_inset Flex CharStyle:MenuItem
9045 \begin_layout PlainLayout
9052 There is no default binding for this function---though, of course, you
9053 can bind it to a key yourself (see section
9054 \begin_inset CommandInset ref
9056 reference "sec:bindings"
9061 If you want to use this function, then, you should simply enter it in the
9067 : This is very much an `advanced feature'.
9072 recommended that you save your work before using this function.
9077 recommended that you not attempt to edit your layout while simultaneously
9078 working on a document that you care about.
9079 Use a test document.
9080 Syntax errors and the like in your layout file could cause peculiar behavior.
9081 In particular, such errors could cause LyX to regard the current layout
9082 as invalid and to attempt to switch to some other layout.
9083 The LyX team strives to keep LyX stable in such situations, but safe is
9087 \begin_layout Subsection
9091 \begin_layout Standard
9092 The first non-comment line must contain the file format number:
9095 \begin_layout Description
9096 \begin_inset Flex CharStyle:Code
9099 \begin_layout PlainLayout
9106 \begin_inset Flex CharStyle:Code
9109 \begin_layout PlainLayout
9115 ] This tag was introduced with LyX 1.4.0 (layout files of LyX 1.3.x and earlier
9116 don't have an explicit file format).
9117 The file format that is documented here is
9118 \begin_inset Flex CharStyle:Code
9121 \begin_layout PlainLayout
9130 \begin_layout Subsection
9131 General text class parameters
9134 \begin_layout Standard
9135 These are the general parameters which describe the form of the entire document:
9138 \begin_layout Standard
9142 \begin_layout PlainLayout
9154 \begin_layout Description
9155 \begin_inset Flex CharStyle:Code
9158 \begin_layout PlainLayout
9165 \begin_inset Flex CharStyle:Code
9168 \begin_layout PlainLayout
9178 ] Whether the class-default should have one or two columns.
9179 Can be changed in the
9180 \begin_inset Flex CharStyle:MenuItem
9183 \begin_layout PlainLayout
9188 ocument\SpecialChar \menuseparator
9199 This setting (same goes for
9200 \begin_inset Flex CharStyle:Code
9203 \begin_layout PlainLayout
9209 , too) is important: if your text class has two columns by default but you
9210 forget to set it correctly, the
9211 \begin_inset Flex CharStyle:Code
9214 \begin_layout PlainLayout
9224 be output when you select
9225 \begin_inset Flex CharStyle:MenuItem
9228 \begin_layout PlainLayout
9235 \begin_inset Flex CharStyle:MenuItem
9238 \begin_layout PlainLayout
9243 ocument\SpecialChar \menuseparator
9251 \begin_layout Description
9252 \begin_inset Flex CharStyle:Code
9255 \begin_layout PlainLayout
9262 \begin_inset Flex CharStyle:Code
9265 \begin_layout PlainLayout
9275 ] Whether the class-default should be printing on one or both sides of the
9277 Can be changed in the
9278 \begin_inset Flex CharStyle:MenuItem
9281 \begin_layout PlainLayout
9286 ocument\SpecialChar \menuseparator
9299 \begin_layout Description
9300 \begin_inset Flex CharStyle:Code
9303 \begin_layout PlainLayout
9312 \begin_inset Flex CharStyle:Code
9315 \begin_layout PlainLayout
9330 ] The class default pagestyle.
9331 Can be changed in the
9332 \begin_inset Flex CharStyle:MenuItem
9335 \begin_layout PlainLayout
9340 ocument\SpecialChar \menuseparator
9353 \begin_layout Description
9354 \begin_inset Flex CharStyle:Code
9357 \begin_layout PlainLayout
9358 ClassOptions\SpecialChar \ldots{}
9364 This section describes various global options supported by the document
9367 \begin_inset Space ~
9371 \begin_inset CommandInset ref
9373 reference "sec:classoptions"
9380 \begin_layout Description
9381 \begin_inset Flex CharStyle:Code
9384 \begin_layout PlainLayout
9391 \begin_inset Flex CharStyle:Code
9394 \begin_layout PlainLayout
9401 \begin_inset Flex CharStyle:Code
9404 \begin_layout PlainLayout
9414 ] Whether the class already provides the feature
9415 \begin_inset Flex CharStyle:Code
9418 \begin_layout PlainLayout
9425 A feature is in general the name of a package (amsmath, makeidx, \SpecialChar \ldots{}
9427 macro (url, boldsymbol,\SpecialChar \ldots{}
9428 ); the complete list of supported features is unfortunat
9432 \begin_layout Description
9433 \begin_inset Flex CharStyle:Code
9436 \begin_layout PlainLayout
9443 \begin_inset Flex CharStyle:Code
9446 \begin_layout PlainLayout
9452 ] Whether the class requires the feature
9453 \begin_inset Flex CharStyle:Code
9456 \begin_layout PlainLayout
9463 A feature is in general the name of a package (amsmath, makeidx, \SpecialChar \ldots{}
9465 macro (url, boldsymbol,\SpecialChar \ldots{}
9467 Multiple features must be separated by commas.
9468 Note that you can only request supported features; unfortunately, the complete
9469 list of supported features is not documented (however,
9470 \begin_inset Flex CharStyle:MenuItem
9473 \begin_layout PlainLayout
9478 elp\SpecialChar \menuseparator
9488 gives an overview of the supported packages).
9491 \begin_layout Description
9492 \begin_inset Flex CharStyle:Code
9495 \begin_layout PlainLayout
9501 This is used to describe the default font of the document.
9503 \begin_inset Space ~
9507 \begin_inset CommandInset ref
9509 reference "sec:fonts"
9516 \begin_layout Description
9517 \begin_inset Flex CharStyle:Code
9520 \begin_layout PlainLayout
9527 \begin_inset Flex CharStyle:Code
9530 \begin_layout PlainLayout
9536 ] This is the style that will be assigned to new paragraphs, usually
9537 \begin_inset Flex CharStyle:MenuItem
9540 \begin_layout PlainLayout
9547 This will default to the first defined style if not given, but you are
9548 highly encouraged to use this directive.
9551 \begin_layout Description
9552 \begin_inset Flex CharStyle:Code
9555 \begin_layout PlainLayout
9562 \begin_inset Flex CharStyle:Code
9565 \begin_layout PlainLayout
9574 \begin_inset Flex CharStyle:Code
9577 \begin_layout PlainLayout
9583 ] Indicates what kind of markup is used to define the title of a document.
9585 \begin_inset Flex CharStyle:Code
9588 \begin_layout PlainLayout
9594 means that the macro with name
9595 \begin_inset Flex CharStyle:Code
9598 \begin_layout PlainLayout
9604 will be inserted after the last layout which has
9605 \begin_inset Quotes eld
9609 \begin_inset Flex CharStyle:Code
9612 \begin_layout PlainLayout
9619 \begin_inset Quotes erd
9624 \begin_inset Flex CharStyle:Code
9627 \begin_layout PlainLayout
9633 corresponds to the case where the block of paragraphs which have
9634 \begin_inset Quotes eld
9638 \begin_inset Flex CharStyle:Code
9641 \begin_layout PlainLayout
9648 \begin_inset Quotes erd
9651 should be enclosed into the
9652 \begin_inset Flex CharStyle:Code
9655 \begin_layout PlainLayout
9664 \begin_layout Description
9665 \begin_inset Flex CharStyle:Code
9668 \begin_layout PlainLayout
9675 \begin_inset Flex CharStyle:Code
9678 \begin_layout PlainLayout
9684 ] The name of the command/environment mentionned above.
9687 \begin_layout Description
9688 \begin_inset Flex CharStyle:Code
9691 \begin_layout PlainLayout
9692 Preamble\SpecialChar \ldots{}
9698 A set of macro definitions that will be output at the beginning of the
9700 Use this for global definitions.
9703 \begin_layout Description
9704 \begin_inset Flex CharStyle:Code
9707 \begin_layout PlainLayout
9713 As its name implies, this command allows you to include another layout
9714 definition file within yours to avoid duplicating commands.
9715 Common examples are the standard layout files, for example,
9716 \begin_inset Flex CharStyle:Code
9719 \begin_layout PlainLayout
9725 , which contains most of the basic layouts.
9728 \begin_layout Description
9729 \begin_inset Flex CharStyle:Code
9732 \begin_layout PlainLayout
9733 Style\SpecialChar \ldots{}
9739 This sequence defines a new style.
9740 If the style already exists, it will redefine some of its parameters instead.
9742 \begin_inset Space ~
9746 \begin_inset CommandInset ref
9748 reference "sec:style"
9755 \begin_layout Description
9756 \begin_inset Flex CharStyle:Code
9759 \begin_layout PlainLayout
9765 This command deletes an existing style.
9766 This is particularly useful when you want to suppress a style that has
9767 be defined in an input file.
9770 \begin_layout Description
9771 \begin_inset Flex CharStyle:Code
9774 \begin_layout PlainLayout
9775 Float\SpecialChar \ldots{}
9781 This sequence defines a new float.
9783 \begin_inset Space ~
9787 \begin_inset CommandInset ref
9789 reference "sec:floats"
9796 \begin_layout Description
9797 \begin_inset Flex CharStyle:Code
9800 \begin_layout PlainLayout
9806 This command deletes an existing float.
9807 This is particularly useful when you want to suppress a float that has
9808 be defined in an input file.
9811 \begin_layout Description
9812 \begin_inset Flex CharStyle:Code
9815 \begin_layout PlainLayout
9816 InsetLayout\SpecialChar \ldots{}
9822 This section (re-)defines the layout of an inset.
9823 It can be applied to an existing inset of to a new, user-defined inset,
9824 e.g., a new character style.
9826 \begin_inset Space ~
9830 \begin_inset CommandInset ref
9832 reference "sec:charstyle"
9839 \begin_layout Description
9840 \begin_inset Flex CharStyle:Code
9843 \begin_layout PlainLayout
9844 Counter\SpecialChar \ldots{}
9850 This sequence defines a new counter.
9852 \begin_inset Space ~
9856 \begin_inset CommandInset ref
9858 reference "sec:counter"
9865 \begin_layout Standard
9869 \begin_layout PlainLayout
9881 \begin_layout Subsection
9882 \begin_inset Flex CharStyle:Code
9885 \begin_layout PlainLayout
9894 \begin_layout Standard
9895 \begin_inset CommandInset label
9897 name "sec:classoptions"
9902 \begin_inset Flex CharStyle:Code
9905 \begin_layout PlainLayout
9911 section can contain the following entries:
9914 \begin_layout Description
9915 \begin_inset Flex CharStyle:Code
9918 \begin_layout PlainLayout
9925 \begin_inset Flex CharStyle:Code
9928 \begin_layout PlainLayout
9934 ] The list of available font sizes for the document's main font, separated
9936 \begin_inset Quotes eld
9940 \begin_inset Flex CharStyle:Code
9943 \begin_layout PlainLayout
9950 \begin_inset Quotes erd
9956 \begin_layout Description
9957 \begin_inset Flex CharStyle:Code
9960 \begin_layout PlainLayout
9967 \begin_inset Flex CharStyle:Code
9970 \begin_layout PlainLayout
9971 string="empty|plain|headings|fancy"
9976 ] The list of available page styles, separated by
9977 \begin_inset Quotes eld
9981 \begin_inset Flex CharStyle:Code
9984 \begin_layout PlainLayout
9991 \begin_inset Quotes erd
9997 \begin_layout Description
9998 \begin_inset Flex CharStyle:Code
10001 \begin_layout PlainLayout
10008 \begin_inset Flex CharStyle:Code
10011 \begin_layout PlainLayout
10017 ] Some document class options, separated by a comma, that will be added
10018 to the optional part of the
10019 \begin_inset Flex CharStyle:Code
10022 \begin_layout PlainLayout
10033 \begin_layout Subsection
10034 Specific Paragraph Layouts
10037 \begin_layout Standard
10038 \begin_inset CommandInset label
10044 A paragraph layout description looks like this
10048 \begin_layout PlainLayout
10049 Note that this will either define a new layout or modify an existing one.
10057 \begin_layout LyX-Code
10064 \begin_layout LyX-Code
10068 \begin_layout LyX-Code
10072 \begin_layout Standard
10073 where the following commands are allowed:
10076 \begin_layout Standard
10080 \begin_layout PlainLayout
10092 \begin_layout Description
10093 \begin_inset Flex CharStyle:Code
10096 \begin_layout PlainLayout
10103 \begin_inset Flex CharStyle:Code
10106 \begin_layout PlainLayout
10112 This is used to copy all the features of an existing layout into the current
10117 \begin_layout Description
10118 \begin_inset Flex CharStyle:Code
10121 \begin_layout PlainLayout
10128 \begin_inset Flex CharStyle:Code
10131 \begin_layout PlainLayout
10136 , Command, Environment, Item_Environment,
10142 \begin_inset Flex CharStyle:Code
10145 \begin_layout PlainLayout
10151 ] How the layout should be translated into LaTeX.
10153 \begin_inset Flex CharStyle:Code
10156 \begin_layout PlainLayout
10162 means nothing special.
10164 \begin_inset Flex CharStyle:Code
10167 \begin_layout PlainLayout
10174 \begin_inset Flex CharStyle:Code
10177 \begin_layout PlainLayout
10184 {\SpecialChar \ldots{}
10191 \begin_inset Flex CharStyle:Code
10194 \begin_layout PlainLayout
10201 \begin_inset Flex CharStyle:Code
10204 \begin_layout PlainLayout
10211 }\SpecialChar \ldots{}
10225 \begin_inset Flex CharStyle:Code
10228 \begin_layout PlainLayout
10235 \begin_inset Flex CharStyle:Code
10238 \begin_layout PlainLayout
10245 \begin_inset Flex CharStyle:Code
10248 \begin_layout PlainLayout
10256 is generated for each paragraph of this environment.
10258 \begin_inset Flex CharStyle:Code
10261 \begin_layout PlainLayout
10268 \begin_inset Flex CharStyle:Code
10271 \begin_layout PlainLayout
10278 \begin_inset Flex CharStyle:Code
10281 \begin_layout PlainLayout
10287 is passed as an argument to the environment.
10289 \begin_inset Flex CharStyle:Code
10292 \begin_layout PlainLayout
10298 can be defined in the
10299 \begin_inset Flex CharStyle:MenuItem
10302 \begin_layout PlainLayout
10307 ayout\SpecialChar \menuseparator
10319 \begin_inset Flex CharStyle:Code
10322 \begin_layout PlainLayout
10330 is perhaps a bit misleading, since these rules apply to SGML classes, too.
10331 Visit the SGML class files for specific examples.
10334 \begin_layout Description
10335 \begin_inset Flex CharStyle:Code
10338 \begin_layout PlainLayout
10345 \begin_inset Flex CharStyle:Code
10348 \begin_layout PlainLayout
10354 If 1, marks the layout as being part of a title block (see also the
10355 \begin_inset Flex CharStyle:Code
10358 \begin_layout PlainLayout
10365 \begin_inset Flex CharStyle:Code
10368 \begin_layout PlainLayout
10377 \begin_layout Description
10378 \begin_inset Flex CharStyle:Code
10381 \begin_layout PlainLayout
10387 The name of the corresponding LaTeX stuff.
10388 Either the environment or command name.
10391 \begin_layout Description
10392 \begin_inset Flex CharStyle:Code
10395 \begin_layout PlainLayout
10401 The optional parameter for the corresponding
10402 \begin_inset Flex CharStyle:Code
10405 \begin_layout PlainLayout
10412 This parameter cannot be changed from within LyX.
10415 \begin_layout Description
10416 \begin_inset Flex CharStyle:Code
10419 \begin_layout PlainLayout
10426 \begin_inset Flex CharStyle:Code
10429 \begin_layout PlainLayout
10435 ] The number of optional arguments that can be used with this layout.
10436 This is useful for things like section headings, and only makes sense with
10440 \begin_layout Description
10441 \begin_inset Flex CharStyle:Code
10444 \begin_layout PlainLayout
10451 \begin_inset Flex CharStyle:Code
10454 \begin_layout PlainLayout
10459 , Manual, Dynamic, First_Dynamic, Right_Address_Box
10466 The kind of margin that the layout has on the left side.
10468 \begin_inset Flex CharStyle:Code
10471 \begin_layout PlainLayout
10477 just means a fixed margin.
10479 \begin_inset Flex CharStyle:Code
10482 \begin_layout PlainLayout
10488 means that the left margin depends on the string entered in the
10489 \begin_inset Flex CharStyle:MenuItem
10492 \begin_layout PlainLayout
10497 dit\SpecialChar \menuseparator
10503 \begin_inset Space ~
10512 This is used to typeset nice lists without tabulators.
10514 \begin_inset Flex CharStyle:Code
10517 \begin_layout PlainLayout
10523 means that the margin depends on the size of the label.
10524 This is used for automatic enumerated headlines.
10525 It is obvious that the headline
10526 \begin_inset Quotes eld
10529 5.4.3.2.1 Very long headline
10530 \begin_inset Quotes erd
10533 must have a wider left margin (as wide as
10534 \begin_inset Quotes eld
10538 \begin_inset Quotes erd
10541 plus the space) than
10542 \begin_inset Quotes eld
10545 3.2 Very long headline
10546 \begin_inset Quotes erd
10549 , even if other word processors are not able to do this.
10551 \begin_inset Flex CharStyle:Code
10554 \begin_layout PlainLayout
10560 is similar, but only the very first row of the paragraph is dynamic, while
10561 the others are static; this is used, for example, for descriptions.
10563 \begin_inset Flex CharStyle:Code
10566 \begin_layout PlainLayout
10572 means the margin is chosen in a way that the longest row of this paragraph
10573 fits to the right margin.
10574 This is used to typeset an address on the right edge of the page.
10577 \begin_layout Description
10578 \begin_inset Flex CharStyle:Code
10581 \begin_layout PlainLayout
10588 \begin_inset Flex CharStyle:Code
10591 \begin_layout PlainLayout
10598 \begin_inset Flex CharStyle:Code
10601 \begin_layout PlainLayout
10609 ] Whether the following Paragraph is allowed to indent its very first row.
10611 \begin_inset Flex CharStyle:Code
10614 \begin_layout PlainLayout
10620 means that it is not allowed to do so,
10621 \begin_inset Flex CharStyle:Code
10624 \begin_layout PlainLayout
10630 means it could do so if it wants to.
10633 \begin_layout Description
10634 \begin_inset Flex CharStyle:Code
10637 \begin_layout PlainLayout
10644 \begin_inset Flex CharStyle:Code
10647 \begin_layout PlainLayout
10653 ] The indent of the very first line of a paragraph.
10654 The argument is passed as a string.
10656 \begin_inset Flex CharStyle:Code
10659 \begin_layout PlainLayout
10665 means that the paragraph is indented with the width of
10666 \begin_inset Flex CharStyle:Code
10669 \begin_layout PlainLayout
10676 \begin_inset Flex CharStyle:Code
10679 \begin_layout PlainLayout
10686 You can get a negative width by prefixing the string with
10687 \begin_inset Flex CharStyle:Code
10690 \begin_layout PlainLayout
10697 This way was chosen so that the look is the same with each used screen
10700 \begin_inset Flex CharStyle:Code
10703 \begin_layout PlainLayout
10709 will be fixed for a certain layout.
10710 The exception is Standard layout, since the indentation of a Standard layout
10711 paragraph can be prohibited with
10712 \begin_inset Flex CharStyle:Code
10715 \begin_layout PlainLayout
10722 Also, Standard layout paragraphs inside environments use the
10723 \begin_inset Flex CharStyle:Code
10726 \begin_layout PlainLayout
10732 of the environment, not their native one.
10733 For example, Standard paragraphs inside an enumeration are not indented.
10736 \begin_layout Description
10737 \begin_inset Flex CharStyle:Code
10740 \begin_layout PlainLayout
10747 \begin_inset Flex CharStyle:Code
10750 \begin_layout PlainLayout
10756 ] LyX allows to choose either
10757 \begin_inset Quotes eld
10761 \begin_inset Quotes erd
10765 \begin_inset Quotes eld
10769 \begin_inset Quotes erd
10772 to typeset a document.
10774 \begin_inset Quotes eld
10778 \begin_inset Quotes erd
10781 is chosen, this value is completely ignored.
10783 \begin_inset Quotes eld
10787 \begin_inset Quotes erd
10790 is chosen, the parindent of a LaTeXtype
10791 \begin_inset Quotes eld
10795 \begin_inset Quotes erd
10798 layout is ignored and all paragraphs are additionally separated by this
10800 The vertical space is calculated with
10801 \begin_inset Flex CharStyle:Code
10804 \begin_layout PlainLayout
10805 value*DefaultHeight()
10811 \begin_inset Flex CharStyle:Code
10814 \begin_layout PlainLayout
10820 is the height of a row with the normal font.
10821 This way, the look stays the same with different screen fonts.
10824 \begin_layout Description
10825 \begin_inset Flex CharStyle:Code
10828 \begin_layout PlainLayout
10835 \begin_inset Flex CharStyle:Code
10838 \begin_layout PlainLayout
10844 ] The vertical space with which the very first of a chain of paragraphs
10845 with this layout is separated from the previous paragraph.
10846 If the previous paragraph has another layout, the separations are not simply
10847 added, but the maximum is taken.
10850 \begin_layout Description
10851 \begin_inset Flex CharStyle:Code
10854 \begin_layout PlainLayout
10861 \begin_inset Flex CharStyle:Code
10864 \begin_layout PlainLayout
10871 \begin_inset Flex CharStyle:Code
10874 \begin_layout PlainLayout
10880 for the very last paragraph.
10883 \begin_layout Description
10884 \begin_inset Flex CharStyle:Code
10887 \begin_layout PlainLayout
10894 \begin_inset Flex CharStyle:Code
10897 \begin_layout PlainLayout
10903 ] The vertical space between two paragraphs of this layout.
10906 \begin_layout Description
10907 \begin_inset Flex CharStyle:Code
10910 \begin_layout PlainLayout
10917 \begin_inset Flex CharStyle:Code
10920 \begin_layout PlainLayout
10926 ] This is an extra space between the paragraphs of an environment layout.
10927 If you put other layouts into an environment, each is separated with the
10929 \begin_inset Flex CharStyle:Code
10932 \begin_layout PlainLayout
10939 But the whole items of the environment are additionally separated with
10941 \begin_inset Flex CharStyle:Code
10944 \begin_layout PlainLayout
10954 \begin_layout Description
10955 \begin_inset Flex CharStyle:Code
10958 \begin_layout PlainLayout
10965 \begin_inset Flex CharStyle:Code
10968 \begin_layout PlainLayout
10974 ] If you put layouts into environments, the leftmargins are not simply added,
10975 but added with a factor
10976 \begin_inset Formula $\frac{4}{depth+4}$
10980 Note that this parameter is also used when the border is defined as
10981 \begin_inset Flex CharStyle:Code
10984 \begin_layout PlainLayout
10991 \begin_inset Flex CharStyle:Code
10994 \begin_layout PlainLayout
11001 Then it is added to the manual or dynamic border.
11002 This string has the same meaning as for
11003 \begin_inset Flex CharStyle:Code
11006 \begin_layout PlainLayout
11015 \begin_layout Description
11016 \begin_inset Flex CharStyle:Code
11019 \begin_layout PlainLayout
11026 \begin_inset Flex CharStyle:Code
11029 \begin_layout PlainLayout
11036 \begin_inset Flex CharStyle:Code
11039 \begin_layout PlainLayout
11048 \begin_layout Description
11049 \begin_inset Flex CharStyle:Code
11052 \begin_layout PlainLayout
11059 \begin_inset Flex CharStyle:Code
11062 \begin_layout PlainLayout
11067 , Manual, Static, Top_Environment,
11069 Centered_Top_Environment, Sensitive,
11078 \begin_inset Flex CharStyle:Code
11081 \begin_layout PlainLayout
11087 means the label is the very first word (up to the first real blank).
11089 \begin_inset Flex CharStyle:Code
11092 \begin_layout PlainLayout
11098 means it is defined in the layout (see
11099 \begin_inset Flex CharStyle:Code
11102 \begin_layout PlainLayout
11110 \begin_inset Flex CharStyle:Code
11113 \begin_layout PlainLayout
11120 \begin_inset Flex CharStyle:Code
11123 \begin_layout PlainLayout
11124 Centered_Top_Environment
11129 are special cases of
11130 \begin_inset Flex CharStyle:Code
11133 \begin_layout PlainLayout
11140 The label will be printed above the paragraph, but only at the top of an
11141 environment or the top of a chain of paragraphs with this layout.
11142 Usage is for example the
11143 \begin_inset Flex CharStyle:MenuItem
11146 \begin_layout PlainLayout
11153 \begin_inset Flex CharStyle:MenuItem
11156 \begin_layout PlainLayout
11163 This is also the case for
11164 \begin_inset Flex CharStyle:Code
11167 \begin_layout PlainLayout
11173 labels with latex type
11174 \begin_inset Flex CharStyle:Code
11177 \begin_layout PlainLayout
11183 , in order to make layouts for theorems work correctly.
11185 \begin_inset Flex CharStyle:Code
11188 \begin_layout PlainLayout
11194 is a special case for the caption-labels
11195 \begin_inset Quotes eld
11199 \begin_inset Quotes erd
11203 \begin_inset Quotes eld
11207 \begin_inset Quotes erd
11212 \begin_inset Flex CharStyle:Code
11215 \begin_layout PlainLayout
11221 means the (hardcoded) label string depends on the kind of float.
11223 \begin_inset Flex CharStyle:Code
11226 \begin_layout PlainLayout
11232 label type defines automatically numbered labels.
11235 \begin_layout Description
11236 \begin_inset Flex CharStyle:Code
11239 \begin_layout PlainLayout
11246 \begin_inset Flex CharStyle:Code
11249 \begin_layout PlainLayout
11257 The name of the counter for automatic numbering (see Section
11258 \begin_inset Space ~
11262 \begin_inset CommandInset ref
11264 reference "sec:counter"
11269 This must be given if
11270 \begin_inset Flex CharStyle:Code
11273 \begin_layout PlainLayout
11280 \begin_inset Flex CharStyle:Code
11283 \begin_layout PlainLayout
11292 \begin_layout Description
11293 \begin_inset Flex CharStyle:Code
11296 \begin_layout PlainLayout
11303 \begin_inset Flex CharStyle:Code
11306 \begin_layout PlainLayout
11312 ] The horizontal space between the label and the text body.
11313 Only used for labels that are not above the text body.
11316 \begin_layout Description
11317 \begin_inset Flex CharStyle:Code
11320 \begin_layout PlainLayout
11326 [float=0] The vertical space between the label and the text body.
11327 Only used for labels that are above the text body (
11328 \begin_inset Flex CharStyle:Code
11331 \begin_layout PlainLayout
11338 \begin_inset Flex CharStyle:Code
11341 \begin_layout PlainLayout
11342 Centered_Top_Environment
11350 \begin_layout Description
11351 \begin_inset Flex CharStyle:Code
11354 \begin_layout PlainLayout
11361 \begin_inset Flex CharStyle:Code
11364 \begin_layout PlainLayout
11370 ] The string used for a label with a
11371 \begin_inset Flex CharStyle:Code
11374 \begin_layout PlainLayout
11382 \begin_inset Flex CharStyle:Code
11385 \begin_layout PlainLayout
11391 this string is also used as a suggestion for the
11392 \begin_inset Flex CharStyle:Code
11395 \begin_layout PlainLayout
11401 that can be set in the
11402 \begin_inset Flex CharStyle:MenuItem
11405 \begin_layout PlainLayout
11410 dit\SpecialChar \menuseparator
11416 \begin_inset Space ~
11426 \begin_inset Flex CharStyle:Code
11429 \begin_layout PlainLayout
11435 is set, this string can be contain the special formatting commands described
11437 \begin_inset Space ~
11441 \begin_inset CommandInset ref
11443 reference "sec:counter"
11448 For the sake of backwards compatibility, the string
11449 \begin_inset Flex CharStyle:Code
11452 \begin_layout PlainLayout
11462 will be replaced by the expanded
11463 \begin_inset Flex CharStyle:Code
11466 \begin_layout PlainLayout
11473 \begin_inset Flex CharStyle:Code
11476 \begin_layout PlainLayout
11485 This feature is now obsolete and should be replaced by the mechanisms of
11487 \begin_inset Space ~
11491 \begin_inset CommandInset ref
11493 reference "sec:counter"
11500 \begin_layout Description
11501 \begin_inset Flex CharStyle:Code
11504 \begin_layout PlainLayout
11505 LabelStringAppendix
11511 \begin_inset Flex CharStyle:Code
11514 \begin_layout PlainLayout
11520 ] This is used inside the appendix instead of
11521 \begin_inset Flex CharStyle:Code
11524 \begin_layout PlainLayout
11532 \begin_inset Flex CharStyle:Code
11535 \begin_layout PlainLayout
11542 \begin_inset Flex CharStyle:Code
11545 \begin_layout PlainLayout
11546 LabelStringAppendix
11554 \begin_layout Description
11555 \begin_inset Flex CharStyle:Code
11558 \begin_layout PlainLayout
11566 The level of the style in the table of contents.
11567 This is used for automatic numbering of section headings.
11570 \begin_layout Description
11571 \begin_inset Flex CharStyle:Code
11574 \begin_layout PlainLayout
11581 \begin_inset Flex CharStyle:Code
11584 \begin_layout PlainLayout
11589 , Box, Filled_Box, Static
11594 ] The type of label that stands at the end of the paragraph (or sequence
11596 \begin_inset Flex CharStyle:Code
11599 \begin_layout PlainLayout
11606 \begin_inset Flex CharStyle:Code
11609 \begin_layout PlainLayout
11616 \begin_inset Flex CharStyle:Code
11619 \begin_layout PlainLayout
11626 \begin_inset Flex CharStyle:Code
11629 \begin_layout PlainLayout
11637 \begin_inset Flex CharStyle:Code
11640 \begin_layout PlainLayout
11647 \begin_inset Quotes eld
11651 \begin_inset Quotes erd
11655 \begin_inset Flex CharStyle:Code
11658 \begin_layout PlainLayout
11665 \begin_inset Flex CharStyle:Code
11668 \begin_layout PlainLayout
11669 \begin_inset Space ~
11677 ) is a white (resp.
11678 \begin_inset Space ~
11681 black) square suitable for end of proof markers,
11682 \begin_inset Flex CharStyle:Code
11685 \begin_layout PlainLayout
11691 is an explicit text string.
11694 \begin_layout Description
11695 \begin_inset Flex CharStyle:Code
11698 \begin_layout PlainLayout
11705 \begin_inset Flex CharStyle:Code
11708 \begin_layout PlainLayout
11714 ] The string used for a label with a
11715 \begin_inset Flex CharStyle:Code
11718 \begin_layout PlainLayout
11725 \begin_inset Flex CharStyle:Code
11728 \begin_layout PlainLayout
11738 \begin_layout Description
11739 \begin_inset Flex CharStyle:Code
11742 \begin_layout PlainLayout
11749 \begin_inset Flex CharStyle:Code
11752 \begin_layout PlainLayout
11757 , left, right, center
11762 ] Paragraph alignment.
11765 \begin_layout Description
11766 \begin_inset Flex CharStyle:Code
11769 \begin_layout PlainLayout
11776 \begin_inset Flex CharStyle:Code
11779 \begin_layout PlainLayout
11784 , left, right, center
11789 ] A comma separated
11793 of possible aligns.
11794 Some LaTeX styles prohibit certain alignments, since those wouldn't make
11796 For example a right-aligned or centered enumeration isn't possible.
11799 \begin_layout Description
11800 \begin_inset Flex CharStyle:Code
11803 \begin_layout PlainLayout
11810 \begin_inset Flex CharStyle:Code
11813 \begin_layout PlainLayout
11823 ] With this parameter the
11824 \begin_inset Flex CharStyle:MenuItem
11827 \begin_layout PlainLayout
11834 \begin_inset Quotes eld
11837 Vertical space above
11838 \begin_inset Quotes erd
11842 \begin_inset Flex CharStyle:MenuItem
11845 \begin_layout PlainLayout
11850 dit\SpecialChar \menuseparator
11856 \begin_inset Space ~
11864 dialog can be set when initializing a paragraph with this layout
11868 \begin_layout PlainLayout
11871 Note from Jean-Marc:
11873 I'm not sure that this setting has much use, and it should probably be
11874 removed in later versions.
11883 \begin_layout Description
11884 \begin_inset Flex CharStyle:Code
11887 \begin_layout PlainLayout
11894 \begin_inset Flex CharStyle:Code
11897 \begin_layout PlainLayout
11908 \begin_inset Flex CharStyle:Code
11911 \begin_layout PlainLayout
11920 \begin_layout Description
11921 \begin_inset Flex CharStyle:Code
11924 \begin_layout PlainLayout
11931 \begin_inset Flex CharStyle:Code
11934 \begin_layout PlainLayout
11944 ] Whether fragile commands in this layout should be
11945 \begin_inset Flex CharStyle:Code
11948 \begin_layout PlainLayout
11959 \begin_layout Description
11960 \begin_inset Flex CharStyle:Code
11963 \begin_layout PlainLayout
11970 \begin_inset Flex CharStyle:Code
11973 \begin_layout PlainLayout
11980 \begin_inset Flex CharStyle:Code
11983 \begin_layout PlainLayout
11991 ] Whether newlines are translated into LaTeX newlines (
11992 \begin_inset Flex CharStyle:Code
11995 \begin_layout PlainLayout
12006 The translation can be switched off to allow more comfortable LaTeX editing
12010 \begin_layout Description
12011 \begin_inset Flex CharStyle:Code
12014 \begin_layout PlainLayout
12021 \begin_inset Flex CharStyle:Code
12024 \begin_layout PlainLayout
12034 ] Whether the contents of this paragraph should be output in raw form, meaning
12035 without special translations that LaTeX would require.
12036 This somehow replaces the older
12037 \begin_inset Flex CharStyle:Code
12040 \begin_layout PlainLayout
12049 \begin_layout Description
12050 \begin_inset Flex CharStyle:Code
12053 \begin_layout PlainLayout
12060 \begin_inset Flex CharStyle:Code
12063 \begin_layout PlainLayout
12073 ] Usually LyX doesn't allow you to insert more than one space between words,
12074 since a space is considered as the separation between two words, not a
12075 character or symbol of its own.
12076 This is a very fine thing but sometimes annoying, for example when typing
12077 program code or plain LaTeX code.
12079 \begin_inset Flex CharStyle:Code
12082 \begin_layout PlainLayout
12089 Note that LyX will create protected blanks for the additional blanks when
12090 in another mode than LaTeX-mode.
12093 \begin_layout Description
12094 \begin_inset Flex CharStyle:Code
12097 \begin_layout PlainLayout
12104 \begin_inset Flex CharStyle:Code
12107 \begin_layout PlainLayout
12117 ] Usually LyX does not allow you to leave a paragraph empty, since it would
12118 lead to empty LaTeX output.
12119 There are some cases where this could be desirable however: in a letter
12120 template, the required fields can be provided as empty fields, so that
12121 people do not forget them; in some special classes, a layout can be used
12122 as some kind of break, which does not contain actual text.
12125 \begin_layout Description
12126 \begin_inset Flex CharStyle:Code
12129 \begin_layout PlainLayout
12136 \begin_inset Flex CharStyle:Code
12139 \begin_layout PlainLayout
12144 , onehalf, double, other
12153 ] This defines what the default spacing should be in the layout.
12155 \begin_inset Flex CharStyle:Code
12158 \begin_layout PlainLayout
12165 \begin_inset Flex CharStyle:Code
12168 \begin_layout PlainLayout
12175 \begin_inset Flex CharStyle:Code
12178 \begin_layout PlainLayout
12184 correspond respectively to a multiplier value of 1, 1.25 and 1.667.
12185 If you specify the argument
12186 \begin_inset Flex CharStyle:Code
12189 \begin_layout PlainLayout
12195 , then you should also provide a numerical argument which will be the actual
12197 Note that, contrary to other parameters,
12198 \begin_inset Flex CharStyle:Code
12201 \begin_layout PlainLayout
12207 implies the generation of specific LaTeX code, using the package setspace.sty
12212 \begin_layout Description
12213 \begin_inset Flex CharStyle:Code
12216 \begin_layout PlainLayout
12222 The font used for both the text body
12228 \begin_inset Space ~
12232 \begin_inset CommandInset ref
12234 reference "sec:fonts"
12239 Note that defining this font automatically defines the
12240 \begin_inset Flex CharStyle:Code
12243 \begin_layout PlainLayout
12252 \begin_layout Description
12253 \begin_inset Flex CharStyle:Code
12256 \begin_layout PlainLayout
12262 The font used for the text body .
12264 \begin_inset Space ~
12268 \begin_inset CommandInset ref
12270 reference "sec:fonts"
12277 \begin_layout Description
12278 \begin_inset Flex CharStyle:Code
12281 \begin_layout PlainLayout
12287 The font used for the label.
12289 \begin_inset Space ~
12293 \begin_inset CommandInset ref
12295 reference "sec:fonts"
12302 \begin_layout Description
12303 \begin_inset Flex CharStyle:Code
12306 \begin_layout PlainLayout
12307 Preamble\SpecialChar \ldots{}
12313 A set of macro definitions that will be output at the beginning of the
12314 LaTeX files when the layout is used.
12315 Use this to define the macros needed by this particular layout.
12318 \begin_layout Description
12319 \begin_inset Flex CharStyle:Code
12322 \begin_layout PlainLayout
12329 \begin_inset Flex CharStyle:Code
12332 \begin_layout PlainLayout
12338 ] Whether the layout requires the feature
12339 \begin_inset Flex CharStyle:Code
12342 \begin_layout PlainLayout
12349 A feature is in general the name of a package (amsmath, makeidx, \SpecialChar \ldots{}
12351 macro (url, boldsymbol,\SpecialChar \ldots{}
12353 Multiple features must be separated by commas.
12354 Note that you can only request supported features; unfortunately, the complete
12355 list of supported features is not documented (however,
12356 \begin_inset Flex CharStyle:MenuItem
12359 \begin_layout PlainLayout
12364 elp\SpecialChar \menuseparator
12374 gives an overview of the supported packages).
12377 \begin_layout Description
12378 \begin_inset Flex CharStyle:Code
12381 \begin_layout PlainLayout
12387 the name of a style which preamble should be output
12391 the one mentionned above.
12392 This allows to ensure some ordering of the preamble snippets when macros
12393 definitions depend on one another
12397 \begin_layout PlainLayout
12398 Note that, besides that functionality, there is no way to ensure any ordering
12400 The ordering that you see in a given version of LyX may change without
12401 warning in later versions.
12409 \begin_layout Standard
12413 \begin_layout PlainLayout
12425 \begin_layout Subsection
12429 \begin_layout Standard
12430 \begin_inset CommandInset label
12436 Since version 1.3.0 of LyX, it is necessary to define the floats (
12437 \begin_inset Flex CharStyle:MenuItem
12440 \begin_layout PlainLayout
12447 \begin_inset Flex CharStyle:MenuItem
12450 \begin_layout PlainLayout
12456 , \SpecialChar \ldots{}
12457 ) in the text class itself.
12458 If you are looking here to learn how to upgrade an existing text class,
12459 it will probably turn out that all you have to do is to add
12462 \begin_layout LyX-Code
12463 Input stdfloats.inc
12466 \begin_layout Standard
12467 at a reasonable location of the text class.
12471 \begin_layout PlainLayout
12472 Don't forget to also have a look at counters in next section.
12477 If you want to implement a text class that proposes some other float types
12478 (like the AGU class bundled with LyX), the information below will hopefully
12482 \begin_layout Description
12483 \begin_inset Flex CharStyle:Code
12486 \begin_layout PlainLayout
12493 \begin_inset Flex CharStyle:Code
12496 \begin_layout PlainLayout
12503 \begin_inset Quotes erd
12507 \begin_inset Quotes erd
12511 \begin_inset Quotes eld
12515 \begin_inset Quotes erd
12518 of the new class of floats, like program or algorithm.
12519 After the appropriate
12520 \begin_inset Flex CharStyle:Code
12523 \begin_layout PlainLayout
12532 \begin_inset Flex CharStyle:Code
12535 \begin_layout PlainLayout
12544 \begin_inset Flex CharStyle:Code
12547 \begin_layout PlainLayout
12558 \begin_layout Description
12559 \begin_inset Flex CharStyle:Code
12562 \begin_layout PlainLayout
12569 \begin_inset Flex CharStyle:Code
12572 \begin_layout PlainLayout
12579 \begin_inset Quotes erd
12583 \begin_inset Quotes erd
12586 ] The string that will be used in the menus and also for the caption.
12589 \begin_layout Description
12590 \begin_inset Flex CharStyle:Code
12593 \begin_layout PlainLayout
12600 \begin_inset Flex CharStyle:Code
12603 \begin_layout PlainLayout
12612 \begin_inset Flex CharStyle:Code
12615 \begin_layout PlainLayout
12622 \begin_inset Flex CharStyle:Code
12625 \begin_layout PlainLayout
12631 if the float is already defined by the documentclass.
12633 \begin_inset Flex CharStyle:Code
12636 \begin_layout PlainLayout
12642 , the float will be defined using the LaTeX package
12643 \begin_inset Flex CharStyle:Code
12646 \begin_layout PlainLayout
12655 \begin_layout Description
12656 \begin_inset Flex CharStyle:Code
12659 \begin_layout PlainLayout
12666 \begin_inset Flex CharStyle:Code
12669 \begin_layout PlainLayout
12676 \begin_inset Quotes erd
12680 \begin_inset Quotes erd
12683 ] This (optional) argument determines whether floats of this class will
12684 be numbered within some sectional unit of the document.
12685 For example, if within is equal to
12686 \begin_inset Flex CharStyle:Code
12689 \begin_layout PlainLayout
12695 , the floats will be numbered within chapters.
12699 \begin_layout Description
12700 \begin_inset Flex CharStyle:Code
12703 \begin_layout PlainLayout
12710 \begin_inset Flex CharStyle:Code
12713 \begin_layout PlainLayout
12720 \begin_inset Quotes erd
12724 \begin_inset Quotes erd
12727 ] The style used when defining the float using
12728 \begin_inset Flex CharStyle:Code
12731 \begin_layout PlainLayout
12742 \begin_layout Description
12743 \begin_inset Flex CharStyle:Code
12746 \begin_layout PlainLayout
12753 \begin_inset Flex CharStyle:Code
12756 \begin_layout PlainLayout
12763 \begin_inset Quotes erd
12767 \begin_inset Quotes erd
12770 ] The default placement for the given class of floats.
12771 They are like in standard LaTeX:
12772 \begin_inset Flex CharStyle:Code
12775 \begin_layout PlainLayout
12782 \begin_inset Flex CharStyle:Code
12785 \begin_layout PlainLayout
12792 \begin_inset Flex CharStyle:Code
12795 \begin_layout PlainLayout
12802 \begin_inset Flex CharStyle:Code
12805 \begin_layout PlainLayout
12811 for top, bottom, page, and here, respectively.
12815 \begin_layout PlainLayout
12816 Note that the order of these letters in the string is irrelevant, like in
12822 On top of that there is a new type,
12823 \begin_inset Flex CharStyle:Code
12826 \begin_layout PlainLayout
12832 , which does not really correspond to a float, since it means: put it
12833 \begin_inset Quotes eld
12837 \begin_inset Quotes erd
12841 Note, however that the
12842 \begin_inset Flex CharStyle:Code
12845 \begin_layout PlainLayout
12851 specifier is special and, because of implementation details cannot be used
12852 in non-builtin float types.
12853 If you do not understand what this means, just use
12854 \begin_inset Flex CharStyle:Code
12857 \begin_layout PlainLayout
12866 \begin_layout Description
12867 \begin_inset Flex CharStyle:Code
12870 \begin_layout PlainLayout
12877 \begin_inset Flex CharStyle:Code
12880 \begin_layout PlainLayout
12887 \begin_inset Quotes erd
12891 \begin_inset Quotes erd
12894 ] The file name extension of an auxiliary file for the list of figures (or
12896 LaTeX writes the captions to this file.
12899 \begin_layout Description
12900 \begin_inset Flex CharStyle:Code
12903 \begin_layout PlainLayout
12910 \begin_inset Flex CharStyle:Code
12913 \begin_layout PlainLayout
12920 \begin_inset Quotes erd
12924 \begin_inset Quotes erd
12927 ] The heading used for the list of floats.
12930 \begin_layout Standard
12931 Note that defining a float with type
12932 \begin_inset Flex CharStyle:Code
12935 \begin_layout PlainLayout
12943 automatically defines the corresponding counter with name
12944 \begin_inset Flex CharStyle:Code
12947 \begin_layout PlainLayout
12958 \begin_layout Subsection
12959 Inset layouts and Flex insets
12962 \begin_layout Standard
12963 \begin_inset CommandInset label
12965 name "sec:charstyle"
12969 You can define character styles since version 1.4.0 of LyX; since version
12970 1.6.0 these are called Flex insets.
12974 \begin_layout Standard
12975 Furthermore it is possible to define the general layout of many different
12977 Currently layout parameters can be defined for footnotes, marginal notes,
12978 note insets, ERT insets, branch insets, and Flex insets.
12979 The latter are definable from the user GUI and come in three different
12980 kinds: character style (
12981 \begin_inset Flex CharStyle:Code
12984 \begin_layout PlainLayout
12991 \begin_inset Flex CharStyle:Code
12994 \begin_layout PlainLayout
13000 ), and XML element (
13001 \begin_inset Flex CharStyle:Code
13004 \begin_layout PlainLayout
13014 \begin_layout Standard
13016 \begin_inset Flex CharStyle:Code
13019 \begin_layout PlainLayout
13025 definition starting line is of the form
13028 \begin_layout LyX-Code
13029 InsetLayout <Type> <Name>
13032 \begin_layout Standard
13036 \begin_layout Standard
13037 \begin_inset Flex CharStyle:Code
13040 \begin_layout PlainLayout
13047 \begin_inset Flex CharStyle:Code
13050 \begin_layout PlainLayout
13051 Foot, Margin, Note, Flex
13059 \begin_layout Standard
13060 \begin_inset Flex CharStyle:Code
13063 \begin_layout PlainLayout
13069 can be empty (for foot- and marginal notes, branches and ERT) or one of
13071 \begin_inset Flex CharStyle:Code
13074 \begin_layout PlainLayout
13081 \begin_inset Flex CharStyle:Code
13084 \begin_layout PlainLayout
13091 \begin_inset Flex CharStyle:Code
13094 \begin_layout PlainLayout
13101 \begin_inset Flex CharStyle:Code
13104 \begin_layout PlainLayout
13111 Here, the second part of the name can be chosen freely (for CharStyle,
13112 Custom and Element), or from a predefined list (for Note).
13115 \begin_layout Standard
13117 \begin_inset Flex CharStyle:Code
13120 \begin_layout PlainLayout
13126 section can contain the following entries:
13129 \begin_layout Description
13130 \begin_inset Flex CharStyle:Code
13133 \begin_layout PlainLayout
13140 \begin_inset Flex CharStyle:Code
13143 \begin_layout PlainLayout
13150 \begin_inset Flex CharStyle:Code
13153 \begin_layout PlainLayout
13160 \begin_inset Flex CharStyle:Code
13163 \begin_layout PlainLayout
13170 \begin_inset Flex CharStyle:Code
13173 \begin_layout PlainLayout
13179 (indicating a dummy definition ending definitions of charstyles etc.).
13180 This entry is only meaningful for Flex (user definable) insets, the three
13181 types of which are CharStyle, Custom and Element.
13184 \begin_layout Description
13185 \begin_inset Flex CharStyle:Code
13188 \begin_layout PlainLayout
13195 \begin_inset Flex CharStyle:Code
13198 \begin_layout PlainLayout
13205 \begin_inset Flex CharStyle:Code
13208 \begin_layout PlainLayout
13209 Minimalistic or Conglomerate
13214 , describing the rendering style used for the inset's frame and buttons.
13217 \begin_layout Description
13218 \begin_inset Flex CharStyle:Code
13221 \begin_layout PlainLayout
13227 defines what will be displayed on the button or elsewhere as the inset
13229 Some inset types (ERT and Branch) modify this label on the fly.
13232 \begin_layout Description
13233 \begin_inset Flex CharStyle:Code
13236 \begin_layout PlainLayout
13242 The font used for both the text body
13248 \begin_inset Space ~
13252 \begin_inset CommandInset ref
13254 reference "sec:fonts"
13259 Note that defining this font automatically defines the
13260 \begin_inset Flex CharStyle:Code
13263 \begin_layout PlainLayout
13272 \begin_layout Description
13273 \begin_inset Flex CharStyle:Code
13276 \begin_layout PlainLayout
13282 The font used for the label.
13284 \begin_inset Space ~
13288 \begin_inset CommandInset ref
13290 reference "sec:fonts"
13295 Note that this definition can never appear before
13296 \begin_inset Flex CharStyle:Code
13299 \begin_layout PlainLayout
13305 , lest it be ineffective (see above)
13308 \begin_layout Description
13309 \begin_inset Flex CharStyle:Code
13312 \begin_layout PlainLayout
13318 The name of the corresponding LaTeX stuff.
13319 Either the environment or command name.
13322 \begin_layout Description
13323 \begin_inset Flex CharStyle:Code
13326 \begin_layout PlainLayout
13332 The optional parameter for the corresponding
13333 \begin_inset Flex CharStyle:Code
13336 \begin_layout PlainLayout
13342 stuff, including possible bracket pairs like
13343 \begin_inset Flex CharStyle:Code
13346 \begin_layout PlainLayout
13353 This parameter cannot be changed from within LyX.
13356 \begin_layout Description
13357 \begin_inset Flex CharStyle:Code
13360 \begin_layout PlainLayout
13367 \begin_inset Space ~
13371 \begin_inset CommandInset ref
13373 reference "sec:style"
13380 \begin_layout Description
13381 \begin_inset Flex CharStyle:Code
13384 \begin_layout PlainLayout
13385 Preamble\SpecialChar \ldots{}
13392 \begin_inset Space ~
13396 \begin_inset CommandInset ref
13398 reference "sec:style"
13405 \begin_layout Description
13406 \begin_inset Flex CharStyle:Code
13409 \begin_layout PlainLayout
13416 \begin_inset Flex CharStyle:Code
13419 \begin_layout PlainLayout
13426 \begin_inset Space ~
13430 \begin_inset CommandInset ref
13432 reference "sec:style"
13439 \begin_layout Subsection
13443 \begin_layout Standard
13444 \begin_inset CommandInset label
13450 Since version 1.3.0 of LyX, it is necessary to define the counters (
13451 \begin_inset Flex CharStyle:MenuItem
13454 \begin_layout PlainLayout
13461 \begin_inset Flex CharStyle:MenuItem
13464 \begin_layout PlainLayout
13470 , \SpecialChar \ldots{}
13471 ) in the text class itself.
13472 If you are looking here to learn how to upgrade an existing text class,
13473 it will probably turn out that all you have to do is to add
13476 \begin_layout LyX-Code
13477 Input stdcounters.inc
13480 \begin_layout Standard
13481 The following parameters can be used:
13484 \begin_layout Description
13485 \begin_inset Flex CharStyle:Code
13488 \begin_layout PlainLayout
13495 \begin_inset Flex CharStyle:Code
13498 \begin_layout PlainLayout
13505 \begin_inset Quotes erd
13509 \begin_inset Quotes erd
13512 ] The name of the counter.
13515 \begin_layout Description
13516 \begin_inset Flex CharStyle:Code
13519 \begin_layout PlainLayout
13526 \begin_inset Flex CharStyle:Code
13529 \begin_layout PlainLayout
13536 \begin_inset Quotes erd
13540 \begin_inset Quotes erd
13543 ] If this is set to the name of another counter, the present counter will
13544 be reset everytime the other one is increased.
13546 \begin_inset Flex CharStyle:Code
13549 \begin_layout PlainLayout
13556 \begin_inset Flex CharStyle:Code
13559 \begin_layout PlainLayout
13568 \begin_layout Description
13569 \begin_inset Flex CharStyle:Code
13572 \begin_layout PlainLayout
13573 LabelString [string=""]
13578 when this is defined, this string defines how the counter is displayed.
13579 Setting this value resets
13580 \begin_inset Flex CharStyle:Code
13583 \begin_layout PlainLayout
13584 LabelStringAppendix
13590 The following special constructs can be used in the string:
13593 \begin_layout Itemize
13594 \begin_inset Flex CharStyle:Code
13597 \begin_layout PlainLayout
13605 will be replaced by the expansion of the
13606 \begin_inset Flex CharStyle:Code
13609 \begin_layout PlainLayout
13616 \begin_inset Flex CharStyle:Code
13619 \begin_layout PlainLayout
13620 LabelStringAppendix
13626 \begin_inset Flex CharStyle:Code
13629 \begin_layout PlainLayout
13636 If these are empty, a default value is constructed as follows: if the counter
13637 has a master counter
13638 \begin_inset Flex CharStyle:Code
13641 \begin_layout PlainLayout
13648 \begin_inset Flex CharStyle:Code
13651 \begin_layout PlainLayout
13661 is used; otherwise the string
13662 \begin_inset Flex CharStyle:Code
13665 \begin_layout PlainLayout
13676 \begin_layout Itemize
13677 counter values can be expressed using LaTeX-like macros
13678 \begin_inset Flex CharStyle:Code
13681 \begin_layout PlainLayout
13698 \begin_inset Flex CharStyle:Code
13701 \begin_layout PlainLayout
13712 \begin_layout Description
13713 \begin_inset Flex CharStyle:Code
13716 \begin_layout PlainLayout
13723 \begin_inset Flex CharStyle:Code
13726 \begin_layout PlainLayout
13732 to arabic numerals, like 1, 2, 3\SpecialChar \ldots{}
13737 \begin_layout PlainLayout
13747 Actually, the situation is a bit more complicated than that: any
13754 \begin_inset Flex CharStyle:Code
13757 \begin_layout PlainLayout
13768 other than those descibed below will produce arabic numerals.
13769 It would not be surprising to see this change in the future.
13777 \begin_layout Description
13778 \begin_inset Flex CharStyle:Code
13781 \begin_layout PlainLayout
13787 for lower-case letters: a, b, c, \SpecialChar \ldots{}
13791 \begin_layout Description
13792 \begin_inset Flex CharStyle:Code
13795 \begin_layout PlainLayout
13801 for upper-case letters: A, B, C, \SpecialChar \ldots{}
13805 \begin_layout Description
13806 \begin_inset Flex CharStyle:Code
13809 \begin_layout PlainLayout
13815 for lower-case roman numerals: i, ii, iii, \SpecialChar \ldots{}
13819 \begin_layout Description
13820 \begin_inset Flex CharStyle:Code
13823 \begin_layout PlainLayout
13829 for upper-case roman numerals: I, II, III\SpecialChar \ldots{}
13833 \begin_layout Description
13834 \begin_inset Flex CharStyle:Code
13837 \begin_layout PlainLayout
13843 for hebrew numerals.
13846 \begin_layout Description
13847 \begin_inset Flex CharStyle:Code
13850 \begin_layout PlainLayout
13851 LabelStringAppendix [string=""]
13857 \begin_inset Flex CharStyle:Code
13860 \begin_layout PlainLayout
13871 , for use in appendix.
13874 \begin_layout Subsection
13878 \begin_layout Standard
13879 \begin_inset CommandInset label
13885 A font description looks like that:
13888 \begin_layout LyX-Code
13898 \begin_layout LyX-Code
13902 \begin_layout LyX-Code
13906 \begin_layout Standard
13907 and the following commands are available:
13910 \begin_layout Description
13911 \begin_inset Flex CharStyle:Code
13914 \begin_layout PlainLayout
13921 \begin_inset Flex CharStyle:Code
13924 \begin_layout PlainLayout
13937 \begin_layout Description
13938 \begin_inset Flex CharStyle:Code
13941 \begin_layout PlainLayout
13948 \begin_inset Flex CharStyle:Code
13951 \begin_layout PlainLayout
13964 \begin_layout Description
13965 \begin_inset Flex CharStyle:Code
13968 \begin_layout PlainLayout
13975 \begin_inset Flex CharStyle:Code
13978 \begin_layout PlainLayout
13983 , Italic, SmallCaps, Slanted
13991 \begin_layout Description
13992 \begin_inset Flex CharStyle:Code
13995 \begin_layout PlainLayout
14002 \begin_inset Flex CharStyle:Code
14005 \begin_layout PlainLayout
14012 \begin_inset Flex CharStyle:Code
14015 \begin_layout PlainLayout
14020 , large, larger, largest, huge, giant
14028 \begin_layout Description
14029 \begin_inset Flex CharStyle:Code
14032 \begin_layout PlainLayout
14039 \begin_inset Flex CharStyle:Code
14042 \begin_layout PlainLayout
14047 , black, white, red, green, blue, cyan, magenta, yellow
14055 \begin_layout Subsection
14056 Upgrading old layout files
14059 \begin_layout Standard
14060 The file format of layout files changes from time to time, so old layout
14061 files need to be converted.
14062 This process has been automated in LyX 1.4.0: If LyX reads an old format
14063 layout file it will call the conversion tool
14064 \begin_inset Flex CharStyle:Code
14067 \begin_layout PlainLayout
14068 $LyXDir/scripts/layout2layout.py
14073 and convert it to a temporary file in current format.
14074 The original file is left untouched, so that you can still use it with
14076 If you want to convert the layout file permanently, just call the converter
14080 \begin_layout LyX-Code
14081 python $LyXDir/scripts/layout2layout.py myclass.layout myclassnew.layout
14084 \begin_layout Standard
14086 \begin_inset Flex CharStyle:Code
14089 \begin_layout PlainLayout
14096 \begin_inset Flex CharStyle:Code
14099 \begin_layout PlainLayout
14108 \begin_layout Standard
14109 The automatic conversion does only handle syntax changes.
14110 It cannot handle the case where the contents of included files was changed.
14111 For example, layout files based on
14112 \begin_inset Flex CharStyle:Code
14115 \begin_layout PlainLayout
14122 \begin_inset Flex CharStyle:Code
14125 \begin_layout PlainLayout
14132 \begin_inset Flex CharStyle:Code
14135 \begin_layout PlainLayout
14142 If you get error messages about undefined counters, try to convert your
14144 \begin_inset Flex CharStyle:Code
14147 \begin_layout PlainLayout
14153 and then add one of
14154 \begin_inset Flex CharStyle:Code
14157 \begin_layout PlainLayout
14164 \begin_inset Flex CharStyle:Code
14167 \begin_layout PlainLayout
14174 \begin_inset Flex CharStyle:Code
14177 \begin_layout PlainLayout
14186 \begin_layout Section
14188 \begin_inset CommandInset label
14190 name "sec:templates"
14197 \begin_layout Standard
14198 Templates are created just like usual documents.
14199 The only difference is that usual documents contain all possible settings,
14200 including the fontscheme and the papersize.
14201 Usually a user doesn't want a template to overwrite his defaults in these
14203 For that reason, the designer of a template should remove the corresponding
14205 \begin_inset Flex CharStyle:Code
14208 \begin_layout PlainLayout
14217 \begin_inset Flex CharStyle:Code
14220 \begin_layout PlainLayout
14228 from the template LyX file.
14229 This can be done with any simple text-editor, for example
14230 \begin_inset Flex CharStyle:Code
14233 \begin_layout PlainLayout
14240 \begin_inset Flex CharStyle:Code
14243 \begin_layout PlainLayout
14253 \begin_layout Standard
14254 Put the edited template files you create in
14255 \begin_inset Flex CharStyle:Code
14258 \begin_layout PlainLayout
14259 $UserDir/templates/
14264 , copy the ones you use from the global template directory in
14265 \begin_inset Flex CharStyle:Code
14268 \begin_layout PlainLayout
14274 to the same place, and redefine the template path in the
14275 \begin_inset Flex CharStyle:MenuItem
14278 \begin_layout PlainLayout
14283 dit\SpecialChar \menuseparator
14294 \begin_inset Flex CharStyle:MenuItem
14297 \begin_layout PlainLayout
14304 \begin_inset Flex CharStyle:MenuItem
14307 \begin_layout PlainLayout
14317 \begin_layout Standard
14318 Note that there is a template which has a particular meaning:
14319 \begin_inset Flex CharStyle:Code
14322 \begin_layout PlainLayout
14329 This template is loaded everytime you create a new document with
14330 \begin_inset Flex CharStyle:MenuItem
14333 \begin_layout PlainLayout
14343 \SpecialChar \menuseparator
14345 \begin_inset Flex CharStyle:MenuItem
14348 \begin_layout PlainLayout
14358 in order to provide useful defaults.
14359 To create this template from inside LyX, all you have to do is to open
14360 a document with the correct settings, and use the
14361 \begin_inset Flex CharStyle:MenuItem
14364 \begin_layout PlainLayout
14369 e as Document Defaults
14377 \begin_layout Chapter
14378 Including External Material
14381 \begin_layout Section
14385 \begin_layout Standard
14386 \begin_inset Note Note
14389 \begin_layout PlainLayout
14390 This section is completely outdated.
14395 One often requested feature from LyX users is to be able to interface LyX
14396 with Xfig, Dia, or other similar applications that specialize in producing
14397 a certain kind of diagram, figure, schematic or whatever material might
14398 be relevant to include in your document.
14399 Previously, it was only possible to include boring, static, fixed images
14400 in LyX documents with the graphics feature, but there are several limitations
14401 attached to this approach:
14404 \begin_layout Itemize
14405 If you want to change the figure, you have to invoke an external program
14409 \begin_layout Itemize
14410 LyX does not notice that the referenced files change, so the on-screen display
14411 can fast become obsolete, and this is aggravated by the lack of a means
14412 of updating the display
14415 \begin_layout Itemize
14416 The graphics stuff does not provide any mechanisms for coping with different
14417 exported formats such as DocBook, HTML or plain text
14420 \begin_layout Standard
14421 The external material facility attempts to solve all of these problems
14425 \begin_layout PlainLayout
14426 Even if the graphics facility can't solve all problems, it is still valuable
14427 because it does provide in-line preview of the graphics, and supports advanced
14428 geometric transformations with a comfortable user interface.
14434 It does this by offering a general method to interface LyX to external
14436 Instead of introducing a long list of different constructs tailored for
14437 each specific application, we chose to sacrifice the in-line displaying
14438 of the included material in order to provide a general construct to cover
14439 a wide range of applications.
14440 The result is the external material construct.
14441 External material presents itself in the document simply as a button, but
14442 don't let this fool you.
14443 When you click on it, a dialog will appear that allows you to chose exactly
14444 what material to include, and in the following sections you will learn
14445 that this is indeed a powerful mechanism that can solve all of the above
14446 problems, and more.
14449 \begin_layout Section
14453 \begin_layout Standard
14454 The external material feature is based on the concept of a
14459 A template is a specification of how LyX should interface with a certain
14461 As bundled, LyX comes with predefined templates for Xfig figures, Dia diagrams,
14462 various raster format images, gnuplot, and more.
14463 You can check the actual list by using the menu
14464 \begin_inset Flex CharStyle:MenuItem
14467 \begin_layout PlainLayout
14468 Insert\SpecialChar \menuseparator
14469 File\SpecialChar \menuseparator
14476 \begin_inset Space ~
14480 \begin_inset Flex CharStyle:MenuItem
14483 \begin_layout PlainLayout
14490 Furthermore, it is possible to roll your own template to support a specific
14492 Later we'll describe in more detail what is involved, and hopefully you
14493 will submit all the templates you create so we can include them in a later
14497 \begin_layout Standard
14498 Another basic idea of the external material feature is to distinguish between
14499 the original file that serves as a base for final material and the produced
14500 file that is included in your exported or printed document.
14501 For example, consider the case of a figure produced with
14502 \begin_inset Flex CharStyle:Code
14505 \begin_layout PlainLayout
14512 The Xfig application itself works on an original file with the
14513 \begin_inset Flex CharStyle:Code
14516 \begin_layout PlainLayout
14523 Within XFig, you create and change your figure, and when you are done,
14525 \begin_inset Flex CharStyle:Code
14528 \begin_layout PlainLayout
14535 When you want to include the figure in your document, you invoke
14536 \begin_inset Flex CharStyle:Code
14539 \begin_layout PlainLayout
14545 in order to create a PostScript file that can readily be included in your
14548 \begin_inset Flex CharStyle:Code
14551 \begin_layout PlainLayout
14557 file is the original file, and the PostScript file is the produced file.
14560 \begin_layout Standard
14561 This distinction is important in order to allow updating of the material
14562 while you are in the process of writing the document.
14563 Furthermore, it provides us with the flexibility that is needed to support
14564 multiple export formats.
14565 For instance, in the case of a plain text file, it is not exactly an award-winn
14566 ing idea to include the figure as raw PostScript.
14567 Instead, you'd either prefer to just include a reference to the figure,
14568 or try to invoke some graphics to Ascii converter to make the final result
14569 look similar to the real graphics.
14570 The external material management allows you to do this, because it is parameter
14571 ized on the different export formats that LyX supports.
14574 \begin_layout Standard
14575 Besides supporting the production of different products according to the
14576 exported format, it supports tight integration with editing and viewing
14578 In the case of an XFig figure, you are able to invoke
14579 \begin_inset Flex CharStyle:Code
14582 \begin_layout PlainLayout
14588 on the original file with a single click from within the external material
14589 dialog in LyX, and also preview the produced PostScript file with
14590 \begin_inset Flex CharStyle:Code
14593 \begin_layout PlainLayout
14599 with another click.
14600 No more fiddling around with the command line and/or file browsers to locate
14601 and manipulate the original or produced files.
14602 In this way, you are finally able to take full advantage of the many different
14603 applications that are relevant to use when you write your documents, and
14604 ultimately be more productive.
14607 \begin_layout Section
14608 External material dialog
14611 \begin_layout Standard
14613 \begin_inset Flex CharStyle:MenuItem
14616 \begin_layout PlainLayout
14622 dialog is described in the
14623 \begin_inset Flex CharStyle:MenuItem
14626 \begin_layout PlainLayout
14637 \begin_layout Section
14641 \begin_layout Standard
14642 In this section, we should include some examples of use of the external
14644 Those examples could include:
14647 \begin_layout Itemize
14648 External raster images
14651 \begin_layout Itemize
14652 External XFig figures
14655 \begin_layout Itemize
14659 \begin_layout Itemize
14663 \begin_layout Itemize
14664 The use of makefiles
14667 \begin_layout Itemize
14668 Recursive external LyX templates
14671 \begin_layout Section
14672 The external template configuration file
14675 \begin_layout Standard
14676 It is relatively easy to add custom external template definitions to LyX.
14677 However, be aware this doing this in an careless manner most probably
14681 introduce an easily exploitable security hole.
14682 So before you do this, please read the discussion about security which
14686 \begin_layout Standard
14687 Having said that, we encourage you to submit any interesting templates that
14692 \begin_layout Standard
14693 The external templates are defined in the
14694 \begin_inset Flex CharStyle:Code
14697 \begin_layout PlainLayout
14698 lib/external_templates
14704 You can place your own version in
14705 \begin_inset Flex CharStyle:Code
14708 \begin_layout PlainLayout
14709 .lyx/external_templates
14717 \begin_layout Standard
14718 A typical template looks like this:
14721 \begin_layout LyX-Code
14725 \begin_layout LyX-Code
14726 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
14729 \begin_layout LyX-Code
14733 \begin_layout LyX-Code
14737 \begin_layout LyX-Code
14741 \begin_layout LyX-Code
14745 \begin_layout LyX-Code
14749 \begin_layout LyX-Code
14750 AutomaticProduction true
14753 \begin_layout LyX-Code
14757 \begin_layout LyX-Code
14761 \begin_layout LyX-Code
14765 \begin_layout LyX-Code
14766 TransformCommand Rotate RotationLatexCommand
14769 \begin_layout LyX-Code
14770 TransformCommand Resize ResizeLatexCommand
14773 \begin_layout LyX-Code
14774 Product "$$RotateFront$$ResizeFront
14777 \begin_layout LyX-Code
14782 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
14785 \begin_layout LyX-Code
14786 $$ResizeBack$$RotateBack"
14789 \begin_layout LyX-Code
14793 \begin_layout LyX-Code
14794 UpdateResult "$$AbsPath$$Basename.pstex_t"
14797 \begin_layout LyX-Code
14798 Requirement "graphicx"
14801 \begin_layout LyX-Code
14802 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
14805 \begin_layout LyX-Code
14806 ReferencedFile latex "$$AbsPath$$Basename.eps"
14809 \begin_layout LyX-Code
14810 ReferencedFile dvi "$$AbsPath$$Basename.eps"
14813 \begin_layout LyX-Code
14817 \begin_layout LyX-Code
14821 \begin_layout LyX-Code
14822 TransformCommand Rotate RotationLatexCommand
14825 \begin_layout LyX-Code
14826 TransformCommand Resize ResizeLatexCommand
14829 \begin_layout LyX-Code
14830 Product "$$RotateFront$$ResizeFront
14833 \begin_layout LyX-Code
14838 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
14841 \begin_layout LyX-Code
14842 $$ResizeBack$$RotateBack"
14845 \begin_layout LyX-Code
14846 UpdateFormat pdftex
14849 \begin_layout LyX-Code
14850 UpdateResult "$$AbsPath$$Basename.pdftex_t"
14853 \begin_layout LyX-Code
14854 Requirement "graphicx"
14857 \begin_layout LyX-Code
14858 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
14861 \begin_layout LyX-Code
14862 ReferencedFile latex "$$AbsPath$$Basename.pdf"
14865 \begin_layout LyX-Code
14869 \begin_layout LyX-Code
14873 \begin_layout LyX-Code
14874 Product "$$Contents(
14876 "$$AbsPath$$Basename.asc
14881 \begin_layout LyX-Code
14882 UpdateFormat asciixfig
14885 \begin_layout LyX-Code
14886 UpdateResult "$$AbsPath$$Basename.asc"
14889 \begin_layout LyX-Code
14893 \begin_layout LyX-Code
14897 \begin_layout LyX-Code
14898 Product "<graphic fileref=
14900 "$$AbsOrRelPathMaster$$Basename.eps
14905 \begin_layout LyX-Code
14909 \begin_layout LyX-Code
14913 \begin_layout LyX-Code
14914 UpdateResult "$$AbsPath$$Basename.eps"
14917 \begin_layout LyX-Code
14918 ReferencedFile docbook "$$AbsPath$$Basename.eps"
14921 \begin_layout LyX-Code
14922 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
14925 \begin_layout LyX-Code
14929 \begin_layout LyX-Code
14930 Product "[XFig: $$FName]"
14933 \begin_layout LyX-Code
14937 \begin_layout LyX-Code
14941 \begin_layout Standard
14942 As you can see, the template is enclosed in
14943 \begin_inset Flex CharStyle:Code
14946 \begin_layout PlainLayout
14952 \SpecialChar \ldots{}
14954 \begin_inset Flex CharStyle:Code
14957 \begin_layout PlainLayout
14964 It contains a header specifying some general settings, and for each supported
14965 primary document file format a section
14966 \begin_inset Flex CharStyle:Code
14969 \begin_layout PlainLayout
14975 \SpecialChar \ldots{}
14977 \begin_inset Flex CharStyle:Code
14980 \begin_layout PlainLayout
14989 \begin_layout Subsection
14990 The template header
14993 \begin_layout Description
14994 \begin_inset Flex CharStyle:Code
14997 \begin_layout PlainLayout
14999 \begin_inset Space ~
15007 A unique name for the template.
15008 It must not contain substitution macros (see below).
15011 \begin_layout Description
15012 \begin_inset Flex CharStyle:Code
15015 \begin_layout PlainLayout
15017 \begin_inset Space ~
15025 The text that is displayed on the button.
15026 This command must occur exactly once.
15029 \begin_layout Description
15030 \begin_inset Flex CharStyle:Code
15033 \begin_layout PlainLayout
15035 \begin_inset Space ~
15039 \begin_inset Space ~
15047 The help text that is used in the External dialog.
15048 Provide enough information to explain to the user just what the template
15049 can provide him with.
15050 This command must occur exactly once.
15053 \begin_layout Description
15054 \begin_inset Flex CharStyle:Code
15057 \begin_layout PlainLayout
15059 \begin_inset Space ~
15067 The file format of the original file.
15068 This must be the name of a format that is known to LyX (see the
15069 \begin_inset Flex CharStyle:MenuItem
15072 \begin_layout PlainLayout
15077 ools\SpecialChar \menuseparator
15082 references:Conversion
15089 \begin_inset Flex CharStyle:Code
15092 \begin_layout PlainLayout
15098 if the template can handle original files of more than one format.
15099 LyX will attempt to interrogate the file itself in order to deduce its
15100 format in this case.
15101 This command must occur exactly once.
15104 \begin_layout Description
15105 \begin_inset Flex CharStyle:Code
15108 \begin_layout PlainLayout
15110 \begin_inset Space ~
15118 A glob pattern that is used in the file dialog to filter out the desired
15120 If there is more than one possible file extension (e.g.
15121 \begin_inset Space ~
15125 \begin_inset Flex CharStyle:Code
15128 \begin_layout PlainLayout
15135 \begin_inset Flex CharStyle:Code
15138 \begin_layout PlainLayout
15144 ), use something like
15145 \begin_inset Flex CharStyle:Code
15148 \begin_layout PlainLayout
15155 This command must occur exactly once.
15158 \begin_layout Description
15159 \begin_inset Flex CharStyle:Code
15162 \begin_layout PlainLayout
15163 AutomaticProduction
15164 \begin_inset Space ~
15172 Wether the file represented by the template must be generated by LyX.
15173 This command must occur exactly once.
15176 \begin_layout Description
15177 \begin_inset Flex CharStyle:Code
15180 \begin_layout PlainLayout
15182 \begin_inset Space ~
15185 Rotate|Resize|Clip|Extra
15190 This command specifies which transformations are supported by this template.
15191 It may occur zero or more times.
15192 This command enables the corresponding tabs in the external dialog.
15194 \begin_inset Flex CharStyle:Code
15197 \begin_layout PlainLayout
15203 command must have either a corresponding
15204 \begin_inset Flex CharStyle:Code
15207 \begin_layout PlainLayout
15214 \begin_inset Flex CharStyle:Code
15217 \begin_layout PlainLayout
15224 \begin_inset Flex CharStyle:Code
15227 \begin_layout PlainLayout
15234 Otherwise the transformation will not be supported by that format.
15237 \begin_layout Subsection
15241 \begin_layout Description
15242 \begin_inset Flex CharStyle:Code
15245 \begin_layout PlainLayout
15247 \begin_inset Space ~
15250 LaTeX|PDFLaTeX|PlainText|DocBook
15255 The primary document file format that this format definition is for.
15256 Not every template has a sensible representation in all document file formats.
15257 Please define nevertheless a
15258 \begin_inset Flex CharStyle:Code
15261 \begin_layout PlainLayout
15267 section for all formats.
15268 Use a dummy text when no representation is available.
15269 Then you can at least see a reference to the external material in the exported
15273 \begin_layout Description
15274 \begin_inset Flex CharStyle:Code
15277 \begin_layout PlainLayout
15279 \begin_inset Space ~
15283 \begin_inset Space ~
15286 RotationLatexCommand
15291 This command specifies that the built in LaTeX command should be used for
15293 This command may occur once or not at all.
15296 \begin_layout Description
15297 \begin_inset Flex CharStyle:Code
15300 \begin_layout PlainLayout
15302 \begin_inset Space ~
15306 \begin_inset Space ~
15314 This command specifies that the built in LaTeX command should be used for
15316 This command may occur once or not at all.
15319 \begin_layout Description
15320 \begin_inset Flex CharStyle:Code
15323 \begin_layout PlainLayout
15325 \begin_inset Space ~
15329 \begin_inset Space ~
15332 RotationLatexOption
15337 This command specifies that rotation is done via an optional argument.
15338 This command may occur once or not at all.
15341 \begin_layout Description
15342 \begin_inset Flex CharStyle:Code
15345 \begin_layout PlainLayout
15347 \begin_inset Space ~
15351 \begin_inset Space ~
15359 This command specifies that resizing is done via an optional argument.
15360 This command may occur once or not at all.
15363 \begin_layout Description
15364 \begin_inset Flex CharStyle:Code
15367 \begin_layout PlainLayout
15369 \begin_inset Space ~
15373 \begin_inset Space ~
15381 This command specifies that clipping is done via an optional argument.
15382 This command may occur once or not at all.
15385 \begin_layout Description
15386 \begin_inset Flex CharStyle:Code
15389 \begin_layout PlainLayout
15391 \begin_inset Space ~
15395 \begin_inset Space ~
15403 This command specifies that an extra optional argument is used.
15404 This command may occur once or not at all.
15407 \begin_layout Description
15408 \begin_inset Flex CharStyle:Code
15411 \begin_layout PlainLayout
15413 \begin_inset Space ~
15421 The text that is inserted in the exported document.
15422 This is actually the most important command and can be quite complex.
15423 This command must occur exactly once.
15426 \begin_layout Description
15427 \begin_inset Flex CharStyle:Code
15430 \begin_layout PlainLayout
15432 \begin_inset Space ~
15440 The file format of the converted file.
15441 This must be the name of a format that is known to LyX (see the
15442 \begin_inset Flex CharStyle:MenuItem
15445 \begin_layout PlainLayout
15450 ools\SpecialChar \menuseparator
15455 references:Conversion
15461 This command must occur exactly once.
15464 \begin_layout Description
15465 \begin_inset Flex CharStyle:Code
15468 \begin_layout PlainLayout
15470 \begin_inset Space ~
15478 The file name of the converted file.
15479 The file name must be absolute.
15480 This command must occur exactly once.
15483 \begin_layout Description
15484 \begin_inset Flex CharStyle:Code
15487 \begin_layout PlainLayout
15489 \begin_inset Space ~
15493 \begin_inset Space ~
15501 This command denotes files that are created by the conversion process and
15502 are needed for a particular export format.
15503 If the filename is relative, it is interpreted relative to the master document.
15504 This command may be given zero or more times.
15507 \begin_layout Description
15508 \begin_inset Flex CharStyle:Code
15511 \begin_layout PlainLayout
15513 \begin_inset Space ~
15521 The name of a required LaTeX package.
15522 The package is included via
15523 \begin_inset Flex CharStyle:Code
15526 \begin_layout PlainLayout
15534 in the LaTeX preamble.
15535 This command may occur zero or more times.
15538 \begin_layout Description
15539 \begin_inset Flex CharStyle:Code
15542 \begin_layout PlainLayout
15544 \begin_inset Space ~
15552 This command specifies a preamble snippet that will be included in the
15554 It has to be defined using
15555 \begin_inset Flex CharStyle:Code
15558 \begin_layout PlainLayout
15564 \SpecialChar \ldots{}
15566 \begin_inset Flex CharStyle:Code
15569 \begin_layout PlainLayout
15576 This command may occur zero or more times.
15579 \begin_layout Description
15580 \begin_inset Flex CharStyle:Code
15583 \begin_layout PlainLayout
15585 \begin_inset Space ~
15589 \begin_inset Space ~
15597 This command defines an additional macro
15598 \begin_inset Flex CharStyle:Code
15601 \begin_layout PlainLayout
15607 for substitution in
15608 \begin_inset Flex CharStyle:Code
15611 \begin_layout PlainLayout
15619 \begin_inset Flex CharStyle:Code
15622 \begin_layout PlainLayout
15628 itself may contain substitution macros.
15629 The advantage over using
15630 \begin_inset Flex CharStyle:Code
15633 \begin_layout PlainLayout
15640 \begin_inset Flex CharStyle:Code
15643 \begin_layout PlainLayout
15649 is that the substituted value of
15650 \begin_inset Flex CharStyle:Code
15653 \begin_layout PlainLayout
15659 is sanitized so that it is a valid optional argument in the document format.
15660 This command may occur zero or more times.
15663 \begin_layout Subsection
15664 Preamble definitions
15667 \begin_layout Standard
15668 The external template configuration file may contain additional preamble
15669 definitions enclosed by
15670 \begin_inset Flex CharStyle:Code
15673 \begin_layout PlainLayout
15679 \SpecialChar \ldots{}
15681 \begin_inset Flex CharStyle:Code
15684 \begin_layout PlainLayout
15691 They can be used by the templates in the
15692 \begin_inset Flex CharStyle:Code
15695 \begin_layout PlainLayout
15704 \begin_layout Section
15705 The substitution mechanism
15708 \begin_layout Standard
15709 When the external material facility invokes an external program, it is done
15710 on the basis of a command defined in the template configuration file.
15711 These commands can contain various macros that are expanded before execution.
15712 Execution always take place in the directory of the containing document.
15715 \begin_layout Standard
15716 Also, whenever external material is to be displayed, the name will be produced
15717 by the substitution mechanism, and most other commands in the template
15718 definition support substitution as well.
15721 \begin_layout Standard
15722 The available macros are the following:
15725 \begin_layout Description
15726 $$FName The filename of the file specified in the external material dialog.
15727 This is either an absolute name, or it is relative to the LyX document.
15730 \begin_layout Description
15731 $$Basename The filename without path and without the extension.
15734 \begin_layout Description
15735 $$Extension The file extension (including the dot).
15738 \begin_layout Description
15739 $$FPath The path part of
15740 \begin_inset Flex CharStyle:Code
15743 \begin_layout PlainLayout
15749 (absolute name or relative to the LyX document).
15752 \begin_layout Description
15753 $$AbsPath The absolute file path.
15756 \begin_layout Description
15757 $$RelPathMaster The file path, relative to the master LyX document.
15760 \begin_layout Description
15761 $$RelPathParent The file path, relative to the LyX document.
15764 \begin_layout Description
15765 $$AbsOrRelPathMaster The file path, absolute or relative to the master LyX
15769 \begin_layout Description
15770 $$AbsOrRelPathParent The file path, absolute or relative to the LyX document.
15773 \begin_layout Description
15774 $$Tempname A name and full path to a temporary file which will be automatically
15775 deleted whenever the containing document is closed, or the external material
15779 \begin_layout Description
15781 \begin_inset Quotes eld
15785 \begin_inset Quotes erd
15788 ) This macro will expand to the contents of the file with the name
15789 \begin_inset Flex CharStyle:Code
15792 \begin_layout PlainLayout
15801 \begin_layout Description
15802 $$Sysdir This macro will expand to the absolute path of the system directory.
15803 This is typically used to point to the various helper scripts that are
15807 \begin_layout Standard
15808 All path macros contain a trailing directory separator, so you can construct
15810 the absolute filename with
15811 \begin_inset Flex CharStyle:Code
15814 \begin_layout PlainLayout
15815 $$AbsPath$$Basename$$Extension
15823 \begin_layout Standard
15824 The macros above are substituted in all commands unless otherwise noted.
15826 \begin_inset Flex CharStyle:Code
15829 \begin_layout PlainLayout
15835 supports additionally the following substitutions if they are enabled by
15837 \begin_inset Flex CharStyle:Code
15840 \begin_layout PlainLayout
15847 \begin_inset Flex CharStyle:Code
15850 \begin_layout PlainLayout
15859 \begin_layout Description
15860 $$ResizeFront The front part of the resize command.
15863 \begin_layout Description
15864 $$ResizeBack The back part of the resize command.
15867 \begin_layout Description
15868 $$RotateFront The front part of the rotation command.
15871 \begin_layout Description
15872 $$RotateBack The back part of the rotation command.
15875 \begin_layout Standard
15876 The value string of the
15877 \begin_inset Flex CharStyle:Code
15880 \begin_layout PlainLayout
15886 command supports additionally the following substitutions if they are enabled
15888 \begin_inset Flex CharStyle:Code
15891 \begin_layout PlainLayout
15898 \begin_inset Flex CharStyle:Code
15901 \begin_layout PlainLayout
15910 \begin_layout Description
15911 $$Clip The clip option.
15914 \begin_layout Description
15915 $$Extra The extra option.
15918 \begin_layout Description
15919 $$Resize The resize option.
15922 \begin_layout Description
15923 $$Rotate The rotation option.
15926 \begin_layout Standard
15927 You may ask why there are so many path macros.
15928 There are mainly two reasons:
15931 \begin_layout Standard
15932 First, relative and absolute file names should remain relative or absolute,
15934 Users may have reasons to prefer either form.
15935 Relative names are useful for portable documents that should work on different
15936 machines, for example.
15937 Absolute names may be required by some programs.
15940 \begin_layout Standard
15941 Second, LaTeX treats relative file names differently than LyX and other
15942 programs in nested included files.
15943 For LyX, a relative file name is always relative to the document that contains
15945 For LaTeX, it is always relative to the master document.
15946 These two definitions are identical if you have only one document, but
15947 differ if you have a master document that includes part documents.
15948 That means that relative filenames must be transformed when presented to
15950 Fortunately LyX does this automatically for you if you choose the right
15954 \begin_layout Standard
15955 So which path macro should be used in new template definitions? The rule
15959 \begin_layout Itemize
15961 \begin_inset Flex CharStyle:Code
15964 \begin_layout PlainLayout
15970 if an absolute path is required.
15973 \begin_layout Itemize
15975 \begin_inset Flex CharStyle:Code
15978 \begin_layout PlainLayout
15979 $$AbsOrRelPathMaster
15984 if the substituted string is some kind of LaTeX input.
15987 \begin_layout Itemize
15989 \begin_inset Flex CharStyle:Code
15992 \begin_layout PlainLayout
15993 $$AbsOrRelPathParent
15998 in order to preserve the user's choice.
16001 \begin_layout Standard
16002 There are special cases where this rule does not work and e.g.
16003 \begin_inset Space ~
16006 relative names are needed, but normally it will work just fine.
16007 One example for such a case is the command
16008 \begin_inset Flex CharStyle:Code
16011 \begin_layout PlainLayout
16012 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
16017 in the XFig template above: We can't use the absolute name because the
16019 \begin_inset Flex CharStyle:Code
16022 \begin_layout PlainLayout
16028 files needs the relative name in order to rewrite the file content.
16031 \begin_layout Section
16032 Security discussion
16035 \begin_layout Standard
16036 \begin_inset Note Note
16039 \begin_layout PlainLayout
16040 This section is outdated
16045 The external material feature interfaces with a lot of external programs
16046 and does so automatically, so we have to consider the security implications
16048 In particular, since you have the option of including your own filenames
16049 and/or parameter strings and those are expanded into a command, it seems
16050 that it would be possible to create a malicious document which executes
16051 arbitrary commands when a user views or prints the document.
16052 This is something we definately want to avoid.
16055 \begin_layout Standard
16056 However, since the external program commands are specified in the template
16057 configuration file only, there are no security issues if LyX is properly
16058 configured with safe templates only.
16059 This is so because the external programs are invoked with the
16060 \begin_inset Flex CharStyle:Code
16063 \begin_layout PlainLayout
16069 -system call rather than the
16070 \begin_inset Flex CharStyle:Code
16073 \begin_layout PlainLayout
16079 system-call, so it's not possible to execute arbitrary commands from the
16080 filename or parameter section via the shell.
16083 \begin_layout Standard
16084 This also implies that you are restricted in what command strings you can
16085 use in the external material templates.
16086 In particular, pipes and redirection are not readily available.
16087 This has to be so if LyX should remain safe.
16088 If you want to use some of the shell features, you should write a safe
16089 script to do this in a controlled manner, and then invoke the script from
16090 the command string.
16092 \begin_inset Flex CharStyle:Code
16095 \begin_layout PlainLayout
16101 directory of the LyX installation, you can find a safe wrapper script
16102 \begin_inset Flex CharStyle:Code
16105 \begin_layout PlainLayout
16106 general_command_wrapper.py
16111 that supports redirection of input and output.
16112 That can serve as an example for how to write safe template scripts.
16113 For a more advanced example that uses
16114 \begin_inset Flex CharStyle:Code
16117 \begin_layout PlainLayout
16123 and friends, take a look at the
16124 \begin_inset Flex CharStyle:Code
16127 \begin_layout PlainLayout
16136 \begin_layout Standard
16137 It is possible to design a template that interacts directly with the shell,
16138 but since this would allow a malicious user to execute arbitrary commands
16139 by writing clever filenames and/or parameters, we generally recommend that
16140 you only use safe scripts that work with the
16141 \begin_inset Flex CharStyle:Code
16144 \begin_layout PlainLayout
16150 system call in a controlled manner.
16151 Of course, for use in a controlled environment, it can be tempting to just
16152 fall back to use ordinary shell scripts.
16153 If you do so, be aware that you
16157 provide an easily exploitable security hole in your system.
16158 Of course it stands to reason that such unsafe templates will never be
16159 included in the standard LyX distribution, although we do encourage people
16160 to submit new templates in the open source tradition.
16161 But LyX as shipped from the official distribution channels will never have
16165 \begin_layout Standard
16166 Including external material provides a lot of power, and you have to be
16167 careful not to introduce security hazards with this power.
16168 A subtle error in a single line in an innocent looking script can open
16169 the door to huge security problems.
16170 So if you do not fully understand the issues, we recommend that you consult
16171 a knowledgable security professional or the LyX development team if you
16172 have any questions about whether a given template is safe or not.
16173 And do this before you use it in an uncontrolled environment.
16176 \begin_layout Chapter
16180 \begin_layout Section
16184 \begin_layout Standard
16185 The LyX server is a method implemented in LyX that will enable other programs
16186 to talk to LyX, invoke LyX commands, and retrieve information about the
16187 LyX internal state.
16188 This is only intended for advanced users, but they should find it useful.
16189 Please note that, at present,
16191 the server does not work on Windows
16196 \begin_layout Section
16197 Starting the LyX Server
16200 \begin_layout Standard
16201 The LyX server works through the use of a pair of named pipes.
16202 These are usually located in your home directory and have the names
16203 \begin_inset Quotes eld
16207 \begin_inset Flex CharStyle:Code
16210 \begin_layout PlainLayout
16217 \begin_inset Quotes erd
16221 \begin_inset Quotes eld
16225 \begin_inset Flex CharStyle:Code
16228 \begin_layout PlainLayout
16235 \begin_inset Quotes erd
16239 External programs write into
16240 \begin_inset Flex CharStyle:Code
16243 \begin_layout PlainLayout
16249 and read back data from
16250 \begin_inset Flex CharStyle:Code
16253 \begin_layout PlainLayout
16260 The stem of the pipe names can be defined in the
16261 \begin_inset Flex CharStyle:MenuItem
16264 \begin_layout PlainLayout
16269 ools\SpecialChar \menuseparator
16279 dialog, for example
16280 \begin_inset Flex CharStyle:Code
16283 \begin_layout PlainLayout
16284 "/home/myhome/.lyxpipe"
16292 \begin_layout Standard
16294 \begin_inset Flex CharStyle:Code
16297 \begin_layout PlainLayout
16304 \begin_inset Flex CharStyle:Code
16307 \begin_layout PlainLayout
16313 ' to create the pipes.
16314 The above setting also has the effect of activating the LyX server.
16315 If one of the pipes already exists, LyX will assume that another LyX process
16316 is already running and will not start the server.
16317 To have several LyX processes with servers at the same time, you have to
16318 change the configuration between the start of the programs.
16321 \begin_layout Standard
16322 If you are developing a client program, you might find it useful to enable
16323 debugging information from the LyX server.
16324 Do this by starting LyX as lyx -dbg lyxserver.
16327 \begin_layout PlainLayout
16328 Warning: if LyX crashes, it may not manage to remove the pipes; in this
16329 case you must remove them manually.
16330 If LyX starts and the pipes exist already, it will not start any server.
16333 \begin_layout PlainLayout
16334 Other than this, there are a few points to consider:
16337 \begin_layout Itemize
16338 Both server and clients must run on UNIX or OS/2 machines.
16339 Communications between LyX on UNIX and clients on OS/2 or vice versa is
16340 not possible right now.
16343 \begin_layout Itemize
16344 On OS/2, only one client can connect to LyXServer at a time.
16347 \begin_layout Itemize
16348 On OS/2, clients must open inpipe with
16349 \begin_inset Flex CharStyle:Code
16352 \begin_layout PlainLayout
16361 \begin_layout Standard
16365 \begin_layout Standard
16366 You can find a complete example client written in C in the source distribution
16368 \begin_inset Flex CharStyle:Code
16371 \begin_layout PlainLayout
16372 development/server_monitor.c
16380 \begin_layout Section
16381 Normal communication
16384 \begin_layout Standard
16385 To issue a LyX call, the client writes a line of ASCII text into the input
16387 This line has the following format:
16390 \begin_layout Quote
16404 \begin_layout Standard
16409 is a name that the client can choose arbitrarily.
16410 Its only use is that LyX will echo it if it sends an answer - so a client
16411 can dispatch results from different requesters.
16414 \begin_layout Standard
16419 is the function you want LyX to perform.
16420 It is the same as the commands you'd use in the minibuffer.
16423 \begin_layout Standard
16428 is an optional argument which is meaningful only to some functions (for
16430 \begin_inset Quotes eld
16434 \begin_inset Quotes erd
16437 which will insert the argument as text at the cursor position.)
16440 \begin_layout Standard
16441 The answer from LyX will arrive in the output pipe and be of the form
16444 \begin_layout Quote
16458 \begin_layout Standard
16467 are just echoed from the command request, while
16471 is more or less useful information filled according to how the command
16472 execution worked out.
16473 Some commands will return information about the internal state of LyX,
16475 \begin_inset Quotes eld
16479 \begin_inset Quotes erd
16482 , while other will return an empty data-response.
16483 This means that the command execution went fine.
16486 \begin_layout Standard
16487 In case of errors, the response from LyX will have this form
16490 \begin_layout Quote
16504 \begin_layout Standard
16509 should contain an explanation of why the command failed.
16512 \begin_layout Standard
16516 \begin_layout LyX-Code
16517 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
16520 \begin_layout LyX-Code
16521 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
16523 read a <~/.lyxpipe.out
16528 \begin_layout Section
16532 \begin_layout Standard
16533 LyX can notify clients of events going on asynchronously.
16534 Currently it will only do this if the user binds a key sequence with the
16536 \begin_inset Quotes eld
16540 \begin_inset Quotes erd
16544 The format of the string LyX sends is as follows:
16547 \begin_layout Quote
16548 \begin_inset Flex CharStyle:Code
16551 \begin_layout PlainLayout
16562 \begin_layout Standard
16567 is the printed representation of the key sequence that was actually typed
16571 \begin_layout Standard
16572 This mechanism can be used to extend LyX's command set and implement macros:
16573 bind some key sequence to
16574 \begin_inset Quotes eld
16578 \begin_inset Quotes erd
16581 , start a client that listens on the out pipe, dispatches the command according
16582 to the sequence and starts a function that may use LyX calls and LyX requests
16583 to issue a command or a series of commands to LyX.
16586 \begin_layout Section
16587 The simple LyX Server Protocol
16590 \begin_layout Standard
16591 LyX implements a simple protocol that can be used for session management.
16592 All messages are of the form
16595 \begin_layout Quote
16605 \begin_layout Standard
16611 \begin_inset Quotes eld
16615 \begin_inset Quotes erd
16619 \begin_inset Quotes eld
16623 \begin_inset Quotes erd
16628 \begin_inset Quotes eld
16632 \begin_inset Quotes erd
16635 is received from a client, LyX will report back to inform the client that
16636 it's listening to it's messages, while
16637 \begin_inset Quotes eld
16641 \begin_inset Quotes erd
16644 sent from LyX will inform clients that LyX is closing.
16647 \begin_layout Chapter
16652 \begin_layout Standard
16653 This appendix is a huge cross-reference to all the English language keybindings.
16654 Originally, we simply wanted to list all of the key bindings followed by
16655 the function it's bound to.
16656 That way, a user can look up a key to find out what it does.
16657 We then decided, what the hey, why not include the default toolbar and
16658 menu bindings, too.
16659 Please note this section is likely to be very out of date.
16662 \begin_layout Standard
16663 The form is really self-explanatory, but here are a few tips: all entries
16664 are arranged roughly alphabetically for a given modifier (
16665 \begin_inset Flex CharStyle:MenuItem
16668 \begin_layout PlainLayout
16675 \begin_inset Flex CharStyle:MenuItem
16678 \begin_layout PlainLayout
16685 For the general keyboard layout, simpler prefixes precede the more complex
16687 \begin_inset Flex CharStyle:MenuItem
16690 \begin_layout PlainLayout
16697 \begin_inset Flex CharStyle:MenuItem
16700 \begin_layout PlainLayout
16707 All entries were gleaned from the default user interface and binding files
16708 located in the directories
16709 \begin_inset Flex CharStyle:Code
16712 \begin_layout PlainLayout
16713 \SpecialChar \ldots{}
16720 \begin_inset Flex CharStyle:Code
16723 \begin_layout PlainLayout
16724 \SpecialChar \ldots{}
16730 ; they should be treated as the final word on the bindings.
16733 \begin_layout Standard
16734 As a final note, be aware that some window managers (such as FVWM) take
16735 control of some of the function keys or motion keys.
16737 \begin_inset Flex CharStyle:MenuItem
16740 \begin_layout PlainLayout
16746 is listed here as generating
16747 \begin_inset Flex CharStyle:Code
16750 \begin_layout PlainLayout
16756 , but FVWM grabs it and uses it to change virtual desktops instead.
16757 Very annoying unless you instruct your window manager to stop intercepting
16761 \begin_layout Section
16765 \begin_layout LyX-Code
16769 \begin_layout LyX-Code
16773 \begin_layout LyX-Code
16777 \begin_layout LyX-Code
16778 Icon "buffer-write"
16781 \begin_layout LyX-Code
16782 Icon "buffer-print"
16785 \begin_layout LyX-Code
16789 \begin_layout LyX-Code
16793 \begin_layout LyX-Code
16797 \begin_layout LyX-Code
16801 \begin_layout LyX-Code
16805 \begin_layout LyX-Code
16809 \begin_layout LyX-Code
16813 \begin_layout LyX-Code
16817 \begin_layout LyX-Code
16821 \begin_layout LyX-Code
16825 \begin_layout LyX-Code
16829 \begin_layout LyX-Code
16833 \begin_layout LyX-Code
16834 Icon "footnote-insert"
16837 \begin_layout LyX-Code
16838 Icon "marginpar-insert"
16841 \begin_layout LyX-Code
16845 \begin_layout LyX-Code
16849 \begin_layout LyX-Code
16850 Icon "figure-insert"
16853 \begin_layout LyX-Code
16854 Icon "dialog-tabular-insert"
16857 \begin_layout LyX-Code
16861 \begin_layout Section
16865 \begin_layout Standard
16866 Note that the following bindings are for LyX with English menus.
16867 The second character of the binding depends on the menu language.
16869 \begin_inset Quotes eld
16873 \begin_inset Flex CharStyle:MenuItem
16876 \begin_layout PlainLayout
16883 \begin_inset Quotes erd
16886 is with German menus
16887 \begin_inset Quotes eld
16891 \begin_inset Flex CharStyle:MenuItem
16894 \begin_layout PlainLayout
16901 \begin_inset Quotes erd
16905 To find out the shortcuts of your language press the Meta (Alt)-key and
16906 press then the keys of the underlined characters of the menu names.
16909 \begin_layout Subsection
16914 \labelwidthstring 00.00.0000
16915 \begin_inset Flex CharStyle:MenuItem
16918 \begin_layout PlainLayout
16920 \begin_inset Space ~
16929 \begin_inset Flex CharStyle:Code
16932 \begin_layout PlainLayout
16942 \labelwidthstring 00.00.0000
16943 \begin_inset Flex CharStyle:MenuItem
16946 \begin_layout PlainLayout
16948 \begin_inset Space ~
16957 \begin_inset Flex CharStyle:Code
16960 \begin_layout PlainLayout
16970 \labelwidthstring 00.00.0000
16971 \begin_inset Flex CharStyle:MenuItem
16974 \begin_layout PlainLayout
16976 \begin_inset Space ~
16985 \begin_inset Flex CharStyle:Code
16988 \begin_layout PlainLayout
16998 \labelwidthstring 00.00.0000
16999 \begin_inset Flex CharStyle:MenuItem
17002 \begin_layout PlainLayout
17004 \begin_inset Space ~
17013 \begin_inset Flex CharStyle:Code
17016 \begin_layout PlainLayout
17017 file_export submenu
17026 \labelwidthstring 00.00.0000
17027 \begin_inset Flex CharStyle:MenuItem
17030 \begin_layout PlainLayout
17032 \begin_inset Space ~
17041 \begin_inset Flex CharStyle:Code
17044 \begin_layout PlainLayout
17054 \labelwidthstring 00.00.0000
17055 \begin_inset Flex CharStyle:MenuItem
17058 \begin_layout PlainLayout
17060 \begin_inset Space ~
17069 \begin_inset Flex CharStyle:Code
17072 \begin_layout PlainLayout
17073 file_import submenu
17082 \labelwidthstring 00.00.0000
17083 \begin_inset Flex CharStyle:MenuItem
17086 \begin_layout PlainLayout
17088 \begin_inset Space ~
17097 \begin_inset Flex CharStyle:Code
17100 \begin_layout PlainLayout
17110 \labelwidthstring 00.00.0000
17111 \begin_inset Flex CharStyle:MenuItem
17114 \begin_layout PlainLayout
17116 \begin_inset Space ~
17125 \begin_inset Flex CharStyle:Code
17128 \begin_layout PlainLayout
17138 \labelwidthstring 00.00.0000
17139 \begin_inset Flex CharStyle:MenuItem
17142 \begin_layout PlainLayout
17144 \begin_inset Space ~
17153 \begin_inset Flex CharStyle:Code
17156 \begin_layout PlainLayout
17166 \labelwidthstring 00.00.0000
17167 \begin_inset Flex CharStyle:MenuItem
17170 \begin_layout PlainLayout
17172 \begin_inset Space ~
17181 \begin_inset Flex CharStyle:Code
17184 \begin_layout PlainLayout
17194 \labelwidthstring 00.00.0000
17195 \begin_inset Flex CharStyle:MenuItem
17198 \begin_layout PlainLayout
17200 \begin_inset Space ~
17209 \begin_inset Flex CharStyle:Code
17212 \begin_layout PlainLayout
17213 buffer-new-template
17222 \labelwidthstring 00.00.0000
17223 \begin_inset Flex CharStyle:MenuItem
17226 \begin_layout PlainLayout
17228 \begin_inset Space ~
17237 \begin_inset Flex CharStyle:Code
17240 \begin_layout PlainLayout
17250 \labelwidthstring 00.00.0000
17251 \begin_inset Flex CharStyle:MenuItem
17254 \begin_layout PlainLayout
17261 \begin_inset Flex CharStyle:Code
17264 \begin_layout PlainLayout
17274 \labelwidthstring 00.00.0000
17275 \begin_inset Flex CharStyle:MenuItem
17278 \begin_layout PlainLayout
17285 \begin_inset Flex CharStyle:Code
17288 \begin_layout PlainLayout
17298 \labelwidthstring 00.00.0000
17299 \begin_inset Flex CharStyle:MenuItem
17302 \begin_layout PlainLayout
17309 \begin_inset Flex CharStyle:Code
17312 \begin_layout PlainLayout
17322 \labelwidthstring 00.00.0000
17323 \begin_inset Flex CharStyle:MenuItem
17326 \begin_layout PlainLayout
17333 \begin_inset Flex CharStyle:Code
17336 \begin_layout PlainLayout
17346 \labelwidthstring 00.00.0000
17347 \begin_inset Flex CharStyle:MenuItem
17350 \begin_layout PlainLayout
17357 \begin_inset Flex CharStyle:Code
17360 \begin_layout PlainLayout
17370 \labelwidthstring 00.00.0000
17371 \begin_inset Flex CharStyle:MenuItem
17374 \begin_layout PlainLayout
17381 \begin_inset Flex CharStyle:Code
17384 \begin_layout PlainLayout
17394 \labelwidthstring 00.00.0000
17395 \begin_inset Flex CharStyle:MenuItem
17398 \begin_layout PlainLayout
17400 \begin_inset Space ~
17409 \begin_inset Flex CharStyle:Code
17412 \begin_layout PlainLayout
17421 \begin_layout Subsection
17426 \labelwidthstring 00.00.0000
17427 \begin_inset Flex CharStyle:MenuItem
17430 \begin_layout PlainLayout
17432 \begin_inset Space ~
17441 \begin_inset Flex CharStyle:Code
17444 \begin_layout PlainLayout
17454 \labelwidthstring 00.00.0000
17455 \begin_inset Flex CharStyle:MenuItem
17458 \begin_layout PlainLayout
17460 \begin_inset Space ~
17469 \begin_inset Flex CharStyle:Code
17472 \begin_layout PlainLayout
17482 \labelwidthstring 00.00.0000
17483 \begin_inset Flex CharStyle:MenuItem
17486 \begin_layout PlainLayout
17488 \begin_inset Space ~
17497 \begin_inset Flex CharStyle:Code
17500 \begin_layout PlainLayout
17510 \labelwidthstring 00.00.0000
17511 \begin_inset Flex CharStyle:MenuItem
17514 \begin_layout PlainLayout
17516 \begin_inset Space ~
17525 \begin_inset Flex CharStyle:Code
17528 \begin_layout PlainLayout
17538 \labelwidthstring 00.00.0000
17539 \begin_inset Flex CharStyle:MenuItem
17542 \begin_layout PlainLayout
17544 \begin_inset Space ~
17553 \begin_inset Flex CharStyle:Code
17556 \begin_layout PlainLayout
17566 \labelwidthstring 00.00.0000
17567 \begin_inset Flex CharStyle:MenuItem
17570 \begin_layout PlainLayout
17572 \begin_inset Space ~
17581 \begin_inset Flex CharStyle:Code
17584 \begin_layout PlainLayout
17594 \labelwidthstring 00.00.0000
17595 \begin_inset Flex CharStyle:MenuItem
17598 \begin_layout PlainLayout
17600 \begin_inset Space ~
17609 \begin_inset Flex CharStyle:Code
17612 \begin_layout PlainLayout
17613 edit_floats submenu
17622 \labelwidthstring 00.00.0000
17623 \begin_inset Flex CharStyle:MenuItem
17626 \begin_layout PlainLayout
17633 \begin_inset Flex CharStyle:Code
17636 \begin_layout PlainLayout
17637 tabular-feature append-row
17646 \labelwidthstring 00.00.0000
17647 \begin_inset Flex CharStyle:MenuItem
17650 \begin_layout PlainLayout
17657 \begin_inset Flex CharStyle:Code
17660 \begin_layout PlainLayout
17661 tabular-feature toggle-line-bottom
17670 \labelwidthstring 00.00.0000
17671 \begin_inset Flex CharStyle:MenuItem
17674 \begin_layout PlainLayout
17681 \begin_inset Flex CharStyle:Code
17684 \begin_layout PlainLayout
17685 tabular-feature align-center
17694 \labelwidthstring 00.00.0000
17695 \begin_inset Flex CharStyle:MenuItem
17698 \begin_layout PlainLayout
17705 \begin_inset Flex CharStyle:Code
17708 \begin_layout PlainLayout
17709 tabular-feature delete-column
17718 \labelwidthstring 00.00.0000
17719 \begin_inset Flex CharStyle:MenuItem
17722 \begin_layout PlainLayout
17729 \begin_inset Flex CharStyle:Code
17732 \begin_layout PlainLayout
17733 tabular-feature align-left
17742 \labelwidthstring 00.00.0000
17743 \begin_inset Flex CharStyle:MenuItem
17746 \begin_layout PlainLayout
17753 \begin_inset Flex CharStyle:Code
17756 \begin_layout PlainLayout
17757 tabular-feature align-right
17766 \labelwidthstring 00.00.0000
17767 \begin_inset Flex CharStyle:MenuItem
17770 \begin_layout PlainLayout
17777 \begin_inset Flex CharStyle:Code
17780 \begin_layout PlainLayout
17781 tabular-feature toggle-line-left
17790 \labelwidthstring 00.00.0000
17791 \begin_inset Flex CharStyle:MenuItem
17794 \begin_layout PlainLayout
17801 \begin_inset Flex CharStyle:Code
17804 \begin_layout PlainLayout
17805 tabular-feature multicolumn
17814 \labelwidthstring 00.00.0000
17815 \begin_inset Flex CharStyle:MenuItem
17818 \begin_layout PlainLayout
17825 \begin_inset Flex CharStyle:Code
17828 \begin_layout PlainLayout
17829 tabular-feature valign-center
17838 \labelwidthstring 00.00.0000
17839 \begin_inset Flex CharStyle:MenuItem
17842 \begin_layout PlainLayout
17849 \begin_inset Flex CharStyle:Code
17852 \begin_layout PlainLayout
17853 tabular-feature valign-top
17862 \labelwidthstring 00.00.0000
17863 \begin_inset Flex CharStyle:MenuItem
17866 \begin_layout PlainLayout
17873 \begin_inset Flex CharStyle:Code
17876 \begin_layout PlainLayout
17877 tabular-feature toggle-line-right
17886 \labelwidthstring 00.00.0000
17887 \begin_inset Flex CharStyle:MenuItem
17890 \begin_layout PlainLayout
17897 \begin_inset Flex CharStyle:Code
17900 \begin_layout PlainLayout
17901 tabular-feature toggle-line-top
17910 \labelwidthstring 00.00.0000
17911 \begin_inset Flex CharStyle:MenuItem
17914 \begin_layout PlainLayout
17921 \begin_inset Flex CharStyle:Code
17924 \begin_layout PlainLayout
17925 tabular-feature append-column
17934 \labelwidthstring 00.00.0000
17935 \begin_inset Flex CharStyle:MenuItem
17938 \begin_layout PlainLayout
17945 \begin_inset Flex CharStyle:Code
17948 \begin_layout PlainLayout
17949 tabular-feature valign-bottom
17958 \labelwidthstring 00.00.0000
17959 \begin_inset Flex CharStyle:MenuItem
17962 \begin_layout PlainLayout
17969 \begin_inset Flex CharStyle:Code
17972 \begin_layout PlainLayout
17973 tabular-feature delete-row
17982 \labelwidthstring 00.00.0000
17983 \begin_inset Flex CharStyle:MenuItem
17986 \begin_layout PlainLayout
17988 \begin_inset Space ~
17997 \begin_inset Flex CharStyle:Code
18000 \begin_layout PlainLayout
18011 \labelwidthstring 00.00.0000
18012 \begin_inset Flex CharStyle:MenuItem
18015 \begin_layout PlainLayout
18022 \begin_inset Flex CharStyle:Code
18025 \begin_layout PlainLayout
18026 floats-operate openfoot
18035 \labelwidthstring 00.00.0000
18036 \begin_inset Flex CharStyle:MenuItem
18039 \begin_layout PlainLayout
18046 \begin_inset Flex CharStyle:Code
18049 \begin_layout PlainLayout
18050 floats-operate closefoot
18059 \labelwidthstring 00.00.0000
18060 \begin_inset Flex CharStyle:MenuItem
18063 \begin_layout PlainLayout
18070 \begin_inset Flex CharStyle:Code
18073 \begin_layout PlainLayout
18074 floats-operate openfig
18083 \labelwidthstring 00.00.0000
18084 \begin_inset Flex CharStyle:MenuItem
18087 \begin_layout PlainLayout
18094 \begin_inset Flex CharStyle:Code
18097 \begin_layout PlainLayout
18107 \labelwidthstring 00.00.0000
18108 \begin_inset Flex CharStyle:MenuItem
18111 \begin_layout PlainLayout
18118 \begin_inset Flex CharStyle:Code
18121 \begin_layout PlainLayout
18131 \labelwidthstring 00.00.0000
18132 \begin_inset Flex CharStyle:MenuItem
18135 \begin_layout PlainLayout
18142 \begin_inset Flex CharStyle:Code
18145 \begin_layout PlainLayout
18146 floats-operate closefig
18156 \labelwidthstring 00.00.0000
18157 \begin_inset Flex CharStyle:MenuItem
18160 \begin_layout PlainLayout
18162 \begin_inset Space ~
18171 \begin_inset Flex CharStyle:Code
18174 \begin_layout PlainLayout
18184 \labelwidthstring 00.00.0000
18185 \begin_inset Flex CharStyle:MenuItem
18188 \begin_layout PlainLayout
18190 \begin_inset Space ~
18199 \begin_inset Flex CharStyle:Code
18202 \begin_layout PlainLayout
18212 \labelwidthstring 00.00.0000
18213 \begin_inset Flex CharStyle:MenuItem
18216 \begin_layout PlainLayout
18218 \begin_inset Space ~
18227 \begin_inset Flex CharStyle:Code
18230 \begin_layout PlainLayout
18240 \labelwidthstring 00.00.0000
18241 \begin_inset Flex CharStyle:MenuItem
18244 \begin_layout PlainLayout
18246 \begin_inset Space ~
18255 \begin_inset Flex CharStyle:Code
18258 \begin_layout PlainLayout
18268 \labelwidthstring 00.00.0000
18269 \begin_inset Flex CharStyle:MenuItem
18272 \begin_layout PlainLayout
18274 \begin_inset Space ~
18283 \begin_inset Flex CharStyle:Code
18286 \begin_layout PlainLayout
18287 edit_tabular submenu
18296 \labelwidthstring 00.00.0000
18297 \begin_inset Flex CharStyle:MenuItem
18300 \begin_layout PlainLayout
18302 \begin_inset Space ~
18311 \begin_inset Flex CharStyle:Code
18314 \begin_layout PlainLayout
18324 \labelwidthstring 00.00.0000
18325 \begin_inset Flex CharStyle:MenuItem
18328 \begin_layout PlainLayout
18330 \begin_inset Space ~
18339 \begin_inset Flex CharStyle:Code
18342 \begin_layout PlainLayout
18352 \labelwidthstring 00.00.0000
18353 \begin_inset Flex CharStyle:MenuItem
18356 \begin_layout PlainLayout
18363 \begin_inset Flex CharStyle:Code
18366 \begin_layout PlainLayout
18367 primary-selection-paste
18376 \labelwidthstring 00.00.0000
18377 \begin_inset Flex CharStyle:MenuItem
18380 \begin_layout PlainLayout
18387 \begin_inset Flex CharStyle:Code
18390 \begin_layout PlainLayout
18391 primary-selection-paste paragraph
18399 \begin_layout Subsection
18404 \labelwidthstring 00.00.0000
18405 \begin_inset Flex CharStyle:MenuItem
18408 \begin_layout PlainLayout
18410 \begin_inset Space ~
18419 \begin_inset Flex CharStyle:Code
18422 \begin_layout PlainLayout
18423 insert_floats submenu
18432 \labelwidthstring 00.00.0000
18433 \begin_inset Flex CharStyle:MenuItem
18436 \begin_layout PlainLayout
18443 \begin_inset Flex CharStyle:Code
18446 \begin_layout PlainLayout
18447 buffer-float-insert algorithm
18456 \labelwidthstring 00.00.0000
18457 \begin_inset Flex CharStyle:MenuItem
18460 \begin_layout PlainLayout
18467 \begin_inset Flex CharStyle:Code
18470 \begin_layout PlainLayout
18471 buffer-float-insert wide-tab
18480 \labelwidthstring 00.00.0000
18481 \begin_inset Flex CharStyle:MenuItem
18484 \begin_layout PlainLayout
18491 \begin_inset Flex CharStyle:Code
18494 \begin_layout PlainLayout
18495 buffer-float-insert figure
18504 \labelwidthstring 00.00.0000
18505 \begin_inset Flex CharStyle:MenuItem
18508 \begin_layout PlainLayout
18515 \begin_inset Flex CharStyle:Code
18518 \begin_layout PlainLayout
18519 buffer-float-insert table
18528 \labelwidthstring 00.00.0000
18529 \begin_inset Flex CharStyle:MenuItem
18532 \begin_layout PlainLayout
18539 \begin_inset Flex CharStyle:Code
18542 \begin_layout PlainLayout
18543 buffer-float-insert wide-fig
18552 \labelwidthstring 00.00.0000
18553 \begin_inset Flex CharStyle:MenuItem
18556 \begin_layout PlainLayout
18558 \begin_inset Space ~
18567 \begin_inset Flex CharStyle:Code
18570 \begin_layout PlainLayout
18571 dialog-tabular-insert
18580 \labelwidthstring 00.00.0000
18581 \begin_inset Flex CharStyle:MenuItem
18584 \begin_layout PlainLayout
18586 \begin_inset Space ~
18595 \begin_inset Flex CharStyle:Code
18598 \begin_layout PlainLayout
18608 \labelwidthstring 00.00.0000
18609 \begin_inset Flex CharStyle:MenuItem
18612 \begin_layout PlainLayout
18614 \begin_inset Space ~
18623 \begin_inset Flex CharStyle:Code
18626 \begin_layout PlainLayout
18636 \labelwidthstring 00.00.0000
18637 \begin_inset Flex CharStyle:MenuItem
18640 \begin_layout PlainLayout
18642 \begin_inset Space ~
18651 \begin_inset Flex CharStyle:Code
18654 \begin_layout PlainLayout
18655 buffer-child-insert
18664 \labelwidthstring 00.00.0000
18665 \begin_inset Flex CharStyle:MenuItem
18668 \begin_layout PlainLayout
18670 \begin_inset Space ~
18679 \begin_inset Flex CharStyle:Code
18682 \begin_layout PlainLayout
18692 \labelwidthstring 00.00.0000
18693 \begin_inset Flex CharStyle:MenuItem
18696 \begin_layout PlainLayout
18698 \begin_inset Space ~
18707 \begin_inset Flex CharStyle:Code
18710 \begin_layout PlainLayout
18720 \labelwidthstring 00.00.0000
18721 \begin_inset Flex CharStyle:MenuItem
18724 \begin_layout PlainLayout
18726 \begin_inset Space ~
18735 \begin_inset Flex CharStyle:Code
18738 \begin_layout PlainLayout
18748 \labelwidthstring 00.00.0000
18749 \begin_inset Flex CharStyle:MenuItem
18752 \begin_layout PlainLayout
18754 \begin_inset Space ~
18763 \begin_inset Flex CharStyle:Code
18766 \begin_layout PlainLayout
18776 \labelwidthstring 00.00.0000
18777 \begin_inset Flex CharStyle:MenuItem
18780 \begin_layout PlainLayout
18782 \begin_inset Space ~
18791 \begin_inset Flex CharStyle:Code
18794 \begin_layout PlainLayout
18804 \labelwidthstring 00.00.0000
18805 \begin_inset Flex CharStyle:MenuItem
18808 \begin_layout PlainLayout
18810 \begin_inset Space ~
18819 \begin_inset Flex CharStyle:Code
18822 \begin_layout PlainLayout
18832 \labelwidthstring 00.00.0000
18833 \begin_inset Flex CharStyle:MenuItem
18836 \begin_layout PlainLayout
18838 \begin_inset Space ~
18847 \begin_inset Flex CharStyle:Code
18850 \begin_layout PlainLayout
18860 \labelwidthstring 00.00.0000
18861 \begin_inset Flex CharStyle:MenuItem
18864 \begin_layout PlainLayout
18866 \begin_inset Space ~
18875 \begin_inset Flex CharStyle:Code
18878 \begin_layout PlainLayout
18888 \labelwidthstring 00.00.0000
18889 \begin_inset Flex CharStyle:MenuItem
18892 \begin_layout PlainLayout
18899 \begin_inset Flex CharStyle:Code
18902 \begin_layout PlainLayout
18912 \labelwidthstring 00.00.0000
18913 \begin_inset Flex CharStyle:MenuItem
18916 \begin_layout PlainLayout
18923 \begin_inset Flex CharStyle:Code
18926 \begin_layout PlainLayout
18936 \labelwidthstring 00.00.0000
18937 \begin_inset Flex CharStyle:MenuItem
18940 \begin_layout PlainLayout
18947 \begin_inset Flex CharStyle:Code
18950 \begin_layout PlainLayout
18960 \labelwidthstring 00.00.0000
18961 \begin_inset Flex CharStyle:MenuItem
18964 \begin_layout PlainLayout
18971 \begin_inset Flex CharStyle:Code
18974 \begin_layout PlainLayout
18984 \labelwidthstring 00.00.0000
18985 \begin_inset Flex CharStyle:MenuItem
18988 \begin_layout PlainLayout
18995 \begin_inset Flex CharStyle:Code
18998 \begin_layout PlainLayout
19008 \labelwidthstring 00.00.0000
19009 \begin_inset Flex CharStyle:MenuItem
19012 \begin_layout PlainLayout
19019 \begin_inset Flex CharStyle:Code
19022 \begin_layout PlainLayout
19032 \labelwidthstring 00.00.0000
19033 \begin_inset Flex CharStyle:MenuItem
19036 \begin_layout PlainLayout
19038 \begin_inset Space ~
19047 \begin_inset Flex CharStyle:Code
19050 \begin_layout PlainLayout
19060 \labelwidthstring 00.00.0000
19061 \begin_inset Flex CharStyle:MenuItem
19064 \begin_layout PlainLayout
19066 \begin_inset Space ~
19075 \begin_inset Flex CharStyle:Code
19078 \begin_layout PlainLayout
19079 insert_special submenu
19088 \labelwidthstring 00.00.0000
19089 \begin_inset Flex CharStyle:MenuItem
19092 \begin_layout PlainLayout
19099 \begin_inset Flex CharStyle:Code
19102 \begin_layout PlainLayout
19103 protected-space-insert
19112 \labelwidthstring 00.00.0000
19113 \begin_inset Flex CharStyle:MenuItem
19116 \begin_layout PlainLayout
19123 \begin_inset Flex CharStyle:Code
19126 \begin_layout PlainLayout
19127 end-of-sentence-period-insert
19136 \labelwidthstring 00.00.0000
19137 \begin_inset Flex CharStyle:MenuItem
19140 \begin_layout PlainLayout
19147 \begin_inset Flex CharStyle:Code
19150 \begin_layout PlainLayout
19160 \labelwidthstring 00.00.0000
19161 \begin_inset Flex CharStyle:MenuItem
19164 \begin_layout PlainLayout
19171 \begin_inset Flex CharStyle:Code
19174 \begin_layout PlainLayout
19184 \labelwidthstring 00.00.0000
19185 \begin_inset Flex CharStyle:MenuItem
19188 \begin_layout PlainLayout
19195 \begin_inset Flex CharStyle:Code
19198 \begin_layout PlainLayout
19208 \labelwidthstring 00.00.0000
19209 \begin_inset Flex CharStyle:MenuItem
19212 \begin_layout PlainLayout
19219 \begin_inset Flex CharStyle:Code
19222 \begin_layout PlainLayout
19223 menu-separator-insert
19232 \labelwidthstring 00.00.0000
19233 \begin_inset Flex CharStyle:MenuItem
19236 \begin_layout PlainLayout
19243 \begin_inset Flex CharStyle:Code
19246 \begin_layout PlainLayout
19247 hyphenation-point-insert
19256 \labelwidthstring 00.00.0000
19257 \begin_inset Flex CharStyle:MenuItem
19260 \begin_layout PlainLayout
19267 \begin_inset Flex CharStyle:Code
19270 \begin_layout PlainLayout
19280 \labelwidthstring 00.00.0000
19281 \begin_inset Flex CharStyle:MenuItem
19284 \begin_layout PlainLayout
19291 \begin_inset Flex CharStyle:Code
19294 \begin_layout PlainLayout
19295 command-sequence math-insert ^;math-mode;
19304 \labelwidthstring 00.00.0000
19305 \begin_inset Flex CharStyle:MenuItem
19308 \begin_layout PlainLayout
19315 \begin_inset Flex CharStyle:Code
19318 \begin_layout PlainLayout
19319 command-sequence math-insert _;math-mode;
19328 \labelwidthstring 00.00.0000
19329 \begin_inset Flex CharStyle:MenuItem
19332 \begin_layout PlainLayout
19334 \begin_inset Space ~
19343 \begin_inset Flex CharStyle:Code
19346 \begin_layout PlainLayout
19347 insert_file submenu
19356 \labelwidthstring 00.00.0000
19357 \begin_inset Flex CharStyle:MenuItem
19360 \begin_layout PlainLayout
19367 \begin_inset Flex CharStyle:Code
19370 \begin_layout PlainLayout
19371 file-insert-plaintext
19380 \labelwidthstring 00.00.0000
19381 \begin_inset Flex CharStyle:MenuItem
19384 \begin_layout PlainLayout
19391 \begin_inset Flex CharStyle:Code
19394 \begin_layout PlainLayout
19395 file-insert-plaintext paragraphs
19404 \labelwidthstring 00.00.0000
19405 \begin_inset Flex CharStyle:MenuItem
19408 \begin_layout PlainLayout
19415 \begin_inset Flex CharStyle:Code
19418 \begin_layout PlainLayout
19428 \labelwidthstring 00.00.0000
19429 \begin_inset Flex CharStyle:MenuItem
19432 \begin_layout PlainLayout
19434 \begin_inset Space ~
19443 \begin_inset Flex CharStyle:Code
19446 \begin_layout PlainLayout
19456 \labelwidthstring 00.00.0000
19457 \begin_inset Flex CharStyle:MenuItem
19460 \begin_layout PlainLayout
19462 \begin_inset Space ~
19471 \begin_inset Flex CharStyle:Code
19474 \begin_layout PlainLayout
19484 \labelwidthstring 00.00.0000
19485 \begin_inset Flex CharStyle:MenuItem
19488 \begin_layout PlainLayout
19490 \begin_inset Space ~
19499 \begin_inset Flex CharStyle:Code
19502 \begin_layout PlainLayout
19511 \begin_layout Subsection
19516 \labelwidthstring 00.00.0000
19517 \begin_inset Flex CharStyle:MenuItem
19520 \begin_layout PlainLayout
19522 \begin_inset Space ~
19531 \begin_inset Flex CharStyle:Code
19534 \begin_layout PlainLayout
19544 \labelwidthstring 00.00.0000
19545 \begin_inset Flex CharStyle:MenuItem
19548 \begin_layout PlainLayout
19550 \begin_inset Space ~
19559 \begin_inset Flex CharStyle:Code
19562 \begin_layout PlainLayout
19572 \labelwidthstring 00.00.0000
19573 \begin_inset Flex CharStyle:MenuItem
19576 \begin_layout PlainLayout
19578 \begin_inset Space ~
19587 \begin_inset Flex CharStyle:Code
19590 \begin_layout PlainLayout
19600 \labelwidthstring 00.00.0000
19601 \begin_inset Flex CharStyle:MenuItem
19604 \begin_layout PlainLayout
19606 \begin_inset Space ~
19615 \begin_inset Flex CharStyle:Code
19618 \begin_layout PlainLayout
19628 \labelwidthstring 00.00.0000
19629 \begin_inset Flex CharStyle:MenuItem
19632 \begin_layout PlainLayout
19634 \begin_inset Space ~
19643 \begin_inset Flex CharStyle:Code
19646 \begin_layout PlainLayout
19656 \labelwidthstring 00.00.0000
19657 \begin_inset Flex CharStyle:MenuItem
19660 \begin_layout PlainLayout
19662 \begin_inset Space ~
19671 \begin_inset Flex CharStyle:Code
19674 \begin_layout PlainLayout
19684 \labelwidthstring 00.00.0000
19685 \begin_inset Flex CharStyle:MenuItem
19688 \begin_layout PlainLayout
19690 \begin_inset Space ~
19699 \begin_inset Flex CharStyle:Code
19702 \begin_layout PlainLayout
19712 \labelwidthstring 00.00.0000
19713 \begin_inset Flex CharStyle:MenuItem
19716 \begin_layout PlainLayout
19718 \begin_inset Space ~
19727 \begin_inset Flex CharStyle:Code
19730 \begin_layout PlainLayout
19740 \labelwidthstring 00.00.0000
19741 \begin_inset Flex CharStyle:MenuItem
19744 \begin_layout PlainLayout
19746 \begin_inset Space ~
19755 \begin_inset Flex CharStyle:Code
19758 \begin_layout PlainLayout
19759 layout-save-default
19768 \labelwidthstring 00.00.0000
19769 \begin_inset Flex CharStyle:MenuItem
19772 \begin_layout PlainLayout
19774 \begin_inset Space ~
19783 \begin_inset Flex CharStyle:Code
19786 \begin_layout PlainLayout
19796 \labelwidthstring 00.00.0000
19797 \begin_inset Flex CharStyle:MenuItem
19800 \begin_layout PlainLayout
19802 \begin_inset Space ~
19811 \begin_inset Flex CharStyle:Code
19814 \begin_layout PlainLayout
19824 \labelwidthstring 00.00.0000
19825 \begin_inset Flex CharStyle:MenuItem
19828 \begin_layout PlainLayout
19830 \begin_inset Space ~
19839 \begin_inset Flex CharStyle:Code
19842 \begin_layout PlainLayout
19851 \begin_layout Subsubsection
19852 \begin_inset Flex CharStyle:MenuItem
19855 \begin_layout PlainLayout
19856 Layout\SpecialChar \menuseparator
19866 \labelwidthstring 00.00.0000
19867 \begin_inset Flex CharStyle:MenuItem
19870 \begin_layout PlainLayout
19872 \begin_inset Space ~
19881 \begin_inset Flex CharStyle:Code
19884 \begin_layout PlainLayout
19894 \labelwidthstring 00.00.0000
19895 \begin_inset Flex CharStyle:MenuItem
19898 \begin_layout PlainLayout
19900 \begin_inset Space ~
19909 \begin_inset Flex CharStyle:Code
19912 \begin_layout PlainLayout
19922 \labelwidthstring 00.00.0000
19923 \begin_inset Flex CharStyle:MenuItem
19926 \begin_layout PlainLayout
19928 \begin_inset Space ~
19937 \begin_inset Flex CharStyle:Code
19940 \begin_layout PlainLayout
19950 \labelwidthstring 00.00.0000
19951 \begin_inset Flex CharStyle:MenuItem
19954 \begin_layout PlainLayout
19956 \begin_inset Space ~
19965 \begin_inset Flex CharStyle:Code
19968 \begin_layout PlainLayout
19978 \labelwidthstring 00.00.0000
19979 \begin_inset Flex CharStyle:MenuItem
19982 \begin_layout PlainLayout
19984 \begin_inset Space ~
19993 \begin_inset Flex CharStyle:Code
19996 \begin_layout PlainLayout
20006 \labelwidthstring 00.00.0000
20007 \begin_inset Flex CharStyle:MenuItem
20010 \begin_layout PlainLayout
20012 \begin_inset Space ~
20021 \begin_inset Flex CharStyle:Code
20024 \begin_layout PlainLayout
20034 \labelwidthstring 00.00.0000
20035 \begin_inset Flex CharStyle:MenuItem
20038 \begin_layout PlainLayout
20040 \begin_inset Space ~
20049 \begin_inset Flex CharStyle:Code
20052 \begin_layout PlainLayout
20062 \labelwidthstring 00.00.0000
20063 \begin_inset Flex CharStyle:MenuItem
20066 \begin_layout PlainLayout
20068 \begin_inset Space ~
20077 \begin_inset Flex CharStyle:Code
20080 \begin_layout PlainLayout
20090 \labelwidthstring 00.00.0000
20091 \begin_inset Flex CharStyle:MenuItem
20094 \begin_layout PlainLayout
20096 \begin_inset Space ~
20105 \begin_inset Flex CharStyle:Code
20108 \begin_layout PlainLayout
20118 \labelwidthstring 00.00.0000
20119 \begin_inset Flex CharStyle:MenuItem
20122 \begin_layout PlainLayout
20124 \begin_inset Space ~
20133 \begin_inset Flex CharStyle:Code
20136 \begin_layout PlainLayout
20146 \labelwidthstring 00.00.0000
20147 \begin_inset Flex CharStyle:MenuItem
20150 \begin_layout PlainLayout
20152 \begin_inset Space ~
20161 \begin_inset Flex CharStyle:Code
20164 \begin_layout PlainLayout
20174 \labelwidthstring 00.00.0000
20175 \begin_inset Flex CharStyle:MenuItem
20178 \begin_layout PlainLayout
20180 \begin_inset Space ~
20189 \begin_inset Flex CharStyle:Code
20192 \begin_layout PlainLayout
20202 \labelwidthstring 00.00.0000
20203 \begin_inset Flex CharStyle:MenuItem
20206 \begin_layout PlainLayout
20208 \begin_inset Space ~
20217 \begin_inset Flex CharStyle:Code
20220 \begin_layout PlainLayout
20230 \labelwidthstring 00.00.0000
20231 \begin_inset Flex CharStyle:MenuItem
20234 \begin_layout PlainLayout
20236 \begin_inset Space ~
20245 \begin_inset Flex CharStyle:Code
20248 \begin_layout PlainLayout
20258 \labelwidthstring 00.00.0000
20259 \begin_inset Flex CharStyle:MenuItem
20262 \begin_layout PlainLayout
20264 \begin_inset Space ~
20273 \begin_inset Flex CharStyle:Code
20276 \begin_layout PlainLayout
20286 \labelwidthstring 00.00.0000
20287 \begin_inset Flex CharStyle:MenuItem
20290 \begin_layout PlainLayout
20292 \begin_inset Space ~
20301 \begin_inset Flex CharStyle:Code
20304 \begin_layout PlainLayout
20314 \labelwidthstring 00.00.0000
20315 \begin_inset Flex CharStyle:MenuItem
20318 \begin_layout PlainLayout
20320 \begin_inset Space ~
20329 \begin_inset Flex CharStyle:Code
20332 \begin_layout PlainLayout
20342 \labelwidthstring 00.00.0000
20343 \begin_inset Flex CharStyle:MenuItem
20346 \begin_layout PlainLayout
20348 \begin_inset Space ~
20357 \begin_inset Flex CharStyle:Code
20360 \begin_layout PlainLayout
20370 \labelwidthstring 00.00.0000
20371 \begin_inset Flex CharStyle:MenuItem
20374 \begin_layout PlainLayout
20376 \begin_inset Space ~
20385 \begin_inset Flex CharStyle:Code
20388 \begin_layout PlainLayout
20398 \labelwidthstring 00.00.0000
20399 \begin_inset Flex CharStyle:MenuItem
20402 \begin_layout PlainLayout
20404 \begin_inset Space ~
20413 \begin_inset Flex CharStyle:Code
20416 \begin_layout PlainLayout
20426 \labelwidthstring 00.00.0000
20427 \begin_inset Flex CharStyle:MenuItem
20430 \begin_layout PlainLayout
20432 \begin_inset Space ~
20441 \begin_inset Flex CharStyle:Code
20444 \begin_layout PlainLayout
20454 \labelwidthstring 00.00.0000
20455 \begin_inset Flex CharStyle:MenuItem
20458 \begin_layout PlainLayout
20460 \begin_inset Space ~
20469 \begin_inset Flex CharStyle:Code
20472 \begin_layout PlainLayout
20482 \labelwidthstring 00.00.0000
20483 \begin_inset Flex CharStyle:MenuItem
20486 \begin_layout PlainLayout
20488 \begin_inset Space ~
20497 \begin_inset Flex CharStyle:Code
20500 \begin_layout PlainLayout
20510 \labelwidthstring 00.00.0000
20511 \begin_inset Flex CharStyle:MenuItem
20514 \begin_layout PlainLayout
20516 \begin_inset Space ~
20525 \begin_inset Flex CharStyle:Code
20528 \begin_layout PlainLayout
20538 \labelwidthstring 00.00.0000
20539 \begin_inset Flex CharStyle:MenuItem
20542 \begin_layout PlainLayout
20544 \begin_inset Space ~
20553 \begin_inset Flex CharStyle:Code
20556 \begin_layout PlainLayout
20566 \labelwidthstring 00.00.0000
20567 \begin_inset Flex CharStyle:MenuItem
20570 \begin_layout PlainLayout
20572 \begin_inset Space ~
20581 \begin_inset Flex CharStyle:Code
20584 \begin_layout PlainLayout
20594 \labelwidthstring 00.00.0000
20595 \begin_inset Flex CharStyle:MenuItem
20598 \begin_layout PlainLayout
20600 \begin_inset Space ~
20609 \begin_inset Flex CharStyle:Code
20612 \begin_layout PlainLayout
20622 \labelwidthstring 00.00.0000
20623 \begin_inset Flex CharStyle:MenuItem
20626 \begin_layout PlainLayout
20628 \begin_inset Space ~
20637 \begin_inset Flex CharStyle:Code
20640 \begin_layout PlainLayout
20650 \labelwidthstring 00.00.0000
20651 \begin_inset Flex CharStyle:MenuItem
20654 \begin_layout PlainLayout
20656 \begin_inset Space ~
20665 \begin_inset Flex CharStyle:Code
20668 \begin_layout PlainLayout
20678 \labelwidthstring 00.00.0000
20679 \begin_inset Flex CharStyle:MenuItem
20682 \begin_layout PlainLayout
20684 \begin_inset Space ~
20693 \begin_inset Flex CharStyle:Code
20696 \begin_layout PlainLayout
20706 \labelwidthstring 00.00.0000
20707 \begin_inset Flex CharStyle:MenuItem
20710 \begin_layout PlainLayout
20712 \begin_inset Space ~
20721 \begin_inset Flex CharStyle:Code
20724 \begin_layout PlainLayout
20734 \labelwidthstring 00.00.0000
20735 \begin_inset Flex CharStyle:MenuItem
20738 \begin_layout PlainLayout
20740 \begin_inset Space ~
20749 \begin_inset Flex CharStyle:Code
20752 \begin_layout PlainLayout
20761 \begin_layout Subsection
20765 \begin_layout Subsection
20769 \begin_layout Subsection
20773 \begin_layout Subsection
20778 \labelwidthstring 00.00.0000
20779 \begin_inset Flex CharStyle:MenuItem
20782 \begin_layout PlainLayout
20784 \begin_inset Space ~
20793 \begin_inset Flex CharStyle:Code
20796 \begin_layout PlainLayout
20806 \labelwidthstring 00.00.0000
20807 \begin_inset Flex CharStyle:MenuItem
20810 \begin_layout PlainLayout
20812 \begin_inset Space ~
20821 \begin_inset Flex CharStyle:Code
20824 \begin_layout PlainLayout
20834 \labelwidthstring 00.00.0000
20835 \begin_inset Flex CharStyle:MenuItem
20838 \begin_layout PlainLayout
20840 \begin_inset Space ~
20849 \begin_inset Flex CharStyle:Code
20852 \begin_layout PlainLayout
20862 \labelwidthstring 00.00.0000
20863 \begin_inset Flex CharStyle:MenuItem
20866 \begin_layout PlainLayout
20868 \begin_inset Space ~
20877 \begin_inset Flex CharStyle:Code
20880 \begin_layout PlainLayout
20890 \labelwidthstring 00.00.0000
20891 \begin_inset Flex CharStyle:MenuItem
20894 \begin_layout PlainLayout
20896 \begin_inset Space ~
20905 \begin_inset Flex CharStyle:Code
20908 \begin_layout PlainLayout
20918 \labelwidthstring 00.00.0000
20919 \begin_inset Flex CharStyle:MenuItem
20922 \begin_layout PlainLayout
20924 \begin_inset Space ~
20933 \begin_inset Flex CharStyle:Code
20936 \begin_layout PlainLayout
20937 layout ShortFoilhead
20946 \labelwidthstring 00.00.0000
20947 \begin_inset Flex CharStyle:MenuItem
20950 \begin_layout PlainLayout
20952 \begin_inset Space ~
20961 \begin_inset Flex CharStyle:Code
20964 \begin_layout PlainLayout
20974 \labelwidthstring 00.00.0000
20975 \begin_inset Flex CharStyle:MenuItem
20978 \begin_layout PlainLayout
20980 \begin_inset Space ~
20989 \begin_inset Flex CharStyle:Code
20992 \begin_layout PlainLayout
21002 \labelwidthstring 00.00.0000
21003 \begin_inset Flex CharStyle:MenuItem
21006 \begin_layout PlainLayout
21008 \begin_inset Space ~
21017 \begin_inset Flex CharStyle:Code
21020 \begin_layout PlainLayout
21030 \labelwidthstring 00.00.0000
21031 \begin_inset Flex CharStyle:MenuItem
21034 \begin_layout PlainLayout
21036 \begin_inset Space ~
21045 \begin_inset Flex CharStyle:Code
21048 \begin_layout PlainLayout
21058 \labelwidthstring 00.00.0000
21059 \begin_inset Flex CharStyle:MenuItem
21062 \begin_layout PlainLayout
21064 \begin_inset Space ~
21073 \begin_inset Flex CharStyle:Code
21076 \begin_layout PlainLayout
21077 layout ShortRotatefoilhead
21086 \labelwidthstring 00.00.0000
21087 \begin_inset Flex CharStyle:MenuItem
21090 \begin_layout PlainLayout
21092 \begin_inset Space ~
21101 \begin_inset Flex CharStyle:Code
21104 \begin_layout PlainLayout
21114 \labelwidthstring 00.00.0000
21115 \begin_inset Flex CharStyle:MenuItem
21118 \begin_layout PlainLayout
21120 \begin_inset Space ~
21129 \begin_inset Flex CharStyle:Code
21132 \begin_layout PlainLayout
21142 \labelwidthstring 00.00.0000
21143 \begin_inset Flex CharStyle:MenuItem
21146 \begin_layout PlainLayout
21148 \begin_inset Space ~
21157 \begin_inset Flex CharStyle:Code
21160 \begin_layout PlainLayout
21170 \labelwidthstring 00.00.0000
21171 \begin_inset Flex CharStyle:MenuItem
21174 \begin_layout PlainLayout
21176 \begin_inset Space ~
21185 \begin_inset Flex CharStyle:Code
21188 \begin_layout PlainLayout
21189 drop-layouts-choice
21198 \labelwidthstring 00.00.0000
21199 \begin_inset Flex CharStyle:MenuItem
21202 \begin_layout PlainLayout
21206 \begin_inset Space ~
21215 \begin_inset Flex CharStyle:Code
21218 \begin_layout PlainLayout
21228 \labelwidthstring 00.00.0000
21229 \begin_inset Flex CharStyle:MenuItem
21232 \begin_layout PlainLayout
21236 \begin_inset Space ~
21245 \begin_inset Flex CharStyle:Code
21248 \begin_layout PlainLayout
21258 \labelwidthstring 00.00.0000
21259 \begin_inset Flex CharStyle:MenuItem
21262 \begin_layout PlainLayout
21264 \begin_inset Space ~
21273 \begin_inset Flex CharStyle:Code
21276 \begin_layout PlainLayout
21286 \labelwidthstring 00.00.0000
21287 \begin_inset Flex CharStyle:MenuItem
21290 \begin_layout PlainLayout
21292 \begin_inset Space ~
21301 \begin_inset Flex CharStyle:Code
21304 \begin_layout PlainLayout
21314 \labelwidthstring 00.00.0000
21315 \begin_inset Flex CharStyle:MenuItem
21318 \begin_layout PlainLayout
21320 \begin_inset Space ~
21329 \begin_inset Flex CharStyle:Code
21332 \begin_layout PlainLayout
21333 layout Subsubsection
21342 \labelwidthstring 00.00.0000
21343 \begin_inset Flex CharStyle:MenuItem
21346 \begin_layout PlainLayout
21348 \begin_inset Space ~
21357 \begin_inset Flex CharStyle:Code
21360 \begin_layout PlainLayout
21370 \labelwidthstring 00.00.0000
21371 \begin_inset Flex CharStyle:MenuItem
21374 \begin_layout PlainLayout
21376 \begin_inset Space ~
21385 \begin_inset Flex CharStyle:Code
21388 \begin_layout PlainLayout
21389 layout Subparagraph
21398 \labelwidthstring 00.00.0000
21399 \begin_inset Flex CharStyle:MenuItem
21402 \begin_layout PlainLayout
21404 \begin_inset Space ~
21408 \begin_inset Space ~
21417 \begin_inset Flex CharStyle:Code
21420 \begin_layout PlainLayout
21430 \labelwidthstring 00.00.0000
21431 \begin_inset Flex CharStyle:MenuItem
21434 \begin_layout PlainLayout
21436 \begin_inset Space ~
21440 \begin_inset Space ~
21449 \begin_inset Flex CharStyle:Code
21452 \begin_layout PlainLayout
21462 \labelwidthstring 00.00.0000
21463 \begin_inset Flex CharStyle:MenuItem
21466 \begin_layout PlainLayout
21468 \begin_inset Space ~
21472 \begin_inset Space ~
21481 \begin_inset Flex CharStyle:Code
21484 \begin_layout PlainLayout
21494 \labelwidthstring 00.00.0000
21495 \begin_inset Flex CharStyle:MenuItem
21498 \begin_layout PlainLayout
21500 \begin_inset Space ~
21504 \begin_inset Space ~
21513 \begin_inset Flex CharStyle:Code
21516 \begin_layout PlainLayout
21526 \labelwidthstring 00.00.0000
21527 \begin_inset Flex CharStyle:MenuItem
21530 \begin_layout PlainLayout
21532 \begin_inset Space ~
21536 \begin_inset Space ~
21545 \begin_inset Flex CharStyle:Code
21548 \begin_layout PlainLayout
21549 layout Subsubsection*
21558 \labelwidthstring 00.00.0000
21559 \begin_inset Flex CharStyle:MenuItem
21562 \begin_layout PlainLayout
21564 \begin_inset Space ~
21568 \begin_inset Space ~
21577 \begin_inset Flex CharStyle:Code
21580 \begin_layout PlainLayout
21590 \labelwidthstring 00.00.0000
21591 \begin_inset Flex CharStyle:MenuItem
21594 \begin_layout PlainLayout
21596 \begin_inset Space ~
21600 \begin_inset Space ~
21609 \begin_inset Flex CharStyle:Code
21612 \begin_layout PlainLayout
21613 layout Subparagraph*
21622 \labelwidthstring 00.00.0000
21623 \begin_inset Flex CharStyle:MenuItem
21626 \begin_layout PlainLayout
21628 \begin_inset Space ~
21637 \begin_inset Flex CharStyle:Code
21640 \begin_layout PlainLayout
21650 \labelwidthstring 00.00.0000
21651 \begin_inset Flex CharStyle:MenuItem
21654 \begin_layout PlainLayout
21656 \begin_inset Space ~
21665 \begin_inset Flex CharStyle:Code
21668 \begin_layout PlainLayout
21669 layout Bibliography
21678 \labelwidthstring 00.00.0000
21679 \begin_inset Flex CharStyle:MenuItem
21682 \begin_layout PlainLayout
21684 \begin_inset Space ~
21693 \begin_inset Flex CharStyle:Code
21696 \begin_layout PlainLayout
21706 \labelwidthstring 00.00.0000
21707 \begin_inset Flex CharStyle:MenuItem
21710 \begin_layout PlainLayout
21712 \begin_inset Space ~
21721 \begin_inset Flex CharStyle:Code
21724 \begin_layout PlainLayout
21734 \labelwidthstring 00.00.0000
21735 \begin_inset Flex CharStyle:MenuItem
21738 \begin_layout PlainLayout
21740 \begin_inset Space ~
21749 \begin_inset Flex CharStyle:Code
21752 \begin_layout PlainLayout
21762 \labelwidthstring 00.00.0000
21763 \begin_inset Flex CharStyle:MenuItem
21766 \begin_layout PlainLayout
21768 \begin_inset Space ~
21777 \begin_inset Flex CharStyle:Code
21780 \begin_layout PlainLayout
21790 \labelwidthstring 00.00.0000
21791 \begin_inset Flex CharStyle:MenuItem
21794 \begin_layout PlainLayout
21796 \begin_inset Space ~
21805 \begin_inset Flex CharStyle:Code
21808 \begin_layout PlainLayout
21818 \labelwidthstring 00.00.0000
21819 \begin_inset Flex CharStyle:MenuItem
21822 \begin_layout PlainLayout
21824 \begin_inset Space ~
21833 \begin_inset Flex CharStyle:Code
21836 \begin_layout PlainLayout
21837 layout Rotatefoilhead
21846 \labelwidthstring 00.00.0000
21847 \begin_inset Flex CharStyle:MenuItem
21850 \begin_layout PlainLayout
21852 \begin_inset Space ~
21861 \begin_inset Flex CharStyle:Code
21864 \begin_layout PlainLayout
21865 layout RightAddress
21874 \labelwidthstring 00.00.0000
21875 \begin_inset Flex CharStyle:MenuItem
21878 \begin_layout PlainLayout
21880 \begin_inset Space ~
21889 \begin_inset Flex CharStyle:Code
21892 \begin_layout PlainLayout
21902 \labelwidthstring 00.00.0000
21903 \begin_inset Flex CharStyle:MenuItem
21906 \begin_layout PlainLayout
21908 \begin_inset Space ~
21917 \begin_inset Flex CharStyle:Code
21920 \begin_layout PlainLayout
21930 \labelwidthstring 00.00.0000
21931 \begin_inset Flex CharStyle:MenuItem
21934 \begin_layout PlainLayout
21936 \begin_inset Space ~
21945 \begin_inset Flex CharStyle:Code
21948 \begin_layout PlainLayout
21958 \labelwidthstring 00.00.0000
21959 \begin_inset Flex CharStyle:MenuItem
21962 \begin_layout PlainLayout
21964 \begin_inset Space ~
21973 \begin_inset Flex CharStyle:Code
21976 \begin_layout PlainLayout
21985 \begin_layout Standard
21986 These ones are kept for backwards compatibility, but only make sense on
21991 \labelwidthstring 00.00.0000
21992 \begin_inset Flex CharStyle:MenuItem
21995 \begin_layout PlainLayout
21997 \begin_inset Space ~
22006 \begin_inset Flex CharStyle:Code
22009 \begin_layout PlainLayout
22019 \labelwidthstring 00.00.0000
22020 \begin_inset Flex CharStyle:MenuItem
22023 \begin_layout PlainLayout
22025 \begin_inset Space ~
22034 \begin_inset Flex CharStyle:Code
22037 \begin_layout PlainLayout
22038 layout Subsubsection*
22047 \labelwidthstring 00.00.0000
22048 \begin_inset Flex CharStyle:MenuItem
22051 \begin_layout PlainLayout
22053 \begin_inset Space ~
22062 \begin_inset Flex CharStyle:Code
22065 \begin_layout PlainLayout
22074 \begin_layout Section
22078 \begin_layout Subsection
22080 \begin_inset Flex CharStyle:Code
22083 \begin_layout PlainLayout
22093 \labelwidthstring 00.00.0000
22094 \begin_inset Flex CharStyle:MenuItem
22097 \begin_layout PlainLayout
22104 \begin_inset Flex CharStyle:Code
22107 \begin_layout PlainLayout
22117 \labelwidthstring 00.00.0000
22118 \begin_inset Flex CharStyle:MenuItem
22121 \begin_layout PlainLayout
22128 \begin_inset Flex CharStyle:Code
22131 \begin_layout PlainLayout
22141 \labelwidthstring 00.00.0000
22142 \begin_inset Flex CharStyle:MenuItem
22145 \begin_layout PlainLayout
22152 \begin_inset Flex CharStyle:Code
22155 \begin_layout PlainLayout
22165 \labelwidthstring 00.00.0000
22166 \begin_inset Flex CharStyle:MenuItem
22169 \begin_layout PlainLayout
22176 \begin_inset Flex CharStyle:Code
22179 \begin_layout PlainLayout
22189 \labelwidthstring 00.00.0000
22190 \begin_inset Flex CharStyle:MenuItem
22193 \begin_layout PlainLayout
22200 \begin_inset Flex CharStyle:Code
22203 \begin_layout PlainLayout
22213 \labelwidthstring 00.00.0000
22214 \begin_inset Flex CharStyle:MenuItem
22217 \begin_layout PlainLayout
22224 \begin_inset Flex CharStyle:Code
22227 \begin_layout PlainLayout
22237 \labelwidthstring 00.00.0000
22238 \begin_inset Flex CharStyle:MenuItem
22241 \begin_layout PlainLayout
22248 \begin_inset Flex CharStyle:Code
22251 \begin_layout PlainLayout
22252 hyphenation-point-insert
22261 \labelwidthstring 00.00.0000
22262 \begin_inset Flex CharStyle:MenuItem
22265 \begin_layout PlainLayout
22272 \begin_inset Flex CharStyle:Code
22275 \begin_layout PlainLayout
22285 \labelwidthstring 00.00.0000
22286 \begin_inset Flex CharStyle:MenuItem
22289 \begin_layout PlainLayout
22296 \begin_inset Flex CharStyle:Code
22299 \begin_layout PlainLayout
22300 line-delete-forward
22309 \labelwidthstring 00.00.0000
22310 \begin_inset Flex CharStyle:MenuItem
22313 \begin_layout PlainLayout
22320 \begin_inset Flex CharStyle:Code
22323 \begin_layout PlainLayout
22333 \labelwidthstring 00.00.0000
22334 \begin_inset Flex CharStyle:MenuItem
22337 \begin_layout PlainLayout
22344 \begin_inset Flex CharStyle:Code
22347 \begin_layout PlainLayout
22357 \labelwidthstring 00.00.0000
22358 \begin_inset Flex CharStyle:MenuItem
22361 \begin_layout PlainLayout
22368 \begin_inset Flex CharStyle:Code
22371 \begin_layout PlainLayout
22381 \labelwidthstring 00.00.0000
22382 \begin_inset Flex CharStyle:MenuItem
22385 \begin_layout PlainLayout
22392 \begin_inset Flex CharStyle:Code
22395 \begin_layout PlainLayout
22405 \labelwidthstring 00.00.0000
22406 \begin_inset Flex CharStyle:MenuItem
22409 \begin_layout PlainLayout
22416 \begin_inset Flex CharStyle:Code
22419 \begin_layout PlainLayout
22429 \labelwidthstring 00.00.0000
22430 \begin_inset Flex CharStyle:MenuItem
22433 \begin_layout PlainLayout
22440 \begin_inset Flex CharStyle:Code
22443 \begin_layout PlainLayout
22453 \labelwidthstring 00.00.0000
22454 \begin_inset Flex CharStyle:MenuItem
22457 \begin_layout PlainLayout
22464 \begin_inset Flex CharStyle:Code
22467 \begin_layout PlainLayout
22477 \labelwidthstring 00.00.0000
22478 \begin_inset Flex CharStyle:MenuItem
22481 \begin_layout PlainLayout
22488 \begin_inset Flex CharStyle:Code
22491 \begin_layout PlainLayout
22501 \labelwidthstring 00.00.0000
22502 \begin_inset Flex CharStyle:MenuItem
22505 \begin_layout PlainLayout
22512 \begin_inset Flex CharStyle:Code
22515 \begin_layout PlainLayout
22525 \labelwidthstring 00.00.0000
22526 \begin_inset Flex CharStyle:MenuItem
22529 \begin_layout PlainLayout
22536 \begin_inset Flex CharStyle:Code
22539 \begin_layout PlainLayout
22549 \labelwidthstring 00.00.0000
22550 \begin_inset Flex CharStyle:MenuItem
22553 \begin_layout PlainLayout
22560 \begin_inset Flex CharStyle:Code
22563 \begin_layout PlainLayout
22573 \labelwidthstring 00.00.0000
22574 \begin_inset Flex CharStyle:MenuItem
22577 \begin_layout PlainLayout
22584 \begin_inset Flex CharStyle:Code
22587 \begin_layout PlainLayout
22597 \labelwidthstring 00.00.0000
22598 \begin_inset Flex CharStyle:MenuItem
22601 \begin_layout PlainLayout
22603 \begin_inset Space ~
22612 \begin_inset Flex CharStyle:Code
22615 \begin_layout PlainLayout
22625 \labelwidthstring 00.00.0000
22626 \begin_inset Flex CharStyle:MenuItem
22629 \begin_layout PlainLayout
22631 \begin_inset Space ~
22640 \begin_inset Flex CharStyle:Code
22643 \begin_layout PlainLayout
22653 \labelwidthstring 00.00.0000
22654 \begin_inset Flex CharStyle:MenuItem
22657 \begin_layout PlainLayout
22659 \begin_inset Space ~
22668 \begin_inset Flex CharStyle:Code
22671 \begin_layout PlainLayout
22681 \labelwidthstring 00.00.0000
22682 \begin_inset Flex CharStyle:MenuItem
22685 \begin_layout PlainLayout
22687 \begin_inset Space ~
22696 \begin_inset Flex CharStyle:Code
22699 \begin_layout PlainLayout
22709 \labelwidthstring 00.00.0000
22710 \begin_inset Flex CharStyle:MenuItem
22713 \begin_layout PlainLayout
22715 \begin_inset Space ~
22719 \begin_inset Space ~
22728 \begin_inset Flex CharStyle:Code
22731 \begin_layout PlainLayout
22741 \labelwidthstring 00.00.0000
22742 \begin_inset Flex CharStyle:MenuItem
22745 \begin_layout PlainLayout
22747 \begin_inset Space ~
22756 \begin_inset Flex CharStyle:Code
22759 \begin_layout PlainLayout
22769 \labelwidthstring 00.00.0000
22770 \begin_inset Flex CharStyle:MenuItem
22773 \begin_layout PlainLayout
22775 \begin_inset Space ~
22784 \begin_inset Flex CharStyle:Code
22787 \begin_layout PlainLayout
22797 \labelwidthstring 00.00.0000
22798 \begin_inset Flex CharStyle:MenuItem
22801 \begin_layout PlainLayout
22803 \begin_inset Space ~
22812 \begin_inset Flex CharStyle:Code
22815 \begin_layout PlainLayout
22825 \labelwidthstring 00.00.0000
22826 \begin_inset Flex CharStyle:MenuItem
22829 \begin_layout PlainLayout
22831 \begin_inset Space ~
22840 \begin_inset Flex CharStyle:Code
22843 \begin_layout PlainLayout
22853 \labelwidthstring 00.00.0000
22854 \begin_inset Flex CharStyle:MenuItem
22857 \begin_layout PlainLayout
22859 \begin_inset Space ~
22863 \begin_inset Space ~
22872 \begin_inset Flex CharStyle:Code
22875 \begin_layout PlainLayout
22885 \labelwidthstring 00.00.0000
22886 \begin_inset Flex CharStyle:MenuItem
22889 \begin_layout PlainLayout
22891 \begin_inset Space ~
22900 \begin_inset Flex CharStyle:Code
22903 \begin_layout PlainLayout
22913 \labelwidthstring 00.00.0000
22914 \begin_inset Flex CharStyle:MenuItem
22917 \begin_layout PlainLayout
22919 \begin_inset Space ~
22928 \begin_inset Flex CharStyle:Code
22931 \begin_layout PlainLayout
22941 \labelwidthstring 00.00.0000
22942 \begin_inset Flex CharStyle:MenuItem
22945 \begin_layout PlainLayout
22947 \begin_inset Space ~
22951 \begin_inset Space ~
22960 \begin_inset Flex CharStyle:Code
22963 \begin_layout PlainLayout
22973 \labelwidthstring 00.00.0000
22974 \begin_inset Flex CharStyle:MenuItem
22977 \begin_layout PlainLayout
22979 \begin_inset Space ~
22983 \begin_inset Space ~
22992 \begin_inset Flex CharStyle:Code
22995 \begin_layout PlainLayout
23005 \labelwidthstring 00.00.0000
23006 \begin_inset Flex CharStyle:MenuItem
23009 \begin_layout PlainLayout
23011 \begin_inset Space ~
23015 \begin_inset Space ~
23024 \begin_inset Flex CharStyle:Code
23027 \begin_layout PlainLayout
23037 \labelwidthstring 00.00.0000
23038 \begin_inset Flex CharStyle:MenuItem
23041 \begin_layout PlainLayout
23043 \begin_inset Space ~
23047 \begin_inset Space ~
23056 \begin_inset Flex CharStyle:Code
23059 \begin_layout PlainLayout
23069 \labelwidthstring 00.00.0000
23070 \begin_inset Flex CharStyle:MenuItem
23073 \begin_layout PlainLayout
23075 \begin_inset Space ~
23079 \begin_inset Space ~
23088 \begin_inset Flex CharStyle:Code
23091 \begin_layout PlainLayout
23101 \labelwidthstring 00.00.0000
23102 \begin_inset Flex CharStyle:MenuItem
23105 \begin_layout PlainLayout
23107 \begin_inset Space ~
23111 \begin_inset Space ~
23120 \begin_inset Flex CharStyle:Code
23123 \begin_layout PlainLayout
23133 \labelwidthstring 00.00.0000
23134 \begin_inset Flex CharStyle:MenuItem
23137 \begin_layout PlainLayout
23139 \begin_inset Space ~
23148 \begin_inset Flex CharStyle:Code
23151 \begin_layout PlainLayout
23161 \labelwidthstring 00.00.0000
23162 \begin_inset Flex CharStyle:MenuItem
23165 \begin_layout PlainLayout
23167 \begin_inset Space ~
23176 \begin_inset Flex CharStyle:Code
23179 \begin_layout PlainLayout
23189 \labelwidthstring 00.00.0000
23190 \begin_inset Flex CharStyle:MenuItem
23193 \begin_layout PlainLayout
23195 \begin_inset Space ~
23204 \begin_inset Flex CharStyle:Code
23207 \begin_layout PlainLayout
23217 \labelwidthstring 00.00.0000
23218 \begin_inset Flex CharStyle:MenuItem
23221 \begin_layout PlainLayout
23223 \begin_inset Space ~
23232 \begin_inset Flex CharStyle:Code
23235 \begin_layout PlainLayout
23236 menu-open Documents
23245 \labelwidthstring 00.00.0000
23246 \begin_inset Flex CharStyle:MenuItem
23249 \begin_layout PlainLayout
23251 \begin_inset Space ~
23260 \begin_inset Flex CharStyle:Code
23263 \begin_layout PlainLayout
23273 \labelwidthstring 00.00.0000
23274 \begin_inset Flex CharStyle:MenuItem
23277 \begin_layout PlainLayout
23279 \begin_inset Space ~
23288 \begin_inset Flex CharStyle:Code
23291 \begin_layout PlainLayout
23301 \labelwidthstring 00.00.0000
23302 \begin_inset Flex CharStyle:MenuItem
23305 \begin_layout PlainLayout
23307 \begin_inset Space ~
23316 \begin_inset Flex CharStyle:Code
23319 \begin_layout PlainLayout
23329 \labelwidthstring 00.00.0000
23330 \begin_inset Flex CharStyle:MenuItem
23333 \begin_layout PlainLayout
23335 \begin_inset Space ~
23344 \begin_inset Flex CharStyle:Code
23347 \begin_layout PlainLayout
23357 \labelwidthstring 00.00.0000
23358 \begin_inset Flex CharStyle:MenuItem
23361 \begin_layout PlainLayout
23363 \begin_inset Space ~
23372 \begin_inset Flex CharStyle:Code
23375 \begin_layout PlainLayout
23385 \labelwidthstring 00.00.0000
23386 \begin_inset Flex CharStyle:MenuItem
23389 \begin_layout PlainLayout
23391 \begin_inset Space ~
23400 \begin_inset Flex CharStyle:Code
23403 \begin_layout PlainLayout
23404 buffer-toggle-read-only
23413 \labelwidthstring 00.00.0000
23414 \begin_inset Flex CharStyle:MenuItem
23417 \begin_layout PlainLayout
23419 \begin_inset Space ~
23428 \begin_inset Flex CharStyle:Code
23431 \begin_layout PlainLayout
23441 \labelwidthstring 00.00.0000
23442 \begin_inset Flex CharStyle:MenuItem
23445 \begin_layout PlainLayout
23447 \begin_inset Space ~
23456 \begin_inset Flex CharStyle:Code
23459 \begin_layout PlainLayout
23469 \labelwidthstring 00.00.0000
23470 \begin_inset Flex CharStyle:MenuItem
23473 \begin_layout PlainLayout
23475 \begin_inset Space ~
23484 \begin_inset Flex CharStyle:Code
23487 \begin_layout PlainLayout
23497 \labelwidthstring 00.00.0000
23498 \begin_inset Flex CharStyle:MenuItem
23501 \begin_layout PlainLayout
23508 \begin_inset Flex CharStyle:Code
23511 \begin_layout PlainLayout
23521 \labelwidthstring 00.00.0000
23522 \begin_inset Flex CharStyle:MenuItem
23525 \begin_layout PlainLayout
23532 \begin_inset Flex CharStyle:Code
23535 \begin_layout PlainLayout
23545 \labelwidthstring 00.00.0000
23546 \begin_inset Flex CharStyle:MenuItem
23549 \begin_layout PlainLayout
23556 \begin_inset Flex CharStyle:Code
23559 \begin_layout PlainLayout
23569 \labelwidthstring 00.00.0000
23570 \begin_inset Flex CharStyle:MenuItem
23573 \begin_layout PlainLayout
23580 \begin_inset Flex CharStyle:Code
23583 \begin_layout PlainLayout
23593 \labelwidthstring 00.00.0000
23594 \begin_inset Flex CharStyle:MenuItem
23597 \begin_layout PlainLayout
23604 \begin_inset Flex CharStyle:Code
23607 \begin_layout PlainLayout
23617 \labelwidthstring 00.00.0000
23618 \begin_inset Flex CharStyle:MenuItem
23621 \begin_layout PlainLayout
23628 \begin_inset Flex CharStyle:Code
23631 \begin_layout PlainLayout
23641 \labelwidthstring 00.00.0000
23642 \begin_inset Flex CharStyle:MenuItem
23645 \begin_layout PlainLayout
23652 \begin_inset Flex CharStyle:Code
23655 \begin_layout PlainLayout
23665 \labelwidthstring 00.00.0000
23666 \begin_inset Flex CharStyle:MenuItem
23669 \begin_layout PlainLayout
23676 \begin_inset Flex CharStyle:Code
23679 \begin_layout PlainLayout
23689 \labelwidthstring 00.00.0000
23690 \begin_inset Flex CharStyle:MenuItem
23693 \begin_layout PlainLayout
23700 \begin_inset Flex CharStyle:Code
23703 \begin_layout PlainLayout
23713 \labelwidthstring 00.00.0000
23714 \begin_inset Flex CharStyle:MenuItem
23717 \begin_layout PlainLayout
23724 \begin_inset Flex CharStyle:Code
23727 \begin_layout PlainLayout
23737 \labelwidthstring 00.00.0000
23738 \begin_inset Flex CharStyle:MenuItem
23741 \begin_layout PlainLayout
23748 \begin_inset Flex CharStyle:Code
23751 \begin_layout PlainLayout
23761 \labelwidthstring 00.00.0000
23762 \begin_inset Flex CharStyle:MenuItem
23765 \begin_layout PlainLayout
23772 \begin_inset Flex CharStyle:Code
23775 \begin_layout PlainLayout
23785 \labelwidthstring 00.00.0000
23786 \begin_inset Flex CharStyle:MenuItem
23789 \begin_layout PlainLayout
23796 \begin_inset Flex CharStyle:Code
23799 \begin_layout PlainLayout
23809 \labelwidthstring 00.00.0000
23810 \begin_inset Flex CharStyle:MenuItem
23813 \begin_layout PlainLayout
23820 \begin_inset Flex CharStyle:Code
23823 \begin_layout PlainLayout
23833 \labelwidthstring 00.00.0000
23834 \begin_inset Flex CharStyle:MenuItem
23837 \begin_layout PlainLayout
23844 \begin_inset Flex CharStyle:Code
23847 \begin_layout PlainLayout
23848 word-delete-forward
23857 \labelwidthstring 00.00.0000
23858 \begin_inset Flex CharStyle:MenuItem
23861 \begin_layout PlainLayout
23868 \begin_inset Flex CharStyle:Code
23871 \begin_layout PlainLayout
23872 word-delete-backward
23881 \labelwidthstring 00.00.0000
23882 \begin_inset Flex CharStyle:MenuItem
23885 \begin_layout PlainLayout
23892 \begin_inset Flex CharStyle:Code
23895 \begin_layout PlainLayout
23905 \labelwidthstring 00.00.0000
23906 \begin_inset Flex CharStyle:MenuItem
23909 \begin_layout PlainLayout
23916 \begin_inset Flex CharStyle:Code
23919 \begin_layout PlainLayout
23920 end-of-sentence-period-insert
23929 \labelwidthstring 00.00.0000
23930 \begin_inset Flex CharStyle:MenuItem
23933 \begin_layout PlainLayout
23940 \begin_inset Flex CharStyle:Code
23943 \begin_layout PlainLayout
23944 protected-space-insert
23953 \labelwidthstring 00.00.0000
23954 \begin_inset Flex CharStyle:MenuItem
23957 \begin_layout PlainLayout
23964 \begin_inset Flex CharStyle:Code
23967 \begin_layout PlainLayout
23977 \labelwidthstring 00.00.0000
23978 \begin_inset Flex CharStyle:MenuItem
23981 \begin_layout PlainLayout
23988 \begin_inset Flex CharStyle:Code
23991 \begin_layout PlainLayout
24001 \labelwidthstring 00.00.0000
24002 \begin_inset Flex CharStyle:MenuItem
24005 \begin_layout PlainLayout
24012 \begin_inset Flex CharStyle:Code
24015 \begin_layout PlainLayout
24025 \labelwidthstring 00.00.0000
24026 \begin_inset Flex CharStyle:MenuItem
24029 \begin_layout PlainLayout
24036 \begin_inset Flex CharStyle:Code
24039 \begin_layout PlainLayout
24049 \labelwidthstring 00.00.0000
24050 \begin_inset Flex CharStyle:MenuItem
24053 \begin_layout PlainLayout
24060 \begin_inset Flex CharStyle:Code
24063 \begin_layout PlainLayout
24073 \labelwidthstring 00.00.0000
24074 \begin_inset Flex CharStyle:MenuItem
24077 \begin_layout PlainLayout
24084 \begin_inset Flex CharStyle:Code
24087 \begin_layout PlainLayout
24097 \labelwidthstring 00.00.0000
24098 \begin_inset Flex CharStyle:MenuItem
24101 \begin_layout PlainLayout
24108 \begin_inset Flex CharStyle:Code
24111 \begin_layout PlainLayout
24112 buffer-begin-select
24121 \labelwidthstring 00.00.0000
24122 \begin_inset Flex CharStyle:MenuItem
24125 \begin_layout PlainLayout
24132 \begin_inset Flex CharStyle:Code
24135 \begin_layout PlainLayout
24145 \labelwidthstring 00.00.0000
24146 \begin_inset Flex CharStyle:MenuItem
24149 \begin_layout PlainLayout
24156 \begin_inset Flex CharStyle:Code
24159 \begin_layout PlainLayout
24160 paragraph-up-select
24169 \labelwidthstring 00.00.0000
24170 \begin_inset Flex CharStyle:MenuItem
24173 \begin_layout PlainLayout
24180 \begin_inset Flex CharStyle:Code
24183 \begin_layout PlainLayout
24184 paragraph-down-select
24193 \labelwidthstring 00.00.0000
24194 \begin_inset Flex CharStyle:MenuItem
24197 \begin_layout PlainLayout
24204 \begin_inset Flex CharStyle:Code
24207 \begin_layout PlainLayout
24208 word-backward-select
24217 \labelwidthstring 00.00.0000
24218 \begin_inset Flex CharStyle:MenuItem
24221 \begin_layout PlainLayout
24228 \begin_inset Flex CharStyle:Code
24231 \begin_layout PlainLayout
24232 word-forward-select
24241 \labelwidthstring 00.00.0000
24242 \begin_inset Flex CharStyle:MenuItem
24245 \begin_layout PlainLayout
24252 \begin_inset Flex CharStyle:Code
24255 \begin_layout PlainLayout
24265 \labelwidthstring 00.00.0000
24266 \begin_inset Flex CharStyle:MenuItem
24269 \begin_layout PlainLayout
24276 \begin_inset Flex CharStyle:Code
24279 \begin_layout PlainLayout
24280 word-delete-forward
24289 \labelwidthstring 00.00.0000
24290 \begin_inset Flex CharStyle:MenuItem
24293 \begin_layout PlainLayout
24300 \begin_inset Flex CharStyle:Code
24303 \begin_layout PlainLayout
24313 \labelwidthstring 00.00.0000
24314 \begin_inset Flex CharStyle:MenuItem
24317 \begin_layout PlainLayout
24324 \begin_inset Flex CharStyle:Code
24327 \begin_layout PlainLayout
24337 \labelwidthstring 00.00.0000
24338 \begin_inset Flex CharStyle:MenuItem
24341 \begin_layout PlainLayout
24348 \begin_inset Flex CharStyle:Code
24351 \begin_layout PlainLayout
24361 \labelwidthstring 00.00.0000
24362 \begin_inset Flex CharStyle:MenuItem
24365 \begin_layout PlainLayout
24372 \begin_inset Flex CharStyle:Code
24375 \begin_layout PlainLayout
24385 \labelwidthstring 00.00.0000
24386 \begin_inset Flex CharStyle:MenuItem
24389 \begin_layout PlainLayout
24396 \begin_inset Flex CharStyle:Code
24399 \begin_layout PlainLayout
24400 break-paragraph-keep-layout
24409 \labelwidthstring 00.00.0000
24410 \begin_inset Flex CharStyle:MenuItem
24413 \begin_layout PlainLayout
24420 \begin_inset Flex CharStyle:Code
24423 \begin_layout PlainLayout
24432 \begin_layout Subsection
24434 \begin_inset Flex CharStyle:Code
24437 \begin_layout PlainLayout
24447 \labelwidthstring 00.00.0000
24448 \begin_inset Flex CharStyle:MenuItem
24451 \begin_layout PlainLayout
24458 \begin_inset Flex CharStyle:Code
24461 \begin_layout PlainLayout
24471 \labelwidthstring 00.00.0000
24472 \begin_inset Flex CharStyle:MenuItem
24475 \begin_layout PlainLayout
24482 \begin_inset Flex CharStyle:Code
24485 \begin_layout PlainLayout
24495 \labelwidthstring 00.00.0000
24496 \begin_inset Flex CharStyle:MenuItem
24499 \begin_layout PlainLayout
24506 \begin_inset Flex CharStyle:Code
24509 \begin_layout PlainLayout
24519 \labelwidthstring 00.00.0000
24520 \begin_inset Flex CharStyle:MenuItem
24523 \begin_layout PlainLayout
24530 \begin_inset Flex CharStyle:Code
24533 \begin_layout PlainLayout
24543 \labelwidthstring 00.00.0000
24544 \begin_inset Flex CharStyle:MenuItem
24547 \begin_layout PlainLayout
24554 \begin_inset Flex CharStyle:Code
24557 \begin_layout PlainLayout
24567 \labelwidthstring 00.00.0000
24568 \begin_inset Flex CharStyle:MenuItem
24571 \begin_layout PlainLayout
24578 \begin_inset Flex CharStyle:Code
24581 \begin_layout PlainLayout
24591 \labelwidthstring 00.00.0000
24592 \begin_inset Flex CharStyle:MenuItem
24595 \begin_layout PlainLayout
24602 \begin_inset Flex CharStyle:Code
24605 \begin_layout PlainLayout
24615 \labelwidthstring 00.00.0000
24616 \begin_inset Flex CharStyle:MenuItem
24619 \begin_layout PlainLayout
24626 \begin_inset Flex CharStyle:Code
24629 \begin_layout PlainLayout
24639 \labelwidthstring 00.00.0000
24640 \begin_inset Flex CharStyle:MenuItem
24643 \begin_layout PlainLayout
24650 \begin_inset Flex CharStyle:Code
24653 \begin_layout PlainLayout
24663 \labelwidthstring 00.00.0000
24664 \begin_inset Flex CharStyle:MenuItem
24667 \begin_layout PlainLayout
24674 \begin_inset Flex CharStyle:Code
24677 \begin_layout PlainLayout
24687 \labelwidthstring 00.00.0000
24688 \begin_inset Flex CharStyle:MenuItem
24691 \begin_layout PlainLayout
24698 \begin_inset Flex CharStyle:Code
24701 \begin_layout PlainLayout
24711 \labelwidthstring 00.00.0000
24712 \begin_inset Flex CharStyle:MenuItem
24715 \begin_layout PlainLayout
24722 \begin_inset Flex CharStyle:Code
24725 \begin_layout PlainLayout
24735 \labelwidthstring 00.00.0000
24736 \begin_inset Flex CharStyle:MenuItem
24739 \begin_layout PlainLayout
24746 \begin_inset Flex CharStyle:Code
24749 \begin_layout PlainLayout
24759 \labelwidthstring 00.00.0000
24760 \begin_inset Flex CharStyle:MenuItem
24763 \begin_layout PlainLayout
24770 \begin_inset Flex CharStyle:Code
24773 \begin_layout PlainLayout
24783 \labelwidthstring 00.00.0000
24784 \begin_inset Flex CharStyle:MenuItem
24787 \begin_layout PlainLayout
24794 \begin_inset Flex CharStyle:Code
24797 \begin_layout PlainLayout
24807 \labelwidthstring 00.00.0000
24808 \begin_inset Flex CharStyle:MenuItem
24811 \begin_layout PlainLayout
24818 \begin_inset Flex CharStyle:Code
24821 \begin_layout PlainLayout
24831 \labelwidthstring 00.00.0000
24832 \begin_inset Flex CharStyle:MenuItem
24835 \begin_layout PlainLayout
24842 \begin_inset Flex CharStyle:Code
24845 \begin_layout PlainLayout
24855 \labelwidthstring 00.00.0000
24856 \begin_inset Flex CharStyle:MenuItem
24859 \begin_layout PlainLayout
24866 \begin_inset Flex CharStyle:Code
24869 \begin_layout PlainLayout
24879 \labelwidthstring 00.00.0000
24880 \begin_inset Flex CharStyle:MenuItem
24883 \begin_layout PlainLayout
24890 \begin_inset Flex CharStyle:Code
24893 \begin_layout PlainLayout
24903 \labelwidthstring 00.00.0000
24904 \begin_inset Flex CharStyle:MenuItem
24907 \begin_layout PlainLayout
24914 \begin_inset Flex CharStyle:Code
24917 \begin_layout PlainLayout
24927 \labelwidthstring 00.00.0000
24928 \begin_inset Flex CharStyle:MenuItem
24931 \begin_layout PlainLayout
24938 \begin_inset Flex CharStyle:Code
24941 \begin_layout PlainLayout
24951 \labelwidthstring 00.00.0000
24952 \begin_inset Flex CharStyle:MenuItem
24955 \begin_layout PlainLayout
24962 \begin_inset Flex CharStyle:Code
24965 \begin_layout PlainLayout
24975 \labelwidthstring 00.00.0000
24976 \begin_inset Flex CharStyle:MenuItem
24979 \begin_layout PlainLayout
24986 \begin_inset Flex CharStyle:Code
24989 \begin_layout PlainLayout
24990 protected-space-insert
24999 \labelwidthstring 00.00.0000
25000 \begin_inset Flex CharStyle:MenuItem
25003 \begin_layout PlainLayout
25010 \begin_inset Flex CharStyle:Code
25013 \begin_layout PlainLayout
25023 \labelwidthstring 00.00.0000
25024 \begin_inset Flex CharStyle:MenuItem
25027 \begin_layout PlainLayout
25034 \begin_inset Flex CharStyle:Code
25037 \begin_layout PlainLayout
25047 \labelwidthstring 00.00.0000
25048 \begin_inset Flex CharStyle:MenuItem
25051 \begin_layout PlainLayout
25058 \begin_inset Flex CharStyle:Code
25061 \begin_layout PlainLayout
25071 \labelwidthstring 00.00.0000
25072 \begin_inset Flex CharStyle:MenuItem
25075 \begin_layout PlainLayout
25082 \begin_inset Flex CharStyle:Code
25085 \begin_layout PlainLayout
25086 buffer-new-template
25095 \labelwidthstring 00.00.0000
25096 \begin_inset Flex CharStyle:MenuItem
25099 \begin_layout PlainLayout
25106 \begin_inset Flex CharStyle:Code
25109 \begin_layout PlainLayout
25119 \labelwidthstring 00.00.0000
25120 \begin_inset Flex CharStyle:MenuItem
25123 \begin_layout PlainLayout
25130 \begin_inset Flex CharStyle:Code
25133 \begin_layout PlainLayout
25143 \labelwidthstring 00.00.0000
25144 \begin_inset Flex CharStyle:MenuItem
25147 \begin_layout PlainLayout
25154 \begin_inset Flex CharStyle:Code
25157 \begin_layout PlainLayout
25167 \labelwidthstring 00.00.0000
25168 \begin_inset Flex CharStyle:MenuItem
25171 \begin_layout PlainLayout
25178 \begin_inset Flex CharStyle:Code
25181 \begin_layout PlainLayout
25191 \labelwidthstring 00.00.0000
25192 \begin_inset Flex CharStyle:MenuItem
25195 \begin_layout PlainLayout
25202 \begin_inset Flex CharStyle:Code
25205 \begin_layout PlainLayout
25215 \labelwidthstring 00.00.0000
25216 \begin_inset Flex CharStyle:MenuItem
25219 \begin_layout PlainLayout
25226 \begin_inset Flex CharStyle:Code
25229 \begin_layout PlainLayout
25239 \labelwidthstring 00.00.0000
25240 \begin_inset Flex CharStyle:MenuItem
25243 \begin_layout PlainLayout
25250 \begin_inset Flex CharStyle:Code
25253 \begin_layout PlainLayout
25263 \labelwidthstring 00.00.0000
25264 \begin_inset Flex CharStyle:MenuItem
25267 \begin_layout PlainLayout
25274 \begin_inset Flex CharStyle:Code
25277 \begin_layout PlainLayout
25278 end-of-sentence-period-insert
25287 \labelwidthstring 00.00.0000
25288 \begin_inset Flex CharStyle:MenuItem
25291 \begin_layout PlainLayout
25298 \begin_inset Flex CharStyle:Code
25301 \begin_layout PlainLayout
25311 \labelwidthstring 00.00.0000
25312 \begin_inset Flex CharStyle:MenuItem
25315 \begin_layout PlainLayout
25322 \begin_inset Flex CharStyle:Code
25325 \begin_layout PlainLayout
25335 \labelwidthstring 00.00.0000
25336 \begin_inset Flex CharStyle:MenuItem
25339 \begin_layout PlainLayout
25346 \begin_inset Flex CharStyle:Code
25349 \begin_layout PlainLayout
25350 hyphenation-point-insert
25359 \labelwidthstring 00.00.0000
25360 \begin_inset Flex CharStyle:MenuItem
25363 \begin_layout PlainLayout
25370 \begin_inset Flex CharStyle:Code
25373 \begin_layout PlainLayout
25383 \labelwidthstring 00.00.0000
25384 \begin_inset Flex CharStyle:MenuItem
25387 \begin_layout PlainLayout
25394 \begin_inset Flex CharStyle:Code
25397 \begin_layout PlainLayout
25398 protected-space-insert
25407 \labelwidthstring 00.00.0000
25408 \begin_inset Flex CharStyle:MenuItem
25411 \begin_layout PlainLayout
25418 \begin_inset Flex CharStyle:Code
25421 \begin_layout PlainLayout
25431 \labelwidthstring 00.00.0000
25432 \begin_inset Flex CharStyle:MenuItem
25435 \begin_layout PlainLayout
25442 \begin_inset Flex CharStyle:Code
25445 \begin_layout PlainLayout
25455 \labelwidthstring 00.00.0000
25456 \begin_inset Flex CharStyle:MenuItem
25459 \begin_layout PlainLayout
25466 \begin_inset Flex CharStyle:Code
25469 \begin_layout PlainLayout
25479 \labelwidthstring 00.00.0000
25480 \begin_inset Flex CharStyle:MenuItem
25483 \begin_layout PlainLayout
25490 \begin_inset Flex CharStyle:Code
25493 \begin_layout PlainLayout
25503 \labelwidthstring 00.00.0000
25504 \begin_inset Flex CharStyle:MenuItem
25507 \begin_layout PlainLayout
25514 \begin_inset Flex CharStyle:Code
25517 \begin_layout PlainLayout
25527 \labelwidthstring 00.00.0000
25528 \begin_inset Flex CharStyle:MenuItem
25531 \begin_layout PlainLayout
25538 \begin_inset Flex CharStyle:Code
25541 \begin_layout PlainLayout
25551 \labelwidthstring 00.00.0000
25552 \begin_inset Flex CharStyle:MenuItem
25555 \begin_layout PlainLayout
25562 \begin_inset Flex CharStyle:Code
25565 \begin_layout PlainLayout
25575 \labelwidthstring 00.00.0000
25576 \begin_inset Flex CharStyle:MenuItem
25579 \begin_layout PlainLayout
25586 \begin_inset Flex CharStyle:Code
25589 \begin_layout PlainLayout
25599 \labelwidthstring 00.00.0000
25600 \begin_inset Flex CharStyle:MenuItem
25603 \begin_layout PlainLayout
25610 \begin_inset Flex CharStyle:Code
25613 \begin_layout PlainLayout
25623 \labelwidthstring 00.00.0000
25624 \begin_inset Flex CharStyle:MenuItem
25627 \begin_layout PlainLayout
25634 \begin_inset Flex CharStyle:Code
25637 \begin_layout PlainLayout
25647 \labelwidthstring 00.00.0000
25648 \begin_inset Flex CharStyle:MenuItem
25651 \begin_layout PlainLayout
25658 \begin_inset Flex CharStyle:Code
25661 \begin_layout PlainLayout
25671 \labelwidthstring 00.00.0000
25672 \begin_inset Flex CharStyle:MenuItem
25675 \begin_layout PlainLayout
25682 \begin_inset Flex CharStyle:Code
25685 \begin_layout PlainLayout
25695 \labelwidthstring 00.00.0000
25696 \begin_inset Flex CharStyle:MenuItem
25699 \begin_layout PlainLayout
25706 \begin_inset Flex CharStyle:Code
25709 \begin_layout PlainLayout
25719 \labelwidthstring 00.00.0000
25720 \begin_inset Flex CharStyle:MenuItem
25723 \begin_layout PlainLayout
25730 \begin_inset Flex CharStyle:Code
25733 \begin_layout PlainLayout
25743 \labelwidthstring 00.00.0000
25744 \begin_inset Flex CharStyle:MenuItem
25747 \begin_layout PlainLayout
25754 \begin_inset Flex CharStyle:Code
25757 \begin_layout PlainLayout
25767 \labelwidthstring 00.00.0000
25768 \begin_inset Flex CharStyle:MenuItem
25771 \begin_layout PlainLayout
25778 \begin_inset Flex CharStyle:Code
25781 \begin_layout PlainLayout
25782 word-delete-forward
25791 \labelwidthstring 00.00.0000
25792 \begin_inset Flex CharStyle:MenuItem
25795 \begin_layout PlainLayout
25802 \begin_inset Flex CharStyle:Code
25805 \begin_layout PlainLayout
25806 word-delete-backward
25815 \labelwidthstring 00.00.0000
25816 \begin_inset Flex CharStyle:MenuItem
25819 \begin_layout PlainLayout
25826 \begin_inset Flex CharStyle:Code
25829 \begin_layout PlainLayout
25839 \labelwidthstring 00.00.0000
25840 \begin_inset Flex CharStyle:MenuItem
25843 \begin_layout PlainLayout
25850 \begin_inset Flex CharStyle:Code
25853 \begin_layout PlainLayout
25863 \labelwidthstring 00.00.0000
25864 \begin_inset Flex CharStyle:MenuItem
25867 \begin_layout PlainLayout
25874 \begin_inset Flex CharStyle:Code
25877 \begin_layout PlainLayout
25887 \labelwidthstring 00.00.0000
25888 \begin_inset Flex CharStyle:MenuItem
25891 \begin_layout PlainLayout
25898 \begin_inset Flex CharStyle:Code
25901 \begin_layout PlainLayout
25911 \labelwidthstring 00.00.0000
25912 \begin_inset Flex CharStyle:MenuItem
25915 \begin_layout PlainLayout
25922 \begin_inset Flex CharStyle:Code
25925 \begin_layout PlainLayout
25926 paragraph-down-select
25935 \labelwidthstring 00.00.0000
25936 \begin_inset Flex CharStyle:MenuItem
25939 \begin_layout PlainLayout
25946 \begin_inset Flex CharStyle:Code
25949 \begin_layout PlainLayout
25959 \labelwidthstring 00.00.0000
25960 \begin_inset Flex CharStyle:MenuItem
25963 \begin_layout PlainLayout
25970 \begin_inset Flex CharStyle:Code
25973 \begin_layout PlainLayout
25974 buffer-begin-select
25983 \labelwidthstring 00.00.0000
25984 \begin_inset Flex CharStyle:MenuItem
25987 \begin_layout PlainLayout
25994 \begin_inset Flex CharStyle:Code
25997 \begin_layout PlainLayout
25998 word-backward-select
26007 \labelwidthstring 00.00.0000
26008 \begin_inset Flex CharStyle:MenuItem
26011 \begin_layout PlainLayout
26018 \begin_inset Flex CharStyle:Code
26021 \begin_layout PlainLayout
26022 word-forward-select
26031 \labelwidthstring 00.00.0000
26032 \begin_inset Flex CharStyle:MenuItem
26035 \begin_layout PlainLayout
26042 \begin_inset Flex CharStyle:Code
26045 \begin_layout PlainLayout
26046 paragraph-up-select
26055 \labelwidthstring 00.00.0000
26056 \begin_inset Flex CharStyle:MenuItem
26059 \begin_layout PlainLayout
26066 \begin_inset Flex CharStyle:Code
26069 \begin_layout PlainLayout
26079 \labelwidthstring 00.00.0000
26080 \begin_inset Flex CharStyle:MenuItem
26083 \begin_layout PlainLayout
26090 \begin_inset Flex CharStyle:Code
26093 \begin_layout PlainLayout
26094 break-paragraph-keep-layout
26103 \labelwidthstring 00.00.0000
26104 \begin_inset Flex CharStyle:MenuItem
26107 \begin_layout PlainLayout
26114 \begin_inset Flex CharStyle:Code
26117 \begin_layout PlainLayout
26127 \labelwidthstring 00.00.0000
26128 \begin_inset Flex CharStyle:MenuItem
26131 \begin_layout PlainLayout
26138 \begin_inset Flex CharStyle:Code
26141 \begin_layout PlainLayout
26151 \labelwidthstring 00.00.0000
26152 \begin_inset Flex CharStyle:MenuItem
26155 \begin_layout PlainLayout
26162 \begin_inset Flex CharStyle:Code
26165 \begin_layout PlainLayout
26175 \labelwidthstring 00.00.0000
26176 \begin_inset Flex CharStyle:MenuItem
26179 \begin_layout PlainLayout
26186 \begin_inset Flex CharStyle:Code
26189 \begin_layout PlainLayout
26199 \labelwidthstring 00.00.0000
26200 \begin_inset Flex CharStyle:MenuItem
26203 \begin_layout PlainLayout
26210 \begin_inset Flex CharStyle:Code
26213 \begin_layout PlainLayout
26223 \labelwidthstring 00.00.0000
26224 \begin_inset Flex CharStyle:MenuItem
26227 \begin_layout PlainLayout
26234 \begin_inset Flex CharStyle:Code
26237 \begin_layout PlainLayout
26247 \labelwidthstring 00.00.0000
26248 \begin_inset Flex CharStyle:MenuItem
26251 \begin_layout PlainLayout
26258 \begin_inset Flex CharStyle:Code
26261 \begin_layout PlainLayout
26271 \labelwidthstring 00.00.0000
26272 \begin_inset Flex CharStyle:MenuItem
26275 \begin_layout PlainLayout
26282 \begin_inset Flex CharStyle:Code
26285 \begin_layout PlainLayout
26295 \labelwidthstring 00.00.0000
26296 \begin_inset Flex CharStyle:MenuItem
26299 \begin_layout PlainLayout
26306 \begin_inset Flex CharStyle:Code
26309 \begin_layout PlainLayout
26319 \labelwidthstring 00.00.0000
26320 \begin_inset Flex CharStyle:MenuItem
26323 \begin_layout PlainLayout
26330 \begin_inset Flex CharStyle:Code
26333 \begin_layout PlainLayout
26343 \labelwidthstring 00.00.0000
26344 \begin_inset Flex CharStyle:MenuItem
26347 \begin_layout PlainLayout
26354 \begin_inset Flex CharStyle:Code
26357 \begin_layout PlainLayout
26366 \begin_layout Subsection
26368 \begin_inset Flex CharStyle:Code
26371 \begin_layout PlainLayout
26380 \begin_layout Standard
26381 These are LyX keyboard definitions for mathematics, similar to those of
26385 \begin_layout Standard
26386 The bindings file and the present documentation were prepared by Serge Winitzki
26387 with assistance from Jean-Marc Lasgouttes.
26388 Version 1.3, for LyX 1.2.x and 1.3.x.
26391 \begin_layout Standard
26392 These definitions make it a lot easier to type equations without using the
26393 mouse, especially for people familiar with Scientific Word.
26394 The standard LyX bindings such as
26395 \begin_inset Flex CharStyle:Code
26398 \begin_layout PlainLayout
26408 \labelwidthstring 00.00.0000
26410 \begin_inset Flex CharStyle:Code
26413 \begin_layout PlainLayout
26422 \begin_layout Standard
26423 Tip: to find the "LyX bind name" for a key, look at the status bar after
26424 typing some non-existent key combination.
26426 to find how "Ctrl-&" is referenced, press Ctrl-S and then Ctrl-&: the status
26427 bar shows "C-s S-C-ampersand." (This does not work in LyX 1.3.0!)
26431 \labelwidthstring 00.00.0000
26432 \begin_inset Flex CharStyle:MenuItem
26435 \begin_layout PlainLayout
26442 \begin_inset Flex CharStyle:Code
26445 \begin_layout PlainLayout
26451 -- Copy, cut, paste is as in Sciword,
26452 \begin_inset Flex CharStyle:Code
26455 \begin_layout PlainLayout
26462 \begin_inset Flex CharStyle:Code
26465 \begin_layout PlainLayout
26472 \begin_inset Flex CharStyle:Code
26475 \begin_layout PlainLayout
26485 \labelwidthstring 00.00.0000
26486 \begin_inset Flex CharStyle:MenuItem
26489 \begin_layout PlainLayout
26496 \begin_inset Flex CharStyle:Code
26499 \begin_layout PlainLayout
26505 -- Display equation toggle: type
26506 \begin_inset Flex CharStyle:Code
26509 \begin_layout PlainLayout
26515 to insert a displayed formula (
26516 \begin_inset Flex CharStyle:Code
26519 \begin_layout PlainLayout
26526 \begin_inset Quotes eld
26530 \begin_inset Quotes erd
26535 \begin_inset Flex CharStyle:Code
26538 \begin_layout PlainLayout
26544 in a displayed formula to convert it back to an inline formula.
26548 \labelwidthstring 00.00.0000
26549 \begin_inset Flex CharStyle:MenuItem
26552 \begin_layout PlainLayout
26559 \begin_inset Flex CharStyle:Code
26562 \begin_layout PlainLayout
26571 \begin_inset Flex CharStyle:Code
26574 \begin_layout PlainLayout
26580 to insert a fraction (
26581 \begin_inset Flex CharStyle:Code
26584 \begin_layout PlainLayout
26591 \begin_inset Quotes eld
26595 \begin_inset Quotes erd
26599 You can also select an expression and type
26600 \begin_inset Flex CharStyle:Code
26603 \begin_layout PlainLayout
26609 to convert it to the numerator of a fraction.
26611 \begin_inset Flex CharStyle:Code
26614 \begin_layout PlainLayout
26624 end of the denominator will delete the numerator and convert the denominator
26629 \labelwidthstring 00.00.0000
26630 \begin_inset Flex CharStyle:MenuItem
26633 \begin_layout PlainLayout
26640 \begin_inset Flex CharStyle:Code
26643 \begin_layout PlainLayout
26652 \begin_inset Formula $\int$
26656 \begin_inset Flex CharStyle:Code
26659 \begin_layout PlainLayout
26666 \begin_inset Quotes eld
26670 \begin_inset Quotes erd
26677 \labelwidthstring 00.00.0000
26678 \begin_inset Flex CharStyle:MenuItem
26681 \begin_layout PlainLayout
26688 \begin_inset Flex CharStyle:Code
26691 \begin_layout PlainLayout
26692 line-delete-forward
26697 -- Emacs-like binding: delete forward of cursor to end of line.
26701 \labelwidthstring 00.00.0000
26702 \begin_inset Flex CharStyle:MenuItem
26705 \begin_layout PlainLayout
26712 \begin_inset Flex CharStyle:Code
26715 \begin_layout PlainLayout
26721 -- A text/math toggle (
26722 \begin_inset Flex CharStyle:Code
26725 \begin_layout PlainLayout
26732 \begin_inset Quotes eld
26736 \begin_inset Quotes erd
26739 ): switches to math in text mode, and also inserts roman text in math mode.
26741 \begin_inset Flex CharStyle:Code
26744 \begin_layout PlainLayout
26751 \begin_inset Flex CharStyle:Code
26754 \begin_layout PlainLayout
26761 \begin_inset Quotes eld
26765 \begin_inset Quotes erd
26772 \labelwidthstring 00.00.0000
26773 \begin_inset Flex CharStyle:MenuItem
26776 \begin_layout PlainLayout
26783 \begin_inset Flex CharStyle:Code
26786 \begin_layout PlainLayout
26792 -- Add/remove numbering in a single equation.
26796 \labelwidthstring 00.00.0000
26797 \begin_inset Flex CharStyle:MenuItem
26800 \begin_layout PlainLayout
26807 \begin_inset Flex CharStyle:Code
26810 \begin_layout PlainLayout
26816 -- Add/remove numbering at a line in equation arrays.
26819 \begin_layout Standard
26820 The above commands are toggles that control the numbering of equations (
26821 \begin_inset Flex CharStyle:Code
26824 \begin_layout PlainLayout
26831 \begin_inset Quotes eld
26835 \begin_inset Quotes erd
26839 Note: when deleting a number in a labeled eqnarray, the label is not really
26840 removed (the TeX code becomes
26841 \begin_inset Quotes eld
26845 \begin_inset Flex CharStyle:Code
26848 \begin_layout PlainLayout
26859 \begin_inset Quotes erd
26862 ) and this generates a (harmless) LaTeX warning.
26866 \labelwidthstring 00.00.0000
26867 \begin_inset Flex CharStyle:MenuItem
26870 \begin_layout PlainLayout
26877 \begin_inset Flex CharStyle:Code
26880 \begin_layout PlainLayout
26886 -- Open a new document.
26891 \labelwidthstring 00.00.0000
26892 \begin_inset Flex CharStyle:MenuItem
26895 \begin_layout PlainLayout
26902 \begin_inset Flex CharStyle:Code
26905 \begin_layout PlainLayout
26911 -- Insert a quote character " (
26912 \begin_inset Flex CharStyle:Code
26915 \begin_layout PlainLayout
26922 \begin_inset Quotes eld
26926 \begin_inset Quotes erd
26931 \begin_inset Quotes eld
26935 \begin_inset Quotes erd
26938 double quote character that you get by default.
26942 \labelwidthstring 00.00.0000
26943 \begin_inset Flex CharStyle:MenuItem
26946 \begin_layout PlainLayout
26953 \begin_inset Flex CharStyle:Code
26956 \begin_layout PlainLayout
26964 -- Square root sign
26965 \begin_inset Formula $\sqrt{x}$
26969 \begin_inset Flex CharStyle:Code
26972 \begin_layout PlainLayout
26979 \begin_inset Quotes eld
26983 \begin_inset Quotes erd
26990 \labelwidthstring 00.00.0000
26991 \begin_inset Flex CharStyle:MenuItem
26994 \begin_layout PlainLayout
27001 \begin_inset Flex CharStyle:Code
27004 \begin_layout PlainLayout
27013 \begin_inset Formula $\sqrt[n]{x}$
27020 \labelwidthstring 00.00.0000
27021 \begin_inset Flex CharStyle:MenuItem
27024 \begin_layout PlainLayout
27031 \begin_inset Flex CharStyle:Code
27034 \begin_layout PlainLayout
27040 -- Another binding for a switch between the text and the math mode (
27041 \begin_inset Flex CharStyle:Code
27044 \begin_layout PlainLayout
27051 \begin_inset Quotes eld
27055 \begin_inset Quotes erd
27059 Note that the roman text inserted in math mode is special.
27063 \labelwidthstring 00.00.0000
27064 \begin_inset Flex CharStyle:MenuItem
27067 \begin_layout PlainLayout
27074 \begin_inset Flex CharStyle:Code
27077 \begin_layout PlainLayout
27087 the selected text (text mode only, use things like
27088 \begin_inset Flex CharStyle:Code
27091 \begin_layout PlainLayout
27100 \begin_inset Flex CharStyle:Code
27103 \begin_layout PlainLayout
27115 \labelwidthstring 00.00.0000
27116 \begin_inset Flex CharStyle:MenuItem
27119 \begin_layout PlainLayout
27126 \begin_inset Flex CharStyle:Code
27129 \begin_layout PlainLayout
27135 -- W*ndows heritage.
27139 \labelwidthstring 00.00.0000
27140 \begin_inset Flex CharStyle:MenuItem
27143 \begin_layout PlainLayout
27150 \begin_inset Flex CharStyle:Code
27153 \begin_layout PlainLayout
27159 -- Close the current document (again, a W*ndows heritage).
27163 \labelwidthstring 00.00.0000
27164 \begin_inset Flex CharStyle:MenuItem
27167 \begin_layout PlainLayout
27174 \begin_inset Flex CharStyle:Code
27177 \begin_layout PlainLayout
27187 \labelwidthstring 00.00.0000
27188 \begin_inset Flex CharStyle:MenuItem
27191 \begin_layout PlainLayout
27198 \begin_inset Flex CharStyle:Code
27201 \begin_layout PlainLayout
27211 \labelwidthstring 00.00.0000
27212 \begin_inset Flex CharStyle:MenuItem
27215 \begin_layout PlainLayout
27222 \begin_inset Flex CharStyle:Code
27225 \begin_layout PlainLayout
27232 \begin_inset Quotes eld
27236 \begin_inset Quotes erd
27240 \begin_inset Quotes eld
27244 \begin_inset Quotes erd
27250 \begin_layout Standard
27251 Bracket delimiters: press
27252 \begin_inset Flex CharStyle:Code
27255 \begin_layout PlainLayout
27261 -<bracket key> to insert a matching pair of delimiters.
27263 \begin_inset Flex CharStyle:Code
27266 \begin_layout PlainLayout
27272 inserts a pair of parentheses
27273 \begin_inset Formula $\left[\right]$
27278 \begin_inset Flex CharStyle:Code
27281 \begin_layout PlainLayout
27287 does the same thing.) It will switch to math mode if needed.
27288 The supported characters are ( [ { < |.
27289 It is the same to press the right or the left bracket.
27290 The corresponding delimiters are
27291 \begin_inset Formula $\left(\right)$
27295 \begin_inset Formula $\left[\right]$
27299 \begin_inset Formula $\left\{ \right\} $
27303 \begin_inset Formula $\left\langle \right\rangle $
27307 \begin_inset Formula $\left|\right|$
27312 \begin_inset Quotes eld
27316 \begin_inset Quotes erd
27319 and resize with their contents.
27320 Use Math Panel to get other or non-matching delimiters.
27321 Press backspace on the
27325 delimiter to remove both
27326 \begin_inset Quotes eld
27330 \begin_inset Quotes erd
27333 delimiters without removing their contents.
27337 \labelwidthstring 00.00.0000
27338 \begin_inset Flex CharStyle:MenuItem
27341 \begin_layout PlainLayout
27348 \begin_inset Flex CharStyle:Code
27351 \begin_layout PlainLayout
27357 -- for convenience, pressing
27358 \begin_inset Flex CharStyle:Code
27361 \begin_layout PlainLayout
27368 \begin_inset Flex CharStyle:Code
27371 \begin_layout PlainLayout
27378 \begin_inset Flex CharStyle:Code
27381 \begin_layout PlainLayout
27391 \labelwidthstring 00.00.0000
27392 \begin_inset Flex CharStyle:MenuItem
27395 \begin_layout PlainLayout
27402 \begin_inset Flex CharStyle:Code
27405 \begin_layout PlainLayout
27415 \labelwidthstring 00.00.0000
27416 \begin_inset Flex CharStyle:MenuItem
27419 \begin_layout PlainLayout
27426 \begin_inset Flex CharStyle:Code
27429 \begin_layout PlainLayout
27439 \labelwidthstring 00.00.0000
27440 \begin_inset Flex CharStyle:MenuItem
27443 \begin_layout PlainLayout
27450 \begin_inset Flex CharStyle:Code
27453 \begin_layout PlainLayout
27463 \labelwidthstring 00.00.0000
27464 \begin_inset Flex CharStyle:MenuItem
27467 \begin_layout PlainLayout
27474 \begin_inset Flex CharStyle:Code
27477 \begin_layout PlainLayout
27487 \labelwidthstring 00.00.0000
27488 \begin_inset Flex CharStyle:MenuItem
27491 \begin_layout PlainLayout
27498 \begin_inset Flex CharStyle:Code
27501 \begin_layout PlainLayout
27511 \labelwidthstring 00.00.0000
27512 \begin_inset Flex CharStyle:MenuItem
27515 \begin_layout PlainLayout
27522 \begin_inset Flex CharStyle:Code
27525 \begin_layout PlainLayout
27526 math-delim langle rangle
27531 -- angular delimiters
27532 \begin_inset Formula $\left\langle \right\rangle $
27535 , not to confuse with ordinary < > signs.
27539 \labelwidthstring 00.00.0000
27540 \begin_inset Flex CharStyle:MenuItem
27543 \begin_layout PlainLayout
27550 \begin_inset Flex CharStyle:Code
27553 \begin_layout PlainLayout
27554 math-delim langle rangle
27562 \begin_layout PlainLayout
27563 The bar (`|') bracket: on some keyboards (e.g.
27564 \begin_inset Space ~
27567 some British ones), the bar character is bound to an
27568 \begin_inset Flex CharStyle:Code
27571 \begin_layout PlainLayout
27577 -something and on some wayward Unices to "brokenbar".
27578 So we define all of these keys as well.
27582 \labelwidthstring 00.00.0000
27583 \begin_inset Flex CharStyle:MenuItem
27586 \begin_layout PlainLayout
27593 \begin_inset Flex CharStyle:Code
27596 \begin_layout PlainLayout
27606 \labelwidthstring 00.00.0000
27607 \begin_inset Flex CharStyle:MenuItem
27610 \begin_layout PlainLayout
27617 \begin_inset Flex CharStyle:Code
27620 \begin_layout PlainLayout
27630 \labelwidthstring 00.00.0000
27631 \begin_inset Flex CharStyle:MenuItem
27634 \begin_layout PlainLayout
27641 \begin_inset Flex CharStyle:Code
27644 \begin_layout PlainLayout
27654 \labelwidthstring 00.00.0000
27655 \begin_inset Flex CharStyle:MenuItem
27658 \begin_layout PlainLayout
27665 \begin_inset Flex CharStyle:Code
27668 \begin_layout PlainLayout
27678 \labelwidthstring 00.00.0000
27679 \begin_inset Flex CharStyle:MenuItem
27682 \begin_layout PlainLayout
27689 \begin_inset Flex CharStyle:Code
27692 \begin_layout PlainLayout
27701 \begin_layout PlainLayout
27702 Accents are in most cases
27703 \begin_inset Flex CharStyle:Code
27706 \begin_layout PlainLayout
27716 \labelwidthstring 00.00.0000
27717 -<accent key>, e.g.
27718 \begin_inset Space ~
27722 \begin_inset Flex CharStyle:Code
27725 \begin_layout PlainLayout
27732 \begin_inset Flex CharStyle:Code
27735 \begin_layout PlainLayout
27742 \begin_inset Flex CharStyle:Code
27745 \begin_layout PlainLayout
27751 for tilde (you also need to press
27752 \begin_inset Flex CharStyle:Code
27755 \begin_layout PlainLayout
27763 \begin_inset Quotes eld
27767 \begin_inset Flex CharStyle:Code
27770 \begin_layout PlainLayout
27777 \begin_inset Flex CharStyle:Code
27780 \begin_layout PlainLayout
27787 \begin_inset Quotes erd
27791 Some accents work only in math mode and others only in text mode.
27795 \labelwidthstring 00.00.0000
27796 \begin_inset Flex CharStyle:MenuItem
27799 \begin_layout PlainLayout
27806 \begin_inset Flex CharStyle:Code
27809 \begin_layout PlainLayout
27815 -- overdot accent, ȧ (text mode only).
27819 \labelwidthstring 00.00.0000
27820 \begin_inset Flex CharStyle:MenuItem
27823 \begin_layout PlainLayout
27830 \begin_inset Flex CharStyle:Code
27833 \begin_layout PlainLayout
27842 \begin_inset Formula $\dot{a}$
27845 (math mode only -- in physics this denotes a first derivative).
27849 \labelwidthstring 00.00.0000
27850 \begin_inset Flex CharStyle:MenuItem
27853 \begin_layout PlainLayout
27860 \begin_inset Flex CharStyle:Code
27863 \begin_layout PlainLayout
27871 -- Vector accent over math
27872 \begin_inset Formula $\overrightarrow{x}$
27879 \labelwidthstring 00.00.0000
27880 \begin_inset Flex CharStyle:MenuItem
27883 \begin_layout PlainLayout
27890 \begin_inset Flex CharStyle:Code
27893 \begin_layout PlainLayout
27899 -- umlaut accent, ä (text mode only)
27903 \labelwidthstring 00.00.0000
27904 \begin_inset Flex CharStyle:MenuItem
27907 \begin_layout PlainLayout
27914 \begin_inset Flex CharStyle:Code
27917 \begin_layout PlainLayout
27925 -- double dot accent,
27926 \begin_inset Formula $\ddot{a}$
27929 (math mode only -- in physics this denotes a second derivative).
27930 To get a triple dot in math mode, use
27931 \begin_inset Flex CharStyle:Code
27934 \begin_layout PlainLayout
27946 \labelwidthstring 00.00.0000
27947 \begin_inset Flex CharStyle:MenuItem
27950 \begin_layout PlainLayout
27957 \begin_inset Flex CharStyle:Code
27960 \begin_layout PlainLayout
27966 -- grave accent à (text mode only, use
27967 \begin_inset Flex CharStyle:Code
27970 \begin_layout PlainLayout
27982 \labelwidthstring 00.00.0000
27983 \begin_inset Flex CharStyle:MenuItem
27986 \begin_layout PlainLayout
27993 \begin_inset Flex CharStyle:Code
27996 \begin_layout PlainLayout
28002 -- tilde accent ã (text mode only, use
28003 \begin_inset Flex CharStyle:Code
28006 \begin_layout PlainLayout
28018 \labelwidthstring 00.00.0000
28019 \begin_inset Flex CharStyle:MenuItem
28022 \begin_layout PlainLayout
28029 \begin_inset Flex CharStyle:Code
28032 \begin_layout PlainLayout
28038 -- acute accent á (text mode only, use
28039 \begin_inset Flex CharStyle:Code
28042 \begin_layout PlainLayout
28054 \labelwidthstring 00.00.0000
28055 \begin_inset Flex CharStyle:MenuItem
28058 \begin_layout PlainLayout
28065 \begin_inset Flex CharStyle:Code
28068 \begin_layout PlainLayout
28074 -- circumflex (caret) accent â (text mode only, use
28075 \begin_inset Flex CharStyle:Code
28078 \begin_layout PlainLayout
28089 \begin_layout Standard
28091 The new key S-F2 for creating a LaTeX file seems handy.
28095 \labelwidthstring 00.00.0000
28096 \begin_inset Flex CharStyle:MenuItem
28099 \begin_layout PlainLayout
28106 \begin_inset Flex CharStyle:Code
28109 \begin_layout PlainLayout
28115 -- Save current document.
28119 \labelwidthstring 00.00.0000
28120 \begin_inset Flex CharStyle:MenuItem
28123 \begin_layout PlainLayout
28130 \begin_inset Flex CharStyle:Code
28133 \begin_layout PlainLayout
28134 buffer-export latex
28139 -- Write a LaTeX file for the current document.
28143 \labelwidthstring 00.00.0000
28144 \begin_inset Flex CharStyle:MenuItem
28147 \begin_layout PlainLayout
28154 \begin_inset Flex CharStyle:Code
28157 \begin_layout PlainLayout
28163 -- Find and replace dialog.
28167 \labelwidthstring 00.00.0000
28168 \begin_inset Flex CharStyle:MenuItem
28171 \begin_layout PlainLayout
28178 \begin_inset Flex CharStyle:Code
28181 \begin_layout PlainLayout
28188 \begin_inset Flex CharStyle:Code
28191 \begin_layout PlainLayout
28201 \labelwidthstring 00.00.0000
28202 \begin_inset Flex CharStyle:MenuItem
28205 \begin_layout PlainLayout
28212 \begin_inset Flex CharStyle:Code
28215 \begin_layout PlainLayout
28222 \begin_inset Flex CharStyle:Code
28225 \begin_layout PlainLayout
28231 to quit LyX is the W*ndows w*ndow manager's mnemonic.
28234 \begin_layout Standard
28235 \begin_inset Flex CharStyle:Code
28238 \begin_layout PlainLayout
28245 \begin_inset Flex CharStyle:Code
28248 \begin_layout PlainLayout
28254 are used to switch fonts.
28256 \begin_inset Flex CharStyle:Code
28259 \begin_layout PlainLayout
28265 to switch back to the normal font.
28266 The non-default font switches
28267 \begin_inset Flex CharStyle:Code
28270 \begin_layout PlainLayout
28277 \begin_inset Flex CharStyle:Code
28280 \begin_layout PlainLayout
28286 all work as toggles.
28287 They also work on the whole word if you put the cursor in the middle of
28288 the word, or if you select some text.
28292 \labelwidthstring 00.00.0000
28293 \begin_inset Flex CharStyle:MenuItem
28296 \begin_layout PlainLayout
28303 \begin_inset Flex CharStyle:Code
28306 \begin_layout PlainLayout
28312 -- stop using any special font
28316 \labelwidthstring 00.00.0000
28317 \begin_inset Flex CharStyle:MenuItem
28320 \begin_layout PlainLayout
28327 \begin_inset Flex CharStyle:Code
28330 \begin_layout PlainLayout
28344 \labelwidthstring 00.00.0000
28345 \begin_inset Flex CharStyle:MenuItem
28348 \begin_layout PlainLayout
28355 \begin_inset Flex CharStyle:Code
28358 \begin_layout PlainLayout
28372 \labelwidthstring 00.00.0000
28373 \begin_inset Flex CharStyle:MenuItem
28376 \begin_layout PlainLayout
28383 \begin_inset Flex CharStyle:Code
28386 \begin_layout PlainLayout
28393 \begin_inset Flex CharStyle:Code
28396 \begin_layout PlainLayout
28406 \labelwidthstring 00.00.0000
28407 \begin_inset Flex CharStyle:MenuItem
28410 \begin_layout PlainLayout
28417 \begin_inset Flex CharStyle:Code
28420 \begin_layout PlainLayout
28431 (Used sometimes for people's names.)
28434 \begin_layout Standard
28435 \begin_inset Flex CharStyle:Code
28438 \begin_layout PlainLayout
28445 \begin_inset Quotes eld
28449 \begin_inset Quotes erd
28453 \begin_inset Flex CharStyle:Code
28456 \begin_layout PlainLayout
28463 \begin_inset Space ~
28466 if the keyboard has no working
28467 \begin_inset Flex CharStyle:Code
28470 \begin_layout PlainLayout
28479 \begin_layout Standard
28480 Here are some Sciword-inspired mnemonics for frequently used math symbols.
28481 Many symbols start with a
28482 \begin_inset Flex CharStyle:Code
28485 \begin_layout PlainLayout
28493 \begin_inset Flex CharStyle:Code
28496 \begin_layout PlainLayout
28502 cannot be itself bound to anything.
28506 \labelwidthstring 00.00.0000
28507 \begin_inset Flex CharStyle:MenuItem
28510 \begin_layout PlainLayout
28517 \begin_inset Flex CharStyle:Code
28520 \begin_layout PlainLayout
28529 \begin_inset Quotes eld
28533 \begin_inset Quotes erd
28537 \begin_inset Formula $\prime$
28541 This is frequently unnecessary: in most cases the normal apostrophe works
28544 \begin_inset Formula $x'+2x=0$
28547 , but in some cases this would generate a double superscript error in LaTeX.
28549 \begin_inset Formula $x^{\prime2}$
28553 \begin_inset Formula $x$
28556 prime squared) must be entered with the prime character.
28560 \labelwidthstring 00.00.0000
28561 \begin_inset Flex CharStyle:MenuItem
28564 \begin_layout PlainLayout
28566 \begin_inset Space ~
28575 \begin_inset Flex CharStyle:Code
28578 \begin_layout PlainLayout
28579 command-sequence math-superscript; math-insert
28586 -- Insert a prime as a superscript (see example above).
28590 \labelwidthstring 00.00.0000
28591 \begin_inset Flex CharStyle:MenuItem
28594 \begin_layout PlainLayout
28601 \begin_inset Flex CharStyle:Code
28604 \begin_layout PlainLayout
28610 -- Insert an upper index.
28615 \labelwidthstring 00.00.0000
28616 \begin_inset Flex CharStyle:MenuItem
28619 \begin_layout PlainLayout
28626 \begin_inset Flex CharStyle:Code
28629 \begin_layout PlainLayout
28635 -- Insert a lower index.
28640 \labelwidthstring 00.00.0000
28641 \begin_inset Flex CharStyle:MenuItem
28644 \begin_layout PlainLayout
28646 \begin_inset Space ~
28655 \begin_inset Flex CharStyle:Code
28658 \begin_layout PlainLayout
28666 -- Partial derivative symbol
28667 \begin_inset Formula $\partial$
28674 \labelwidthstring 00.00.0000
28675 \begin_inset Flex CharStyle:MenuItem
28678 \begin_layout PlainLayout
28680 \begin_inset Space ~
28689 \begin_inset Flex CharStyle:Code
28692 \begin_layout PlainLayout
28700 -- Summation symbol
28701 \begin_inset Formula $\sum$
28704 (not the same as the Greek letter uppercase Sigma
28705 \begin_inset Formula $\Sigma$
28708 because it can resize and allows smart upper/lower limits).
28712 \labelwidthstring 00.00.0000
28713 \begin_inset Flex CharStyle:MenuItem
28716 \begin_layout PlainLayout
28718 \begin_inset Space ~
28727 \begin_inset Flex CharStyle:Code
28730 \begin_layout PlainLayout
28739 \begin_inset Formula $\prod$
28742 (not the same as the Greek letter uppercase Pi,
28743 \begin_inset Formula $\Pi$
28750 \labelwidthstring 00.00.0000
28751 \begin_inset Flex CharStyle:MenuItem
28754 \begin_layout PlainLayout
28756 \begin_inset Space ~
28765 \begin_inset Flex CharStyle:Code
28768 \begin_layout PlainLayout
28777 \begin_inset Formula $\infty$
28784 \labelwidthstring 00.00.0000
28785 \begin_inset Flex CharStyle:MenuItem
28788 \begin_layout PlainLayout
28790 \begin_inset Space ~
28799 \begin_inset Flex CharStyle:Code
28802 \begin_layout PlainLayout
28811 \begin_inset Formula $\times$
28818 \labelwidthstring 00.00.0000
28819 \begin_inset Flex CharStyle:MenuItem
28822 \begin_layout PlainLayout
28824 \begin_inset Space ~
28833 \begin_inset Flex CharStyle:Code
28836 \begin_layout PlainLayout
28842 -- Insert a stacked array
28843 \begin_inset Formula $\begin{array}{c}
28845 \end{array}\end{array}$
28849 (Frequently useful in formulae.)
28853 \labelwidthstring 00.00.0000
28854 \begin_inset Flex CharStyle:MenuItem
28857 \begin_layout PlainLayout
28859 \begin_inset Space ~
28868 \begin_inset Flex CharStyle:Code
28871 \begin_layout PlainLayout
28878 \begin_inset Formula $\times$
28882 \begin_inset Formula $\begin{array}{ccc}
28887 (Then you can modify its size using the
28888 \begin_inset Flex CharStyle:MenuItem
28891 \begin_layout PlainLayout
28892 Edit\SpecialChar \menuseparator
28902 \labelwidthstring 00.00.0000
28903 \begin_inset Flex CharStyle:MenuItem
28906 \begin_layout PlainLayout
28908 \begin_inset Space ~
28917 \begin_inset Flex CharStyle:Code
28920 \begin_layout PlainLayout
28929 \begin_inset Quotes eld
28933 \begin_inset Quotes erd
28937 \begin_inset Formula $\dagger$
28944 \labelwidthstring 00.00.0000
28945 \begin_inset Flex CharStyle:MenuItem
28948 \begin_layout PlainLayout
28950 \begin_inset Space ~
28959 \begin_inset Flex CharStyle:Code
28962 \begin_layout PlainLayout
28971 \begin_inset Quotes eld
28975 \begin_inset Quotes erd
28979 \begin_inset Formula $\equiv$
28986 \labelwidthstring 00.00.0000
28987 \begin_inset Flex CharStyle:MenuItem
28990 \begin_layout PlainLayout
28997 \begin_inset Flex CharStyle:Code
29000 \begin_layout PlainLayout
29009 \begin_inset Quotes eld
29012 Approximate equality
29013 \begin_inset Quotes erd
29017 \begin_inset Formula $\approx$
29024 \labelwidthstring 00.00.0000
29025 \begin_inset Flex CharStyle:MenuItem
29028 \begin_layout PlainLayout
29035 \begin_inset Flex CharStyle:Code
29038 \begin_layout PlainLayout
29047 \begin_inset Quotes eld
29051 \begin_inset Quotes erd
29055 \begin_inset Formula $\sim$
29062 \labelwidthstring 00.00.0000
29063 \begin_inset Flex CharStyle:MenuItem
29066 \begin_layout PlainLayout
29073 \begin_inset Flex CharStyle:Code
29076 \begin_layout PlainLayout
29085 \begin_inset Formula $\rightarrow$
29089 \begin_inset Formula $\lim_{x\rightarrow0}$
29096 \labelwidthstring 00.00.0000
29097 \begin_inset Flex CharStyle:MenuItem
29100 \begin_layout PlainLayout
29107 \begin_inset Flex CharStyle:Code
29110 \begin_layout PlainLayout
29119 \begin_inset Formula $\leq$
29126 \labelwidthstring 00.00.0000
29127 \begin_inset Flex CharStyle:MenuItem
29130 \begin_layout PlainLayout
29137 \begin_inset Flex CharStyle:Code
29140 \begin_layout PlainLayout
29148 -- Greater-or-equal
29149 \begin_inset Formula $\geq$
29156 \labelwidthstring 00.00.0000
29157 \begin_inset Flex CharStyle:MenuItem
29160 \begin_layout PlainLayout
29162 \begin_inset Space ~
29171 \begin_inset Flex CharStyle:Code
29174 \begin_layout PlainLayout
29183 \begin_inset Quotes eld
29187 \begin_inset Quotes erd
29191 \begin_inset Formula $\ll$
29194 (useful in physics)
29198 \labelwidthstring 00.00.0000
29199 \begin_inset Flex CharStyle:MenuItem
29202 \begin_layout PlainLayout
29204 \begin_inset Space ~
29213 \begin_inset Flex CharStyle:Code
29216 \begin_layout PlainLayout
29225 \begin_inset Quotes eld
29229 \begin_inset Quotes erd
29233 \begin_inset Formula $\gg$
29239 \begin_layout Subsection
29240 Standard math bindings
29244 \labelwidthstring 00.00.0000
29245 \begin_inset Flex CharStyle:MenuItem
29248 \begin_layout PlainLayout
29250 \begin_inset Space ~
29259 \begin_inset Flex CharStyle:Code
29262 \begin_layout PlainLayout
29274 \labelwidthstring 00.00.0000
29275 \begin_inset Flex CharStyle:MenuItem
29278 \begin_layout PlainLayout
29280 \begin_inset Space ~
29289 \begin_inset Flex CharStyle:Code
29292 \begin_layout PlainLayout
29302 \labelwidthstring 00.00.0000
29303 \begin_inset Flex CharStyle:MenuItem
29306 \begin_layout PlainLayout
29308 \begin_inset Space ~
29317 \begin_inset Flex CharStyle:Code
29320 \begin_layout PlainLayout
29330 \labelwidthstring 00.00.0000
29331 \begin_inset Flex CharStyle:MenuItem
29334 \begin_layout PlainLayout
29336 \begin_inset Space ~
29345 \begin_inset Flex CharStyle:Code
29348 \begin_layout PlainLayout
29360 \labelwidthstring 00.00.0000
29361 \begin_inset Flex CharStyle:MenuItem
29364 \begin_layout PlainLayout
29366 \begin_inset Space ~
29375 \begin_inset Flex CharStyle:Code
29378 \begin_layout PlainLayout
29388 \labelwidthstring 00.00.0000
29389 \begin_inset Flex CharStyle:MenuItem
29392 \begin_layout PlainLayout
29394 \begin_inset Space ~
29403 \begin_inset Flex CharStyle:Code
29406 \begin_layout PlainLayout
29416 \labelwidthstring 00.00.0000
29417 \begin_inset Flex CharStyle:MenuItem
29420 \begin_layout PlainLayout
29422 \begin_inset Space ~
29431 \begin_inset Flex CharStyle:Code
29434 \begin_layout PlainLayout
29446 \labelwidthstring 00.00.0000
29447 \begin_inset Flex CharStyle:MenuItem
29450 \begin_layout PlainLayout
29452 \begin_inset Space ~
29461 \begin_inset Flex CharStyle:Code
29464 \begin_layout PlainLayout
29474 \labelwidthstring 00.00.0000
29475 \begin_inset Flex CharStyle:MenuItem
29478 \begin_layout PlainLayout
29480 \begin_inset Space ~
29489 \begin_inset Flex CharStyle:Code
29492 \begin_layout PlainLayout
29502 \labelwidthstring 00.00.0000
29503 \begin_inset Flex CharStyle:MenuItem
29506 \begin_layout PlainLayout
29508 \begin_inset Space ~
29517 \begin_inset Flex CharStyle:Code
29520 \begin_layout PlainLayout
29530 \labelwidthstring 00.00.0000
29531 \begin_inset Flex CharStyle:MenuItem
29534 \begin_layout PlainLayout
29536 \begin_inset Space ~
29545 \begin_inset Flex CharStyle:Code
29548 \begin_layout PlainLayout
29560 \labelwidthstring 00.00.0000
29561 \begin_inset Flex CharStyle:MenuItem
29564 \begin_layout PlainLayout
29566 \begin_inset Space ~
29575 \begin_inset Flex CharStyle:Code
29578 \begin_layout PlainLayout
29590 \labelwidthstring 00.00.0000
29591 \begin_inset Flex CharStyle:MenuItem
29594 \begin_layout PlainLayout
29596 \begin_inset Space ~
29605 \begin_inset Flex CharStyle:Code
29608 \begin_layout PlainLayout
29620 \labelwidthstring 00.00.0000
29621 \begin_inset Flex CharStyle:MenuItem
29624 \begin_layout PlainLayout
29626 \begin_inset Space ~
29635 \begin_inset Flex CharStyle:Code
29638 \begin_layout PlainLayout
29650 \labelwidthstring 00.00.0000
29651 \begin_inset Flex CharStyle:MenuItem
29654 \begin_layout PlainLayout
29656 \begin_inset Space ~
29665 \begin_inset Flex CharStyle:Code
29668 \begin_layout PlainLayout
29680 \labelwidthstring 00.00.0000
29681 \begin_inset Flex CharStyle:MenuItem
29684 \begin_layout PlainLayout
29686 \begin_inset Space ~
29695 \begin_inset Flex CharStyle:Code
29698 \begin_layout PlainLayout
29710 \labelwidthstring 00.00.0000
29711 \begin_inset Flex CharStyle:MenuItem
29714 \begin_layout PlainLayout
29716 \begin_inset Space ~
29725 \begin_inset Flex CharStyle:Code
29728 \begin_layout PlainLayout
29738 \labelwidthstring 00.00.0000
29739 \begin_inset Flex CharStyle:MenuItem
29742 \begin_layout PlainLayout
29744 \begin_inset Space ~
29753 \begin_inset Flex CharStyle:Code
29756 \begin_layout PlainLayout
29768 \labelwidthstring 00.00.0000
29769 \begin_inset Flex CharStyle:MenuItem
29772 \begin_layout PlainLayout
29774 \begin_inset Space ~
29783 \begin_inset Flex CharStyle:Code
29786 \begin_layout PlainLayout
29796 \labelwidthstring 00.00.0000
29797 \begin_inset Flex CharStyle:MenuItem
29800 \begin_layout PlainLayout
29802 \begin_inset Space ~
29811 \begin_inset Flex CharStyle:Code
29814 \begin_layout PlainLayout
29824 \labelwidthstring 00.00.0000
29825 \begin_inset Flex CharStyle:MenuItem
29828 \begin_layout PlainLayout
29830 \begin_inset Space ~
29839 \begin_inset Flex CharStyle:Code
29842 \begin_layout PlainLayout
29852 \labelwidthstring 00.00.0000
29853 \begin_inset Flex CharStyle:MenuItem
29856 \begin_layout PlainLayout
29858 \begin_inset Space ~
29867 \begin_inset Flex CharStyle:Code
29870 \begin_layout PlainLayout
29880 \labelwidthstring 00.00.0000
29881 \begin_inset Flex CharStyle:MenuItem
29884 \begin_layout PlainLayout
29886 \begin_inset Space ~
29895 \begin_inset Flex CharStyle:Code
29898 \begin_layout PlainLayout
29910 \labelwidthstring 00.00.0000
29911 \begin_inset Flex CharStyle:MenuItem
29914 \begin_layout PlainLayout
29916 \begin_inset Space ~
29925 \begin_inset Flex CharStyle:Code
29928 \begin_layout PlainLayout
29938 \labelwidthstring 00.00.0000
29939 \begin_inset Flex CharStyle:MenuItem
29942 \begin_layout PlainLayout
29944 \begin_inset Space ~
29953 \begin_inset Flex CharStyle:Code
29956 \begin_layout PlainLayout
29966 \labelwidthstring 00.00.0000
29967 \begin_inset Flex CharStyle:MenuItem
29970 \begin_layout PlainLayout
29972 \begin_inset Space ~
29981 \begin_inset Flex CharStyle:Code
29984 \begin_layout PlainLayout
29994 \labelwidthstring 00.00.0000
29995 \begin_inset Flex CharStyle:MenuItem
29998 \begin_layout PlainLayout
30000 \begin_inset Space ~
30009 \begin_inset Flex CharStyle:Code
30012 \begin_layout PlainLayout
30013 math-delim langle rangle
30022 \labelwidthstring 00.00.0000
30023 \begin_inset Flex CharStyle:MenuItem
30026 \begin_layout PlainLayout
30028 \begin_inset Space ~
30037 \begin_inset Flex CharStyle:Code
30040 \begin_layout PlainLayout
30041 math-delim rangle langle
30050 \labelwidthstring 00.00.0000
30051 \begin_inset Flex CharStyle:MenuItem
30054 \begin_layout PlainLayout
30056 \begin_inset Space ~
30065 \begin_inset Flex CharStyle:Code
30068 \begin_layout PlainLayout
30078 \labelwidthstring 00.00.0000
30079 \begin_inset Flex CharStyle:MenuItem
30082 \begin_layout PlainLayout
30084 \begin_inset Space ~
30093 \begin_inset Flex CharStyle:Code
30096 \begin_layout PlainLayout
30108 \labelwidthstring 00.00.0000
30109 \begin_inset Flex CharStyle:MenuItem
30112 \begin_layout PlainLayout
30114 \begin_inset Space ~
30123 \begin_inset Flex CharStyle:Code
30126 \begin_layout PlainLayout
30137 \begin_layout Subsection
30142 \labelwidthstring 00.00.0000
30143 \begin_inset Flex CharStyle:MenuItem
30146 \begin_layout PlainLayout
30148 \begin_inset Space ~
30157 \begin_inset Flex CharStyle:Code
30160 \begin_layout PlainLayout
30170 \labelwidthstring 00.00.0000
30171 \begin_inset Flex CharStyle:MenuItem
30174 \begin_layout PlainLayout
30176 \begin_inset Space ~
30185 \begin_inset Flex CharStyle:Code
30188 \begin_layout PlainLayout
30198 \labelwidthstring 00.00.0000
30199 \begin_inset Flex CharStyle:MenuItem
30202 \begin_layout PlainLayout
30204 \begin_inset Space ~
30213 \begin_inset Flex CharStyle:Code
30216 \begin_layout PlainLayout
30226 \labelwidthstring 00.00.0000
30227 \begin_inset Flex CharStyle:MenuItem
30230 \begin_layout PlainLayout
30232 \begin_inset Space ~
30241 \begin_inset Flex CharStyle:Code
30244 \begin_layout PlainLayout
30254 \labelwidthstring 00.00.0000
30255 \begin_inset Flex CharStyle:MenuItem
30258 \begin_layout PlainLayout
30260 \begin_inset Space ~
30269 \begin_inset Flex CharStyle:Code
30272 \begin_layout PlainLayout