Hello Developers,

I encountered a nasty export problem. When I export the attached LyX-file by pdflatex, LyX brings up the following error box:

"pdfTeX warning (ext4): destination with the same identifier (name{equation.1}"

This warning is correct, because two equations have the same counter and pdftex/hyperref doesn't know where to put the internal anchor for references.
But anyway, this is a warning and LyX shouldn't stop.
When I run pdflatex manually over the TeX-file, it also don't stop and gives me a perfect pdf. If pdftex don't stop, LyX should have produced a pdf-file in its temp-directory -- and indeed it is there. It is just not moved to the working directory and I wasn't able to figure out why.


I run LyX in debug mode and encounterd the following difference between exports using DVI and PDF(pdflatex):

DVI:
"lyx header finished
preamble finished, now the body.
Finished making LaTeX file.
Row count was 37."

PDF (pdflatex):
"lyx header finished
preamble finished, now the body.
Finished making LaTeX file.
Row count was 37.
TeXRow::increasePos: ideally this should never happen...
TeXRow::increasePos: ideally this should never happen...
TeXRow::increasePos: ideally this should never happen...
TexRow::increasePos: this should happen maximum one time for each run of increasePos!
TeXRow::increasePos: ideally this should never happen...
TexRow::increasePos: this should happen maximum one time for each run of increasePos!"


I have no idea about this message. I hope someone can help me.

thanks in advance and regards
Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{hyperref}
\end_preamble
\options fleqn
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
        1
        34
        -1
\end_bullet
\bullet 2
        2
        35
        -1
\end_bullet
\bullet 3
        2
        7
        -1
\end_bullet

\layout Standard


\begin_inset Formula \begin{equation}
A=C-B\label{eq:a}\end{equation}

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addtocounter{equation}{-1}
\end_inset 


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{subequations}
\end_inset 


\begin_inset Formula \begin{equation}
B=C-A\label{eq:b}\end{equation}

\end_inset 


\begin_inset Formula \begin{equation}
C=A+B\label{eq:c}\end{equation}

\end_inset 


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{subequations}
\end_inset 


\the_end

Reply via email to