From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/696 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: goto with external document Date: Fri, 13 Aug 1999 09:39:40 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <37B3CBBC.9C06F616@wxs.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391542 26247 80.91.224.250 (23 Oct 2002 16:45:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:45:42 +0000 (UTC) Cc: Context List Original-To: Matthew.Baker@gmd.de Xref: main.gmane.org gmane.comp.tex.context:696 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:696 Matthew Baker wrote: > > {/NewWindow true \upper.....}}% > > My new line looks like: > > {/NewWindow true \uppercasestring R /F (#4.pdf)\to\PDFfile}}% /GotoR > > Is that right? I get the text > > /NewWindow true > > in my document and Acrobat complains about not having the required plugin. Ah yes, I see. Now tested it myself. First add: \newif\ifgotonewwindow \gotonewwindowtrue % false by default, will be key/value Then change two times in spec-fdf.tex {\uppercasestring R /F (#4.pdf)\to\PDFfile % /Goto+\PDFfile=/GotoR ... \ifgotonewwindow\edef\PDFfile{\PDFfile\space/NewWindow true}\fi}} so, the command is appended only when the bool is true. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------