Re: 9.0 PDFs lost 'bookmarks' tab

From: Thom Brown <thom(at)linux(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-docs(at)postgresql(dot)org, Erik Rijkers <er(at)xs4all(dot)nl>
Subject: Re: 9.0 PDFs lost 'bookmarks' tab
Date: 2010-09-28 15:37:27
Message-ID: AANLkTikG93yqQYf1pGztmtn3mBeMP+0hUjsntJd+BFF+@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 28 September 2010 16:29, Thom Brown <thom(at)linux(dot)com> wrote:
> On 28 September 2010 15:36, Thom Brown <thom(at)linux(dot)com> wrote:
>> On 28 September 2010 15:30, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
>>> "Erik Rijkers" <er(at)xs4all(dot)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

...and the output file is about 10% larger than the normal optimised file.

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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2010-09-29 11:04:32 Re: ECPG - Some errno definitions don't match to the manual
Previous Message Thom Brown 2010-09-28 15:29:30 Re: 9.0 PDFs lost 'bookmarks' tab