mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +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
)
39 lines
636 B
HTML
39 lines
636 B
HTML
# 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 64
|
|
|
|
ModifyStyle Part
|
|
RefPrefix part
|
|
End
|
|
|
|
ModifyStyle Chapter
|
|
RefPrefix chap
|
|
End
|
|
|
|
ModifyStyle Section
|
|
RefPrefix sec
|
|
End
|
|
|
|
ModifyStyle Subsection
|
|
RefPrefix subsec
|
|
End
|
|
|
|
ModifyStyle Subsubsection
|
|
RefPrefix subsec
|
|
End
|
|
|
|
ModifyStyle Paragraph
|
|
RefPrefix par
|
|
End
|
|
|
|
ModifyStyle Subparagraph
|
|
RefPrefix par
|
|
End
|