Scan documents for numbered boxes (info, example, exercise).
Viewers need to be able to quickly number and reference boxes without scanning
the whole document structure themselves. This extension adds a field to the
Manifest that lists all boxes per section.
It will assign an auto-generated
ID based on the box type and number to the
box div element (in case it doesn’t already have one). Also a
attribute is attached.
Furthermore this extension faciliates the course-wide tracking of exercise progress. For each exercise, the achievable points are stored. A viewer application can easily display total points per section without having to scan all documents for exercises.
Scan the documents for boxes.
Respond to AST element.
Remember current conversion language.
Set scan to done.
Remember current path.
post_process_file(ast, _, content_type)¶
Scan the AST.
boxesfield to manifest.