Templates in Amaya
Templates have been introduced in Amaya to allow users to specify the type of XHTML documents they want to produce. Templates are XHTML documents that contain some statements constraining the structure of (some parts of) the XHTML document. These statements are expressed in the XTiger language.
A few sample templates are provided to help users discover how Amaya works with templates:
- a resume
- a slide show
- more to come
The image shows a slide show instance generated by Amaya
Refer to entry Templates in the help menu of Amaya to learn how to use this feature. The Template help page is also available online.
Experiment the templating feature
The templating feature is not available by default. If you want to have a
look at the current state of development, you can activate it by editing file
Amaya/config/amaya.profiles
:
<Editor_WX> +config_WX - #+templates + +templates +browsing_WX
(remove the '#' starting the line '+templates').
How to get the location of this configuration file:
- Start Amaya
- Click on the Amaya icon on the top right
- Add to the displayed address the relative path
"
../../config/amaya.profiles
"