As a simple work-around, here's a one-liner to generate a separate TOC.pdf (which you can then prepend to the main PDF, or print):
Code:
jpdfbookmarks -p'|' -d FILE.pdf | perl -ne 'if (/(.*)\|(\d+)/) { printf "%5d %s\n", $2, $1 }' | a2ps -B -1 -o - | ps2pdf - /tmp/TOC.pdf
Kovid, feel free to disregard my observations if they made you angry (no point in spamming others, so I won't argue any further). Whatever your feelings, I don't see why you should be calling names someone who chooses not to contribute to your open-source baby. But whatever makes you feel powerful...