ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Cross-document referencing not working!
Date: Wed, 08 Feb 2012 16:31:01 +0100	[thread overview]
Message-ID: <4F329535.3030409@ziggo.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

Hi ConTeXt User's,

I'm struggling with cross-document referencing, but can't get it working!

When I for example use \useexternaldocument[tst][test][A test external] 
together with \from[tst] the test.pdf file is correctly opened in 
Acrobat Reader.

But the \in{section}[tst::crossref] doesn't open the test.pdf file at 
all?! The jump to the 'crossref' section doesn't seem to work! Please 
take a look at the two included test files.

I first compile test.tex followed by the compilation of crossref.tex. 
Currently I use: ConTeXt  ver: 2012.01.25 14:16 MKIV  fmt: 2012.2.7  
int: english/english.

Regards,
Gerard Verhaag


[-- Attachment #2: test.tex --]
[-- Type: text/x-tex, Size: 387 bytes --]


% Test file

\setupinteraction
  [state=start,
   style=,
   color=blue,
   contrastcolor=,
   menu=on,
   title=Cross referencing Test External File,
   author=Gerard Verhaag]

\starttext

\chapter[cross]{Cross referencing}

\section[abc]{Abc}

\dorecurse{70}
  {A test of cross referencing to exernal document!}

\section[crossref]{Def}

Another section starts right here!

\stoptext

[-- Attachment #3: crossref.tex --]
[-- Type: text/x-tex, Size: 331 bytes --]

% Crossref file

\setupinteraction
  [state=start,
   style=,
   color=blue,
   contrastcolor=,
   menu=on,
   title=Cross referencing Test File,
   author=Gerard Verhaag]

\starttext

\useexternaldocument[tst][test][Een test external] % External file called: test.tex

Most \from[tst] from \in{chapter}[tst::crossref].

\stoptext

[-- Attachment #4: 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-02-08 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 15:31 Verhaag, G.C.H.M. [this message]
2012-02-08 23:30 ` Pontus Lurcock
2012-02-09  9:43   ` Verhaag, G.C.H.M.
2012-02-10 10:59 ` Otared Kavian
2012-02-11  9:31   ` Verhaag, G.C.H.M.
2012-05-05 20:20 ` m-database: setting text style for every first line of a table, and text/cell style for specific parts of the table? Sander Maijers

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=4F329535.3030409@ziggo.nl \
    --to=verhaaggchm@ziggo.nl \
    --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).