mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +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
|
Style BeginFrame
|
||||||
# This redefinition is needed to make beamerarticle work
|
# This redefinition is needed to make beamerarticle work
|
||||||
Preamble
|
Preamble
|
||||||
\makeatletter
|
|
||||||
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
||||||
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
||||||
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
|
\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][]}}
|
\def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
|
||||||
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
||||||
\frame<#1>[#3]{\frametitle{#4}#5}}
|
\frame<#1>[#3]{\frametitle{#4}#5}}
|
||||||
\makeatother
|
|
||||||
EndPreamble
|
EndPreamble
|
||||||
End
|
End
|
||||||
|
@ -259,7 +259,6 @@ Style BeginFrame
|
|||||||
EndFont
|
EndFont
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
\makeatletter
|
|
||||||
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
||||||
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
||||||
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
|
\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][]}}
|
\def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
|
||||||
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
||||||
\frame<#1>[#2][#3]{\frametitle{#4}#5}}
|
\frame<#1>[#2][#3]{\frametitle{#4}#5}}
|
||||||
\makeatother
|
|
||||||
EndPreamble
|
EndPreamble
|
||||||
End
|
End
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user