ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: xml support in context / mathml
Date: Fri, 19 Jan 2001 17:04:36 +0100	[thread overview]
Message-ID: <3.0.6.32.20010119170436.015574c0@server-1> (raw)

[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]

Hi, 

The latest beta has xml support build in. If you follow the xml link at our
homepage, you arrive at a page where the topmost link will bring you to the
preliminary "xml in context" manual. 

XML support is build in layers: 

- an xml parser thtat can handle raw xml, as well as xml that si part of a
normal tex document, this parser is normally all you need

- a remapper that maps xml elements onto tex elements, this si for
fanatics, and not yet in the beta; it's used for the mathml xml filter i'm
working on

- filters that suport specific dtd's 

Attached is a file that shows how (currently) the content mathml filter
performs. I got most of it working [as with presentattional) but for very
complicated math, i will have to map onto math macros that i guess are now
living on taco's machine, but that will be sorted out later. I will release
the mml filters when i can handle the outpus as mentioned in the mathml
draft [some things in there still puzzle me since i don't know all those
math concepts in detail]

One application of mathml is, that when in the tex file you use mathml,
combined with the html output style that berend is working on, in due time
context can produce html with math, but from the same source also normal
docs. The advantage is that you then can also share math code with other
apps like mathematica as well as use output from those programs [that i
don't have btw].  

Much is still experimental and you may expect some cleaner and leaner code
later.

Hans

[-- Attachment #2: mml.zip --]
[-- Type: application/zip, Size: 27012 bytes --]

[-- Attachment #3: Type: text/plain, Size: 370 bytes --]

-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

             reply	other threads:[~2001-01-19 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-19 16:04 Hans Hagen [this message]
2001-01-22 14:38 ` Taco Hoekwater
2001-01-22 15:54   ` Hans Hagen
2001-03-04 20:26     ` Johannes Huesing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.6.32.20010119170436.015574c0@server-1 \
    --to=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).