ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* xml support in context / mathml
@ 2001-01-19 16:04 Hans Hagen
  2001-01-22 14:38 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2001-01-19 16:04 UTC (permalink / 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
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-04 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-19 16:04 xml support in context / mathml Hans Hagen
2001-01-22 14:38 ` Taco Hoekwater
2001-01-22 15:54   ` Hans Hagen
2001-03-04 20:26     ` Johannes Huesing

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).