From: Georg Baum Date: Sun, 13 May 2012 16:54:14 +0000 (+0200) Subject: Forgot the test case for bug #8116. X-Git-Tag: 2.1.0beta1~1873 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=de00ce40aaf9f679196c99ad801959b6157d4a2f;p=lyx.git Forgot the test case for bug #8116. --- diff --git a/src/tex2lyx/test/test-structure.tex b/src/tex2lyx/test/test-structure.tex index 71f4c423ec..3cb6fc7a89 100644 --- a/src/tex2lyx/test/test-structure.tex +++ b/src/tex2lyx/test/test-structure.tex @@ -30,6 +30,23 @@ \newcommand{\strong}[1]{\textbf{#1}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. +%% Special footnote code from the package 'stblftnt.sty' +%% Author: Robin Fairbairns -- Last revised Dec 13 1996 +\let\SF@@footnote\footnote +\def\footnote{\ifx\protect\@typeset@protect + \expandafter\SF@@footnote +\else + \expandafter\SF@gobble@opt +\fi +} +\expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%] + \SF@gobble@twobracket + \@gobble +} +\edef\SF@gobble@opt{\noexpand\protect + \expandafter\noexpand\csname SF@gobble@opt \endcsname} + \def\SF@gobble@twobracket[#1]#2{} + \newenvironment{foo}{==[}{]==} \usepackage{fixltx2e} % this should cause the fixltx2e module to be loaded