12. Output Methods
Aus Hugo Doku
To generate target text, you have to declare output methods. This chapter describes, which kind of output methods there are available.
All output methods have in common, that they have a so called context , where the output is written to. The context is determined by the parameters of the output method. All signs between the <# ... #> brackets of the method are printed to that context.
Within output methods you can as well use slots and context methods to get a flexible patchwork of target text.
12.1. gen slotname
@#gen slotname
Description:
Declares an output method with the given slotname.
This kind of output method does not take any parameters. The context of this output method is therefore determined by the output methods which sets up a slot with that given slotname.
