Re: [NTG-context] Show the results of XML mapping

2016-03-11 Thread Hans Hagen

On 3/11/2016 10:39 AM, Aidan Nichol wrote:

When I map from XML to ConTeXt there are lots of rules mapping lots of small 
bit of XML to small bits of ConTeXt and it is hard get the big picture. If 
something doesn’t work in the final PDF document it can be hard to know if the 
mapping failed to match the XML or if the generated ConTeXt was wrong.

Is there a way to capture the ConTeXt generated from the mapping rules before 
it goes on to produce the final document?


\enabletrackers[context*]

but that's a lot of detail

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Show the results of XML mapping

2016-03-11 Thread Aidan Nichol
When I map from XML to ConTeXt there are lots of rules mapping lots of small 
bit of XML to small bits of ConTeXt and it is hard get the big picture. If 
something doesn’t work in the final PDF document it can be hard to know if the 
mapping failed to match the XML or if the generated ConTeXt was wrong.

Is there a way to capture the ConTeXt generated from the mapping rules before 
it goes on to produce the final document?

Thanks
Aidan
___
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
___