Next: , Previous: Horizontal Rules and Anchors, Up: Markup Rules



8.13 Evaluating Emacs Lisp code in documents for extensibility

Arbitrary kinds of markup can be achieved using the <lisp> tag, which is the only Muse tag supported in a style's header and footer text. With the <lisp> tag, you may generated whatever output text you wish. The inserted output will get marked up, if the <lisp> tag appears within the main text of the document.

     <lisp>(concat "This form gets " "inserted")</lisp>

Note that you should not use the insert command within a set of <lisp> tags, since the return value from the <lisp> tags will be automatically inserted into the document.