Re: [NTG-context] Format creation with luatex

2012-03-14 Thread Hans Hagen

On 13-3-2012 23:50, Marco wrote:

On 2012-03-13 Hans Hagen  wrote:


I fail to create a format with luatex. I followed Hans'
instructions¹ from TUG 2009. Example:


just use luatex-plain.tex from the context distribution


Thanks for the pointer.
For the record: The \dump at the end was missing.


on purpose so that one can load more

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

[NTG-context] \attributedef not working?

2012-03-14 Thread Meer, H. van der
Processing xml I get with: 
\writestatus{}{\xmlattributedef{#1}{.}{default}{???}}
output: > ???

and \writestatus{}{\xmlattribute{#1}{.}{default}} has no attribute 
output

but with: \writestatus{}{\xmlattdef{#1}{default}{???}}
output: > mydefault

Is something amiss with \xmlattribute and \xmlattributedef?
I need these in order to get an attribute from a node higher up in the xml-tree.

Hans van der Meer



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

Re: [NTG-context] \attributedef not working?

2012-03-14 Thread Meer, H. van der
Sorry, my fault. Just found out that the attribute sought is residing in 
another tree. Understandably the attribute is not found when the wrong root is 
taken. Thus \attributedef does its thing.

Now I have to find out how reference that other tree.

Hans van der Meer



On 14 mrt. 2012, at 15:24, Meer, H. van der wrote:

Processing xml I get with: 
\writestatus{}{\xmlattributedef{#1}{.}{default}{???}}
output: > ???

and \writestatus{}{\xmlattribute{#1}{.}{default}} has no attribute 
output

but with: \writestatus{}{\xmlattdef{#1}{default}{???}}
output: > mydefault

Is something amiss with \xmlattribute and \xmlattributedef?
I need these in order to get an attribute from a node higher up in the xml-tree.

Hans van der Meer



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

___
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] xml tree extension?

2012-03-14 Thread Meer, H. van der
Is it possible to have the following order of actions?


  
  
  ..


The file contains an xml-tree starting at ..

At the moment I am processing the files with 
\xmlprocessfile{fileroot}{filename}{}, but this generate separate node-lists 
for  and ; at least, that is my understanding of its workings.

Can I change the processing in such a way that something akin the following 
tree structure is processed, each time with a new file:


  

..

  

..

  ..


Or is it impossible to accomplish?

Hans van der Meer



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