mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +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
)
30 lines
503 B
Plaintext
30 lines
503 B
Plaintext
#\DeclareLyXModule{Minimalistic}
|
|
#DescriptionBegin
|
|
# Redefines several insets (Index, Branch, URL) as being Minimalistic.
|
|
#DescriptionEnd
|
|
|
|
Format 64
|
|
|
|
InsetLayout Index
|
|
Decoration minimalistic
|
|
Font
|
|
Color Green
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Color Green
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Branch
|
|
Decoration minimalistic
|
|
End
|
|
|
|
InsetLayout URL
|
|
Decoration minimalistic
|
|
LabelString URL
|
|
End
|
|
|
|
|