ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* References broken when using more than one component?
@ 2012-03-21 12:54 Steffen Fritzsche
  2012-03-21 12:55 ` Steffen Fritzsche
  2012-03-21 14:09 ` Steffen Wolfrum
  0 siblings, 2 replies; 5+ messages in thread
From: Steffen Fritzsche @ 2012-03-21 12:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 986 bytes --]

Hi,

I've got a deep hierarchy of components, while everything builds fine I have a problem using references. Have a look at the following sample files:

reftest.tex:
\setuphead[chapter][referenceprefix=+]

\starttext

\chapter[one]{Chapter One}

\section[bla]{Blablabla}
See \in{Section}[three:foobar]

\chapter[two]{Chapter Two}

\section[blubb]{BlubbBlubbBlubb}

\subsection{BlubberBlubber}
See \in{Section}[one:bla]

\component refcomp

\stoptext

refcomp.tex:
\startcomponent refcomp
\chapter[three]{Chapter Three}
\component refcompsec
\stopcomponent

refcompsec.tex:
\section[foobar]{Foobar Section}
See \in{Section}[two:blubb] for more details!
\stopcomponent


If I move the second component "refcompsec.tex" into the "refcomp.tex" component the reference in chapter one is found. If I translate it as shown using two components the reference in the first chapter is lost.

Is this a bug or am I doing something wrong?

Cheers,
Steffen

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4416 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-23 18:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 12:54 References broken when using more than one component? Steffen Fritzsche
2012-03-21 12:55 ` Steffen Fritzsche
2012-03-21 14:09 ` Steffen Wolfrum
2012-03-23 13:05   ` Steffen Fritzsche
2012-03-23 18:32     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).