mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +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
)
55 lines
1.3 KiB
HTML
55 lines
1.3 KiB
HTML
# Literate Chunk inset definitions.
|
|
# This defines the Chunk inset used in the literate modules.
|
|
#
|
|
# Author: Liviu Andronic <landronimirc@gmail.com>
|
|
#
|
|
# Note that this file is included in sweave.module,
|
|
# knitr.module and noweb.module.
|
|
|
|
Format 64
|
|
|
|
Counter chunk
|
|
PrettyFormat "Chunk ##"
|
|
End
|
|
|
|
OutlinerName literate "Literate programming"
|
|
|
|
InsetLayout "Flex:Chunk"
|
|
LabelString "Chunk"
|
|
LatexType none
|
|
LyXType Custom
|
|
Counter chunk
|
|
RightDelim <br/>@
|
|
Decoration Classic
|
|
Font
|
|
Color latex
|
|
Family typewriter
|
|
EndFont
|
|
# LabelFont
|
|
# Color latex
|
|
# Size Small
|
|
# EndFont
|
|
MultiPar true
|
|
CustomPars false
|
|
ForcePlain true
|
|
PassThru 1
|
|
ParbreakIsNewline 1
|
|
KeepEmpty true
|
|
Spellcheck 0
|
|
FreeSpacing true
|
|
ForceLTR true
|
|
AddToToc literate
|
|
IsTocCaption 0
|
|
Argument 1
|
|
Mandatory 1
|
|
LabelString "Options"
|
|
Tooltip "Options"
|
|
LeftDelim <<
|
|
RightDelim >>=<br/>
|
|
IsTocCaption 1
|
|
AutoInsert 1
|
|
EndArgument
|
|
ResetsFont false
|
|
ForceOwnlines true
|
|
End
|