From: "Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl>
To: ntg-context@ntg.nl
Subject: Re: Cross-document referencing; How to?!
Date: Thu, 02 Feb 2012 11:43:45 +0100 [thread overview]
Message-ID: <4F2A68E1.7040001@ziggo.nl> (raw)
In-Reply-To: <31685380-78BD-4F10-A16B-354EE78317F8@googlemail.com>
[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]
On 02/01/2012 04:23 PM, Wolfgang Schuster wrote:
> Am 01.02.2012 um 15:44 schrieb Verhaag, G.C.H.M.:
>
>
>> Hi,
>>
>> After going through the suggested reading "This Way", sep 2011 (http://pragma-ade.com/show-mag-15.htm) in relation to this topic it was time to do some tests!
>>
>> Well, I stumbled on the very first basic problem! Using the \useexternalfile[logical_name][filename] resulted in an Undefined control sequence ... error message!?
>>
>> Anybody any suggestions about the syntax of this command?! The description in the reference part of the ConTeXt Garden wiki site is not of much help to me either, sorry!
>>
> I think this is a typo in the manual and Hans meant the \useexternaldocument command because \useexternalfile was removed from MkIV and had a different purpose.
>
> Wolfgang
> ...
>
Hi,
Well yes, the \useexternaldocument works, but not for example the
\in-command!
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::def] doesn't open the test.pdf file at all?!
The jump to the 'def' section doesn't seem to work! Please take a look
at the two included test files.
Regards,
Gerard Verhaag
[-- Attachment #2: crossref.tex --]
[-- Type: text/x-tex, Size: 322 bytes --]
% Test 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{section}[tst::def].
\stoptext
[-- Attachment #3: test.tex --]
[-- Type: text/x-tex, Size: 382 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[def]{Def}
Another section starts right here!
\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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-02-02 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 14:44 Verhaag, G.C.H.M.
2012-02-01 15:23 ` Wolfgang Schuster
2012-02-02 10:43 ` Verhaag, G.C.H.M. [this message]
2012-02-04 10:08 ` Verhaag, G.C.H.M.
2012-02-07 9:34 ` Verhaag, G.C.H.M.
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=4F2A68E1.7040001@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).