<! banner_id > The macro files for all converters are (by default) installed to a directory <code>/usr/local/lib/yodl</code>. This is a good place to look if you want to see how a converter works, or if you want to write a new converter. The place to start looking is the file <code>shared.yo</code>, which is used by all converters. This file defines most commands that are `global' in the sense that all converters implement them: e.g., <code>bf</code>, <code>em</code> and so on. The implementation is per macro as follows, illustrated for e.g., <code>bf</code> (the actual implementation may be slightly different): <pre> DEFINEMACRO(bf)(1)(\ whenlatex(latexcommand({\bf )ARG1+latexcommand(}))\ whenhtml(htmlcommand(<strong>)ARG1+htmlcommand(</strong>))\ whenman(mancommand(\fB)ARG1+mancommand(\fP))\ whensgml(sgmlcommand(<bf>)ARG1+sgmlcommand(</bf>))\ whentxt(ARG1)) </pre> <p>The macro expands to a set of commands that are active per output format, using <code>latexcommand</code>, <code>htmlcommand</code> etc.. <p>The file <code>shared.yo</code> is included in its turn by <code>tex.yo</code>, <code>html.yo</code> and so on. These separate files are very short; their function is to: <p><dl> <p><li > define the conversion type with an appropriate symbol (<code>latex</code> for latex conversions, <code>html</code> for HTML, and so on), <p><li > activate character tables (when necessary), <p><li > include <code>shared.dm</code>, <p><li > define special macros for the particular conversion (when necessary). <p></dl> <p><!-- if this file ./Documentation/footer.html.in is present, it is included automatically by add-html-footer, and replaces the simple standard footer substitutions: * index, * package name * package name * ENV:WEBMASTER, * ENV:WEBMASTER --> <hr> Go <a href=>back</a> to index of Yodl. <p> Please send Yodl questions and comments to <a href="mailto:yodl@icce.rug.nl"> <em>yodl@icce.rug.nl</em></a>. <p> <!-- package Yodl Yodl --> Please send comments on these web pages to <a href="mailto:(address unknown)"><em>(address unknown)</em></a> <p> Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen. <p> Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.<p> <hr><font size=-1> This page was built from Yodl-1.31.18 by <address><br> <<a href=\"mailto:(address unknown)\">(address unknown)</a>>, Wed Mar 5 04:36:20 2008 EST.</address><p></font></BODY> </html>