X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FCustomization.lyx;h=149590ff19ca9e9dec92c6bfec2f850ec1082271;hb=0560e5df040b97728cd14befd7d5a88c0b6b7c4f;hp=daed7d6415c49c65ed5511d5b7c56b47b2890420;hpb=897b2e73a1d547311db6cb83097d351c9d3676ef;p=lyx.git diff --git a/lib/doc/Customization.lyx b/lib/doc/Customization.lyx index daed7d6415..149590ff19 100644 --- a/lib/doc/Customization.lyx +++ b/lib/doc/Customization.lyx @@ -1,7 +1,9 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 486 +\lyxformat 508 \begin_document \begin_header +\save_transient_properties true +\origin /systemlyxdir/doc/ \textclass scrbook \begin_preamble % DO NOT ALTER THIS PREAMBLE!!! @@ -13,15 +15,6 @@ % the documentation team % email: lyx-docs@lists.lyx.org -\usepackage{ifpdf} % part of the hyperref bundle -\ifpdf % if pdflatex is used - - % set fonts for nicer pdf view - \IfFileExists{lmodern.sty} - {\usepackage{lmodern}}{} - -\fi % end if pdflatex is used - % the pages of the TOC is numbered roman % and a pdf-bookmark for the TOC is added \let\myTOC\tableofcontents @@ -34,12 +27,14 @@ % increase link area for cross-references and autoname them, \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}} \@ifundefined{extrasenglish}{\usepackage[english]{babel}}{} -\addto\extrasenglish{% - \renewcommand*{\equationautorefname}[1]{}% - \renewcommand{\sectionautorefname}{sec.\negthinspace}% - \renewcommand{\subsectionautorefname}{sec.\negthinspace}% - \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}% -} +\@ifpackageloaded{babel}{ + \addto\extrasenglish{% + \renewcommand*{\equationautorefname}[1]{}% + \renewcommand{\sectionautorefname}{sec.\negthinspace}% + \renewcommand{\subsectionautorefname}{sec.\negthinspace}% + \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}% + } +}{} \end_preamble \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false @@ -47,46 +42,22 @@ logicalmkup \end_modules \maintain_unincluded_children false -\begin_local_layout -Format 35 -InsetLayout Flex:MenuItem -LyxType charstyle -LabelString menu -LatexType command -LatexName menuitem -Font -Family Sans -EndFont -Preamble -\newcommand*{\menuitem}[1]{{\sffamily #1}} -EndPreamble -End -# In case we need to do with sans... -#InsetLayout CharStyle:Code -#Font -#Family Sans -#EndFont -#Preamble -#\renewcommand{\code}[1]{{\sffamily #1}} -#EndPreamble -#End -\end_local_layout \language english \language_package default \inputencoding auto \fontencoding global -\font_roman default -\font_sans default -\font_typewriter default -\font_math auto +\font_roman "lmodern" "default" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "default" +\font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false -\font_sf_scale 100 -\font_tt_scale 100 +\font_sf_scale 100 100 +\font_tt_scale 100 100 \graphics default -\default_output_format default +\default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default @@ -128,6 +99,7 @@ End \suppress_date false \justification true \use_refstyle 0 +\notefontcolor #0000ff \branch OutDated \selected 0 \filename_suffix 0 @@ -145,15 +117,11 @@ End \papercolumns 1 \papersides 2 \paperpagestyle headings -\tracking_changes true +\tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict true -\author -712698321 "Jürgen Spitzmüller" -\author -195340706 "Georg Baum" -\author 155139281 "Jrgen Spitzmller" -\author 274215730 "scott" \end_header \begin_body @@ -204,7 +172,7 @@ type "mailto:" \begin_inset Newline newline \end_inset -Version 2.1.x +Version 2.2.x \end_layout \begin_layout Standard @@ -280,7 +248,7 @@ This chapter aims to help you to find your way through the \SpecialChar LyX Before continuing to read this chapter, you should find out where your \SpecialChar LyX library and user directories are by using -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -289,8 +257,7 @@ About \begin_inset space ~ \end_inset -\SpecialChar LyX - +LyX \end_layout \end_inset @@ -304,14 +271,13 @@ About status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset and the latter -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -330,8 +296,7 @@ What's in status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset @@ -344,8 +309,7 @@ Dir status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset @@ -355,7 +319,7 @@ Dir 's behavior. You can change many of these files from within \SpecialChar LyX itself through the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -376,8 +340,7 @@ Preferences status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset @@ -393,7 +356,7 @@ Automatically generated files \begin_layout Standard The files, which are to be found in -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -439,7 +402,7 @@ packages.lst It is currently unused by the \SpecialChar LyX program itself, but the information extracted, and more, is made available with -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -559,8 +522,7 @@ These directories are duplicated between status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset @@ -707,7 +669,7 @@ examples/ contains example files that explain how to use some features. In the file browser, press the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -731,7 +693,7 @@ images/ \end_inset contains image files that are used by the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -828,7 +790,7 @@ scripts/ \end_inset contains some files that demonstrate the capabilities of the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -861,7 +823,7 @@ templates/ template files described in \begin_inset CommandInset ref LatexCommand ref -reference "sub:Creating-Templates" +reference "subsec:Creating-Templates" \end_inset @@ -919,7 +881,7 @@ CREDITS this file contains the list of \SpecialChar LyX developers. The contents are displayed with the menu entry -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -928,8 +890,7 @@ About \begin_inset space ~ \end_inset -\SpecialChar LyX - +LyX \end_layout \end_inset @@ -1000,7 +961,7 @@ external_templates \end_inset this file contains the templates available to the new -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1067,7 +1028,7 @@ layouttranslations (see \begin_inset CommandInset ref LatexCommand ref -reference "sub:I18n" +reference "subsec:I18n" \end_inset @@ -1120,7 +1081,7 @@ user directory \end_inset in -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1129,8 +1090,7 @@ About \begin_inset space ~ \end_inset -\SpecialChar LyX - +LyX \end_layout \end_inset @@ -1141,8 +1101,7 @@ About status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset @@ -1162,8 +1121,7 @@ UserDir status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset @@ -1180,7 +1138,7 @@ To make things clearer, let's provide a few examples: \begin_layout Itemize The preferences set in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1215,7 +1173,7 @@ UserDir \begin_layout Itemize When you reconfigure using -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1250,7 +1208,7 @@ UserDir/layouts \end_inset will be added to the list of classes in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1278,7 +1236,7 @@ UserDir/doc/ \end_inset and the items in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1385,7 +1343,7 @@ doc/ subdirectory, however, since it contains a file written by the configuration script (also accessible through -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1429,7 +1387,7 @@ name "sec:Formats" \begin_layout Standard The first step is to define your file formats if they are not already defined. To do so, open the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1441,7 +1399,7 @@ Preferences dialog. Under -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1452,7 +1410,7 @@ File formats \end_inset press the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1463,7 +1421,7 @@ New button to define your new format. The -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1474,7 +1432,7 @@ Format field contains the name used to identify the format in the GUI. The -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1487,7 +1445,7 @@ Short Name You will also need to enter a file extension. These are all required. The optional -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1498,7 +1456,7 @@ Shortcut field is used to provide a keyboard shortcut on the menus. (For example, pressing -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1508,7 +1466,7 @@ Ctrl+D \end_inset will -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1524,7 +1482,7 @@ DVI \begin_layout Standard A Format can have a -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1534,7 +1492,7 @@ Viewer \end_inset and an -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1545,7 +1503,7 @@ Editor associated with it. For example, you might want to use -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1561,7 +1519,7 @@ Ghostview next section. The viewer is launched when you view an image in \SpecialChar LyX or use the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1574,7 +1532,7 @@ View menu. The editor is for example launched when you right-click on an image and choose -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1588,7 +1546,7 @@ Edit externally \begin_layout Standard The -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1624,7 +1582,7 @@ target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec" \begin_layout Standard The -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1643,7 +1601,7 @@ reference "sec:Converters" \end_inset ), the format will appear in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1655,7 +1613,7 @@ Export menu. The format will also appear in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1692,7 +1650,7 @@ pdf \begin_layout Standard The option -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1705,7 +1663,7 @@ Vector graphics format that a format can contain vector graphics. This information is used to determine the target format of included graphics for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1716,7 +1674,7 @@ pdflatex export. Included graphics may need to be converted to either -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1726,7 +1684,7 @@ pdf \end_inset , -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1736,7 +1694,7 @@ png \end_inset , or -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1746,7 +1704,7 @@ jpg \end_inset , since -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1757,7 +1715,7 @@ pdflatex cannot handle other image formats. If an included graphic is not already in -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1767,7 +1725,7 @@ pdf \end_inset , -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1777,7 +1735,7 @@ png \end_inset , or -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1787,7 +1745,7 @@ jpg \end_inset format, it is converted to -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1797,7 +1755,7 @@ pdf \end_inset if the vector format option is set, and otherwise to -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -1834,7 +1792,7 @@ For example, the file may refer to other files—images, for example—using \end_layout \begin_layout Standard -The definitions of the copiers may use four variables: +The definitions of the copiers may use eight variables: \end_layout \begin_layout Labeling @@ -1858,7 +1816,7 @@ g. \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2042,7 +2000,7 @@ status collapsed —and make it executable, if you need to do so on your platform. Then, in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2053,7 +2011,7 @@ Preferences \end_inset dialog, select under -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2064,7 +2022,7 @@ File formats \end_inset the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2084,7 +2042,7 @@ pdfcopier.sh $$i $$o \end_inset into the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2103,7 +2061,7 @@ Copiers are used by \SpecialChar LyX For example, if appropriate programs are found, \SpecialChar LyX will automatically install copiers for the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2113,7 +2071,7 @@ HTML \end_inset and -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2162,12 +2120,11 @@ This copier can be customized. \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout -\SpecialChar LyX -conv +LyXconv \end_layout \end_inset @@ -2177,7 +2134,7 @@ conv \end_inset , so HTML generated from -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2187,12 +2144,11 @@ status collapsed \end_inset will end up in -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout -/path/to/filename.html.\SpecialChar LyX -conv +/path/to/filename.html.LyXconv \end_layout \end_inset @@ -2220,7 +2176,7 @@ name "sec:Converters" \begin_layout Standard You can define your own Converters to convert files between different formats. This is done in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2237,7 +2193,7 @@ Converters \begin_layout Standard To define a new converter, select the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2251,7 +2207,7 @@ format \end_inset and -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2266,7 +2222,7 @@ format from the drop-down lists, enter the command needed for the conversion, and then press the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2385,7 +2341,7 @@ $$e \begin_layout Standard In the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2432,7 +2388,7 @@ needaux Needs the \SpecialChar LaTeX -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2495,7 +2451,7 @@ xml \begin_layout Standard The following three flags are not really flags at all because they take an argument in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2653,7 +2609,7 @@ You do not have to define converters for all formats between which you want \begin_layout Enumerate Directly, using -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2667,7 +2623,7 @@ pdflatex \begin_layout Enumerate via (DVI and) PostScript, using -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2681,7 +2637,7 @@ ps2pdf \begin_layout Enumerate via DVI, using -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2695,7 +2651,7 @@ dvipdfm \begin_layout Enumerate directly using -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2710,7 +2666,7 @@ Xe\SpecialChar TeX \begin_layout Enumerate directly using -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2734,7 +2690,7 @@ reference "sec:Formats" . For example, in the standard configuration, the formats named -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2744,7 +2700,7 @@ pdf \end_inset (for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2754,7 +2710,7 @@ ps2pdf \end_inset ), -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2764,7 +2720,7 @@ pdf2 \end_inset (for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2774,7 +2730,7 @@ pdflatex \end_inset ), -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2784,7 +2740,7 @@ pdf3 \end_inset (for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2794,7 +2750,7 @@ dvipdfm \end_inset ), -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2804,7 +2760,7 @@ pdf4 \end_inset (for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2815,7 +2771,7 @@ Xe\SpecialChar TeX \end_inset ), and -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2825,7 +2781,7 @@ pdf5 \end_inset (for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2836,7 +2792,7 @@ Lua\SpecialChar TeX \end_inset ) are defined, all of which share the extension -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -2999,7 +2955,7 @@ Check out the \SpecialChar LyX \begin_inset CommandInset href LatexCommand href name "information on the web" -target "http://www.lyx.org/HowToUseSVN" +target "http://www.lyx.org/HowToUseGIT" \end_inset @@ -3104,7 +3060,20 @@ po \end_inset - files, as well. + files, as well, see +\begin_inset Flex URL +status open + +\begin_layout Plain Layout + +https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html +\backslash +#PO-Mode +\end_layout + +\end_inset + +. \end_layout \end_inset @@ -3217,7 +3186,7 @@ po \end_inset --file could be added to the \SpecialChar LyX + file could be added to the \SpecialChar LyX distribution, so others can use it. Adding it involves making additional changes to \SpecialChar LyX . @@ -3348,7 +3317,7 @@ Translating the documentation. \begin_layout Standard The online documentation (in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -3378,8 +3347,7 @@ As of March 2008, at least some of the documents have been translated into status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir/doc/xx/DocName.lyx +LyXDir/doc/xx/DocName.lyx \end_layout \end_inset @@ -3447,7 +3415,7 @@ Intro.lyx \end_inset ( -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -3486,11 +3454,48 @@ UserDir/doc/xx/ \end_inset directory. +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + For a complex document with external material (images, etc.), if you make + a copy e. +\begin_inset space \thinspace{} +\end_inset + +g. +\begin_inset space \space{} +\end_inset + +in a temp dir, beware that the links to external material may be broken + when the document is moved to a different place. + The best way is to retrieve the \SpecialChar LyX + tree from git (see +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://www.lyx.org/HowToUseGIT +\end_layout + +\end_inset + +) and to edit the doc file in place. +\end_layout + +\end_inset + + \end_layout \begin_layout Itemize Sometimes the original document (from the \SpecialChar LyX --team) will be updated. + team) will be updated. Use the source viewer at \begin_inset CommandInset href LatexCommand href @@ -4315,7 +4320,7 @@ must be escaped with a preceding backslash ( \begin_layout Standard An example of a -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -4327,7 +4332,7 @@ kmap \end_inset statement to cause the symbol -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -4339,7 +4344,7 @@ status collapsed \end_inset to be output for the keystroke -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -4491,7 +4496,7 @@ followed by the other, not allowed key, as output. \family default Note that a -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -4513,7 +4518,7 @@ char \family default \emph default -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -4919,7 +4924,7 @@ kcomb acute umlaut iyIY \begin_layout Standard This allows you to press -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -4954,7 +4959,7 @@ A backspace \family default \shape default in this case cancels the last dead key, so if you press -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5074,7 +5079,7 @@ char_index_in_set \begin_layout Standard For example, in order to map -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5208,7 +5213,7 @@ Suppose you happen to need the circumflex character, . You could bind the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5222,7 +5227,7 @@ status collapsed \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5254,7 +5259,7 @@ lyxrc file. Now, whenever you type the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5270,7 +5275,7 @@ status collapsed \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5297,7 +5302,7 @@ status collapsed \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5316,7 +5321,7 @@ status collapsed \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5331,7 +5336,7 @@ t never takes a circumflex accent. Hitting -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5344,7 +5349,7 @@ Space Please note this last point! If you bind a key to a dead-key, you'll need to rebind the character on that key to yet another key. Binding the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5358,7 +5363,7 @@ status collapsed \begin_layout Standard One common way to bind dead-keys is to use -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5368,7 +5373,7 @@ Meta- \end_inset , -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5378,7 +5383,7 @@ Ctrl- \end_inset , and -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5392,7 +5397,7 @@ Shift- \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5410,7 +5415,7 @@ status collapsed \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5428,7 +5433,7 @@ status collapsed \end_inset -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5484,7 +5489,7 @@ Mode_Switch \end_inset acts in some ways just like -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5537,7 +5542,7 @@ status collapsed files. I have my -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5579,7 +5584,7 @@ usldead_* \end_inset symbolic keys bound such things as -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5593,7 +5598,7 @@ Lock-^ \end_inset and -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5623,7 +5628,7 @@ Mode_Switch \end_inset key: One of the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -5660,7 +5665,7 @@ Saving your Language Configuration You can edit your preferences so that your desired language environment is automatically configured when \SpecialChar LyX starts up, via the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6020,7 +6025,7 @@ latex foiltex.ins \begin_layout Enumerate Now you need to decide if the package should be available for all users or only for you. -\begin_inset Separator parbreak +\begin_inset Separator latexpar \end_inset @@ -6096,7 +6101,9 @@ status collapsed \end_inset -. + or /usr/local/texlive/XXXX where XXXX is the year of the installed \SpecialChar TeX +Live + distribution. The location of the `user' \SpecialChar TeX tree is defined by \begin_inset Flex Code @@ -6116,6 +6123,19 @@ status collapsed $HOME/texmf \end_layout +\end_inset + + or +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\family sans +\lang french +$HOME/.texliveXXXX +\end_layout + \end_inset . @@ -6160,8 +6180,7 @@ status collapsed \backslash Programs \backslash -MiK\SpecialChar TeX - +MiKTeX \backslash tex \backslash @@ -6172,7 +6191,7 @@ latex .) \begin_inset Foot -status open +status collapsed \begin_layout Plain Layout Note that this will be the correct path only on English installations. @@ -6185,8 +6204,7 @@ status collapsed \backslash Programme \backslash -MiK\SpecialChar TeX - +MiKTeX \backslash tex \backslash @@ -6276,8 +6294,7 @@ status open status collapsed \begin_layout Plain Layout -MiK\SpecialChar TeX - +MiKTeX \backslash 2.8 \backslash @@ -6313,8 +6330,7 @@ Roaming \backslash 2.8 \backslash -MiK\SpecialChar TeX - +MiKTeX \backslash tex \backslash @@ -6332,7 +6348,7 @@ Now one only need to tell \SpecialChar LaTeX that there are new files. This depends on the used \SpecialChar LaTeX -Distribution: -\begin_inset Separator parbreak +\begin_inset Separator latexpar \end_inset @@ -6397,7 +6413,7 @@ Finally, you need to tell \SpecialChar LyX that there are new packages available. So, in \SpecialChar LyX , use the menu -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6424,24 +6440,13 @@ Slides \begin_inset space ~ \end_inset -(FoilTe -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -x) +(FoilTex) \end_layout \end_inset will now be available under -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6460,7 +6465,7 @@ Document Class If you would like to use a \SpecialChar LaTeX document class that is not even listed in the menu -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6542,7 +6547,7 @@ Note that \SpecialChar LyX Layout modules \begin_inset CommandInset label LatexCommand label -name "sub:Layout-modules" +name "subsec:Layout-modules" \end_inset @@ -6638,7 +6643,7 @@ article.cls requires editing that file. Modules, by contrast, are selected in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6674,7 +6679,7 @@ layouts/ appear in the menu. However, changes you make to the module will be seen immediately, if you open -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6813,7 +6818,7 @@ The warnings at the end of the previous section apply here, too. \begin_layout Subsection Layout for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6863,7 +6868,7 @@ The easier case is the one in which your new document class is provided document class. For the sake of the example, we'll assume that the style file is called -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6873,7 +6878,7 @@ myclass.sty \end_inset and that it is meant to be used with -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6974,7 +6979,7 @@ near the top of the file. \begin_layout Standard Start \SpecialChar LyX and select -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6988,7 +6993,7 @@ Reconfigure Then restart \SpecialChar LyX and try creating a new document. You should see " -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -6998,7 +7003,7 @@ report (myclass) \end_inset " as a document class option in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7101,7 +7106,7 @@ reference "sec:TextClass" \begin_layout Standard If -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7119,8 +7124,7 @@ myclass.sty \begin_layout LyX-Code # \backslash -Declare\SpecialChar LyX -Module{My Package} +DeclareLyXModule{My Package} \end_layout \begin_layout LyX-Code @@ -7176,7 +7180,7 @@ reference "sec:TextClass" \begin_layout Subsection Layout for -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7192,7 +7196,7 @@ status collapsed There are two possibilities here. One is that the class file is itself based upon an existing document class. For example, many thesis classes are based upon -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7301,7 +7305,7 @@ roll your own Creating templates \begin_inset CommandInset label LatexCommand label -name "sub:Creating-Templates" +name "subsec:Creating-Templates" \end_inset @@ -7394,14 +7398,13 @@ UserDir/templates/ status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir/templates/ +LyXDir/templates/ \end_layout \end_inset to the same place, and redefine the template path in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7429,7 +7432,7 @@ defaults.lyx . This template is loaded every time you create a new document with -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7443,7 +7446,7 @@ New To create this template from inside \SpecialChar LyX , all you have to do is to open a document with the correct settings, and use the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7517,8 +7520,7 @@ Call the command status collapsed \begin_layout Plain Layout -python \SpecialChar LyX -Dir/scripts/layout2layout.py myclass.old myclass.layout +python LyXDir/scripts/layout2layout.py myclass.old myclass.layout \end_layout \end_inset @@ -7532,8 +7534,7 @@ where status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir +LyXDir \end_layout \end_inset @@ -7686,22 +7687,7 @@ status collapsed \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass{Article (Standard Class)} +DeclareLaTeXClass{Article (Standard Class)} \end_layout \begin_layout LyX-Code @@ -7782,7 +7768,7 @@ Article (Standard Class) \end_inset that appears above is used as a description of the text class in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7802,7 +7788,7 @@ Articles \end_inset in the example) is also used in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -7909,22 +7895,7 @@ myarticle.layout \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass[article]{Article (with My Own Headings)} +DeclareLaTeXClass[article]{Article (with My Own Headings)} \end_layout \begin_layout LyX-Code @@ -7980,22 +7951,7 @@ Article (with My Own Headings) \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass[article,foo.sty]{Article (with My Own Headings)} +DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)} \end_layout \begin_layout LyX-Code @@ -8058,22 +8014,7 @@ So, to be as explicit as possible, the form of the layout declaration is: \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass[class,package.sty]{layout description} +DeclareLaTeXClass[class,package.sty]{layout description} \end_layout \begin_layout LyX-Code @@ -8100,8 +8041,7 @@ When the text class has been modified to your taste, all you have to do status collapsed \begin_layout Plain Layout -\SpecialChar LyX -Dir/layouts/ +LyXDir/layouts/ \end_layout \end_inset @@ -8117,7 +8057,7 @@ UserDir/layouts \end_inset , run -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8152,7 +8092,7 @@ In versions of \SpecialChar LyX You can force a reload of the current layout by using the \SpecialChar LyX function -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8175,7 +8115,7 @@ r. Warning \emph default : -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8246,24 +8186,13 @@ A module must begin with a line like the following: \begin_layout LyX-Code # \backslash -DeclareL -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -yXModule[endnotes.sty]{Endnotes} +DeclareLyXModule[endnotes.sty]{Endnotes} \end_layout \begin_layout Standard The mandatory argument, in curly brackets, is the name of the module, as it should appear in -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8279,7 +8208,7 @@ Modules packages on which the module depends. It is also possible to use the form -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8341,8 +8270,7 @@ Preferably in English if the module should be published with \SpecialChar LyX \begin_layout LyX-Code #You will need to add \backslash -theendnotes in \SpecialChar TeX - code where you +theendnotes in TeX code where you \end_layout \begin_layout LyX-Code @@ -8364,7 +8292,7 @@ theendnotes in \SpecialChar TeX \begin_layout Standard The description is used in -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8505,7 +8433,7 @@ Format . The format for the present version of \SpecialChar LyX - is format 35. + is format 59. But each version of \SpecialChar LyX is capable of reading earlier versions' layout files, just as they are capable of reading files produced by earlier versions @@ -8517,7 +8445,7 @@ Format \begin_layout Subsection \begin_inset CommandInset label LatexCommand label -name "sub:General-text-class" +name "subsec:General-text-class" \end_inset @@ -8649,7 +8577,7 @@ CiteFormat See \begin_inset CommandInset ref LatexCommand ref -reference "sub:Citation-format-description" +reference "subsec:Citation-format-description" \end_inset @@ -8689,7 +8617,7 @@ ClassOptions See \begin_inset CommandInset ref LatexCommand ref -reference "sub:ClassOptions" +reference "subsec:ClassOptions" \end_inset @@ -8757,7 +8685,7 @@ default \emph default to having one or two columns. Can be changed in the -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8818,7 +8746,7 @@ End See \begin_inset CommandInset ref LatexCommand ref -reference "sub:Counters" +reference "subsec:Counters" \end_inset @@ -8839,7 +8767,7 @@ DefaultFont See \begin_inset CommandInset ref LatexCommand ref -reference "sub:Font-description" +reference "subsec:Font-description" \end_inset @@ -8923,7 +8851,7 @@ status collapsed \end_inset ] This is the style that will be assigned to new paragraphs, usually -\begin_inset Flex MenuItem +\begin_inset Flex Noun status collapsed \begin_layout Plain Layout @@ -8989,7 +8917,7 @@ not Modules have their own way of excluding other modules (see \begin_inset CommandInset ref LatexCommand ref -reference "sub:Layout-modules" +reference "subsec:Layout-modules" \end_inset @@ -9010,7 +8938,7 @@ Float See \begin_inset CommandInset ref LatexCommand ref -reference "sub:Floats" +reference "subsec:Floats" \end_inset @@ -9207,7 +9135,7 @@ End See \begin_inset CommandInset ref LatexCommand ref -reference "sub:Counters" +reference "subsec:Counters" \end_inset @@ -9218,49 +9146,6 @@ reference "sub:Counters" \begin_inset Flex Code status collapsed -\begin_layout Plain Layout -IfStyle -\end_layout - -\end_inset - - [ -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -