Comment 2 for bug 1086395

Revision history for this message
joede (joerg-desch) wrote :

I would make a difference between templates to create new documents (that is what you are talking about) on one side, and the (IMO missnamed) pandoc templates to specify the layout of the output (I will call them *output template* now).

If you add special markup to the document, you must also add something like *output classes*. These classes must reduce the list of possible *output templates*. So you have to add the supported classes to the *output templates* too. This would go one step further than my approach.

If you create a letter or slide from a *uberwriter template*, than the advanced export show only backends or *output templates* which are valid for letters or slides.

The pandoc template is only the sleeve for the layout. It doesn't hold the meta data like the *output classes* or the supported (excpected) variables.