mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Move the RefPrefix definitions to their own file, for easy inclusion in
other layouts. Also fix up some of those layotus. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33836 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c0f4aa8c4b
commit
b30f7c3e9e
@ -1135,6 +1135,7 @@ dist_layouts_DATA =\
|
|||||||
layouts/stdlayouts.inc \
|
layouts/stdlayouts.inc \
|
||||||
layouts/stdletter.inc \
|
layouts/stdletter.inc \
|
||||||
layouts/stdlists.inc \
|
layouts/stdlists.inc \
|
||||||
|
layouts/stdrefprefix.inc \
|
||||||
layouts/stdsections.inc \
|
layouts/stdsections.inc \
|
||||||
layouts/stdstarsections.inc \
|
layouts/stdstarsections.inc \
|
||||||
layouts/stdstruct.inc \
|
layouts/stdstruct.inc \
|
||||||
|
@ -123,6 +123,7 @@ Style Part
|
|||||||
Align Center
|
Align Center
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "Part"
|
LabelString "Part"
|
||||||
|
RefPrefix part
|
||||||
|
|
||||||
# standard font definition
|
# standard font definition
|
||||||
Font
|
Font
|
||||||
@ -154,6 +155,7 @@ Style Section
|
|||||||
LabelType Counter
|
LabelType Counter
|
||||||
LabelCounter section
|
LabelCounter section
|
||||||
LabelString "Section \arabic{section}"
|
LabelString "Section \arabic{section}"
|
||||||
|
RefPrefix sec
|
||||||
OptionalArgs 1
|
OptionalArgs 1
|
||||||
|
|
||||||
Font
|
Font
|
||||||
@ -196,6 +198,7 @@ Style Subsection
|
|||||||
LabelType Counter
|
LabelType Counter
|
||||||
LabelCounter subsection
|
LabelCounter subsection
|
||||||
LabelString "Subsection \arabic{section}.\arabic{subsection}"
|
LabelString "Subsection \arabic{section}.\arabic{subsection}"
|
||||||
|
RefPrefix sub
|
||||||
OptionalArgs 1
|
OptionalArgs 1
|
||||||
|
|
||||||
# standard font definition
|
# standard font definition
|
||||||
@ -1235,4 +1238,3 @@ Preamble
|
|||||||
\def\gobbletableofcontents#1{\origtableofcontents}
|
\def\gobbletableofcontents#1{\origtableofcontents}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
|
||||||
|
@ -656,3 +656,4 @@ Input stdinsets.inc
|
|||||||
Input stdfloats.inc
|
Input stdfloats.inc
|
||||||
Input numarticle.inc
|
Input numarticle.inc
|
||||||
Input stdcounters.inc
|
Input stdcounters.inc
|
||||||
|
Input stdrefprefix.inc
|
||||||
|
@ -239,4 +239,3 @@ Style Acknowledgements
|
|||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -130,6 +130,7 @@ Input stdlayouts.inc
|
|||||||
Input stdfloats.inc
|
Input stdfloats.inc
|
||||||
Input stdcounters.inc
|
Input stdcounters.inc
|
||||||
Input stdinsets.inc
|
Input stdinsets.inc
|
||||||
|
Input stdrefprefix.inc
|
||||||
|
|
||||||
|
|
||||||
Style Title
|
Style Title
|
||||||
|
38
lib/layouts/stdrefprefix.inc
Normal file
38
lib/layouts/stdrefprefix.inc
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Standard RefPrefix definitions.
|
||||||
|
# This defines the label prefixes for use with refstyle.sty.
|
||||||
|
#
|
||||||
|
# Author: Richard Heck <rgheck@comcast.net>
|
||||||
|
#
|
||||||
|
# Note that this file is included in stdsections.inc, which is included
|
||||||
|
# in stdclass.inc, so any file that includes either of these will get
|
||||||
|
# the standard RefPrefix definitions.
|
||||||
|
|
||||||
|
Format 25
|
||||||
|
|
||||||
|
IfStyle Part
|
||||||
|
RefPrefix part
|
||||||
|
End
|
||||||
|
|
||||||
|
IfStyle Chapter
|
||||||
|
RefPrefix chap
|
||||||
|
End
|
||||||
|
|
||||||
|
IfStyle Section
|
||||||
|
RefPrefix sec
|
||||||
|
End
|
||||||
|
|
||||||
|
IfStyle Subsection
|
||||||
|
RefPrefix sub
|
||||||
|
End
|
||||||
|
|
||||||
|
IfStyle Subsubsection
|
||||||
|
RefPrefix sub
|
||||||
|
End
|
||||||
|
|
||||||
|
IfStyle Paragraph
|
||||||
|
RefPrefix par
|
||||||
|
End
|
||||||
|
|
||||||
|
IfStyle Subparagraph
|
||||||
|
RefPrefix par
|
||||||
|
End
|
@ -26,7 +26,6 @@ Style Part
|
|||||||
BottomSep 4
|
BottomSep 4
|
||||||
ParSep 0.8
|
ParSep 0.8
|
||||||
Align Center
|
Align Center
|
||||||
RefPrefix part
|
|
||||||
Alignpossible Center
|
Alignpossible Center
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
@ -54,7 +53,6 @@ Style Chapter
|
|||||||
ParSep 0.8
|
ParSep 0.8
|
||||||
Align Block
|
Align Block
|
||||||
OptionalArgs 1
|
OptionalArgs 1
|
||||||
RefPrefix cha
|
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Huge
|
Size Huge
|
||||||
@ -80,7 +78,6 @@ Style Section
|
|||||||
ParSep 0.7
|
ParSep 0.7
|
||||||
Align Block
|
Align Block
|
||||||
OptionalArgs 1
|
OptionalArgs 1
|
||||||
RefPrefix sec
|
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Larger
|
Size Larger
|
||||||
@ -101,7 +98,6 @@ Style Subsection
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Large
|
Size Large
|
||||||
EndFont
|
EndFont
|
||||||
RefPrefix sub
|
|
||||||
HTMLTag h3
|
HTMLTag h3
|
||||||
End
|
End
|
||||||
|
|
||||||
@ -117,7 +113,6 @@ Style Subsubsection
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
RefPrefix sub
|
|
||||||
HTMLTag h4
|
HTMLTag h4
|
||||||
End
|
End
|
||||||
|
|
||||||
@ -129,7 +124,6 @@ Style Paragraph
|
|||||||
LatexName paragraph
|
LatexName paragraph
|
||||||
TopSep 0.4
|
TopSep 0.4
|
||||||
BottomSep 0
|
BottomSep 0
|
||||||
RefPrefix par
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -140,7 +134,7 @@ Style Subparagraph
|
|||||||
LatexName subparagraph
|
LatexName subparagraph
|
||||||
NextNoIndent 0
|
NextNoIndent 0
|
||||||
LeftMargin MM
|
LeftMargin MM
|
||||||
RefPrefix subp
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
Input stdrefprefix.inc
|
||||||
Input numarticle.inc
|
Input numarticle.inc
|
||||||
|
@ -57,6 +57,7 @@ Style Chapter
|
|||||||
BottomSep 0.8
|
BottomSep 0.8
|
||||||
ParSep 0.8
|
ParSep 0.8
|
||||||
Align Block
|
Align Block
|
||||||
|
RefPrefix chap
|
||||||
OptionalArgs 1
|
OptionalArgs 1
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
@ -80,6 +81,7 @@ Style Section
|
|||||||
BottomSep 0.7
|
BottomSep 0.7
|
||||||
ParSep 0.7
|
ParSep 0.7
|
||||||
Align Block
|
Align Block
|
||||||
|
RefPrefix sec
|
||||||
OptionalArgs 1
|
OptionalArgs 1
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
@ -94,6 +96,7 @@ Style Subsection
|
|||||||
TopSep 0.9
|
TopSep 0.9
|
||||||
BottomSep 0.5
|
BottomSep 0.5
|
||||||
ParSep 0.5
|
ParSep 0.5
|
||||||
|
RefPrefix sub
|
||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
Size Large
|
Size Large
|
||||||
|
Loading…
Reference in New Issue
Block a user