From 30219ffc37300933b9d67b868df55d841494f82f Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 13 May 2012 18:54:14 +0200 Subject: [PATCH] Forgot the test case for bug #8116. --- src/tex2lyx/test/test-structure.tex | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/tex2lyx/test/test-structure.tex b/src/tex2lyx/test/test-structure.tex index 6ca87694a8..609860fd3e 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 -- 2.39.5