Re: [NTG-context] Node for startbuffer.

2013-01-31 Thread Sietse Brouwer
Hi André, > Anyone can suggest a category for it? > http://wiki.contextgarden.net/Category:Commands > > Nodes? Yep. Creating [[Category:Command/Nodes]] seems like a good idea. To create the command page, navigate to the intended title (e.g. Command/boxmarker), click ‘Create’ in the top right, and

Re: [NTG-context] Node for startbuffer.

2013-01-29 Thread Andre Caldas
> It's somewhat experimental. Up to you to update the wiki. Anyone can suggest a category for it? http://wiki.contextgarden.net/Category:Commands Nodes? André Caldas. ___ If your question is of interest to others as

Re: [NTG-context] Node for startbuffer.

2013-01-13 Thread Hans Hagen
On 1/12/2013 3:49 PM, Andre Caldas wrote: I've added the markers code to the beta so that we have an abstract way to deal with such matters. [...] Node lists are processed \hbox \boxmarker{mymarker}{1} {nested from [...] Does it have to be an "hbox"? no, but only a few node types make sense .

Re: [NTG-context] Node for startbuffer.

2013-01-12 Thread Andre Caldas
> I've added the markers code to the beta so that we have an > abstract way to deal with such matters. > [...] > Node lists are processed \hbox \boxmarker{mymarker}{1} {nested from > [...] Does it have to be an "hbox"? > > It's somewhat experimental. Up to you to update the wiki. I've never upd

Re: [NTG-context] Node for startbuffer.

2013-01-10 Thread Hans Hagen
On 1/10/2013 1:18 PM, Andre Caldas wrote: How do I identify a specific node? Like... [...] Here is a start. I've added the markers code to the beta so that we have an abstract way to deal with such matters. [...] \hbox \boxmarker{mymarker}{2} Can't the mark be a string? currently not (not h

Re: [NTG-context] Node for startbuffer.

2013-01-10 Thread Andre Caldas
>> How do I identify a specific node? Like... >> [...] > > Here is a start. I've added the markers code to the beta so that we > have an abstract way to deal with such matters. > [...] > \hbox \boxmarker{mymarker}{2} Can't the mark be a string? André Caldas. _

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Hans Hagen
On 1/9/2013 9:57 PM, Andre Caldas wrote: Another question... function userdata.processmystuff(head) Shall I use this? userdata = userdata or {} \startbuffer whatever \hbox{you} want \stopbuffer How do I identify a specific node? Like... \startbuffer Will this be \boxtobechanged

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Andre Caldas
Another question... > function userdata.processmystuff(head) Shall I use this? userdata = userdata or {} > \startbuffer > whatever \hbox{you} want > \stopbuffer How do I identify a specific node? Like... \startbuffer Will this be \boxtobechanged{transparent?} \stopbuffer

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Andre Caldas
> here's an example (I'll add it to the cld manual): Wow!!! Thank you for your time, Hans! I will study your sample... :-) Cheers, André Caldas. ___ If your question is of interest to others as well, please add an e

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Hans Hagen
On 1/9/2013 2:54 PM, Andre Caldas wrote: Hello! Given some \startbuffer Blah, blah, blah... \stopbuffer I'd like to get a "node tree" corresponding to how the buffer would be processed at a given point. Using luatex, I'd like to identify certain sub-nodes and change the

[NTG-context] Node for startbuffer.

2013-01-09 Thread Andre Caldas
Hello! Given some \startbuffer Blah, blah, blah... \stopbuffer I'd like to get a "node tree" corresponding to how the buffer would be processed at a given point. Using luatex, I'd like to identify certain sub-nodes and change their attributes (to be specific: transparenc

Re: [NTG-context] startbuffer fails with %

2010-01-06 Thread Hans Hagen
On 5-1-2010 15:27, H. van der Meer wrote: \startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext the buffer content is "all lines between startbuffer and stopbuffer" and both commands hav eto be on a line of their own with s

[NTG-context] startbuffer fails with %

2010-01-05 Thread H. van der Meer
\startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext Error message: ! File ended while scanning use of \dododowithbuffer. \par Remove the {}'s at the beginning and all is well. The culprit however is the % in the

Re: [NTG-context] Can I use \startbuffer in other command?

2008-10-23 Thread Wolfgang Schuster
definestartstop does not support this. > I found a solution in the list: http://www.ntg.nl/pipermail/ntg- > context/2007/025969.html > > Unfortunately, when I use \startbuffer in it, context prints "*" in the > terminal and waits for input. So it comes to the second question

[NTG-context] Can I use \startbuffer in other command?

2008-10-23 Thread Ruini Xue
- context/2007/025969.html Unfortunately, when I use \startbuffer in it, context prints "*" in the terminal and waits for input. So it comes to the second question 2. Can \startbuffer be used in other commands? My code is as following: \def\sta