mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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}",
|
||||
"chapter" : "\\arabic{chapter}",
|
||||
"section" : "\\arabic{section}",
|
||||
"subsection" : "@Section@.\\arabic{subsection}",
|
||||
"subsubsection" : "@Subsection@.\\arabic{subsubsection}",
|
||||
"paragraph" : "@Subsubsection@.\\arabic{paragraph}",
|
||||
"subparagraph" : "@Paragraph@.\\arabic{subparagraph}"}
|
||||
"subsection" : "\\arabic{section}.\\arabic{subsection}",
|
||||
"subsubsection" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}",
|
||||
"paragraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}",
|
||||
"subparagraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}.\\arabic{subparagraph}"}
|
||||
|
||||
# counters for sectioning styles in appendix (hardcoded in 1.3)
|
||||
appendixcounters = {"chapter" : "\\Alph{chapter}",
|
||||
"section" : "\\Alph{section}",
|
||||
"subsection" : "@Section@.\\arabic{subsection}",
|
||||
"subsubsection" : "@Subsection@.\\arabic{subsubsection}",
|
||||
"paragraph" : "@Subsubsection@.\\arabic{paragraph}",
|
||||
"subparagraph" : "@Paragraph@.\\arabic{subparagraph}"}
|
||||
"subsection" : "\\arabic{section}.\\arabic{subsection}",
|
||||
"subsubsection" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}",
|
||||
"paragraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}",
|
||||
"subparagraph" : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}.\\arabic{subparagraph}"}
|
||||
|
||||
# Value of TocLevel for sectioning styles
|
||||
toclevels = {"part" : 0,
|
||||
|
Loading…
Reference in New Issue
Block a user