mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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
)
34 lines
918 B
Plaintext
34 lines
918 B
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[scrartcl,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (KOMA-Script)}
|
|
# \DeclareCategory{Articles}
|
|
# Author: Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
Format 64
|
|
|
|
# Includes
|
|
Input scrartcl.layout
|
|
Input beamer.layout
|
|
|
|
# override settings inherited from beamer.layout
|
|
Provides geometry 0
|
|
Provides hyperref 0
|
|
|
|
DefaultFont
|
|
Family Roman
|
|
Series Medium
|
|
Shape Up
|
|
Size Normal
|
|
Color None
|
|
EndFont
|
|
|
|
Preamble
|
|
\usepackage{beamerarticle,pgf}
|
|
% this default might be overridden by plain title style
|
|
\newcommand\makebeamertitle{\frame{\maketitle}}%
|
|
\AtBeginDocument{
|
|
\let\origtableofcontents=\tableofcontents
|
|
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
|
|
\def\gobbletableofcontents#1{\origtableofcontents}
|
|
}
|
|
EndPreamble
|