runemadsen / Magic-Book-Project

DEPRECATED: We are reviving the Magic Book project as a node package: https://github.com/magicbookproject/magicbook
http://itp.nyu.edu
621 stars 59 forks source link

Index #137

Closed shiffman closed 11 years ago

shiffman commented 12 years ago

Is there a magical way we can make an index? ASCIIDOC supports indexes with macros:

indexterm:[<primary>,<secondary>,<tertiary>]

but this doesn't support ranges (e.g., pp. 5-10), sees (e.g., Rails, see Ruby on Rails), or see alsos (see also Ruby on Rails).

A stand-alone index could also be made, simply referring to anchor tags on each page.