[LyX/master] Fix counter docs
Richard Kimberly Heck
rikiheck at lyx.org
Tue Oct 13 20:50:03 UTC 2020
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Mon Oct 12 18:14:40 2020 -0400
Fix counter docs
lib/doc/UserGuide.lyx | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index 17a1cb8..2a333d2 100644
@@ -8750,14 +8750,12 @@ Verbatim
This is Verbatim.
The following 2 lines are empty:
@@ -8770,7 +8768,6 @@ The following 2 lines are empty:
Almost everything is allowed in Verbatim:"%&$§#~'`
@@ -8794,7 +8791,6 @@ Verbatim
This is Verbatim*.
@@ -30492,19 +30488,34 @@ name "sec:Counters"
-\change_inserted -584632292 1588374084
+\change_inserted -584632292 1602541139
One powerful feature of \SpecialChar LaTeX
is its ability to manage counters.
Mostly, this is handled automatically, but there are times one wants to
modify counters directly.
This can be done in LyX using the counter inset, which is accessible from
- the Insert menu.
- This allows one to set a counter's value; to reset it (to zero); to add
- to the value (or subtract from it, since the value added can be negative);
- to save it; to restore the saved value; and to print the value.
+ the Edit menu.
+ This allows one to set a counter's value; to reset it (to zero);
+\begin_layout Plain Layout
+\change_inserted -584632292 1602541231
+Note that the section counter, e.g., starts with its value at zero and then
+ is incremented to one when the first section is created.
+ So, if you want the next section to be section five, say, then you need
+ to set the section counter to four.
+ to add to the value (or subtract from it, since the value added can be
+ negative); to save it; to restore the saved value; and to print the value.
These effects can also be limited to LyX itself.
And they will appear in HTML and DocBook output, as well as in LaTeX.
More information about the lyx-cvs