ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Toby Miller <tobycmiller@gmail.com>
To: ntg-context@ntg.nl
Subject: Custom XML Export
Date: Fri, 11 Sep 2015 15:21:25 +0100	[thread overview]
Message-ID: <55F2E365.7000007@gmail.com> (raw)

I'm using ConTeXt's export to XML feature, but I'd like more control
over the XML output. Is there a way to define a TeX command that will
output a specific tag (<tag>content</tag>) around some text in the output?

Ideally I'd like to write a completely custom XML printer; it would be
very simple, but would allow me to define what tags I want for different
things. Is there a way to change the behaviour of the existing one, or
could you recommend a starting point for writing a new one?

Many thanks,

Toby
___________________________________________________________________________________
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:[~2015-09-11 14:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 14:21 Toby Miller [this message]
2015-09-12  9:53 ` Hans Hagen
2015-09-12 11:37   ` Toby Miller
2015-09-12 12:00     ` Hans Hagen
2015-09-12 12:22       ` Toby Miller
2015-09-12 12:04     ` Henning Hraban Ramm
2015-09-12 12:14       ` Hans Hagen
2015-09-12 12:21         ` Toby Miller
2015-09-12 12:14       ` luigi scarso
2015-09-12 12:28         ` Henning Hraban Ramm
2015-09-14  9:12           ` luigi scarso
2015-09-14 18:09           ` Jan Tosovsky
     [not found]           ` <00cd01d0ef18$6f13da50$4d3b8ef0$@tosovsky@email.cz>
2015-09-15  4:11             ` Henning Hraban Ramm
2015-09-12 14:25         ` Hans Hagen
2015-09-12 20:53       ` Aditya Mahajan
2015-09-14  9:57         ` Henning Hraban Ramm

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=55F2E365.7000007@gmail.com \
    --to=tobycmiller@gmail.com \
    --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).