Re: Plain text vs. markup (was: re:Multi-Lingual Project Gutenberg)

From: Ulrich Drepper (drepper@ipd.info.uni-karlsruhe.de)
Date: Thu May 29 1997 - 10:54:57 EDT


"Unicode Discussion" <unicode@unicode.org> writes:

> I am wondering if anyone wrote an "appropriate" DTD (is this how it's
> called, sorry :() and a set of TeX macros to handle it, so that one can
> still use powerful TeX formating capabilities and do the markup in *the*
> standard notation. (I don't like the LaTeX anyway :)

This does not (mainly) depend on the DTD. It the processing engine.

If you you the DocBook DTD and an DSSSL engine (e.g., Jade) you can
write your own DSSSL description for this DTD which includes something
like this:

        <equation>
          <graphic format="TEX">
            a = \frac{b}{c}
          </graphic>
          <graphic format="EQN">
            a = b over c
          </graphic>
        </equation>

It depends on the DSSSL backend to pick/emit the right form.

-- Uli
---------------. drepper@cygnus.com ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:34 EDT