mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
LyX already wraps the preamble in \makeatletter and \makeatother.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36383 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
de97e92133
commit
0c93d1150c
@ -26,7 +26,6 @@ EndPreamble
|
||||
Style BeginFrame
|
||||
# This redefinition is needed to make beamerarticle work
|
||||
Preamble
|
||||
\makeatletter
|
||||
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
||||
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
||||
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
|
||||
@ -34,6 +33,5 @@ Style BeginFrame
|
||||
\def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
|
||||
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
||||
\frame<#1>[#3]{\frametitle{#4}#5}}
|
||||
\makeatother
|
||||
EndPreamble
|
||||
End
|
||||
|
@ -259,7 +259,6 @@ Style BeginFrame
|
||||
EndFont
|
||||
|
||||
Preamble
|
||||
\makeatletter
|
||||
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
||||
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
||||
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
|
||||
@ -267,7 +266,6 @@ Style BeginFrame
|
||||
\def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
|
||||
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
||||
\frame<#1>[#2][#3]{\frametitle{#4}#5}}
|
||||
\makeatother
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user