ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \goto a file in the parent directory
@ 2005-06-04  9:57 Denis Pinsard
  2005-06-04 11:44 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Pinsard @ 2005-06-04  9:57 UTC (permalink / raw)


Hello,

Assume that 'target.pdf' is in the current directory, the parent directory  
and in the 'subdir' directory.

\setupinteraction[state=start]
\starttext
\goto{GOTO}[target::] % Works
\goto{GOTO}[subdir/target::] % Works
\goto{GOTO}[../target::] % Doesn't work
\stoptext

Any help is welcome.

-- 
Denis.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \goto a file in the parent directory
  2005-06-04  9:57 \goto a file in the parent directory Denis Pinsard
@ 2005-06-04 11:44 ` Hans Hagen
  2005-06-04 12:04   ` Denis Pinsard
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2005-06-04 11:44 UTC (permalink / raw)


Denis Pinsard wrote:
> Hello,
> 
> Assume that 'target.pdf' is in the current directory, the parent 
> directory  and in the 'subdir' directory.
> 
> \setupinteraction[state=start]
> \starttext
> \goto{GOTO}[target::] % Works
> \goto{GOTO}[subdir/target::] % Works
> \goto{GOTO}[../target::] % Doesn't work
> \stoptext
> 
> Any help is welcome.

does

\goto{GOTO}[file(../target)]

work?


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \goto a file in the parent directory
  2005-06-04 11:44 ` Hans Hagen
@ 2005-06-04 12:04   ` Denis Pinsard
  2005-06-06  2:01     ` Xiao Jianfeng
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Pinsard @ 2005-06-04 12:04 UTC (permalink / raw)


Le Sat, 04 Jun 2005 13:44:51 +0200, Hans Hagen <pragma@wxs.nl> a écrit:

> Denis Pinsard wrote:
>> Hello,
>>  Assume that 'target.pdf' is in the current directory, the parent  
>> directory  and in the 'subdir' directory.
>>  \setupinteraction[state=start]
>> \starttext
>> \goto{GOTO}[target::] % Works
>> \goto{GOTO}[subdir/target::] % Works
>> \goto{GOTO}[../target::] % Doesn't work
>> \stoptext
>>  Any help is welcome.
>
> does
>
> \goto{GOTO}[file(../target)]
>
> work?

No, the file is not found.
-- 
Denis.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \goto a file in the parent directory
  2005-06-04 12:04   ` Denis Pinsard
@ 2005-06-06  2:01     ` Xiao Jianfeng
  0 siblings, 0 replies; 4+ messages in thread
From: Xiao Jianfeng @ 2005-06-06  2:01 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB2312, Size: 711 bytes --]

Denis Pinsard wrote:

> Le Sat, 04 Jun 2005 13:44:51 +0200, Hans Hagen <pragma@wxs.nl> a écrit:
>
>> Denis Pinsard wrote:
>>
>>> Hello,
>>> Assume that 'target.pdf' is in the current directory, the parent
>>> directory and in the 'subdir' directory.
>>> \setupinteraction[state=start]
>>> \starttext
>>> \goto{GOTO}[target::] % Works
>>> \goto{GOTO}[subdir/target::] % Works
>>> \goto{GOTO}[../target::] % Doesn't work
>>> \stoptext
>>> Any help is welcome.
>>
>>
>> does
>>
>> \goto{GOTO}[file(../target)]
>>
>> work?
>
>
> No, the file is not found.

In texmf.cnf, there is an item "openout_any = a", which enables ConTeXt
to open parent paths. Maybe this can help, I'm not sure.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-06  2:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-04  9:57 \goto a file in the parent directory Denis Pinsard
2005-06-04 11:44 ` Hans Hagen
2005-06-04 12:04   ` Denis Pinsard
2005-06-06  2:01     ` Xiao Jianfeng

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).