]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Customization.lyx
Update gen_lfuns.py to current format
[lyx.git] / lib / doc / Customization.lyx
index 191903915ad12b92aeb3516775f4796d2cc14100..149590ff19ca9e9dec92c6bfec2f850ec1082271 100644 (file)
@@ -1,8 +1,9 @@
 #LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 503
+\lyxformat 508
 \begin_document
 \begin_header
-\origin unavailable
+\save_transient_properties true
+\origin /systemlyxdir/doc/
 \textclass scrbook
 \begin_preamble
 % DO NOT ALTER THIS PREAMBLE!!!
 % 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
@@ -54,9 +46,9 @@ logicalmkup
 \language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman "default" "default"
-\font_sans "default" "default"
-\font_typewriter "default" "default"
+\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
@@ -65,7 +57,7 @@ logicalmkup
 \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
@@ -107,6 +99,7 @@ logicalmkup
 \suppress_date false
 \justification true
 \use_refstyle 0
+\notefontcolor #0000ff
 \branch OutDated
 \selected 0
 \filename_suffix 0
@@ -1799,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
@@ -2962,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
 
@@ -3067,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
@@ -3448,6 +3454,43 @@ 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
@@ -5982,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
 
 
@@ -6058,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
@@ -6078,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
 
 .
@@ -6133,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.
@@ -6290,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
 
 
@@ -8375,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
@@ -9088,49 +9146,6 @@ reference "subsec: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
-<style>
-\end_layout
-
-\end_inset
-
-] Modifies the properties of the given paragraph style.
- If the style does not exist, the statement is ignored.
- Must end with 
-\begin_inset Quotes eld
-\end_inset
-
-
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-End
-\end_layout
-
-\end_inset
-
-
-\begin_inset Quotes erd
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
-
 \begin_layout Plain Layout
 Input
 \end_layout
@@ -9273,6 +9288,49 @@ MMMMM
 \begin_inset Flex Code
 status collapsed
 
+\begin_layout Plain Layout
+ModifyStyle
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+<style>
+\end_layout
+
+\end_inset
+
+] Modifies the properties of the given paragraph style.
+ If the style does not exist, this section is ignored.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+End
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
 \begin_layout Plain Layout
 NoCounter
 \end_layout
@@ -9875,6 +9933,49 @@ DefaultModule
 \begin_inset Flex Code
 status collapsed
 
+\begin_layout Plain Layout
+ProvideStyle
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+<style>
+\end_layout
+
+\end_inset
+
+] Creates a new paragraph style if it does not already exist.
+ If the style does exist, this section is ignored.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+End
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
 \begin_layout Plain Layout
 Requires
 \end_layout
@@ -10658,7 +10759,7 @@ EndArgument
 
 .
  So a command with two optional arguments has:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -11465,7 +11566,7 @@ Argument item:1
 
 \end_inset
 
-)
+).
 \end_layout
 
 \end_deeper
@@ -11939,7 +12040,7 @@ ForceLocal
 
 \end_inset
 
- is a version number: If the style is read, and the version number is less
+ is a version number: if the style is read, and the version number is less
  than the version number of the already existing style in the document class,
  the new style is ignored.
  If the version number is greater, the new style replaces the existing style.
@@ -12802,7 +12903,7 @@ Itemize, Bibliography
 \end_inset
 
 ]
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -13230,7 +13331,7 @@ LatexType
 \end_inset
 
 
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -13439,8 +13540,8 @@ Environment
 
 \end_inset
 
- but adds additionally the necessary mandatory argument (the longest label)
to the begin statement of the bibliography environment:
+ but adds the necessary mandatory argument (the longest label) to the begin
+ statement of the bibliography environment:
 \begin_inset Newline newline
 \end_inset
 
@@ -13456,6 +13557,7 @@ begin{thebibliography}{99}
 
 \end_inset
 
+.
  It is therefore only useful for bibliography environments.
  The default longest label 
 \begin_inset Quotes eld
@@ -13693,7 +13795,7 @@ Static
 \end_inset
 
 The kind of margin that the style has on the left side.
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -15092,7 +15194,7 @@ theorems-ams.inc
 
 \begin_layout LyX-Code
 Preamble
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -18174,7 +18276,7 @@ LatexType
 \end_inset
 
 
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -19170,7 +19272,7 @@ LabelStringAppendix
 
  to the same value.
  The following special constructs can be used in the string:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -19713,6 +19815,116 @@ yellow
 
 \end_inset
 
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+brown
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+darkgray
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+gray
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+lightgray
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+lime
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+orange
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+olive
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+pink
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+purple
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+teal
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+violet
+\end_layout
+
+\end_inset
+
 ]
 \end_layout
 
@@ -20229,7 +20441,7 @@ misc %author%,
 \begin_inset Quotes eld
 \end_inset
 
-%title
+%title%
 \begin_inset Quotes erd
 \end_inset
 
@@ -25326,7 +25538,7 @@ branchlabel Label color for branches
 \end_layout
 
 \begin_layout Description
-buttonbg Color used for bottom background
+buttonbg Color used for button background
 \end_layout
 
 \begin_layout Description