Noted that unfortunately a missingto setting is required for this to work,
and the missingto section will be included in the list.
Not ideal perhaps for things like listening todo-tagged sections.
See https://github.com/oreillymedia/HTMLBook.
make xmllinthtmlbook to verify examples/htmlbook.html (requires HTMLBook cloned to parent directory).
Not really sure how to use this or if it is useful in practice.
Only rendered well in LaTeX (PDF). Just shown in parenthesis in other formats.
Should be possible, I think, to render in RTF as well, and HTML probably.
Only needed them for PDF output at the moment though.
Instead of just [[section]] you can have [[section][name]] and
depending on format the name will be displayed instead of or
in addition to the section number referred to.
This means that if forced to follow instructions to turn to
some section, nothing else later in the current section will
have an effect (eg counters or collections), which should
be what the player expects.
Not sure how useful it is since you can always force one section to have the
max number you want instead.
Anyway also added filling up with dummy sections to make shuffled numbers
on sections in the correct range from 1 to max.
Gamebooks are now quite playable in HTML version. Planning to
redesign inventory and codewords to be handled the same way, to allow
adding other things that behave in a similar way to a gamebook (eg
skills or spells). Also some obvious things are missing like being
able to check if NOT having an item or codeword, or preventing a player
from finding the same item twice (if redirected back to a section where
it can be found after dropping it).
Switched to text mark-up even more similar to org-mode, also more
similar to typical wiki mark-up, removing python-style format from
sections (but not from the templates).