Pointing to figures in JavaScript

In books, it is common to refer to figures “on page x”, or “on the next page”. In Prince 7, authors can refer to figures (and other elements) by way of page numbers, but there is no way to detect when a figure is on the next or previous page. Prince 8 introduces a way to do this: The text can be automatically changed based on where the figure ends up. This is accomplished through a simple JavaScript. Here is the HTML document and here is the resulting PDF file.

Posted by howcome November 27, 2013 — Filed under UncategorizedComments (0)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment