I'm writing my thesis using classicthesis model and LyX. My tutor needs the LaTeX version of my work. When I export the LaTeX code by the function in LyX the code does not work. For example if i export the LaTeX version of my first chapter I obtain this error while compiling with TeXworks on the output console:
Code: Select all
Runaway argument?
{\PassOptionsToPackage {draft}{prelim2e} \RequirePackage {prelim2e} \renewcomma
nd \ETC.
! File ended while scanning use of \@firstoftwo.
<inserted text>
\par
l.255
?
Processo interrotto dall'utente
Code: Select all
./classicthesis-config.tex
255
! File ended while scanning use of \@firstoftwo.
<inserted text>
\par
l.255
So after the error i go back to classicthesis-config.tex and I compile it and i obtain this:
Code: Select all
! LaTeX Error: \usepackage before \documentclass.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.33 \usepackage{
ifthen}
?
\documentclass
, so what i have to do?There is a better way of exporting LaTeX code from a LyX file?
Thanks!!!