mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
5c54557350
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.
19 lines
353 B
Plaintext
19 lines
353 B
Plaintext
#\DeclareLyXModule{Number Tables by Section}
|
|
#DescriptionBegin
|
|
#Resets the table number at section start and prepends
|
|
#the section number to the table number, as in 'Table 2.1'.
|
|
#DescriptionEnd
|
|
|
|
Format 64
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{table}{section}
|
|
EndPreamble
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin section
|
|
End
|