]> git.lyx.org Git - features.git/commitdiff
tex2lyx/test/test-insets.tex: don't say that this is a LyX file
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 May 2015 22:53:59 +0000 (00:53 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 May 2015 22:53:59 +0000 (00:53 +0200)
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

src/tex2lyx/test/test-insets-basic.lyx.lyx
src/tex2lyx/test/test-insets-basic.tex
src/tex2lyx/test/test-insets.lyx.lyx
src/tex2lyx/test/test-insets.tex

index f46a26dd0d62c63205d4b123da4655ff16beafda..c4a2886efa87bf449811353dc586a40197a42ca2 100644 (file)
@@ -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.
 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
index c9910166dc00a8ab6f7bd1235a89b3431a1bdc6f..a16da7e3576428021e9b97d04e1f95dbc32afc6e 100644 (file)
@@ -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
 
index 94829af7ec1837c40402f0b50abf062180010d13..01e557609387b8c43bb48d3bb4cc0991985577f2 100644 (file)
@@ -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.
 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
index 440d66060febd4f86e1439bdccd039d5463c7862..3fb69a886f585cdafdf0467aeb686149110ed922 100644 (file)
@@ -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