\goto a file in the parent directory
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.
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 -----------------------------------------------------------------
Le Sat, 04 Jun 2005 13:44:51 +0200, Hans Hagen
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.
Denis Pinsard wrote:
Le Sat, 04 Jun 2005 13:44:51 +0200, Hans Hagen
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.
participants (3)
-
Denis Pinsard
-
Hans Hagen
-
Xiao Jianfeng