Linking: Relative paths to other documents?

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
PdfSnooper
User
Posts: 27
Joined: Sun May 29, 2011 10:36 pm

Linking: Relative paths to other documents?

Post by PdfSnooper » Sun Nov 13, 2011 9:34 pm

When you link from one document to another, isn't it possible somehow to use a relative path instead of an absolute path?

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13548
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Linking: Relative paths to other documents?

Post by Tracker Supp-Stefan » Mon Nov 14, 2011 11:22 am

Hello PdfSnooper,

Yes it's possible, when making the links - create them relative, and they should stay like this.
When you hover over a link in our Viewer you will see the full path, but if you move the document and reopen it in the Viewer the "full" path should update accordingly.

Best,
Stefan

PdfSnooper
User
Posts: 27
Joined: Sun May 29, 2011 10:36 pm

Re: Linking: Relative paths to other documents?

Post by PdfSnooper » Mon Nov 14, 2011 3:20 pm

Tracker Supp-Stefan wrote:
Yes it's possible, when making the links - create them relative, and they should stay like this.
But how do I do that?? I can't write in the "file name" field, but have to use the file browser, and it always inserts the full path to the document.

Tracker Supp-Stefan wrote: When you hover over a link in our Viewer you will see the full path,

I understand that part.
Tracker Supp-Stefan wrote: but if you move the document and reopen it in the Viewer the "full" path should update accordingly.
But not this part.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13548
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Linking: Relative paths to other documents?

Post by Tracker Supp-Stefan » Mon Nov 14, 2011 4:09 pm

Hello PdfSnooper,

Please take a look at this KB on the subject:
How do I add links to a document
For how to create the links. The File Path Field should be active and you be allowed to type in it. If you are not - then you are using an older build of our products and need to update:
http://www.tracker-software.com/product/downloads

And for the part that you don't understand let me give you an example. Hope this will make the things clear:

You have a file with a relative link in it pointing to "./subfolder/another_file.pdf"
If your file is in e.g. C:\Documents - you path you will see when you hover over the link inside the Viewer would be "C:\Documents\subfolder\another_file.pdf" but if you move this file to e.g. C:\Desktop the link will still be relative, but you will see
"C:\Desktop\subfolder\another_file.pdf" if you hober over the link.
So it will seem as the paths inside the Viewer are "absolute" but they are in fact relative.

Best,
Stefan

PdfSnooper
User
Posts: 27
Joined: Sun May 29, 2011 10:36 pm

Re: Linking: Relative paths to other documents?

Post by PdfSnooper » Mon Nov 14, 2011 4:33 pm

Tracker Supp-Stefan wrote:
Please take a look at this KB on the subject:
How do I add links to a document
Yes, know this.

Tracker Supp-Stefan wrote:
For how to create the links. The File Path Field should be active and you be allowed to type in it. If you are not - then you are using an older build of our products and need to update:
http://www.tracker-software.com/product/downloads
It is not active. I can not type text in the "file name" field, only choice is to click on the button next to the "file name" field (to open the 'open dialog')

I am using version 2.5 Build 199

Jamie - Tracker Supp
User
Posts: 207
Joined: Thu Jun 02, 2011 3:23 pm

Re: Linking: Relative paths to other documents?

Post by Jamie - Tracker Supp » Mon Nov 14, 2011 4:59 pm

Hi PdfSnooper,

Could you zip up and add an example pdf for us to take a look at?

Regards,
Jamie.

PdfSnooper
User
Posts: 27
Joined: Sun May 29, 2011 10:36 pm

Re: Linking: Relative paths to other documents?

Post by PdfSnooper » Mon Nov 14, 2011 5:31 pm

Jamie - Tracker Supp wrote:
Could you zip up and add an example pdf for us to take a look at?
It worries me you ask that. Surely its the Program which doesn't do this, and the actual PDF is not relevant?

It could be any PDF - I can do a "New Document/From Blank Page" and the problem persists.

Perhaps I should outline each step, so we are sure we talk about the same thing, and if I have overlooked something:

1. I open any document in PDF-XChange viewer (could be one I just made in the program)
2. I select the "Rectangle Link Tool"
3. I drag out a square - the "Link Properties" window opens.
4. I select actions.
5. I select 'Add "Go to a page in another document"'
6. The 'New Action: "Go to a page in another document"' window opens.
7. In the upper right hand corner is the "File Name:" field (right under "Target Document"). There is a cursor flashing in the "File Name:" field, but the field is read only, and no matter what i press on the keyboard, nothing is entered.
8. I can click on the button next to the "File Name:" field and a file will be inserted, but it will have its full path. Since the field is read only, I can't edit the path out.

If you still want a PDF, I can generate a new one

Jamie - Tracker Supp
User
Posts: 207
Joined: Thu Jun 02, 2011 3:23 pm

Re: Linking: Relative paths to other documents?

Post by Jamie - Tracker Supp » Mon Nov 14, 2011 6:12 pm

Hi PdfSnooper,

My mistake, I was confused by Stefan's post. We have spoken with the development team and they have told us it is a valid concern and to make a ticket for it. Which I will. When there is progress on the challenge I will email you.

Regards,
Jamie.

PdfSnooper
User
Posts: 27
Joined: Sun May 29, 2011 10:36 pm

Re: Linking: Relative paths to other documents?

Post by PdfSnooper » Mon Nov 14, 2011 6:15 pm

Thanks Jamie, I'll look forward to that :)

Jamie - Tracker Supp
User
Posts: 207
Joined: Thu Jun 02, 2011 3:23 pm

Re: Linking: Relative paths to other documents?

Post by Jamie - Tracker Supp » Mon Nov 14, 2011 6:32 pm

PdfSnooper,

No Problem, I checked your account and you don't have an email listed. If you want me to email you just update your user or PM the email.

Regards,
Jamie.

Post Reply