mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 15:45:43 +00:00
b92ceba9a1
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.
To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).
It is now possible to re-add spaces in label strings where it makes
sense.
Fixes bug #10723.
(cherry picked from commit 5c54557350
)
85 lines
2.1 KiB
HTML
85 lines
2.1 KiB
HTML
# Standard textclass definition file. Taken from initial LyX source code
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
|
# Heavily modifed and enhanced by several developers.
|
|
# Title definitions moved to stdtitle.inc by Hartmut Goebel <harmut@noris.net>
|
|
|
|
# This include files contains all layouts that handle the structure of
|
|
# a document, like abstract, bibliography and such.
|
|
|
|
|
|
Format 64
|
|
Style Abstract
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
NextNoIndent 1
|
|
ToggleIndent Always
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
LabelType Centered
|
|
LabelString "Abstract"
|
|
LabelBottomSep 0.5
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
HTMLLabelFirst 1
|
|
HTMLForceCSS 1
|
|
HTMLStyle
|
|
div.abstract {
|
|
margin: 4ex;
|
|
}
|
|
div.abstract_item {
|
|
font-size: small;
|
|
padding-top: 1ex;
|
|
}
|
|
div.abstract_label {
|
|
font-weight: bold;
|
|
}
|
|
EndHTMLStyle
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Margin First_Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
Category BackMatter
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MM
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Bibliography
|
|
LabelString "References"
|
|
LabelBottomSep 1.2
|
|
LabelFont
|
|
Series Bold
|
|
Size Larger
|
|
EndFont
|
|
HTMLStyle
|
|
div.bibliography {
|
|
margin-left: 2em;
|
|
text-indent: -2em;
|
|
}
|
|
span.bibitemlabel:before { content: "["; }
|
|
span.bibitemlabel:after { content: "] "; }
|
|
EndHTMLStyle
|
|
End
|