Next: , Previous: Images, Up: Markup Rules


7.5 Lisp Tricks

<lisp></lisp> tags can be used, not only to evaluate forms for insertion at that point, but to influence the publishing process in many ways. Here's another way to change a page's stylesheet:

     <lisp>
     (ignore
       ;; use special.css for this Wiki page
       (set (make-variable-buffer-local 'emacs-wiki-style-sheet)
            "<link rel=\"stylesheet\" type=\"text/css\" href=\"special.css\" />"))
     </lisp>

The ignore is needed so nothing is inserted where the <lisp> tag occurred. Also, there should be no blank lines before or after the tag (to avoid empty paragraphs from being created). The best place to put this would be at the very top or bottom of the page.