[NTG-context] Citations in a frontmatter fail when placed in a component
Marco
netuse at lavabit.com
Sat May 19 22:03:38 CEST 2012
Hi,
When a \cite command is placed in a frontmatter or bodymatter it
prints [[error 2]] as citation and no bibliography is created. This
only occurs when the \cite command is called from another component.
\cite calls from within the same file work, even inside a
frontmatter.
Example:
% file product.tex
\startproduct product
\startpublication[k=me,
t=manual,
a=Hoekwater,
y=2006,
s=TH2006,
n=1,
u=http://contextgarden.net/Bibliography]
\author{Taco}[T.]{}{Hoekwater}
\title{\CONTEXT\ Publication Module, The user documententation}
\pubyear{2006}
\note{In case you didn’t know: it’s the document you are reading now}
\pages{14}
\stoppublication
% comment out the frontmatter and it works
\startfrontmatter
\component component
% this one works
% \cite[me]
\stopfrontmatter
\placepublications [criterium=text]
\stopproduct
% file component.tex
\startcomponent component
cite: \cite[me]
\stopcomponent
Marco
More information about the ntg-context
mailing list