/*
* To be done:
*
+ * - tune the page breaking algorithm to impose penalties on
+ * various things
+ * * breaking in the middle of a code paragraph
+ * * breaking one line from the start or end of a paragraph
+ * * breaking immediately after a heading of any kind (or
+ * indeed within one)
+ * * we may also need to impose a limit on the amount by which
+ * we can _stretch_ a page; after a certain point we may
+ * prefer just to unapologetically leave space at the bottom.
+ *
+ * - implement some simple graphics
+ * * I had an underline below chapter headings in the original
+ * Perl version, and I thought it looked rather nice
+ * * also we need para_Rule.
+ *
* - set up contents section now we know what sections begin on
* which pages
*
*
* - index
*
+ * - header/footer? Page numbers at least would be handy. Fully
+ * configurable footer can wait, though.
+ *
* That should bring us to the same level of functionality that
* original-Halibut had, and the same in PDF plus the obvious
* interactive navigation features. After that, in future work:
int base_width = paper_width - left_margin - right_margin;
int page_height = paper_height - top_margin - bottom_margin;
- IGNORE(keywords); /* FIXME */
IGNORE(idx); /* FIXME */
/*
case word_IndexRef:
goto nextword;
/*
- * FIXME: we should do something with all of these!
- * Hyperlinks and xrefs have meaning in PDF, and this
- * is probably the right place to nail down the index
- * references too.
+ * FIXME: we should do something with this.
*/
}