Tinderbox Trick: one page navigation
As many, I don't only use Tinderbox to write this weblog. I like writing longer essays in it also, some consisting of numerous single notes. All these notes are later collated into one lengthly HTML page for easy distribution and publishing. (I dislike longer essays broken into many HTML pages for various reasons.) One thing these longer pages can vastly benefit from are inner-page TOCs. But how to build something like that? By hand? No way! Tinderbox at the rescue!
The trick is rather easy, the effect can be seen here. That page's note has several children that are pulled into the main page via
tb_include_subpage.html template is originally very simple:
The idea now is to 'include' the chilldern twice, once in the above fashion and once as a list of links according to this temple:
That needs to be matched by a slightly more compley main child-template:
Why am I using
OutlineOrder? I originally wanted to use something like
HTMLExportFileName to have more descriptive links, but that's not working. Tinderbox would only return anything for notes that actually had a manually set attribute there. Anybody know a way of knowing the auto-generated
HTMLExportFileName in a export-template?
- using Tinderbox notes for templates?
- tracking external links with(out) AJAX
- Procrastination and TaskLists
- Tinderbox: going from cloud to text
alles Bild, Text und Tonmaterial ist © Martin Spernau, Verwendung und Reproduktion erfordert die Zustimmung des Authors