MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Software announcement: Adding bookmark for PDF generated from notebook

  • To: mathgroup at
  • Subject: [mg81467] Software announcement: Adding bookmark for PDF generated from notebook
  • From: "厉正吉" < at>
  • Date: Mon, 24 Sep 2007 04:20:43 -0400 (EDT)

Dear all,

As we know, for generating PDF from notebooks, virtual printing is the most
convenient and economic way. But the absence of bookmark in the generated
PDF makes the browsing of the file quite in-convenient, especially for
large files.

So I decided to develop a tool (free of charge, of course)  to importing
bookmark into PDF files. The tool is now ready for your command, called

BTW, we could also call the bookmarks as outlines, table of contents, etc.

pdfBookmark reads a text file as the table of contents, which looks like

1, Chapter 1
    3, Section I
    4, Another section
        9, A subsection
10, The second chapter
    13, Section I of chapter 2
15, The last chapter

NOTE: we could only specify a "page number" for one item in pdfBookmark.

For Mathematica, I have written a piece of code to generate the TOC file
shown as above, which is compatitable with versions from 5 to 6. (The
original idea is to use it in Publicon, but the magic function
FrontEnd`NotebookGetLayoutInformationPacket seems not to be there.)

Many thanks to OpenAuthor tool, I have learned many un-documented things
from it.

Back to the little program pdfBookmark, it is written in Object Pascal, and
compiled for Win32 using Delphi. I will make it open source if it is necessary.
 It can not handle encrpted files.

I have packaged pdfBoomark and Mathematica program. It can be downloaded
at The MD5 of this
zip file is

Finally, pdfBookmark cannot be used for commercial purpose without the
permission  of me.

  • Prev by Date: Re: How to extract values from ListPlot
  • Next by Date: Re: Erroneous Mathematica Kummer's (Hypergeometric1F1)
  • Previous by thread: Re: Nullcline and getting "2" values for y
  • Next by thread: making a list using table but with different increment after a certain number