mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +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
)
42 lines
660 B
HTML
42 lines
660 B
HTML
# Author : André Pönitz
|
|
# This include file contains label definitions for a report-like numbering.
|
|
|
|
Format 64
|
|
|
|
Counter chapter
|
|
Within ""
|
|
LabelString "\arabic{chapter}"
|
|
LabelStringAppendix "\Alph{chapter}"
|
|
End
|
|
|
|
Counter section
|
|
Within chapter
|
|
LabelString ""
|
|
End
|
|
|
|
Float
|
|
Type table
|
|
NumberWithin chapter
|
|
End
|
|
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin chapter
|
|
End
|
|
|
|
|
|
Float
|
|
Type algorithm
|
|
NumberWithin chapter
|
|
End
|
|
|
|
Counter listing
|
|
Within chapter
|
|
End
|
|
|
|
Counter footnote
|
|
Within chapter
|
|
LabelString "\arabic{footnote}"
|
|
End
|