X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FCustomization.lyx;h=4244959a12e3d8aa083ae1b912f8d8b622649936;hb=83672113d3ddca6e1c21d83b75702b606ebd3336;hp=12958ddd78c8982fc99415650e85da8f3d1b7098;hpb=c63d486b2e309795b025729b7230df1c03c6cf34;p=features.git diff --git a/lib/doc/Customization.lyx b/lib/doc/Customization.lyx index 12958ddd78..4244959a12 100644 --- a/lib/doc/Customization.lyx +++ b/lib/doc/Customization.lyx @@ -1,5 +1,5 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 495 +\lyxformat 501 \begin_document \begin_header \origin /systemlyxdir/doc/ @@ -35,12 +35,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 @@ -76,16 +78,16 @@ End \language_package default \inputencoding auto \fontencoding global -\font_roman default -\font_sans default -\font_typewriter default -\font_math auto +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "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 \output_sync 0 @@ -151,10 +153,10 @@ End \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" +\author -712698321 "Jürgen Spitzmüller" +\author -195340706 "Georg Baum" +\author 155139281 "Jrgen Spitzmller" +\author 274215730 "scott" \end_header \begin_body @@ -290,8 +292,14 @@ About \begin_inset space ~ \end_inset + +\change_deleted -712698321 1437634470 \SpecialChar LyX +\change_inserted -712698321 1437634471 +LyX +\change_unchanged + \end_layout \end_inset @@ -305,7 +313,13 @@ About status collapsed \begin_layout Plain Layout + +\change_inserted -712698321 1437634480 +LyX +\change_deleted -712698321 1437634481 \SpecialChar LyX + +\change_unchanged Dir \end_layout @@ -331,7 +345,13 @@ What's in status collapsed \begin_layout Plain Layout + +\change_inserted -712698321 1437634488 +LyX +\change_deleted -712698321 1437634487 \SpecialChar LyX + +\change_unchanged Dir \end_layout @@ -345,7 +365,13 @@ Dir status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634497 \SpecialChar LyX + +\change_inserted -712698321 1437634498 +LyX +\change_unchanged Dir \end_layout @@ -377,7 +403,13 @@ Preferences status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634507 \SpecialChar LyX + +\change_inserted -712698321 1437634507 +LyX +\change_unchanged Dir \end_layout @@ -560,7 +592,13 @@ These directories are duplicated between status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634516 \SpecialChar LyX + +\change_inserted -712698321 1437634517 +LyX +\change_unchanged Dir \end_layout @@ -929,8 +967,14 @@ About \begin_inset space ~ \end_inset + +\change_deleted -712698321 1437634530 \SpecialChar LyX +\change_inserted -712698321 1437634531 +LyX +\change_unchanged + \end_layout \end_inset @@ -1130,8 +1174,14 @@ About \begin_inset space ~ \end_inset + +\change_inserted -712698321 1437634544 +LyX +\change_deleted -712698321 1437634543 \SpecialChar LyX +\change_unchanged + \end_layout \end_inset @@ -1142,7 +1192,13 @@ About status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634548 \SpecialChar LyX + +\change_inserted -712698321 1437634549 +LyX +\change_unchanged Dir \end_layout @@ -1163,7 +1219,13 @@ UserDir status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634553 \SpecialChar LyX + +\change_inserted -712698321 1437634554 +LyX +\change_unchanged Dir \end_layout @@ -2167,7 +2229,13 @@ This copier can be customized. status collapsed \begin_layout Plain Layout + +\change_inserted -712698321 1437634589 +LyX +\change_deleted -712698321 1437634588 \SpecialChar LyX + +\change_unchanged conv \end_layout @@ -2192,7 +2260,13 @@ status collapsed status collapsed \begin_layout Plain Layout -/path/to/filename.html.\SpecialChar LyX +/path/to/filename.html. +\change_deleted -712698321 1437634593 +\SpecialChar LyX + +\change_inserted -712698321 1437634595 +LyX +\change_unchanged conv \end_layout @@ -3218,7 +3292,13 @@ po \end_inset --file could be added to the \SpecialChar LyX + +\change_inserted -712698321 1437634626 + +\change_deleted -712698321 1437634624 +- +\change_unchanged +file could be added to the \SpecialChar LyX distribution, so others can use it. Adding it involves making additional changes to \SpecialChar LyX . @@ -3379,7 +3459,13 @@ As of March 2008, at least some of the documents have been translated into status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634637 \SpecialChar LyX + +\change_inserted -712698321 1437634639 +LyX +\change_unchanged Dir/doc/xx/DocName.lyx \end_layout @@ -3491,7 +3577,13 @@ UserDir/doc/xx/ \begin_layout Itemize Sometimes the original document (from the \SpecialChar LyX --team) will be updated. + +\change_inserted -712698321 1437634643 + +\change_deleted -712698321 1437634643 +- +\change_unchanged +team) will be updated. Use the source viewer at \begin_inset CommandInset href LatexCommand href @@ -6161,7 +6253,13 @@ status collapsed \backslash Programs \backslash -MiK\SpecialChar TeX +MiK +\change_deleted -712698321 1437634323 +\SpecialChar TeX + +\change_inserted -712698321 1437634327 +TeX +\change_unchanged \backslash tex @@ -6186,7 +6284,13 @@ status collapsed \backslash Programme \backslash -MiK\SpecialChar TeX +MiK +\change_deleted -712698321 1437634336 +\SpecialChar TeX + +\change_inserted -712698321 1437634337 +TeX +\change_unchanged \backslash tex @@ -6277,7 +6381,13 @@ status open status collapsed \begin_layout Plain Layout -MiK\SpecialChar TeX +MiK +\change_deleted -712698321 1437634345 +\SpecialChar TeX + +\change_inserted -712698321 1437634347 +TeX +\change_unchanged \backslash 2.8 @@ -6314,7 +6424,13 @@ Roaming \backslash 2.8 \backslash -MiK\SpecialChar TeX +MiK +\change_inserted -712698321 1437634351 +TeX +\change_deleted -712698321 1437634351 +\SpecialChar TeX + +\change_unchanged \backslash tex @@ -6426,6 +6542,8 @@ Slides \end_inset (FoilTe +\change_deleted -712698321 1437634694 + \begin_inset ERT status collapsed @@ -6436,6 +6554,8 @@ status collapsed \end_inset + +\change_unchanged x) \end_layout @@ -7120,7 +7240,13 @@ myclass.sty \begin_layout LyX-Code # \backslash -Declare\SpecialChar LyX +Declare +\change_deleted -712698321 1437634736 +\SpecialChar LyX + +\change_inserted -712698321 1437634737 +LyX +\change_unchanged Module{My Package} \end_layout @@ -7395,7 +7521,13 @@ UserDir/templates/ status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634751 \SpecialChar LyX + +\change_inserted -712698321 1437634752 +LyX +\change_unchanged Dir/templates/ \end_layout @@ -7518,7 +7650,13 @@ Call the command status collapsed \begin_layout Plain Layout -python \SpecialChar LyX +python +\change_deleted -712698321 1437634764 +\SpecialChar LyX + +\change_inserted -712698321 1437634766 +LyX +\change_unchanged Dir/scripts/layout2layout.py myclass.old myclass.layout \end_layout @@ -7533,7 +7671,13 @@ where status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634771 \SpecialChar LyX + +\change_inserted -712698321 1437634772 +LyX +\change_unchanged Dir \end_layout @@ -7688,6 +7832,8 @@ status collapsed # \backslash DeclareLaT +\change_deleted -712698321 1437634362 + \size default \begin_inset ERT @@ -7701,6 +7847,8 @@ status collapsed \end_inset +\change_unchanged + \size small eXClass{Article (Standard Class)} \end_layout @@ -7982,6 +8130,8 @@ Article (with My Own Headings) # \backslash DeclareLaT +\change_deleted -712698321 1437634376 + \size default \begin_inset ERT @@ -7995,6 +8145,8 @@ status collapsed \end_inset +\change_unchanged + \size small eXClass[article,foo.sty]{Article (with My Own Headings)} \end_layout @@ -8060,6 +8212,8 @@ So, to be as explicit as possible, the form of the layout declaration is: # \backslash DeclareLaT +\change_deleted -712698321 1437634381 + \size default \begin_inset ERT @@ -8073,6 +8227,8 @@ status collapsed \end_inset +\change_unchanged + \size small eXClass[class,package.sty]{layout description} \end_layout @@ -8101,7 +8257,13 @@ When the text class has been modified to your taste, all you have to do status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634783 \SpecialChar LyX + +\change_inserted -712698321 1437634784 +LyX +\change_unchanged Dir/layouts/ \end_layout @@ -8248,6 +8410,8 @@ A module must begin with a line like the following: # \backslash DeclareL +\change_deleted -712698321 1437634801 + \begin_inset ERT status collapsed @@ -8258,6 +8422,8 @@ status collapsed \end_inset + +\change_unchanged yXModule[endnotes.sty]{Endnotes} \end_layout @@ -8342,7 +8508,13 @@ 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 +theendnotes in +\change_deleted -712698321 1437634393 +\SpecialChar TeX + +\change_inserted -712698321 1437634395 +TeX +\change_unchanged code where you \end_layout @@ -10043,6 +10215,24 @@ reference "chap:List-of-functions" \end_inset for the list of features.) +\change_inserted -712698321 1438601536 +. + If you require a package with specific options, you can additionally use + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted -712698321 1438601526 +PackageOptions +\end_layout + +\end_inset + +. +\change_unchanged + \end_layout \begin_layout Description @@ -11434,7 +11624,7 @@ status collapsed \end_inset -, this argument will bei inserted with a copy of the co-text (either selected +, this argument will be inserted with a copy of the co-text (either selected text or the whole paragraph) as content. \end_layout @@ -14703,8 +14893,14 @@ string \end_inset + +\change_deleted -712698321 1438601713 . - See the description of + +\change_unchanged + +\change_deleted -712698321 1438601638 +See the description of \begin_inset Flex Code status collapsed @@ -14722,6 +14918,42 @@ reference "subsec:General-text-class" \end_inset ) for information on `features'. +\change_inserted -712698321 1438601711 +(see +\begin_inset CommandInset ref +LatexCommand ref +reference "chap:List-of-functions" + +\end_inset + + for the list of features). + If you require a package with specific options, you can additionally use + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted -712698321 1438601638 +PackageOptions +\end_layout + +\end_inset + + as a general text class parameter (see sec. +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:General-text-class" + +\end_inset + +). +\change_unchanged + \end_layout \begin_layout Description @@ -17077,7 +17309,13 @@ also include a status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634848 \SpecialChar LyX + +\change_inserted -712698321 1437634847 +LyX +\change_unchanged Type \end_layout @@ -18626,7 +18864,13 @@ end status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634857 \SpecialChar LyX + +\change_inserted -712698321 1437634858 +LyX +\change_unchanged Type \end_layout @@ -18682,7 +18926,13 @@ after status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634864 \SpecialChar LyX + +\change_inserted -712698321 1437634865 +LyX +\change_unchanged Type \end_layout @@ -22958,7 +23208,13 @@ The external templates are defined in the status collapsed \begin_layout Plain Layout + +\change_deleted -712698321 1437634905 \SpecialChar LyX + +\change_inserted -712698321 1437634906 +LyX +\change_unchanged Dir/lib/external_templates \end_layout @@ -23518,14 +23774,26 @@ Format \change_inserted -195340706 1437418821 -LATeX +L +\change_inserted -712698321 1437634430 +a +\change_deleted -712698321 1437634429 +A +\change_inserted -195340706 1437418821 +TeX \change_deleted -195340706 1437418827 \SpecialChar LaTeX \change_unchanged |PDF \change_inserted -195340706 1437418856 -LATeX +L +\change_inserted -712698321 1437634432 +a +\change_deleted -712698321 1437634432 +A +\change_inserted -195340706 1437418856 +TeX \change_deleted -195340706 1437418857 \SpecialChar LaTeX @@ -24112,6 +24380,52 @@ $$Extension \end_inset The file extension (including the dot). +\change_inserted -195340706 1437418878 + +\end_layout + +\begin_layout Description + +\change_inserted -195340706 1437418878 +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted -195340706 1437418878 +$$pngOrjpg +\end_layout + +\end_inset + + This will be the string +\begin_inset Quotes eld +\end_inset + +jpg +\begin_inset Quotes erd +\end_inset + + if the file is in JPEG format, otherwise it will be the string +\begin_inset Quotes eld +\end_inset + +png +\begin_inset Quotes erd +\end_inset + +. + This is useful to avoid uneeded conversions for output formats that support + both PNG and JPEG fomats. + The predefined RasterImage template uses this macro for the PDFL +\change_deleted -712698321 1437634446 +A +\change_inserted -712698321 1437634446 +a +\change_inserted -195340706 1437418878 +TeX output format. +\change_unchanged + \end_layout \begin_layout Description