From: Uwe Stöhr Date: Sun, 24 May 2015 22:53:59 +0000 (+0200) Subject: tex2lyx/test/test-insets.tex: don't say that this is a LyX file X-Git-Tag: 2.2.0alpha1~650 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=32cc0d2b2f555eb9e38280743801c94b66f95fab;p=features.git tex2lyx/test/test-insets.tex: don't say that this is a LyX file With the now removed command we said that this is a file created by LyX but this is not the case - also replace a comment to avoid LaTeX warnings about mixing title and non-title stuff --- diff --git a/src/tex2lyx/test/test-insets-basic.lyx.lyx b/src/tex2lyx/test/test-insets-basic.lyx.lyx index f46a26dd0d..c4a2886efa 100644 --- a/src/tex2lyx/test/test-insets-basic.lyx.lyx +++ b/src/tex2lyx/test/test-insets-basic.lyx.lyx @@ -5,6 +5,33 @@ \origin D:/LyXGit/Master/src/tex2lyx/test/ \textclass article \begin_preamble +%% Do not edit unless you really know what you are doing. + + + + + +\usepackage{url} +% the following is useful when we have the old nomencl.sty package +\providecommand{\printnomenclature}{\printglossary} +\providecommand{\makenomenclature}{\makeglossary} +\makenomenclature +\usepackage{xargs} +\usepackage{listings} +\usepackage{array} +\usepackage{multirow} +\usepackage{hhline} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. +\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} +\newcommand{\lyxline}[1][1pt]{% + \par\noindent% + \rule[.5ex]{\linewidth}{#1}\par} + +\newcommand{\lyxarrow}{\leavevmode\,$\triangleright$\,\allowbreak} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. % Load refstyle before prettyref so that prettyref wins. % The real refstyle tests are in test-refstyle-theorems.tex. @@ -103,6 +130,10 @@ Title \end_layout +\begin_layout Date +two days ago +\end_layout + \begin_layout Standard \begin_inset ERT @@ -117,10 +148,6 @@ status collapsed \end_layout -\begin_layout Date -two days ago -\end_layout - \begin_layout Standard \begin_inset CommandInset toc diff --git a/src/tex2lyx/test/test-insets-basic.tex b/src/tex2lyx/test/test-insets-basic.tex index c9910166dc..a16da7e357 100644 --- a/src/tex2lyx/test/test-insets-basic.tex +++ b/src/tex2lyx/test/test-insets-basic.tex @@ -1,4 +1,3 @@ -%% 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[a4paper,12pt]{article} \usepackage[T1]{fontenc} @@ -65,8 +64,7 @@ \title{Title} -\date %stupid stuff -{two days ago} +\date{two days ago}%stupid stuff \maketitle diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 94829af7ec..01e5576093 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -5,6 +5,30 @@ \origin D:/LyXGit/Master/src/tex2lyx/test/ \textclass article \begin_preamble +%% Do not edit unless you really know what you are doing. + + + + + +\usepackage{url} +% the following is useful when we have the old nomencl.sty package +\providecommand{\printnomenclature}{\printglossary} +\providecommand{\makenomenclature}{\makeglossary} +\makenomenclature +\usepackage{xargs} +\usepackage{listings} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. +\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} +\newcommand{\lyxline}[1][1pt]{% + \par\noindent% + \rule[.5ex]{\linewidth}{#1}\par} + +\newcommand{\lyxarrow}{\leavevmode\,$\triangleright$\,\allowbreak} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. % Load refstyle before prettyref so that prettyref wins. % The real refstyle tests are in test-refstyle-theorems.tex. @@ -103,6 +127,10 @@ Title \end_layout +\begin_layout Date +two days ago +\end_layout + \begin_layout Standard \begin_inset ERT @@ -117,10 +145,6 @@ status collapsed \end_layout -\begin_layout Date -two days ago -\end_layout - \begin_layout Standard \begin_inset CommandInset toc diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index 440d66060f..3fb69a886f 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -1,4 +1,3 @@ -%% 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[a4paper,12pt]{article} \usepackage[T1]{fontenc} @@ -65,8 +64,7 @@ \title{Title} -\date %stupid stuff -{two days ago} +\date{two days ago}%stupid stuff \maketitle