lyx_mirror/lib/layouts/stdfloats.inc
Jean-Marc Lasgouttes 5c54557350 Honor trailing spaces in LabelString and friends
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.
2017-08-31 13:59:37 +02:00

70 lines
1.5 KiB
HTML

# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
# This include file contains all the floats that are defined as standard
# in most LyX layouts.
Format 64
Input stdfloatnames.inc
Float
Type table
GuiName Table
Placement tbp
Extension lot
NumberWithin none
Style plain
ListName "List of Tables"
IsPredefined true
UsesFloatPkg false
ListCommand listoftables
RefPrefix tab
End
Float
Type figure
GuiName Figure
Placement tbp
Extension lof
NumberWithin none
Style plain
ListName "List of Figures"
IsPredefined true
UsesFloatPkg false
ListCommand listoffigures
RefPrefix fig
End
Float
Type algorithm
GuiName Algorithm
Placement tbp
Extension loa
NumberWithin none
Style ruled
ListName "List of Algorithms"
IsPredefined false
UsesFloatPkg true
RefPrefix alg
End
InsetLayout FloatList
HTMLTag h2
HTMLStyle
a.lyxtoc-floats {
text-decoration: none;
color: black;
}
a.lyxtoc-floats:visited { color: black; }
div.lyxtoc-floats {
margin: 0em 0em 0.1em 1em;
font-size: large;
font-weight: normal;
}
EndHTMLStyle
End