mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
*lib/scripts/layout2layout.py: Fix section labelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13588 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b8617a4d56
commit
9031ce6395
@ -82,18 +82,18 @@ def convert(lines):
|
|||||||
counters = {"part" : "\\Roman{part}",
|
counters = {"part" : "\\Roman{part}",
|
||||||
"chapter" : "\\arabic{chapter}",
|
"chapter" : "\\arabic{chapter}",
|
||||||
"section" : "\\arabic{section}",
|
"section" : "\\arabic{section}",
|
||||||
"subsection" : "@Section@.\\arabic{subsection}",
|
"subsection" : "\\arabic{section}.\\arabic{subsection}",
|
||||||
"subsubsection" : "@Subsection@.\\arabic{subsubsection}",
|
"subsubsection" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}",
|
||||||
"paragraph" : "@Subsubsection@.\\arabic{paragraph}",
|
"paragraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}",
|
||||||
"subparagraph" : "@Paragraph@.\\arabic{subparagraph}"}
|
"subparagraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}.\\arabic{subparagraph}"}
|
||||||
|
|
||||||
# counters for sectioning styles in appendix (hardcoded in 1.3)
|
# counters for sectioning styles in appendix (hardcoded in 1.3)
|
||||||
appendixcounters = {"chapter" : "\\Alph{chapter}",
|
appendixcounters = {"chapter" : "\\Alph{chapter}",
|
||||||
"section" : "\\Alph{section}",
|
"section" : "\\Alph{section}",
|
||||||
"subsection" : "@Section@.\\arabic{subsection}",
|
"subsection" : "\\arabic{section}.\\arabic{subsection}",
|
||||||
"subsubsection" : "@Subsection@.\\arabic{subsubsection}",
|
"subsubsection" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}",
|
||||||
"paragraph" : "@Subsubsection@.\\arabic{paragraph}",
|
"paragraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}",
|
||||||
"subparagraph" : "@Paragraph@.\\arabic{subparagraph}"}
|
"subparagraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}.\\arabic{subparagraph}"}
|
||||||
|
|
||||||
# Value of TocLevel for sectioning styles
|
# Value of TocLevel for sectioning styles
|
||||||
toclevels = {"part" : 0,
|
toclevels = {"part" : 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user