Hi,

in the attached minimal example the number of LaTeX runs chosen by LyX is not sufficient: using clefval with \cite in the value 4 LaTeX runs are necessary to resolve the reference.

clefval_cite_4LaTeXruns.pdf shows how it looks when the exported tex file is compiled with 4 LaTeX runs.
clefval_cite_LyX.pdf shows how it looks when LyX compiles the file.

In some documents it helps to compile the PDF in LyX again (after doing some irrelevant changes) - but in other files this does not solve the problem...

Is this a bug? Should LyX be able to chose the sufficient number of LaTeX runs?
Is there a way to manipulate the number of LaTeX runs?

Regards
Toby

Attachment: clefval_cite.bib
Description: application/bibtex

%% LyX 1.5.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{clefval}

\usepackage{babel}
\makeatother

\begin{document}
\TheKey{a}{\cite{ref}}
Bla \TheValue{a} bla.

\bibliographystyle{plain}
\bibliography{clefval_cite}

\end{document}

Attachment: clefval_cite_4LaTeXruns.pdf
Description: Adobe PDF document

Attachment: clefval_cite_LyX.pdf
Description: Adobe PDF document

Attachment: clefval_cite.lyx
Description: application/lyx

Reply via email to