Export templates can be stored in a Tinderbox note.
The note Create/Rename dialog has an check-box, Can be a template. If this is checked, the note's path appears in the template menu, and the note may be used as an export template. (N.B. this option applies only to proper notes and not agents).
In HTML & Text Export views, the Template pop-up list contains up to three sections:
- a list of template notes
- a list of external template files
- a list of built-in template
Template notes appear in the menu by their complete path. For example, if the template Book Template is a note inside the root-level container named "Templates", it appears in the menu as
/Templates/Book Template
If a note's name (or path/name) is identical to the name of a template file, the note template will be used rather than the file.
To avoid unwanted name conflicts, it is suggested to store templates in a dedicated container, perhaps using a self-evident name like "Templates".
A note's availability as a template is stored in attribute $IsTemplate.
The HTML and Text Export Preferences selector for the default template has changed. This is a pop-up list allowing a choice from one of 3 sections:
- choose a folder/file via a file open dialog (the traditional method)
- a listing of notes declared as templates
- choose one of the internal sample templates.
Note templates can be selected from HTML/Text Export Preferences, HTML View and Nakakoji view. Editing a template attribute in Info view will only show a file chooser dialog. A template key attribute displayed in a note's text window can be edited but no chooser/menu is created.