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
\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
\end_layout
-\begin_layout Date
-two days ago
-\end_layout
-
\begin_layout Standard
\begin_inset CommandInset toc
-%% 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}
\title{Title}
-\date %stupid stuff
-{two days ago}
+\date{two days ago}%stupid stuff
\maketitle
\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
\end_layout
-\begin_layout Date
-two days ago
-\end_layout
-
\begin_layout Standard
\begin_inset CommandInset toc
-%% 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}
\title{Title}
-\date %stupid stuff
-{two days ago}
+\date{two days ago}%stupid stuff
\maketitle