From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74268 Path: news.gmane.org!not-for-mail From: "Verhaag, G.C.H.M." Newsgroups: gmane.comp.tex.context Subject: Re: Cross-document referencing; How to?! Date: Thu, 02 Feb 2012 11:43:45 +0100 Message-ID: <4F2A68E1.7040001@ziggo.nl> References: <4F294FC4.2040301@ziggo.nl> <31685380-78BD-4F10-A16B-354EE78317F8@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050606010800000201060501" X-Trace: dough.gmane.org 1328179332 16375 80.91.229.3 (2 Feb 2012 10:42:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 10:42:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 02 11:42:11 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rsu7D-0008TD-QR for gctc-ntg-context-518@m.gmane.org; Thu, 02 Feb 2012 11:42:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2EC91CB29D; Thu, 2 Feb 2012 11:42:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EwnPmt8O+2Di; Thu, 2 Feb 2012 11:42:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE97DCB298; Thu, 2 Feb 2012 11:42:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1F17CB298 for ; Thu, 2 Feb 2012 11:41:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4KSildN+-R0z for ; Thu, 2 Feb 2012 11:41:44 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id CD1ABCB28C for ; Thu, 2 Feb 2012 11:41:44 +0100 (CET) Original-Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q12AfhUO019450 for ; Thu, 2 Feb 2012 11:41:44 +0100 Original-Received: from [212.54.42.134] (helo=smtp3.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Rsu6p-0003YI-Mi for ntg-context@ntg.nl; Thu, 02 Feb 2012 11:41:43 +0100 Original-Received: from 541c2a47.cm-5-5a.dynamic.ziggo.nl ([84.28.42.71]) by smtp3.tb.mail.iss.as9143.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Rsu6p-0003VK-CT for ntg-context@ntg.nl; Thu, 02 Feb 2012 11:41:43 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110506 Icedove/3.0.11 In-Reply-To: <31685380-78BD-4F10-A16B-354EE78317F8@googlemail.com> X-Authenticated-Sender: verhaaggchm@ziggo.nl (via SMTP) X-Ziggo-spambar: - X-Ziggo-spamscore: -1.9 X-Ziggo-spamreport: ALL_TRUSTED=-1, BAYES_00=-1.9, PLING_QUERY=0.994, T_RP_MATCHES_RCVD=-0.01 X-Ziggo-Spam-Status: No X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.54.42.164; country=NL; region=05; city=Maastricht; latitude=50.8500; longitude=5.6833; http://maps.google.com/maps?q=50.8500,5.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cGsWFHAR - 66641b7b7120 - 20120202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74268 Archived-At: This is a multi-part message in MIME format. --------------050606010800000201060501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------050606010800000201060501 Content-Type: text/x-tex; name="crossref.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="crossref.tex" % 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 --------------050606010800000201060501 Content-Type: text/x-tex; name="test.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test.tex" % 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 --------------050606010800000201060501 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --------------050606010800000201060501--