]> git.lyx.org Git - lyx.git/commitdiff
Forgot the test case for bug #8116.
authorGeorg Baum <baum@lyx.org>
Sun, 13 May 2012 16:54:14 +0000 (18:54 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 13 May 2012 16:54:14 +0000 (18:54 +0200)
src/tex2lyx/test/test-structure.tex

index 71f4c423ec90b5e8f2ea7355aa814b8590ebb32b..3cb6fc7a89dd25910f134323fab80be348abf1a4 100644 (file)
 \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