The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit de00ce40aaf9f679196c99ad801959b6157d4a2f
Author: Georg Baum <[email protected]>
Date:   Sun May 13 18:54:14 2012 +0200

    Forgot the test case for bug #8116.

diff --git a/src/tex2lyx/test/test-structure.tex 
b/src/tex2lyx/test/test-structure.tex
index 71f4c42..3cb6fc7 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

-----------------------------------------------------------------------

Summary of changes:
 src/tex2lyx/test/test-structure.tex |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to