On 11/14/2010 09:35 AM, Markus Kossner wrote:
Dear Lyx users,
I have a strange problem when using a newer version of Lyx. Here's my problem: I have written my thesis using Lyx 1.6.2. Now I have a new computer running Lyx 1.6.7. Both computers had Ubuntu linux running. Now the lyx file can be opened and compiled to pdf on the old computer but not on the new one that has the newer lyx version.

I get the following error messages:
------------------------
\newpage
              {}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
------------------------

I'm only guessing without seeing the rest of the file, but this looks pretty bad, since \newpage must surely be defined. Possibly there is some conflict between your custom LaTeX preamble and whatever LyX is doing in 1.6.7.

The way to debug this is to export the file to LaTeX from both of your machines, then run "diff -u file162.lyx file167.lyx" and see if there are differences between the LaTeX versions. Also, you can manually compile the newer one and see if you get more helpful messages.

rh


Here is my latex preamble:
------------------------
%Zitieren nach ACS Konvention
%\usepackage[usetitle=true]{achemsol}

% Überschrift des Abkürzungsverzeichnisses
\renewcommand{\nomname}{Symbols and Abbreviations}
% Abstand zw. Abkürzung und Erklärung
\renewcommand{\nomlabelwidth}{3cm}

% Kopf-/Fußzeile
\fancyhead{}
\fancyfoot{}
%\fancyhead[EL]{\itshape\leftmark}% E(ven)=left page, L(eft)=outer part
%\fancyhead[OR]{\itshape\rightmark}% O(dd)=right page, R(ight)=inner p.
\fancyhead[EL]{\smaller\leftmark}% E(ven)=left page, L(eft)=outer part
\fancyhead[OR]{\smaller\rightmark}% O(dd)=right page, R(ight)=inner p.
\fancyfoot[CO,CE]{\thepage}% page number in footer, always centered
\renewcommand{\headrulewidth}{0.5pt} % Abstand der Linien vom Text
\renewcommand{\footrulewidth}{0.5pt}

% Tabellenzellen vereinigen
\usepackage{multirow}

% Erstelle im PDF Links zu Überschriften, Figures etc, sowie einen Inhaltsbaum.
\usepackage[bookmarks, bookmarksopen=true]{hyperref}

% In Figures und Tabellen:
% Drucke "Figure 1." oder "Table 1." fett.
\usepackage[labelfont={bf}]{caption}

% Nummeriere Algorithmen der Reihe nach arabisch durch.
\newcommand{\theHalgorithm}{\arabic{algorithm}}

% Trennungsregeln für Wörter, für die keine Regeln im Wörterbuch stehen
\hyphenation{mole-cules}
\hyphenation{de-scriptors}

% pdfpages erlaubt das Einfügen externer pdf Dateien --> Lebenslauf am Schluss
\usepackage{pdfpages}
\usepackage[usetitle]{achemso}
------------------------

How do I get Info about what happened?
Thank you in advance for your help,
Markus

Reply via email to