The Yodl package is distributed with scripts yodl2tex, yodl2html and other yodl2... drivers. Basically, an invocation like
yodl2tex file

starts the yodl program to process file.yo and to write output to file.tex. The extension of the input file, .yo, is the default Yodl extension; the extension of the output file, .tex, is given by the name of the shell script. The script yodl2html hence writes to a file with the extension .html.

Furthermore, the conversion scripts auto-load the right macro file: tex.yo for LaTeX conversions, html.yo for HTML conversions, etc.. The macro files are of course found in the system-wide include directory.

When the conversion scripts are started without arguments, usage information is shown.

The output files are, depending on the conversion:

The Yodl package furthermore holds `second-step' scripts, which are:

The scripts yodl2manless and yodl2msless start groff with the instruction to produce plain ASCII text. The groff program then (usually) outputs boldface as overstrike, and italics as underlined. This convention is most often used, and is meant to provide some degree of font alternation for printed ASCII documents. If you want to convert a Yodl document to true ASCII, without overstrikes or underlines, take a look at the C program striproff which is included in the Yodl distribution as misc/striproff.c. This program is not compiled and installed by the default Yodl installation process, but is only distributed as an example. If you choose to compile and install it, you can use it as follows, assuming that you have a manpage document mymanpage.yo and an article myarticle.yo:

% yodl2manless mymanpage | striproff > mymanpage.txt
% yodl2msless myarticle  | striproff > myarticle.txt

Go back to index of Yodl.

Please send Yodl questions and comments to yodl@icce.rug.nl.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from Yodl-1.31.18 by

<(address unknown)>, Thu Jan 19 00:17:16 2006 MSK.