ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: XML as source (was: E-books and XML)
Date: Wed, 27 Aug 2014 16:03:06 +0200	[thread overview]
Message-ID: <op.xk87zgchwshuv7@lpr> (raw)
In-Reply-To: <D8836220-8DAC-446A-A672-8399E758E46C@uni-bonn.de>

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@uni-bonn.de> wrote:

>
> On 26 Aug 2014, at 20:04, Hans Hagen <pragma@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@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

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

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2014-08-27 14:03 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26 15:07 E-books and XML john Culleton
2014-08-26 15:10 ` Wolfgang Schuster
2014-08-26 17:08   ` Henning Hraban Ramm
2014-08-26 17:29     ` Hans Hagen
2014-08-27  7:02       ` Henning Hraban Ramm
2014-08-27  9:05         ` Hans Hagen
2014-08-27  9:25           ` Henning Hraban Ramm
2014-08-27  9:37             ` Hans Hagen
2014-08-27  9:46               ` Henning Hraban Ramm
2014-08-27 10:06                 ` Hans Hagen
2014-08-28  8:10                   ` Henning Hraban Ramm
2014-08-28  8:22                     ` Hans Hagen
2014-08-28 10:54                       ` Henning Hraban Ramm
2014-08-28 13:34                         ` Hans Hagen
2014-08-28 13:35                         ` Hans Hagen
2014-08-28 17:39                         ` Hans Hagen
2014-08-29  6:33                           ` Henning Hraban Ramm
2014-08-29 10:17                             ` Hans Hagen
2014-08-29 11:46                               ` Henning Hraban Ramm
2014-08-29 12:46                                 ` Hans Hagen
2014-08-30  7:56                                   ` Henning Hraban Ramm
     [not found]                                 ` <540AEA44.2080106@wxs.nl>
     [not found]                                   ` <540C26D3.1020101@wxs.nl>
2014-09-13  7:29                                     ` Henning Hraban Ramm
2014-08-27  9:03     ` Henning Hraban Ramm
2014-08-26 18:04 ` Hans Hagen
2014-08-26 18:12   ` Thomas A. Schmitz
2014-08-27 14:03     ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2014-08-27 18:40       ` XML as source (was: E-books and XML) Jan Tosovsky
2014-08-28 17:02       ` Mica Semrick
2014-08-27 14:38     ` E-books and XML john Culleton
2014-08-27 16:15       ` Schmitz Thomas A.

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=op.xk87zgchwshuv7@lpr \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.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).