Dear all, What is currently the best source for documentation on mark iv's xml capabilities? Thanks, Joh
Johannes Graumann wrote:
Dear all,
What is currently the best source for documentation on mark iv's xml capabilities?
there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen wrote:
Johannes Graumann wrote:
Dear all,
What is currently the best source for documentation on mark iv's xml capabilities?
there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference)
I have read that chapter and I wonder whether this XML handling will be available in LuaTeX or it will be exclusive for ConTeXt. Sorry if the question seems to be stupid. I would like to know whether this will be available for LuaTeX + LaTeX one day. Thanks, Pablo
On Dec 18, 2007 1:11 PM, Pablo Rodríguez
Hans Hagen wrote:
Johannes Graumann wrote:
Dear all,
What is currently the best source for documentation on mark iv's xml capabilities?
there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference)
I have read that chapter and I wonder whether this XML handling will be available in LuaTeX or it will be exclusive for ConTeXt. In luatex there is already lxml, which makes the basic layer. Context mkiv add a 'context way' to do things .
Sorry if the question seems to be stupid. I would like to know whether this will be available for LuaTeX + LaTeX one day. I don't have the answer, but the question is not stupid at all. From my point of view, one day pdftex+latex will be replaced by luatex+latex in a transparent way. Maybe in 2009 .
-- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org
luigi scarso wrote:
On Dec 18, 2007 1:11 PM, Pablo Rodríguez
wrote: Hans Hagen wrote:
Dear all,
What is currently the best source for documentation on mark iv's xml capabilities?
Johannes Graumann wrote: there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference) I have read that chapter and I wonder whether this XML handling will be available in LuaTeX or it will be exclusive for ConTeXt. In luatex there is already lxml, which makes the basic layer. Context mkiv add a 'context way' to do things .
bewqre, that's officially mkiv code; okay, it's mostly generic, and could be used elsewhere but that only makes sense when i've frozen the api; Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Pablo Rodríguez wrote:
Hans Hagen wrote:
Dear all,
What is currently the best source for documentation on mark iv's xml capabilities?
Johannes Graumann wrote: there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference)
I have read that chapter and I wonder whether this XML handling will be available in LuaTeX or it will be exclusive for ConTeXt.
luatex is just lua + tex + access to each other, the luatex dev team will *not* provide solutions; mkiv is what we use for testing etc etc
Sorry if the question seems to be stupid. I would like to know whether this will be available for LuaTeX + LaTeX one day.
i'm thinking of a multi layer context i.e. kind of macro package building subsystem; this means that we can for instance provide a kind of bare tex with only core functionality (fonts, languages, io, xml, etc) i have no plans to support latex if only because i have no need for it; the xml parser is rather generic, which is why it is in l-xml, but things may change (there will be more functionality, as in lxml-*) (btw, the lpath code is somewhat experimental and will be extended, as will manipulative functions) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Thanks! I remembered this, but had lost track of where to find it ... Can someone please have a quick look at the following: \startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups \xmlregistersetup{xml:mysetups} \startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups \starttext \processXMLfilegrouped{zip::\env{odt}::content.xml} \stoptext Why do I get nothing but a tuo file when processing like so: texmfstart \ texexec --lua --purge --arg="odt=Versuch.odt" --result=Versuch.odt.pdf \ COOnTeXML.tex where the code above is in COOnTeXML.tex and Versuch.odt contains a text:p tag ... Thanks, Joh Hans Hagen wrote:
Johannes Graumann wrote:
Dear all,
What is currently the best source for documentation on mark iv's xml capabilities?
there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
2007/12/18, Johannes Graumann
Thanks! I remembered this, but had lost track of where to find it ... Can someone please have a quick look at the following:
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \processXMLfilegrouped{zip::\env{odt}::content.xml} \stoptext
replace this with \starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext \processXMLfilegrouped did not work in combination with xmlregistersetup
Why do I get nothing but a tuo file when processing like so: texmfstart \ texexec --lua --purge --arg="odt=Versuch.odt" --result=Versuch.odt.pdf \ COOnTeXML.tex where the code above is in COOnTeXML.tex and Versuch.odt contains a text:p tag ...
Thanks, Joh
Wolfgang
Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Thanks! I remembered this, but had lost track of where to find it ... Can someone please have a quick look at the following:
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \processXMLfilegrouped{zip::\env{odt}::content.xml} \stoptext
replace this with
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
\processXMLfilegrouped did not work in combination with xmlregistersetup
Thanks for the hint, but \startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups \xmlregistersetup{xml:mysetups} \startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups \starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext doesn't give anything different than what I was trying before ... Joh
2007/12/18, Johannes Graumann
Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Thanks! I remembered this, but had lost track of where to find it ... Can someone please have a quick look at the following:
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \processXMLfilegrouped{zip::\env{odt}::content.xml} \stoptext
replace this with
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
\processXMLfilegrouped did not work in combination with xmlregistersetup
Thanks for the hint, but
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
doesn't give anything different than what I was trying before ...
Can you send a real example (Openoffice file plus TeX file). Wolfgang
Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Thanks! I remembered this, but had lost track of where to find it ... Can someone please have a quick look at the following:
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \processXMLfilegrouped{zip::\env{odt}::content.xml} \stoptext
replace this with
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
\processXMLfilegrouped did not work in combination with xmlregistersetup
Thanks for the hint, but
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
doesn't give anything different than what I was trying before ...
Can you send a real example (Openoffice file plus TeX file).
Attached. Thanks for your time. Joh
2007/12/18, Johannes Graumann
Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Wolfgang Schuster wrote:
2007/12/18, Johannes Graumann
: Thanks! I remembered this, but had lost track of where to find it ... Can someone please have a quick look at the following:
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \processXMLfilegrouped{zip::\env{odt}::content.xml} \stoptext
replace this with
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
\processXMLfilegrouped did not work in combination with xmlregistersetup
Thanks for the hint, but
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\starttext \xmlprocess{main}{zip::\env{odt}::content.xml}{} \stoptext
doesn't give anything different than what I was trying before ...
Can you send a real example (Openoffice file plus TeX file).
Attached. Thanks for your time. Joh
I tried this yesterday myself but I get the same error "no xml file found". Looks like ConTeXt is not able to open zip files in xml mode, you should Hans for this feature. Wolfgang
Wolfgang Schuster wrote:
Looks like ConTeXt is not able to open zip files in xml mode, you should Hans for this feature.
i probably have to call a different function (locator); i'll have a look at it (not today, no time) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Thanks Hans! Please keep me informed ... I will bug you then and again ;0) Joh Hans Hagen wrote:
Wolfgang Schuster wrote:
Looks like ConTeXt is not able to open zip files in xml mode, you should Hans for this feature.
i probably have to call a different function (locator); i'll have a look at it (not today, no time)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
Just trying to keep this on the radar ... ;0) Merry Chrismas! Joh Hans Hagen wrote:
Wolfgang Schuster wrote:
Looks like ConTeXt is not able to open zip files in xml mode, you should Hans for this feature.
i probably have to call a different function (locator); i'll have a look at it (not today, no time)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
participants (5)
-
Hans Hagen
-
Johannes Graumann
-
luigi scarso
-
Pablo Rodríguez
-
Wolfgang Schuster