X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-structure.tex;h=824994eb1270ad80548da4442aa62ae9d52603f9;hb=8184f08f4af6efea6d1499e3f8c8d3c20ebb1b97;hp=b487bf17b4ba8f14ebc8acfc962a3772dad90726;hpb=df95041141c01c04fe8d4af43acc1cc1bc1b4795;p=lyx.git diff --git a/src/tex2lyx/test/test-structure.tex b/src/tex2lyx/test/test-structure.tex index b487bf17b4..824994eb12 100644 --- a/src/tex2lyx/test/test-structure.tex +++ b/src/tex2lyx/test/test-structure.tex @@ -1,10 +1,10 @@ %% LyX trick_preamble_code_into_believing_that_this_was_created_by_lyx created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. -\documentclass[legalpaper,french,german,english,dummyoption]{article} +\documentclass[legalpaper,french,german,newzealand,english,dummyoption]{article} \usepackage[latin9]{inputenc} \usepackage{color} \usepackage{rotfloat} -\usepackage{wrapfig} +\synctex=-1\usepackage{wrapfig} \makeatletter @@ -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 @@ -90,9 +107,9 @@ An environment \end{quote} We also support change tracking: -\lyxadded{Hans Wurst}{Sun Nov 6 10:39:39 2011}{Added text} +\lyxadded{Hans Wurst}{Sun Nov 6 09:39:39 2011}{Added text} some parts remain -\lyxdeleted{Hans Wurst}{Sun Nov 6 10:39:55 2011}{This was the original text} +\lyxdeleted{Hans Wurst}{Sun Nov 6 09:39:55 2011}{This was the original text} some parts remain \section*{A starred section for floats} @@ -268,7 +285,7 @@ and a second paragraph for good measure \item the second item -\item the third item +\item[custom label] the third item has a custom label \subsubsection*{and a sssection heading inside it (why not?)} \end{itemize} @@ -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,14 @@ jkh \ blah \begin{centering} -zzz +zzz \section{ \end{raggedleft} \end{verbatim} +\verb~\~ +\verb+\item[ABC] first item+ +\verb+something\+ bug 4468 + and bibliography: \begin{thebibliography}{9} \bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)