ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Fritzsche <steffen.fritzsche@uni-ulm.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: References broken when using more than one component?
Date: Wed, 21 Mar 2012 13:54:23 +0100	[thread overview]
Message-ID: <F9B5A7C2-8183-4D75-9A48-DF7E0F7DF001@uni-ulm.de> (raw)


[-- 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
___________________________________________________________________________________

             reply	other threads:[~2012-03-21 12:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 12:54 Steffen Fritzsche [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F9B5A7C2-8183-4D75-9A48-DF7E0F7DF001@uni-ulm.de \
    --to=steffen.fritzsche@uni-ulm.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).