Halibut uses.
git-svn-id: svn://svn.tartarus.org/sgt/halibut@6912
cda61777-01e9-0310-a592-
d414129be87e
/*
* The catalogue just contains references to the outlines and
/*
* The catalogue just contains references to the outlines and
+ * pages objects, and the pagelabels dictionary.
*/
objtext(cat, "<<\n/Type /Catalog");
if (outlines) {
*/
objtext(cat, "<<\n/Type /Catalog");
if (outlines) {
}
objtext(cat, "\n/Pages ");
objref(cat, pages);
}
objtext(cat, "\n/Pages ");
objref(cat, pages);
+ /* Halibut just numbers pages 1, 2, 3, ... */
+ objtext(cat, "\n/PageLabels<</Nums[0<</S/D>>]>>");
if (outlines)
objtext(cat, "\n/PageMode /UseOutlines");
objtext(cat, "\n>>\n");
if (outlines)
objtext(cat, "\n/PageMode /UseOutlines");
objtext(cat, "\n>>\n");