ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* goto and open file
@ 2007-06-17 17:41 Alan Bowen
  2007-06-18  9:45 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Bowen @ 2007-06-17 17:41 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Please excuse the Mac centric formulation of my question.

If Folders B and C are in Folder A, is there a way to insert a link  
in a PDF file in Folder B that will go to a PDF file Folder C and  
open it?

Thanks for any help or suggestions.

Alan





___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: goto and open file
  2007-06-17 17:41 goto and open file Alan Bowen
@ 2007-06-18  9:45 ` Hans Hagen
  2007-06-18 11:10   ` Alan Bowen
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2007-06-18  9:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Bowen wrote:
> Please excuse the Mac centric formulation of my question.
> 
> If Folders B and C are in Folder A, is there a way to insert a link  
> in a PDF file in Folder B that will go to a PDF file Folder C and  
> open it?

just prefix the filename by the path

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.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: goto and open file
  2007-06-18  9:45 ` Hans Hagen
@ 2007-06-18 11:10   ` Alan Bowen
  2007-06-18 21:25     ` Alan Bowen
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Bowen @ 2007-06-18 11:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1665 bytes --]

Hans—

I currently have

\useexternaldocument[ch4][../01-04_Gants/c_01-04_Gants.pdf][Gants and  
Hailey]
\goto{Gants and Hailey}[ch4::../01-04_Gants/cc_01-04_Gants.pdf]

But, though the phrase “Gants and Hailey” does appear to be a link,  
selecting it does not actually open the file.

Is there a problem with the use of relative pathnames?

Alan

On Jun 18, 2007, at 5:45 AM, Hans Hagen wrote:

> Alan Bowen wrote:
>> Please excuse the Mac centric formulation of my question.
>>
>> If Folders B and C are in Folder A, is there a way to insert a link
>> in a PDF file in Folder B that will go to a PDF file Folder C and
>> open it?
>
> just prefix the filename by the path
>
> 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.com
>                                               | www.pragma-pod.nl
> -----------------------------------------------------------------
> ______________________________________________________________________ 
> _____________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ______________________________________________________________________ 
> _____________


[-- Attachment #1.2: Type: text/html, Size: 5805 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: goto and open file
  2007-06-18 11:10   ` Alan Bowen
@ 2007-06-18 21:25     ` Alan Bowen
  2007-06-19  5:43       ` Jean Magnan de Bornier
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Bowen @ 2007-06-18 21:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2679 bytes --]

Hans—

I caught the typo in my last message. Regrettably, though

\useexternaldocument[ch4][../01-04_Gants/c_01-04_Gants.pdf][Gants and  
Hailey]
\goto{Gants and Hailey}[ch4::../01-04_Gants/c_01-04_Gants.pdf]

still prints “Grant and Hailey” as an active link, it is not one in  
fact.

Same for \from[ch4].

I must be missing something. But what?

Alan


On Jun 18, 2007, at 7:10 AM, Alan Bowen wrote:

> Hans—
>
> I currently have
>
> \useexternaldocument[ch4][../01-04_Gants/c_01-04_Gants.pdf][Gants  
> and Hailey]
> \goto{Gants and Hailey}[ch4::../01-04_Gants/cc_01-04_Gants.pdf]
>
> But, though the phrase “Gants and Hailey” does appear to be a link,  
> selecting it does not actually open the file.
>
> Is there a problem with the use of relative pathnames?
>
> Alan
>
> On Jun 18, 2007, at 5:45 AM, Hans Hagen wrote:
>
>> Alan Bowen wrote:
>>> Please excuse the Mac centric formulation of my question.
>>>
>>> If Folders B and C are in Folder A, is there a way to insert a link
>>> in a PDF file in Folder B that will go to a PDF file Folder C and
>>> open it?
>>
>> just prefix the filename by the path
>>
>> 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.com
>>                                               | www.pragma-pod.nl
>> -----------------------------------------------------------------
>> _____________________________________________________________________ 
>> ______________
>> 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  : https://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> _____________________________________________________________________ 
>> ______________
>
> ______________________________________________________________________ 
> _____________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ______________________________________________________________________ 
> _____________


[-- Attachment #1.2: Type: text/html, Size: 8873 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: goto and open file
  2007-06-18 21:25     ` Alan Bowen
@ 2007-06-19  5:43       ` Jean Magnan de Bornier
  2007-06-19 11:03         ` Alan Bowen
  0 siblings, 1 reply; 6+ messages in thread
From: Jean Magnan de Bornier @ 2007-06-19  5:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le 18 juin à 23:25:24 Alan Bowen <acbowen@princeton.edu> écrit notamment:

| Hans—
>
| I caught the typo in my last message. Regrettably, though
>
| \useexternaldocument[ch4][../01-04_Gants/c_01-04_Gants.pdf][Gants and
| Hailey]
| \goto{Gants and Hailey}[ch4::../01-04_Gants/c_01-04_Gants.pdf]
>
| still prints “Grant and Hailey” as an active link, it is not one in
| fact.
>
| Same for \from[ch4].
>
| I must be missing something. But what?
>
| Alan

Things like that have happened to me and I found out that *sometimes* it
is the pdf viewer which is responsible: xpdf coud not open the file but
acroread did it. I'm not sure how I fixed it but I seem to remember that
xpdf hated relative links...

Sorry if this is completely on a wrong track...

-- 
Jean
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: goto and open file
  2007-06-19  5:43       ` Jean Magnan de Bornier
@ 2007-06-19 11:03         ` Alan Bowen
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Bowen @ 2007-06-19 11:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jean—

Many thanks for the tip. It turns out that the PDF viewer that comes  
with TeXShop is the partly responsible for the problem. The other  
part of the problem is with the relative pathnames—which is a  
limitation if the aim is to put the PDF files produced on someone  
else’s server.

The solution was to use an alias of the target PDF file (symlink?) in  
the same Folder (directory) as the .tex source file in which the link  
is established and to use another PDF reader.

Many thanks.

Alan


On Jun 19, 2007, at 1:43 AM, Jean Magnan de Bornier wrote:

> Le 18 juin à 23:25:24 Alan Bowen <acbowen@princeton.edu> écrit  
> notamment:
>
> | Hans—
>>
> | I caught the typo in my last message. Regrettably, though
>>
> | \useexternaldocument[ch4][../01-04_Gants/c_01-04_Gants.pdf][Gants  
> and
> | Hailey]
> | \goto{Gants and Hailey}[ch4::../01-04_Gants/c_01-04_Gants.pdf]
>>
> | still prints “Grant and Hailey” as an active link, it is not one in
> | fact.
>>
> | Same for \from[ch4].
>>
> | I must be missing something. But what?
>>
> | Alan
>
> Things like that have happened to me and I found out that  
> *sometimes* it
> is the pdf viewer which is responsible: xpdf coud not open the file  
> but
> acroread did it. I'm not sure how I fixed it but I seem to remember  
> that
> xpdf hated relative links...
>
> Sorry if this is completely on a wrong track...
>
> -- 
> Jean
> ______________________________________________________________________ 
> _____________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ______________________________________________________________________ 
> _____________

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-06-19 11:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-17 17:41 goto and open file Alan Bowen
2007-06-18  9:45 ` Hans Hagen
2007-06-18 11:10   ` Alan Bowen
2007-06-18 21:25     ` Alan Bowen
2007-06-19  5:43       ` Jean Magnan de Bornier
2007-06-19 11:03         ` Alan Bowen

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