Hi Radoslaw,
I think we are on the same mailing list and got the same message from
Sebastain. We are discovering ConTeXt both at the same time.
For starters, you can look here:
http://contextgarden.net/XML
http://www.pragma-ade.com/show-mag-9.htm
As the author of the second page concedes, you need somewhat complicated
syntax to directly map XML to ConTeXt. Many of the examples mix XML and
non XML.
There is a solution that I personally think is simpler, TeXML. In this
method, you convert TEI (or other forms of XML) to TeXML, a specialized
form of XML. You then run the TeXML processor, which converts this to a
plain old ConTeXt document. The advantage of this method is that you are
converting from an XML tree to an XML tree, which is always easier than
converting from XML to text.
Have a look at:
http://sourceforge.net/forum/forum.php?thread_id=1232812&forum_id=352892
http://sourceforge.net/forum/forum.php?forum_id=427786
and of course
http://getfo.sourceforge.net/texml/index.html
I am working on a document that explains how to convert XML to ConTeXt.
The document will explain how to one would do something in FO and then
how you would do the same in ConTeXt. It will be a rough document
because I am just learning myself, but it will be a start.
Paul
-----Original Message-----
From: Radoslaw Moszczynski
Hello everyone,
I am new to ConTeXt (I've been tempted to try it out because of a message by Sebastian Rahtz, posted on TEI-L). I admit that so far I have been able to get through only the main manual, but I am very curious about some things and therefore I would really appreciate it if you could answer my questions:
1. I am interested in authoring in XML and than typesetting in ConTeXt. Are there any preferences towards using some particular markup language for typesetting in ConTeXt? Is e.g. using DocBook more preferable that using TEI--from the point of view of typesetting in ConTeXt, of course.
2. Are there any generic tools available (stylesheets etc.) for typesetting DocBook/TEI or does one have to come up with his own stylesheets? I assume that the latter is necessary if one wants to get exactly the layout he wants, but maybe there are some basic stylesheets that one can use as a base for his own ones?
3. Also, I have a more general question -- for some (short) period of time I have been reading both TEI-L and NTG-CONTEXT, all the issues related to typesetting documents marked up in XML are very confusing. Do you know any good manual/tutorial concerned with these issues that I could use a starting point for my studies on the subject?
Thank you in advance-
-Radek Moszczynski _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context