commit 32cc0d2b2f555eb9e38280743801c94b66f95fab
Author: Uwe Stöhr <[email protected]>
Date:   Mon May 25 00:53:59 2015 +0200

    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 f46a26d..c4a2886 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 c991016..a16da7e 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 94829af..01e5576 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 440d660..3fb69a8 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
 

Reply via email to