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:
Richard Heck 2010-11-18 21:39:43 +00:00
parent de97e92133
commit 0c93d1150c
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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