I have problems, when importing a LaTeX doc into LyX.
The LaTeX Code is correct and will be compiled in TeXShop (a main file calls the "title.tex" File)
But when I import this "title.tex"-file or even only the code (by CMD-L), Lyx wont compile it.
When inserting the complete code via "insert/Tex Code (CMD-L) or when trying to import Latex-File: Lyx gives this error:
Code: Select all
\href{http://www.google.de} { \includegraphics[width = 2.8cm]{figures/...The control sequence at the end of the top lineof your error message was never \def'ed. If you havemisspelled it (e.g., `\hobx'), type `I' and the correctspelling (e.g., `I\hbox'). Otherwise just continue,and I'll forget about whatever was undefined.
Code: Select all
\begin{titlepage}\label{sec:title}%\enlargethispage{\voff}\large\begin{center}\href{http://www.google.de}{\includegraphics[width = 2.8cm]{figures/center_logo.pdf}}\vspace{1.5cm}% Titel\begin{minipage}{1.1\linewidth}{\centering\Huge\bf My long Title with technical terms}%\par}% \par ist n·tig f·r korrekten Zeilenabstand im Titel\end{minipage}\large\vspace{.1cm}{\huge{\bf \it Title 2} %\\[1cm]}\vspace{.1cm}{\Large von \\[.5cm]{\bf \LARGE \huge Author}\\[1.5cm]}\end{center}\vfill%\vspace{1.2cm}\begin{minipage}[c]{7.5cm}\href{http://www.wikipedia.org}
I would be thankful for any help
greetings