fname(name)
is defined to typeset a filename. The
macro maps to em()
in LaTeX output or to bf()
in other formats.
lib/yodl/shared.yo.in
in the
Yodl source tree. This is the `master file' from which both the final
macrofile and relevant documentation is created.
fname
macro
would appear somewhere near footnote()
though before it.
@startdoc
and @enddoc
. The make
process looks for
these tags. The documentation itself must appear as a macro which is
(appropriately) called macro
, and expects two arguments: the new macro
that is being defined, and its description:
@startdoc macro(fname(file)) (Sets a filename in either boldface or italics, depending on the output format.) @enddoc
when
format() commands and/or formatcommand
():
DEFINEMACRO(fname)(1)(\ whenlatex(em(ARG1))\ whenhtml(bf(ARG1))\ whenman(bf(ARG1))\ whenms(bf(ARG1))\ whentxt(bf(ARG1))\ whensgml(bf(ARG1)))
The new macro is now in place. A new make
job should install it all, and
if necessary, make the appropriate new documentation files.
After this, please kindly mail me your addition to the Yodl package. I will include it (if it's worth while), stating full credits too.
Please send Yodl questions and comments to yodl@icce.rug.nl.
Please send comments on these web pages to
(address unknown),
send other FSF & GNU inquiries and questions to
Copyright (c) 1998 Karel Kubat and Jan Nieuwenhuizen
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.