]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Customization.lyx
Docs for IfStyle and IfCounter
[lyx.git] / lib / doc / Customization.lyx
index 47aff0be5c2a096d7f99ac10353b712da1ed548c..b209b399a5004a6a0f0938046cbff1b7cbb191ed 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 362
+\lyxformat 369
 \begin_document
 \begin_header
 \textclass scrbook
@@ -103,22 +103,19 @@ End
 \paperorientation portrait
 \branch OutDated
 \selected 0
+\filename_suffix 0
 \color #f5fae7
 \end_branch
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
-\defskip medskip
+\paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 2
 \paperpagestyle headings
-\tracking_changes true
+\tracking_changes false
 \output_changes false
-\author "" 
-\author "" 
-\author "Jean-Marc Lasgouttes" 
-\author "Georg Baum" 
 \end_header
 
 \begin_body
@@ -5937,13 +5934,7 @@ Settings
 \end_inset
 
 .
-\change_inserted 2 1243500588
-
-\end_layout
-
-\begin_layout Standard
-The argument in square brackets is optional: It declares any LaTeX packages
+ 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.
@@ -5957,15 +5948,11 @@ The list of such packages is documented only in the source code.
 \end_inset
 
  LyX will not check for arbitrary packages.
-
-\change_inserted 2 1243500694
  It is also possible to use the form 
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1243500706
 from->to
 \end_layout
 
@@ -5973,8 +5960,6 @@ from->to
 
 , which declares that the module can only be used when there exists a conversion
  chain between formats `from' and `to'.
-\change_unchanged
-
 \end_layout
 
 \begin_layout Standard
@@ -6908,19 +6893,19 @@ Counter
 
 \end_inset
 
- This sequence defines a new counter.
- See Section
-\begin_inset space ~
-\end_inset
-
+ [
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Counters"
+\begin_layout Plain Layout
+string
+\end_layout
 
 \end_inset
 
- for details.
+] This sequence defines the properties for a counter.
+ If the counter does not yet exist, it is created; if it does exist, it
+ is modified.
  Must end with 
 \begin_inset Quotes eld
 \end_inset
@@ -6940,6 +6925,21 @@ End
 \end_inset
 
 .
+\begin_inset Newline newline
+\end_inset
+
+See Section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Counters"
+
+\end_inset
+
+ for details on counters.
 \end_layout
 
 \begin_layout Description
@@ -7155,6 +7155,92 @@ End
 \end_inset
 
 
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+IfCounter
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+] Modifies the properties of the given counter.
+ If the counter does not exist, the section is ignored.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex CharStyle: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 CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+IfStyle
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+] Modifies the properties of the given paragraph style.
+ If the style does not exist, the section is ignored.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+End
+\end_layout
+
+\end_inset
+
+
 \begin_inset Quotes erd
 \end_inset
 
@@ -7297,27 +7383,6 @@ NoStyle
 status collapsed
 
 \begin_layout Plain Layout
-OutputType
-\end_layout
-
-\end_inset
-
- A string indicating what sort of output documents using this class will
- produce.
- At present, the options are: `docbook', `latex', and `literate'.
-\change_inserted 2 1243500198
-
-\end_layout
-
-\begin_layout Description
-
-\change_inserted 2 1243500505
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-
-\change_inserted 2 1243500208
 OutputFormat
 \end_layout
 
@@ -7330,8 +7395,6 @@ OutputFormat
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1243500394
 OutputType
 \end_layout
 
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1243500473
 OutputType
 \end_layout
 
 \end_inset
 
  parameter is encountered.
-\change_unchanged
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex CharStyle:Code
+status collapsed
 
+\begin_layout Plain Layout
+OutputType
+\end_layout
+
+\end_inset
+
+ A string indicating what sort of output documents using this class will
+ produce.
+ At present, the options are: `docbook', `latex', and `literate'.
 \end_layout
 
 \begin_layout Description
@@ -7784,21 +7858,9 @@ Style
 
 \end_inset
 
- This sequence defines a new paragraph style.
- If the style already exists, it will redefine some of its parameters instead.
- See Section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Paragraph-Styles"
-
-\end_inset
-
- for details.
- Must end with 
+ This sequence defines a paragraph style.
+ If the style does not yet exist, it is created; if it does exist, its parameter
+s are redefined Must end with 
 \begin_inset Quotes eld
 \end_inset
 
@@ -7817,6 +7879,21 @@ End
 \end_inset
 
 .
+\begin_inset Newline newline
+\end_inset
+
+See Section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Paragraph-Styles"
+
+\end_inset
+
+ for details on paragraph styles.
 \end_layout
 
 \begin_layout Description
@@ -11375,11 +11452,7 @@ string
 \end_inset
 
 ] The string that will be used in the menus and also for the caption.
-
-\change_inserted 3 1244364642
  This is translated to the current language if babel is used.
-\change_unchanged
-
 \end_layout
 
 \begin_layout Description
@@ -11477,11 +11550,7 @@ string
 \end_inset
 
 ] The heading used for the list of floats.
-
-\change_inserted 3 1244364301
  This is translated to the document language.
-\change_unchanged
-
 \end_layout
 
 \begin_layout Description
@@ -12196,7 +12265,6 @@ URL
 \end_inset
 
 .
 \end_layout
 
 \begin_layout Enumerate