Re: 9.0 PDFs lost 'bookmarks' tab - Mailing list pgsql-docs

From Thom Brown
Subject Re: 9.0 PDFs lost 'bookmarks' tab
Date
Msg-id AANLkTi=3bkqc3ScM5Y==NPeY0_4uLFy+yGD9=GJ-NMZB@mail.gmail.com
Whole thread Raw
In response to Re: 9.0 PDFs lost 'bookmarks' tab  (Thom Brown <thom@linux.com>)
Responses Re: 9.0 PDFs lost 'bookmarks' tab  (Thom Brown <thom@linux.com>)
List pgsql-docs
On 28 September 2010 15:36, Thom Brown <thom@linux.com> wrote:
> On 28 September 2010 15:30, Kevin Grittner <Kevin.Grittner@wicourts.gov> wrote:
>> "Erik Rijkers" <er@xs4all.nl> wrote:
>>
>>> Something seems to have gone wrong with generating the version 9.0
>>> PDFs on the website: both A4 and US have no bookmarks tab.   (I'm
>>> reading with Adobe Reader 7.0.0)
>>
>> Odd.  From this page:
>>
>> http://www.postgresql.org/docs/manuals/
>>
>> With Okular Version 0.9.2 the 9.0 US PDF has a working Bookmarks
>> tab, as well as the Thumbnail and Reviews tabs, but the Contents tab
>> is disabled.  (It works with the 8.4 US PDF.)
>>
>> Perhaps it has something to do with the filtering to reduce the file
>> size; it may have had some unexpected side effects.
>
> Yes the JPDFTweak process may have stripped that out. :S  I can
> confirm the issue :/

Just experimented, and found that even if you tell it to use
"pdfmarks" (using -om), the bookmarks are still lost, so not sure that
option will help.  I could only get the bookmarks back if I exported
the bookmarks and re-imported them:

java -jar jpdftweak.jar -i inputfile.pdf -savebookmarks bookmarks.csv
java -jar jpdftweak.jar -i inputfile.pdf -os -loadbookmarks
bookmarks.csv -o outputfile.pdf

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

pgsql-docs by date:

Previous
From: Thom Brown
Date:
Subject: Re: 9.0 PDFs lost 'bookmarks' tab
Next
From: Thom Brown
Date:
Subject: Re: 9.0 PDFs lost 'bookmarks' tab