X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FCustomization.lyx;h=0a9fb7186af45500557c1b785d91c2e5018a9b53;hb=d9971802c2ee76171c9d862b6858d4c2e1ac1072;hp=fbd9534c4a9980134997d9900860d77ccfc4f71e;hpb=9e8bfb45971422091b55fd59e0568e6e5b21bef7;p=lyx.git diff --git a/lib/doc/Customization.lyx b/lib/doc/Customization.lyx index fbd9534c4a..0a9fb7186a 100644 --- a/lib/doc/Customization.lyx +++ b/lib/doc/Customization.lyx @@ -1,5 +1,5 @@ -#LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 446 +#LyX 2.2 created this file. For more info see http://www.lyx.org/ +\lyxformat 480 \begin_document \begin_header \textclass scrbook @@ -30,6 +30,16 @@ \pdfbookmark[1]{\contentsname}{} \myTOC \mainmatter } + +% 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}% +} \end_preamble \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false @@ -101,13 +111,16 @@ End \use_geometry false \use_package amsmath 0 \use_package amssymb 0 +\use_package cancel 0 \use_package esint 0 \use_package mathdots 1 \use_package mathtools 0 \use_package mhchem 0 +\use_package stackrel 0 +\use_package stmaryrd 0 \use_package undertilde 0 \cite_engine basic -\cite_engine_type numerical +\cite_engine_type default \biblio_style plain \use_bibtopic false \use_indices false @@ -139,9 +152,7 @@ End \html_be_strict true \author -712698321 "Jürgen Spitzmüller" \author -195340706 "Georg Baum" -\author 5863208 "ab" -\author 1082167584 "Kayvan Sylvan" kayvan@sylvan.com -\author 1414654397 "Richard Heck" +\author 274215730 "scott" \end_header \begin_body @@ -189,7 +200,7 @@ type "mailto:" \begin_inset Newline newline \end_inset -Version 2.0.x +Version 2.1.x \end_layout \begin_layout Standard @@ -638,11 +649,7 @@ xx \end_inset is the ISO language code. - See chapter -\begin_inset space ~ -\end_inset - - + See \begin_inset CommandInset ref LatexCommand ref reference "cha:Internationalizing-LyX" @@ -715,11 +722,7 @@ kbd/ \end_inset contains keyboard keymapping files. - See Chapter -\begin_inset space ~ -\end_inset - - + See \begin_inset CommandInset ref LatexCommand ref reference "sec:International-Keymap-Stuff" @@ -740,11 +743,7 @@ layouts/ \end_inset - contains the text class and module files described in Chapter -\begin_inset space ~ -\end_inset - - + contains the text class and module files described in \begin_inset CommandInset ref LatexCommand ref reference "cha:Installing-New-Document" @@ -820,11 +819,7 @@ templates/ \end_inset - contains the standard LyX template files described in Chapter -\begin_inset space ~ -\end_inset - - + contains the standard LyX template files described in \begin_inset CommandInset ref LatexCommand ref reference "sub:Creating-Templates" @@ -925,12 +920,12 @@ configure.py \end_inset - this is the script that is used to re-configure LyX. + this is a Python script that is used to re-configure LyX. It creates configuration files in the directory it was run from. \end_layout \begin_layout Subsection -Other files needing a line or two... +Other files needing a line or two \end_layout \begin_layout Labeling @@ -973,7 +968,14 @@ Template \end_inset - feature. + feature, see +\begin_inset CommandInset ref +LatexCommand ref +reference "chap:Including-External-Material" + +\end_inset + +. \end_layout \begin_layout Labeling @@ -988,31 +990,35 @@ languages \end_inset this file contains a list of all the languages currently supported by LyX. -\change_inserted -195340706 1334775793 - \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\change_inserted -195340706 1334775793 \begin_inset Flex Code status collapsed \begin_layout Plain Layout +latexfonts +\end_layout + +\end_inset -\change_inserted -195340706 1334775793 + contains information about the supported fonts. +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout layouttranslations \end_layout \end_inset this file contains translations for internationalized paragraph styles - (see sec. -\begin_inset space \thinspace{} -\end_inset - - + (see \begin_inset CommandInset ref LatexCommand ref reference "sub:I18n" @@ -1020,8 +1026,21 @@ reference "sub:I18n" \end_inset ). -\change_unchanged +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +unicodesymbols +\end_layout + +\end_inset + this file contains information about unicode-encoded glyphs and the way + they are supported by LyX via LaTeX. \end_layout \begin_layout Section @@ -1377,8 +1396,7 @@ File formats status collapsed \begin_layout Plain Layout -New\SpecialChar \ldots{} - +New \end_layout \end_inset @@ -1424,7 +1442,7 @@ Shortcut status collapsed \begin_layout Plain Layout -Alt-V F D +Ctrl+D \end_layout \end_inset @@ -1434,7 +1452,7 @@ Alt-V F D status collapsed \begin_layout Plain Layout -View\SpecialChar \menuseparator +Document\SpecialChar \menuseparator View (Other Formats)\SpecialChar \menuseparator DVI \end_layout @@ -1486,6 +1504,7 @@ Ghostview status collapsed \begin_layout Plain Layout +Document\SpecialChar \menuseparator View \end_layout @@ -1507,8 +1526,6 @@ Edit externally \end_layout \begin_layout Standard - -\change_inserted -195340706 1329851811 The \begin_inset Flex MenuItem status collapsed @@ -1555,11 +1572,7 @@ Document format \end_inset option tells LyX that a format is suitable for document export. - If this is set and if a suitable conversion route exists (see sec. -\begin_inset space \thinspace{} -\end_inset - - + If this is set and if a suitable conversion route exists (see \begin_inset CommandInset ref LatexCommand ref reference "sec:Converters" @@ -1583,6 +1596,7 @@ Export status collapsed \begin_layout Plain Layout +Document\SpecialChar \menuseparator View \end_layout @@ -1816,36 +1830,62 @@ $$o \end_inset The output file -\change_inserted 1082167584 1348453985 - \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +$$b +\end_layout + +\end_inset -\change_inserted 1082167584 1348453986 -$$b The base name (without filename extension) in the LyX temporary directory + The base name (without filename extension) in the LyX temporary directory \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +$$p +\end_layout + +\end_inset -\change_inserted 1082167584 1348453986 -$$p The full directory path of the LyX temporary directory + The full directory path of the LyX temporary directory \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +$$r +\end_layout + +\end_inset -\change_inserted 1082167584 1348453986 -$$r The full pathname to the original LyX file being processed + The full pathname to the original LyX file being processed \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +$$f +\end_layout + +\end_inset -\change_inserted 1082167584 1348453986 -$$f The filename (without any directory path) of the LyX file. + The filename (without any directory path) of the LyX file. \end_layout \begin_layout Labeling @@ -1860,8 +1900,6 @@ $$l \end_inset The `LaTeX name' -\change_inserted 1082167584 1348453720 - \end_layout \begin_layout Standard @@ -2321,23 +2359,15 @@ status collapsed \end_inset file for the conversion. -\change_inserted 1414654397 1337693117 - \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\change_inserted 1414654397 1337693188 \begin_inset Flex Code status collapsed \begin_layout Plain Layout - -\change_inserted 1414654397 1337693129 nice -\change_unchanged - \end_layout \end_inset @@ -2356,18 +2386,12 @@ nice status collapsed \begin_layout Plain Layout - -\change_inserted 1414654397 1337693184 input@path -\change_unchanged - \end_layout \end_inset . -\change_unchanged - \end_layout \begin_layout Labeling @@ -2530,8 +2554,12 @@ You do not have to define converters for all formats between which you want choose the shortest possible chain. You can, though, still define multiple conversion methods between file formats. - For example, the standard LyX configuration provides three ways to convert - LaTeX to PDF: Directly, using + For example, the standard LyX configuration provides five ways to convert + LaTeX to PDF: +\end_layout + +\begin_layout Enumerate +Directly, using \begin_inset Flex MenuItem status collapsed @@ -2541,7 +2569,11 @@ pdflatex \end_inset -; via (DVI and) PostScript, using + +\end_layout + +\begin_layout Enumerate +via (DVI and) PostScript, using \begin_inset Flex MenuItem status collapsed @@ -2551,7 +2583,11 @@ ps2pdf \end_inset -; or via DVI, using + +\end_layout + +\begin_layout Enumerate +via DVI, using \begin_inset Flex MenuItem status collapsed @@ -2561,9 +2597,40 @@ dvipdfm \end_inset -. - To define such alternate chains, you must define multiple target `file - formats', as described in section + +\end_layout + +\begin_layout Enumerate +directly using +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +XeTeX +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate +directly using +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +LuaTeX +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To define such alternate chains, you must define multiple target `file formats', + as described in \begin_inset CommandInset ref LatexCommand ref reference "sec:Formats" @@ -2581,7 +2648,17 @@ pdf \end_inset -, + (for +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +ps2pdf +\end_layout + +\end_inset + +), \begin_inset Flex MenuItem status collapsed @@ -2591,7 +2668,17 @@ pdf2 \end_inset -, and + (for +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +pdflatex +\end_layout + +\end_inset + +), \begin_inset Flex MenuItem status collapsed @@ -2601,7 +2688,57 @@ pdf3 \end_inset - are defined, all of which share the extension + (for +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +dvipdfm +\end_layout + +\end_inset + +), +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +pdf4 +\end_layout + +\end_inset + + (for +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +XeTeX +\end_layout + +\end_inset + +), and +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +pdf5 +\end_layout + +\end_inset + + (for +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +LuaTeX +\end_layout + +\end_inset + +) are defined, all of which share the extension \begin_inset Flex MenuItem status collapsed @@ -5716,6 +5853,10 @@ 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 +\end_inset + + \end_layout \begin_deeper @@ -6010,6 +6151,10 @@ latex \begin_layout Enumerate Now one only need to tell LaTeX that there are new files. This depends on the used LaTeX-Distribution: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_deeper @@ -6220,8 +6365,7 @@ status collapsed \end_inset extension and provide LyX with information about document classes. - As of LyX 1.6, however, layout information can also be contained in layout - + Since LyX 1.6 layout information can also be contained in layout \emph on modules \emph default @@ -6406,7 +6550,7 @@ Format tag. Any format is acceptable, but one would normally use the format current at the time. - (In LyX 2.0, the current layout format is 35.) You should be aware that local + (In LyX 2.1, the current layout format is 48.) You should be aware that local layout is not supported by versions of LyX prior to 1.6, so you should not use it if you want to be able to export your document to LyX 1.5 or earlier (without, that is, losing the local layout information). @@ -6774,7 +6918,7 @@ DeclareLyXModule{My Package} \end_layout \begin_layout LyX-Code -Format 21 +Format 35 \begin_inset Newline newline \end_inset @@ -7003,7 +7147,6 @@ notepad \end_inset . - \end_layout \begin_layout Standard @@ -7088,8 +7231,8 @@ Upgrading old layout files \begin_layout Standard The format of layout files changes with each LyX release, so old layout files need to be converted to the new format. - This process has been automated since LyX 1.4: If LyX reads a layout file - in an older format, it automatically calls the script + If LyX reads a layout file in an older format, it automatically calls the + script \begin_inset Flex Code status collapsed @@ -7106,67 +7249,99 @@ layout2layout.py To do this, you can call the converter manually: \end_layout -\begin_layout LyX-Code -mv myclass.layout myclass.old -\end_layout +\begin_layout Enumerate +rename the file +\begin_inset Flex Code +status collapsed -\begin_layout LyX-Code -python LyXDir/scripts/layout2layout.py myclass.old myclass.layout +\begin_layout Plain Layout +myclass.layout \end_layout -\begin_layout Standard -You need to replace +\end_inset + + to \begin_inset Flex Code status collapsed \begin_layout Plain Layout -LyXDir +myclass.old \end_layout \end_inset - with the name of your LyX system directory, of course. -\end_layout -\begin_layout Standard -Note that manual conversion does not affect included files, so these will - have to be converted separately. \end_layout -\begin_layout Section -\begin_inset CommandInset label -LatexCommand label -name "sec:TextClass" - +\begin_layout Enumerate +Call the command +\begin_inset Newline newline \end_inset -The layout file format -\end_layout - -\begin_layout Standard -When it's finally time to get your hands dirty and create or edit your own - layout file, the following sections describe what you're up against. - Our advice is to go slowly, save and test often, listen to soothing music, - and enjoy one or two of your favorite adult beverages; more if you are - getting particularly stuck. - It's really not that hard, except that the multitude of options can become - overwhelming if you try to do too much in one sitting. - Go have another adult beverage, just for good measure. -\end_layout -\begin_layout Standard -Note that all the tags used in layout files are case-insensitive. - This means that \begin_inset Flex Code status collapsed \begin_layout Plain Layout -Style +python LyXDir/scripts/layout2layout.py myclass.old myclass.layout \end_layout \end_inset -, + +\begin_inset Newline newline +\end_inset + +where +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +LyXDir +\end_layout + +\end_inset + + is the name of your LyX system directory. +\end_layout + +\begin_layout Standard +Note that manual conversion does not affect included files, so these will + have to be converted separately. +\end_layout + +\begin_layout Section +\begin_inset CommandInset label +LatexCommand label +name "sec:TextClass" + +\end_inset + +The layout file format +\end_layout + +\begin_layout Standard +The following sections describe how layout files are structured and written. + Our advice is to go slowly, save and test often. + It is really not that hard, except that the multitude of options can become + overwhelming, especially if you try to check out too many at once. + It becomes easier if you use existing layouts of LyX as examples/reference + or if you modify an existing layout to your needs. +\end_layout + +\begin_layout Standard +Note that all the tags used in layout files are case-insensitive. + This means that +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +Style +\end_layout + +\end_inset + +, \begin_inset Flex Code status collapsed @@ -7187,9 +7362,8 @@ StYlE \end_inset are really the same tag. - The possible values are printed in brackets after the feature's name. - The default value if a feature isn't specified inside a text class-description - is typeset + The possible arguments are printed in brackets after the tag's name. + The default argument is typeset \begin_inset Flex Code status collapsed @@ -7234,11 +7408,7 @@ default \end_layout \begin_layout Subsection -The document class declaration -\change_inserted -712698321 1349766602 - and classification -\change_unchanged - +The document class declaration and classification \end_layout \begin_layout Standard @@ -7264,15 +7434,7 @@ status collapsed \end_inset - files should begin with -\change_deleted -712698321 1349766533 -a -\change_unchanged -line -\change_inserted -712698321 1349766536 -s -\change_unchanged - like: + files should begin with lines like: \end_layout \begin_layout LyX-Code @@ -7286,45 +7448,34 @@ s \size small # \backslash -DeclareLaTeXClass{ -\change_deleted -712698321 1349766193 -article -\change_inserted -712698321 1349766201 -Article (Standard Class) -\change_unchanged -} -\change_inserted -712698321 1349766538 +DeclareLaT +\size default +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +{} \end_layout -\begin_layout LyX-Code +\end_inset -\change_inserted -712698321 1349766581 + +\size small +eXClass{Article (Standard Class)} +\end_layout + +\begin_layout LyX-Code \size small # \backslash DeclareCategory{Articles} -\change_unchanged - \end_layout \begin_layout Standard -The second -\change_inserted -712698321 1349766695 -and third -\change_unchanged -line -\change_inserted -712698321 1349766626 -s -\change_unchanged - -\change_deleted -712698321 1349766628 -is -\change_inserted -712698321 1349766628 -are -\change_unchanged - used when you (re)configure LyX. +The second and third lines are used when you (re)configure LyX. The layout file is read by the LaTeX script \begin_inset Flex Code status collapsed @@ -7346,19 +7497,9 @@ status collapsed \end_inset is ignored. - The first line is just a LaTeX comment, -\change_deleted -712698321 1349766656 -and -\change_unchanged -the second one contains the -\change_inserted -712698321 1349766650 -mandatory -\change_unchanged -declaration of the text class -\change_inserted -712698321 1349766689 -, and the third line contains the optional classification of the class -\change_unchanged -. + The first line is just a LaTeX comment, the second one contains the mandatory + declaration of the text class and the third line contains the optional + classification of the class. If these lines appear in a file named \begin_inset Flex Code status collapsed @@ -7394,13 +7535,7 @@ article.cls \begin_inset Quotes eld \end_inset - -\change_deleted -712698321 1349766253 -article -\change_inserted -712698321 1349766260 Article (Standard Class) -\change_unchanged - \begin_inset Quotes erd \end_inset @@ -7416,8 +7551,6 @@ Settings \end_inset dialog. - -\change_inserted -712698321 1349767097 The category ( \begin_inset Quotes eld \end_inset @@ -7431,8 +7564,6 @@ Articles status collapsed \begin_layout Plain Layout - -\change_inserted -712698321 1349766801 Document\SpecialChar \menuseparator Settings \end_layout @@ -7498,8 +7629,6 @@ Uncategorized \end_inset group. -\change_unchanged - \end_layout \begin_layout Standard @@ -7538,45 +7667,30 @@ myarticle.layout \size small # \backslash -DeclareLaTeXClass[article]{ -\change_deleted -712698321 1349766303 -a -\change_inserted -712698321 1349766303 -A -\change_unchanged -rticle (with -\change_deleted -712698321 1349766338 -m -\change_inserted -712698321 1349766338 -M -\change_unchanged -y -\change_deleted -712698321 1349766340 -o -\change_inserted -712698321 1349766340 -O -\change_unchanged -wn -\change_deleted -712698321 1349766343 -h -\change_inserted -712698321 1349766343 -H -\change_unchanged -eadings)} -\change_inserted -712698321 1349767223 +DeclareLaT +\size default +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +{} \end_layout -\begin_layout LyX-Code +\end_inset -\change_inserted -712698321 1349767223 + +\size small +eXClass[article]{Article (with My Own Headings)} +\end_layout + +\begin_layout LyX-Code \size small # \backslash DeclareCategory{Articles} -\change_unchanged - \end_layout \begin_layout Standard @@ -7604,31 +7718,7 @@ article.cls \begin_inset Quotes eld \end_inset - -\change_deleted -712698321 1349766329 -a -\change_inserted -712698321 1349766329 -A -\change_unchanged -rticle (with -\change_deleted -712698321 1349766347 -m -\change_inserted -712698321 1349766347 -M -\change_unchanged -y -\change_deleted -712698321 1349766350 -o -\change_inserted -712698321 1349766350 -O -\change_unchanged -wn -\change_deleted -712698321 1349766352 -h -\change_inserted -712698321 1349766352 -H -\change_unchanged -eadings) +Article (with My Own Headings) \begin_inset Quotes erd \end_inset @@ -7647,45 +7737,30 @@ eadings) \size small # \backslash -DeclareLaTeXClass[article,foo.sty]{ -\change_deleted -712698321 1349766366 -a -\change_inserted -712698321 1349766366 -A -\change_unchanged -rticle (with -\change_deleted -712698321 1349766369 -m -\change_inserted -712698321 1349766369 -M -\change_unchanged -y -\change_deleted -712698321 1349766371 -o -\change_inserted -712698321 1349766371 -O -\change_unchanged -wn -\change_deleted -712698321 1349766374 -h -\change_inserted -712698321 1349766374 -H -\change_unchanged -eadings)} -\change_inserted -712698321 1349767240 +DeclareLaT +\size default + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{} \end_layout -\begin_layout LyX-Code +\end_inset + -\change_inserted -712698321 1349767240 +\size small +eXClass[article,foo.sty]{Article (with My Own Headings)} +\end_layout + +\begin_layout LyX-Code \size small # \backslash DeclareCategory{Articles} -\change_unchanged - \end_layout \begin_layout Standard @@ -7715,27 +7790,15 @@ foo.sty \size small # \backslash -DeclareDocBookClass[article]{SGML (DocBook -\change_deleted -712698321 1349766387 -a -\change_inserted -712698321 1349766387 -A -\change_unchanged -rticle)} -\change_inserted -712698321 1349767247 - +DeclareDocBookClass[article]{SGML (DocBook Article)} \end_layout \begin_layout LyX-Code -\change_inserted -712698321 1349767302 - \size small # \backslash DeclareCategory{Articles (DocBook)} -\change_unchanged - \end_layout \begin_layout Standard @@ -7752,21 +7815,30 @@ So, to be as explicit as possible, the form of the layout declaration is: \size small # \backslash -DeclareLaTeXClass[class,package.sty]{layout description} -\change_inserted -712698321 1349767329 +DeclareLaT +\size default + +\begin_inset ERT +status collapsed +\begin_layout Plain Layout + +{} \end_layout -\begin_layout LyX-Code +\end_inset + + +\size small +eXClass[class,package.sty]{layout description} +\end_layout -\change_inserted -712698321 1349767339 +\begin_layout LyX-Code \size small # \backslash DeclareCategory{category} -\change_unchanged - \end_layout \begin_layout Standard @@ -7919,7 +7991,18 @@ A module must begin with a line like the following: \begin_layout LyX-Code # \backslash -DeclareLyXModule[endnotes.sty]{Endnotes} +DeclareL +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +{} +\end_layout + +\end_inset + +yXModule[endnotes.sty]{Endnotes} \end_layout \begin_layout Standard @@ -7939,18 +8022,6 @@ Modules . The argument in square brackets is optional: It declares any LaTeX packages on which the module depends. - Please note that only packages about which LyX knows should be listed in - the square brackets. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -The list of such packages is documented only in the source code. -\end_layout - -\end_inset - - LyX will not check for arbitrary packages. It is also possible to use the form \begin_inset Flex MenuItem status collapsed @@ -8081,11 +8152,7 @@ at least one no \emph default excluded module may be used. - Note that modules are identified here by their -\emph on -filenames -\emph default - without the + Note that modules are identified here by their filenames without the \begin_inset Flex Code status collapsed @@ -8152,20 +8219,36 @@ int \end_inset -] The format of the layout file. +] The format number of the layout file. \end_layout \begin_layout Standard -This tag was introduced with LyX 1.4.0. - Layout files from LyX 1.3.x and earlier don't have an explicit file format - and are considered to be of format 1. - The format for the present version of LyX is format 21. +This tag was introduced with LyX +\begin_inset space ~ +\end_inset + +1.4.0. + Layout files from older LyX versions do not have an explicit file format + and are considered to have +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +Format +\begin_inset space ~ +\end_inset + +1 +\end_layout + +\end_inset + +. + The format for the present version of LyX is format 35. But each version of LyX is capable of reading earlier versions' layout files, just as they are capable of reading files produced by earlier versions of LyX. There is, however, no provision for converting to earlier formats. - So LyX 1.6.x will not read layout files in format 21 but only files in format - 11 or earlier. \end_layout \begin_layout Subsection @@ -8219,7 +8302,7 @@ status collapsed \end_inset - block when this document class is output to XHTML. + block when the document is output to XHTML. Typically, this would be used to output CSS style information, but it can be used for anything that can appear in \begin_inset Flex Code @@ -8258,32 +8341,17 @@ EndPreamble status collapsed \begin_layout Plain Layout -AddToHTMLStyles +AddToPreamble \end_layout \end_inset - Adds CSS styling information. - This will either be output in a -\begin_inset Quotes eld -\end_inset - - -\begin_inset Flex Code -status collapsed - -\begin_layout Plain Layout -