Jürgen Spitzmüller wrote:
Are you sure these are the same files? Does an exported LaTeX file compile?

Ahh ... the ones in the LyX-Temp-Dir were the right files, but they only compiled because of the "\batchmode" that LyX puts at the beginning (and the output was OK despite the (hidden) error).

\batchmode is not there in an exported Latex file, and then the error pops up. Thanks!

I would be surprised, because this is clearly a LaTeX error.
(I use TeXLive 2008 as well).

And for those having the same problem, the solution is:

In the preamble:
\usepackage{bibentry}           % to get in-text bibliography entries
\usepackage[retainorgcmds]{IEEEtrantools} % to get \bstctlcite command

In the text:
\bstctlcite{BSTcontrol_Thesis} % disable ieee feature breaking bibentry
\nobibliography* %enables bibentry

In the bib-file:
@ieeetranbstctl{BSTcontrol_Thesis,
        CTLdash_repeated_names = {no},
        CTLuse_alt_spacing = {no}}

See documentation to bibentry (pdflatex bibentry.dtx)and <http://www.ctan.org/get/macros/latex/contrib/IEEEtran/bibtex/IEEEtran_bst_HOWTO.pdf>.


Thanks Jürgen for trying and asking the right questions!
Puzzle solved.
/Konrad

Reply via email to