]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-structure.tex
tex2lyx: fix a regression
[lyx.git] / src / tex2lyx / test / test-structure.tex
index b487bf17b4ba8f14ebc8acfc962a3772dad90726..89fa58915c1d362156943d8aee572b1d54e153ee 100644 (file)
@@ -4,7 +4,7 @@
 \usepackage[latin9]{inputenc}
 \usepackage{color}
 \usepackage{rotfloat}
-\usepackage{wrapfig}
+\synctex=-1\usepackage{wrapfig}
 
 \makeatletter
 
 \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
@@ -282,12 +299,14 @@ What else? Well, we have descriptions:
 [{x y % bla
 z}] and with comments
 \end{description}
+
 labelings:
 \begin{lyxlist}{00.00.0000}
 \item [label~1] first item
 \item [label~2] second item
 \item [{$\left[\textrm{ }\right]^{x}$}] Label with space, math and ] in it
 \end{lyxlist}
+
 verbatim:
 \begin{verbatim}
 verbat  im % $ 02/19/12
@@ -296,10 +315,13 @@ jkh \ blah
 \begin{centering}
 
 
-zzz
+zzz \section{
 \end{raggedleft}
 
 \end{verbatim}
+\verb~\~
+\verb+\item[ABC] first item+
+
 and bibliography:
 \begin{thebibliography}{9}
 \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)