[NTG-context] XML as source (was: E-books and XML)

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Wed Aug 27 16:03:06 CEST 2014


Hello Thomas,

I'm just curious:

- Which editor(s) (including commercial one(s)) do you usually use to create XML source for Ctx? (Under Windows?)

- XML input vs. .tex (.cld) source:

IMHO, when one needs to program parts of Ctx source, it's better to use TeX source/language combined with Lua or CLD.

Or - is it possible to program anyhow in XML source (Lua)?

I have no practical experience with (manual) creation of XML input files for Ctx (yes, of course, there are some .xml sources generated by other programs).

So, I can imagine one prepares source for Ctx as XML when he creates something "belletristic"-like;
when one needs to process many products of other programs, plus to add comments, reports or so, something programmable is necessary;
so, IMHO, XML might be useful for the latter case providing a) programming capabilities and b) good XML editor.

Best regards,

Lukas


On Tue, 26 Aug 2014 20:12:25 +0200, Thomas A. Schmitz <thomas.schmitz at uni-bonn.de> wrote:

>
> On 26 Aug 2014, at 20:04, Hans Hagen <pragma at wxs.nl> wrote:
>
> To chime in: xml input facilitates the separation of content and display. There are many tools which will validate xml as you type. Your context skills will not be lost - if you have invested years in learning to code, you will still be able to do this in your environment files. John's argument does not make sense to me.  If someone new to context asked me, I think I would advise her or him to use xml input which is more versatile and easier to proofread for a beginner. And if one day in 20 years she decides she wants to use another tool for her files, it’s much easier to convert xml.


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038



More information about the ntg-context mailing list