Tags:
create new tag
, view all tags

Question

I have tried the suggestions in Linking to Pages or Destinations Within PDFs at http://www.planetpdf.com/enterprise/article.asp?contentid=6426&ra without success. Can this be done in TWiki?

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality

-- DaveJohnson - 23 May 2006

Answer

Taking GenPDFAddOn as an example it generates destinations in the pdf for HTML headings as well as HTML anchors per default. On top of this you can of course use HTMLDOC syntax in the TWiki topic for adding your own extra destinations in the generated pdf.

So it is indeed possible both to generate a pdf with destinations from TWiki content, and afterwards link to the specific destinations using the TWiki_GenPDFAddOn.pdf#nameddest=known_bugs syntax.

If this missed your point, feel free to ask again smile

-- SteffenPoulsen - 23 May 2006

I have an existing pdf I'm trying to link to. Even when I add #page=121 it still takes me to the beginning.

I didn't think the pdf needed to be specially prepared for a page reference, and that for a named destination all it needed was an existing link. Is that not right?

-- DaveJohnson - 24 May 2006

You'll have to upload it somewhere to allow us to take a look (attach it here, perhaps?). Up front I'd say there should be no problem in linking to page references no matter how the pdf was prepared.

-- SteffenPoulsen - 24 May 2006

The actual pdf I was using is over 900KB but here's a similar one. If I can't link to 'Restoring Messages' as least I should be able to link to page 11.

-- DaveJohnson - 24 May 2006

I wonder what would be wrong with your setup, linking to it using http://www.twiki.org/p/pub/Support/LinkToSpecificPdfLocation/TS_CollaborativePlatform10_Vol2_WorkingWithTheMessageCatalog.pdf#page=11 works alright here (there are no destinations in the pdf, so nothing to link to there).

Perhaps this is related to your browser setup? You don't mention what browser you are using, but I tested the links in Firefox and Internet Explorer here (with a default acrobat reader setup).

-- SteffenPoulsen - 24 May 2006

When I try your same link, http://twiki.org/p/pub/Support/LinkToSpecificPdfLocation/TS_CollaborativePlatform10_Vol2_WorkingWithTheMessageCatalog.pdf#page=11 , I get page 1. So I guess it's not the size of the pdf either. I'll investigate my IE settings. Thanks for the help.

-- DaveJohnson - 24 May 2006

This was resolved by checking 'Display PDF in Browser' in Adobe preferences.

-- DaveJohnson - 26 May 2006

 

Topic attachments
I Attachment Action Size Date Who Comment
PDFpdf TS_CollaborativePlatform10_Vol2_WorkingWithTheMessageCatalog.pdf manage 103.0 K 2006-05-24 - 17:57 DaveJohnson  
PDFpdf TWiki_GenPDFAddOn.pdf manage 449.7 K 2006-05-23 - 20:02 SteffenPoulsen Demonstration pdf, GenPDFAddOn plugin topic
Topic revision: r8 - 2006-05-26 - DaveJohnson
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.