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
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 -----------------------------------------------------------------
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 ______________________________________________________________________ _____________
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 ______________________________________________________________________ _____________
Le 18 juin à 23:25:24 Alan Bowen
| 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
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
é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 ______________________________________________________________________ _____________
participants (3)
-
Alan Bowen
-
Hans Hagen
-
Jean Magnan de Bornier