ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Philippe Rey <jean-philippe.rey@ecp.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Broken (invisible) external cross-references
Date: Fri, 5 Dec 2014 13:07:23 +0100	[thread overview]
Message-ID: <A1C0ECDB-3E48-41D3-B650-0EE75C92F9B1@ecp.fr> (raw)

Hello,

I am using external cross-references (across multiple files) and this seems to have been broken for a few months.

Here is my minimal example:

% file test_crossref1.tex
\starttext
\chapter[lorem]{Lorem}
Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[lorem].
\stoptext

% file test_crossref2.tex
\useexternaldocument[xref][test_crossref1]
\starttext
Lorem ipsum dolor sit amet, consectetur adipiscing elit \in{Chapter}[xref::lorem].
\stoptext


I get the correct reference "Chapter 1." in test_crossref2 with a ConTeXt version from March:

This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746) 
ConTeXt  ver: 2014.03.22 15:31 MKIV beta  fmt: 2014.3.22  int: english/english

With more recent versions (including the last one downloaded this morning), the chapter number doesn't appear in test_crossref2, I only get "Chapter .", not even "??". There isn't any error message in the log file. The internal cross reference (in test_crossref1) still works fine. I have the same faulty result with these three versions:

This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) 
ConTeXt  ver: 2014.07.30 10:31 MKIV beta  fmt: 2014.8.9  int: english/english

This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) 
ConTeXt  ver: 2014.09.06 20:59 MKIV beta  fmt: 2014.9.11  int: english/english

This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) 
ConTeXt  ver: 2014.12.05 11:11 MKIV beta  fmt: 2014.12.5  int: english/english


Is this a bug or did something change in the way to build references from external files.

Thanks,

-- 
Jean-Philippe Rey                 Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr          92295 Châtenay-Malabry Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51

___________________________________________________________________________________
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:[~2014-12-05 12:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=A1C0ECDB-3E48-41D3-B650-0EE75C92F9B1@ecp.fr \
    --to=jean-philippe.rey@ecp.fr \
    --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).