[NTG-context] frames in ConTeXt and metafun

2007-07-11 Thread Thomas A. Schmitz
This is a very small cosmetic problem, but it bugs me: I'm preparing  
a background for a presentation, and I want a frame with a  
transparent color to appear on every slide, so I define an overlay  
and use metapost. I also want to frame some text elements, so I use a  
\framed. The problem is that in the \framed, the lines of the frame  
overlap at the edges, so with a transparent color, the corners are  
slightly darker. The minimal example below shows the problem. Any  
solution? Is it possible to have the frame around \framed drawn by  
metapost?

Thanks!

Thomas


% MINIMAL EXAMPLE %%

\setupcolors[state=start]

\definecolor [MyFrameColor][b=.55, t=.5, a=1]

\starttext

\startuseMPgraphic{fancyframe}
draw unitsquare
xyscaled(8cm,8cm)
withpen pencircle scaled 4pt
withcolor \MPcolor{MyFrameColor} ;
\stopuseMPgraphic

\useMPgraphic{fancyframe}

\framed 
[rulethickness=4pt,framecolor=MyFrameColor,height=8cm,width=8cm]{\strut}

\stoptext

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


Re: [NTG-context] texexec command line parameters (help)

2007-07-11 Thread Wolfgang Schuster
2007/7/11, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> I am experimenting with the various texexec command line options,
> but it is a bit confusing.
>
> I want to minimize the number of runs and suppress as much of the messages
> as possible.
>
> I tried (windows standalone context) :
>
> 1) texmfstart --pdf --runs=1 --silentmode texfile.tex

texmfstart --once --silentmode texfile.tex

PDF output is default since 2006(?)

Wolfgang

> This still gave 3 runs with all the Context messages displayed.
>
> After a bit of experimenting it turns out that I have to use
>
> 2) texmfstart --pdf texfile.tex --runs=1 --silentmode
>
> It works, but I am not sure what the correct way is for the other options.
> The manual mtexexec.pdf (a bit outdated) says I have to use method 1).
> Also the Wiki page http://wiki.contextgarden.net/TeXExec suggest method 1).
> Running texexec --help --all does not mention the order in which these
> parameters should be specified.
>
> TIA
>
> Wim Neimeijer
>
>
>
>
>
> ___
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] metafun externalfigure macro with xetex

2007-07-11 Thread Lutz Haseloff
Hi all,

if i use the metafun macro "externalfigure" with xetex, there is a printed
number (first externafigure prints a "1", the second a "2" right after the
"1" and so on) in the lower left corner of the picture;  the picture itself
is shifted to the upper right, out of the bounding box.
I have this effect with xetex 996p1, 997-dev, ConTeXt 17.04.07 and the
newest beta.
Pdftex in this case works very well.

Is this a Bug in Xetex or in ConTeXt?

Greetings

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


[NTG-context] texexec command line parameters (help)

2007-07-11 Thread w . neimeijer
I am experimenting with the various texexec command line options,
but it is a bit confusing.

I want to minimize the number of runs and suppress as much of the messages
as possible.

I tried (windows standalone context) :

1) texmfstart --pdf --runs=1 --silentmode texfile.tex

This still gave 3 runs with all the Context messages displayed.

After a bit of experimenting it turns out that I have to use

2) texmfstart --pdf texfile.tex --runs=1 --silentmode

It works, but I am not sure what the correct way is for the other options.
The manual mtexexec.pdf (a bit outdated) says I have to use method 1).
Also the Wiki page http://wiki.contextgarden.net/TeXExec suggest method 1).
Running texexec --help --all does not mention the order in which these
parameters should be specified.

TIA

Wim Neimeijer





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


Re: [NTG-context] \overleftrightarrow

2007-07-11 Thread Jesse Alama
Aditya Mahajan <[EMAIL PROTECTED]> writes:

> On Wed, 11 Jul 2007, Jesse Alama wrote:
>
>> Hi Aditya,
>>
>> Aditya Mahajan <[EMAIL PROTECTED]> writes:
>>
>>> On Thu, 28 Jun 2007, Jesse Alama wrote:
>>>
 I'm preparing a geometry course using ConTeXt and am impressed with the
 system so far.  One thing I need is to do is typeset various geometrical
 symbols.  It looks like ConTeXt already has the \overleftarrow and
 \overrightarrow commands, but one thing I'd like to have is
 \overleftrightarrow, for typesetting the symbol customarily used to
 denote the line determined by two points.  It seems, though, that this
 isn't available in ConTeXt, or, at least, it is not available by
 default.  I tried looking on the contextgarden and google, but didn't
 come across anything.  Is the \overleftrightarrow command already
 available?
>>>
>>> Actually just adding overleftrightarrow is easy, but better will be an
>>> interface to easily define such commands. So 
>>>
 If not, what can I do so that I can use it?
>>>
>>> ConTeXt uses overleftarrow and overrightarrow as defined in plain
>>> tex. This does not work in subscripts.
>>>
>>> $\overleftarrow{A}$ $\overleftarrow{ABC}$
>>> $a_{\overleftarrow{A}}$ $b_{\overleftarrow{ABC}}$
>>>
>>> Here is a solution. First we patch math-ext so that arrowfills take a
>>> style.
>
>   Cut Here
> --%< 
>
>>> \unprotect
>>>
>>> \def\mtharrowfill#1#2#3#4#5#6#7#8% AM: Added #8 (for displaystyle)
>>>   {$\mathsurround 0pt
>>> \thickmuskip0mu\medmuskip\thickmuskip\thinmuskip\thickmuskip
>>> \relax#8#5%
>>> \mkern-#1mu
>>> \cleaders\hbox{$#8\mkern -#2mu#6\mkern -#3mu$}\hfill
>>> \mkern-#4mu#7$}
>>>
>>> %D Now we need to make sure that the extensible arrows do not get
>>> %D affected. So...
>>>
>>> \def\domthxarr#1#2#3#4#5% hm, looks like we do a double mathrel
>>>   {\begingroup
>>>\def\mtharrfactor{1}%
>>>\def\mtharrextra {0}%
>>>\processaction[#1] % will be sped up
>>>  [  \v!none=>\def\mtharrfactor{0},
>>>\v!small=>\def\mtharrextra{10},
>>>   \v!medium=>\def\mtharrextra{15},
>>>  \v!big=>\def\mtharrextra{20},
>>>   \v!normal=>,
>>>  \v!default=>,
>>>  \v!unknown=>\doifnumberelse{#1}{\def\mtharrextra{#1}}\donothing]%
>>>\mathsurround\zeropoint
>>>\muskip0=\thirdoffourarguments  #2mu
>>>\muskip2=\fourthoffourarguments #2mu
>>>\muskip4=\firstoffourarguments  #2mu
>>>\muskip6=\secondoffourarguments #2mu
>>>\muskip0=\mtharrfactor\muskip0 \advance\muskip0 \mtharrextra mu
>>>\muskip2=\mtharrfactor\muskip2 \advance\muskip2 \mtharrextra mu
>>>\setbox0\hbox{$\scriptstyle
>>>   \mkern\muskip4\relax
>>>   \mkern\muskip0\relax
>>>   #5\relax
>>>   \mkern\muskip2\relax
>>>   \mkern\muskip6\relax
>>>  $}%
>>>\setbox4\hbox{#3\displaystyle}% AM: Added displaystyle
>>>\dimen0\wd0
>>>\ifdim\wd4>\dimen0 \dimen0\wd4 \fi
>>>\setbox2\hbox{$\scriptstyle
>>>   \mkern\muskip4\relax
>>>   \mkern\muskip0\relax
>>>   #4\relax
>>>   \mkern\muskip2\relax
>>>   \mkern\muskip6\relax
>>>  $}%
>>>\ifdim\wd2>\dimen0 \dimen0\wd2 \fi
>>>\setbox4\hbox to \dimen0{#3\displaystyle}% AM: added dislaystyle
>>>\mathrel{\mathop{\hbox to
>>> \dimen0{\hss\copy4\hss}}\limits^{\box0}_{\box2}}
>>>\endgroup}
>>>
>>> \let\domthxarrsingle\domthxarr
>>>
>>> %D Now, for defining overarrows.
>>>
>>> \def\definemathoverarrow
>>>   {\dotripleargument\dodefinemathoverarrow}
>>>
>>> \def\dodefinemathoverarrow[#1][#2][#3]%
>>>   {\ifthirdargument
>>> \setvalue{#1}{\dohandlemathoverarrow[#2][#3]}%
>>>\else
>>> \setvalue{#1}{\dohandlemathoverarrow[\zeropoint][#2]}%
>>>\fi}
>>>
>>> \def\dohandlemathoverarrow[#1][#2]%
>>>   {\mathpalette{\dodohanglemathoverarrow{#1}{#2}}}
>>>
>>> % Note: math-pln has \kern-\onepoint, amsmath does not. I keep the
>>> % kern amount as an option. This is useful with overharpoons.
>>>
>>>
>>> \def\dodohanglemathoverarrow#1#2#3#4%
>>>   {\vbox{\ialign{##\crcr
>>>#2#3\crcr
>>>\noalign{\kern#1\nointerlineskip}
>>>[EMAIL PROTECTED]
>>>
>>> \protect
>>>
>>> \definemathoverarrow  [overleftarrow]   [\leftarrowfill]
>>> \definemathoverarrow  [overrightarrow]  [\rightarrowfill]
>>> \definemathoverarrow  [overleftrightarrow]  [\leftrightarrowfill]
>>>
>
> --%<-
>  To Here
>
>>> $\overleftarrow{A}$ $\overleftarrow{ABC}$
>>> $a_{\overleftarrow{A}}$ $b_{\overleftarrow{ABC}}$
>>>
>>> $\overleftrightarrow{A}$ $\overleftrightarrow{ABC}$
>>>
>>> $a_{\overleftrightarrow{A}}$ $b_{\overleftrightarrow{ABC}}$
>>>
>>>
>>> As an added bonus:
>>>
>>> \definemathoverarrow [overtwoheadrightarrow]  [\twoheadr

Re: [NTG-context] \overleftrightarrow

2007-07-11 Thread Aditya Mahajan
On Wed, 11 Jul 2007, Jesse Alama wrote:

> Hi Aditya,
>
> Aditya Mahajan <[EMAIL PROTECTED]> writes:
>
>> On Thu, 28 Jun 2007, Jesse Alama wrote:
>>
>>> I'm preparing a geometry course using ConTeXt and am impressed with the
>>> system so far.  One thing I need is to do is typeset various geometrical
>>> symbols.  It looks like ConTeXt already has the \overleftarrow and
>>> \overrightarrow commands, but one thing I'd like to have is
>>> \overleftrightarrow, for typesetting the symbol customarily used to
>>> denote the line determined by two points.  It seems, though, that this
>>> isn't available in ConTeXt, or, at least, it is not available by
>>> default.  I tried looking on the contextgarden and google, but didn't
>>> come across anything.  Is the \overleftrightarrow command already
>>> available?
>>
>> Actually just adding overleftrightarrow is easy, but better will be an
>> interface to easily define such commands. So 
>>
>>> If not, what can I do so that I can use it?
>>
>> ConTeXt uses overleftarrow and overrightarrow as defined in plain
>> tex. This does not work in subscripts.
>>
>> $\overleftarrow{A}$ $\overleftarrow{ABC}$
>> $a_{\overleftarrow{A}}$ $b_{\overleftarrow{ABC}}$
>>
>> Here is a solution. First we patch math-ext so that arrowfills take a
>> style.

  Cut Here
--%< 

>> \unprotect
>>
>> \def\mtharrowfill#1#2#3#4#5#6#7#8% AM: Added #8 (for displaystyle)
>>   {$\mathsurround 0pt
>> \thickmuskip0mu\medmuskip\thickmuskip\thinmuskip\thickmuskip
>> \relax#8#5%
>> \mkern-#1mu
>> \cleaders\hbox{$#8\mkern -#2mu#6\mkern -#3mu$}\hfill
>> \mkern-#4mu#7$}
>>
>> %D Now we need to make sure that the extensible arrows do not get
>> %D affected. So...
>>
>> \def\domthxarr#1#2#3#4#5% hm, looks like we do a double mathrel
>>   {\begingroup
>>\def\mtharrfactor{1}%
>>\def\mtharrextra {0}%
>>\processaction[#1] % will be sped up
>>  [  \v!none=>\def\mtharrfactor{0},
>>\v!small=>\def\mtharrextra{10},
>>   \v!medium=>\def\mtharrextra{15},
>>  \v!big=>\def\mtharrextra{20},
>>   \v!normal=>,
>>  \v!default=>,
>>  \v!unknown=>\doifnumberelse{#1}{\def\mtharrextra{#1}}\donothing]%
>>\mathsurround\zeropoint
>>\muskip0=\thirdoffourarguments  #2mu
>>\muskip2=\fourthoffourarguments #2mu
>>\muskip4=\firstoffourarguments  #2mu
>>\muskip6=\secondoffourarguments #2mu
>>\muskip0=\mtharrfactor\muskip0 \advance\muskip0 \mtharrextra mu
>>\muskip2=\mtharrfactor\muskip2 \advance\muskip2 \mtharrextra mu
>>\setbox0\hbox{$\scriptstyle
>>   \mkern\muskip4\relax
>>   \mkern\muskip0\relax
>>   #5\relax
>>   \mkern\muskip2\relax
>>   \mkern\muskip6\relax
>>  $}%
>>\setbox4\hbox{#3\displaystyle}% AM: Added displaystyle
>>\dimen0\wd0
>>\ifdim\wd4>\dimen0 \dimen0\wd4 \fi
>>\setbox2\hbox{$\scriptstyle
>>   \mkern\muskip4\relax
>>   \mkern\muskip0\relax
>>   #4\relax
>>   \mkern\muskip2\relax
>>   \mkern\muskip6\relax
>>  $}%
>>\ifdim\wd2>\dimen0 \dimen0\wd2 \fi
>>\setbox4\hbox to \dimen0{#3\displaystyle}% AM: added dislaystyle
>>\mathrel{\mathop{\hbox to
>> \dimen0{\hss\copy4\hss}}\limits^{\box0}_{\box2}}
>>\endgroup}
>>
>> \let\domthxarrsingle\domthxarr
>>
>> %D Now, for defining overarrows.
>>
>> \def\definemathoverarrow
>>   {\dotripleargument\dodefinemathoverarrow}
>>
>> \def\dodefinemathoverarrow[#1][#2][#3]%
>>   {\ifthirdargument
>> \setvalue{#1}{\dohandlemathoverarrow[#2][#3]}%
>>\else
>> \setvalue{#1}{\dohandlemathoverarrow[\zeropoint][#2]}%
>>\fi}
>>
>> \def\dohandlemathoverarrow[#1][#2]%
>>   {\mathpalette{\dodohanglemathoverarrow{#1}{#2}}}
>>
>> % Note: math-pln has \kern-\onepoint, amsmath does not. I keep the
>> % kern amount as an option. This is useful with overharpoons.
>>
>>
>> \def\dodohanglemathoverarrow#1#2#3#4%
>>   {\vbox{\ialign{##\crcr
>>#2#3\crcr
>>\noalign{\kern#1\nointerlineskip}
>>[EMAIL PROTECTED]
>>
>> \protect
>>
>> \definemathoverarrow  [overleftarrow]   [\leftarrowfill]
>> \definemathoverarrow  [overrightarrow]  [\rightarrowfill]
>> \definemathoverarrow  [overleftrightarrow]  [\leftrightarrowfill]
>>

--%<-
 To Here

>> $\overleftarrow{A}$ $\overleftarrow{ABC}$
>> $a_{\overleftarrow{A}}$ $b_{\overleftarrow{ABC}}$
>>
>> $\overleftrightarrow{A}$ $\overleftrightarrow{ABC}$
>>
>> $a_{\overleftrightarrow{A}}$ $b_{\overleftrightarrow{ABC}}$
>>
>>
>> As an added bonus:
>>
>> \definemathoverarrow [overtwoheadrightarrow]  [\twoheadrightarrowfill]
>> \definemathoverarrow [overtwoheadleftarrow]   [\twoheadleftarrowfill]
>> \definemathoverarrow [overrightharpoondown] [1pt] [\rightharpoondownfill]
>> \definemathovera

Re: [NTG-context] itemize question

2007-07-11 Thread Aditya Mahajan
Quoting Patrick Gundlach <[EMAIL PROTECTED]>:

>> Right now packedlistitem is for the entire itemgroup rather than for
>> each level.  So, only way around is to use an explicit unpacked
>> somewhere, e.g.,
>>
>> \setupitemize[each][unpacked]
>> \setupitemize[1][packed]
>
>
> OK, I see. Is this a feature or a (I don't dare to use the b.. word)?

I would call it a feature, simply because when I use packed I want all 
levels to be packed. :)

Here is another feature which I found accidentally by forgetting a 
\stopitemize.

\startitemize[n]
\item one
\subject {Between}
\item two
\stopitemize

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


Re: [NTG-context] \overleftrightarrow

2007-07-11 Thread Jesse Alama
Hi Aditya,

Aditya Mahajan <[EMAIL PROTECTED]> writes:

> On Thu, 28 Jun 2007, Jesse Alama wrote:
>
>> I'm preparing a geometry course using ConTeXt and am impressed with the
>> system so far.  One thing I need is to do is typeset various geometrical
>> symbols.  It looks like ConTeXt already has the \overleftarrow and
>> \overrightarrow commands, but one thing I'd like to have is
>> \overleftrightarrow, for typesetting the symbol customarily used to
>> denote the line determined by two points.  It seems, though, that this
>> isn't available in ConTeXt, or, at least, it is not available by
>> default.  I tried looking on the contextgarden and google, but didn't
>> come across anything.  Is the \overleftrightarrow command already
>> available?
>
> Actually just adding overleftrightarrow is easy, but better will be an 
> interface to easily define such commands. So 
>
>> If not, what can I do so that I can use it?
>
> ConTeXt uses overleftarrow and overrightarrow as defined in plain 
> tex. This does not work in subscripts.
>
> $\overleftarrow{A}$ $\overleftarrow{ABC}$
> $a_{\overleftarrow{A}}$ $b_{\overleftarrow{ABC}}$
>
> Here is a solution. First we patch math-ext so that arrowfills take a 
> style.
>
> \unprotect
>
> \def\mtharrowfill#1#2#3#4#5#6#7#8% AM: Added #8 (for displaystyle)
>   {$\mathsurround 0pt
> \thickmuskip0mu\medmuskip\thickmuskip\thinmuskip\thickmuskip
> \relax#8#5%
> \mkern-#1mu
> \cleaders\hbox{$#8\mkern -#2mu#6\mkern -#3mu$}\hfill
> \mkern-#4mu#7$}
>
> %D Now we need to make sure that the extensible arrows do not get 
> %D affected. So...
>
> \def\domthxarr#1#2#3#4#5% hm, looks like we do a double mathrel
>   {\begingroup
>\def\mtharrfactor{1}%
>\def\mtharrextra {0}%
>\processaction[#1] % will be sped up
>  [  \v!none=>\def\mtharrfactor{0},
>\v!small=>\def\mtharrextra{10},
>   \v!medium=>\def\mtharrextra{15},
>  \v!big=>\def\mtharrextra{20},
>   \v!normal=>,
>  \v!default=>,
>  \v!unknown=>\doifnumberelse{#1}{\def\mtharrextra{#1}}\donothing]%
>\mathsurround\zeropoint
>\muskip0=\thirdoffourarguments  #2mu
>\muskip2=\fourthoffourarguments #2mu
>\muskip4=\firstoffourarguments  #2mu
>\muskip6=\secondoffourarguments #2mu
>\muskip0=\mtharrfactor\muskip0 \advance\muskip0 \mtharrextra mu
>\muskip2=\mtharrfactor\muskip2 \advance\muskip2 \mtharrextra mu
>\setbox0\hbox{$\scriptstyle
>   \mkern\muskip4\relax
>   \mkern\muskip0\relax
>   #5\relax
>   \mkern\muskip2\relax
>   \mkern\muskip6\relax
>  $}%
>\setbox4\hbox{#3\displaystyle}% AM: Added displaystyle
>\dimen0\wd0
>\ifdim\wd4>\dimen0 \dimen0\wd4 \fi
>\setbox2\hbox{$\scriptstyle
>   \mkern\muskip4\relax
>   \mkern\muskip0\relax
>   #4\relax
>   \mkern\muskip2\relax
>   \mkern\muskip6\relax
>  $}%
>\ifdim\wd2>\dimen0 \dimen0\wd2 \fi
>\setbox4\hbox to \dimen0{#3\displaystyle}% AM: added dislaystyle
>\mathrel{\mathop{\hbox to 
> \dimen0{\hss\copy4\hss}}\limits^{\box0}_{\box2}}
>\endgroup}
>
> \let\domthxarrsingle\domthxarr
>
> %D Now, for defining overarrows.
>
> \def\definemathoverarrow
>   {\dotripleargument\dodefinemathoverarrow}
>
> \def\dodefinemathoverarrow[#1][#2][#3]%
>   {\ifthirdargument
> \setvalue{#1}{\dohandlemathoverarrow[#2][#3]}%
>\else
> \setvalue{#1}{\dohandlemathoverarrow[\zeropoint][#2]}%
>\fi}
>
> \def\dohandlemathoverarrow[#1][#2]%
>   {\mathpalette{\dodohanglemathoverarrow{#1}{#2}}}
>
> % Note: math-pln has \kern-\onepoint, amsmath does not. I keep the
> % kern amount as an option. This is useful with overharpoons.
>
>
> \def\dodohanglemathoverarrow#1#2#3#4%
>   {\vbox{\ialign{##\crcr
>#2#3\crcr
>\noalign{\kern#1\nointerlineskip}
>[EMAIL PROTECTED]
>
> \protect
>
> \definemathoverarrow  [overleftarrow]   [\leftarrowfill]
> \definemathoverarrow  [overrightarrow]  [\rightarrowfill]
> \definemathoverarrow  [overleftrightarrow]  [\leftrightarrowfill]
>
>
> $\overleftarrow{A}$ $\overleftarrow{ABC}$
> $a_{\overleftarrow{A}}$ $b_{\overleftarrow{ABC}}$
>
> $\overleftrightarrow{A}$ $\overleftrightarrow{ABC}$
>
> $a_{\overleftrightarrow{A}}$ $b_{\overleftrightarrow{ABC}}$
>
>
> As an added bonus:
>
> \definemathoverarrow [overtwoheadrightarrow]  [\twoheadrightarrowfill]
> \definemathoverarrow [overtwoheadleftarrow]   [\twoheadleftarrowfill]
> \definemathoverarrow [overrightharpoondown] [1pt] [\rightharpoondownfill]
> \definemathoverarrow [overrightharpoonup] [\rightharpoonupfill]
> \definemathoverarrow [overleftharpoondown]  [1pt] [\leftharpoondownfill]
> \definemathoverarrow [overleftharpoonup]  [\leftharpoonupfill]
>
> $\overtwoheadrightarrow  {XYZ}$
> $\overtwoheadleftarrow   {XYZ}$
> $\overrightharpoondown   {XYZ}$
> $\overrightharpoonup {XYZ}$

Re: [NTG-context] itemize question

2007-07-11 Thread Patrick Gundlach
Hi Aditya,


>> \starttext
>> \setupitemize[2][packed]
> [...]
>> \setupitemize[1][packed]
>
> so in this example both are packed :)

Right after sending my mail I realized that this could be used against
me :)

> Right now packedlistitem is for the entire itemgroup rather than for 
> each level.  So, only way around is to use an explicit unpacked 
> somewhere, e.g.,
>
> \setupitemize[each][unpacked]
> \setupitemize[1][packed]


OK, I see. Is this a feature or a (I don't dare to use the b.. word)?

Thanks,

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


Re: [NTG-context] itemize question

2007-07-11 Thread Aditya Mahajan
Quoting Patrick Gundlach <[EMAIL PROTECTED]>:

> Hi,
>
> I am slightly confused with the second part of the following example.
> IMO only the 1st level should be packed, not the second.
>
> Patrick
> --
>
> \starttext
> \setupitemize[2][packed]
[...]
> \setupitemize[1][packed]

so in this example both are packed :)

> \startitemize [n]
> \item eins
> \item zwei
> \startitemize
> \item dies
> \item dies
> \item das
> \stopitemize
> \item und drei
> \stopitemize
> \stoptext

Right now packedlistitem is for the entire itemgroup rather than for 
each level.  So, only way around is to use an explicit unpacked 
somewhere, e.g.,

\setupitemize[each][unpacked]
\setupitemize[1][packed]

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


[NTG-context] itemize question

2007-07-11 Thread Patrick Gundlach
Hi,

I am slightly confused with the second part of the following example.
IMO only the 1st level should be packed, not the second.

Patrick
--

\starttext 
\setupitemize[2][packed]
\startitemize [n]
\item eins
\item zwei
\startitemize 
\item dies
\item dies
\item das
\stopitemize
\item und drei
\stopitemize


\setupitemize[1][packed]
\startitemize [n]
\item eins
\item zwei
\startitemize 
\item dies
\item dies
\item das
\stopitemize
\item und drei
\stopitemize
\stoptext
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Reset a setup directive

2007-07-11 Thread Saji Hameed

I think this concept would help keep the styling (setups) away from  
the structural markup (section, tables etc).  This would be a much  
desirable feature.

saji

On Jul 11, 2007, at 4:43 PM, Aditya Mahajan wrote:

> On Wed, 11 Jul 2007, Wolfgang Schuster wrote:
>
>> @Hans: Is it possible to integrate a setups key into \bTABLE to write
>> something like \bTABLE[setups=table:noframe] to avoid the \start/ 
>> \stop
>> and \setups{..} commands as I did in my example above.
>
> I second this request. In fact, a setups (or setup?) key will be
> useful for other commands also. Recently, I had to do something
> similar for flowcharts.
>
> Aditya
> __ 
> _
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Html to Context using Wiki + hpricot

2007-07-11 Thread luigi scarso
>Would it be appropriate to put it under
> the section "General ConTeXt Documents"?
Yes
(You can always move/put under another category in a second moment ).


-- 
luigi

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


Re: [NTG-context] Html to Context using Wiki + hpricot

2007-07-11 Thread Saji Njarackalazhikam Hameed
Thanks, Luigi...i will do so. Would it be appropriate to put it under
the section "General ConTeXt Documents"? Let me know otherwise and
in that case let me know where would be a good place to add this
article.

saji
..

* luigi scarso <[EMAIL PROTECTED]> [2007-07-11 10:27:12 +0200]:

> On 7/11/07, Saji Njarackalazhikam Hameed <[EMAIL PROTECTED]> wrote:
> > Hello All,
> >
> > I wanted to share my recent experience
> Really interesting .
> Please, put all these on
> wiki.contextgarden.net
> 
> 
> 
> -- 
> luigi
> 
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

-- 
Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F 
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED]
KOREA
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] :: in xml?

2007-07-11 Thread Christopher Creutzig
Christopher Creutzig wrote:

> \starttext
> \startXML
> a::b
> \stopXML
> \stoptext

  The problem is the \setpretty`\:=10 in \XMLsetspecials in 
verb-xml.tex. This should only be done inside <...>.

  Suggested patch (I hope it survives being sent by mail):

--- verb-xml.tex.orig   2007-07-11 11:08:45.0 +0200
+++ verb-xml.tex2007-07-11 11:26:59.0 +0200
@@ -108,12 +108,13 @@
 \setpretty`\(=30 \setpretty`\)=30 \setpretty`\,=30
 \setpretty`\*=30 \setpretty`\+=30 \setpretty`\#=30
  %  \setpretty`\:=30
-   \setpretty`\:=10 % better for tags
+   \setpretty`\:=18 % better for tags
 \setpretty`\&=41 \setpretty`\;=42 }

  \gdef\XMLsethandlers%
{\installprettyhandler 17 \XMLnormal
 \installprettyhandler 10 \XMLwhattag
+   \installprettyhandler 18 \XMLmaybewhattag
 \installprettyhandler 11 \XMLstoptag
 \installprettyhandler 12 \XMLtypeonetwo
 \installprettyhandler 13 \XMLtypeonethree
@@ -142,7 +143,15 @@
  \gdef\XMLnormal#1{\getpretty{#1}}

  \gdef\XMLwhattag%
-  {\handlenextnextpretty\XMLdowhattag\XMLstarttag}
+  {\handlenextnextpretty\XMLdowhattag\XMLstarttag}%
+
+% For :, use \XMLwhattag inside tag names, \XMLnormal otherwise
+\gdef\XMLmaybewhattag%
+  {\ifinXMLtagname
+ \expandafter\XMLwhattag
+   \else
+ \expandafter\getpretty
+   \fi}

  \gdef\XMLdowhattag#1#2%
{\ifinXMLcomment




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


Re: [NTG-context] Enumerations and numbered labels

2007-07-11 Thread Norbert Zeh
Ah, excellent.  Also thanks to Wolfgang for his earlier comment.  I  
had looked at location=left before but was thrown off by the  
excessive distance between the heading and the text...until I  
discovered the meaning of width=fit.  As you can see, I'm new to  
context.

Has anybody looked into the bug (?) with numbered labels?

Cheers,
Norbert

On 11-Jul-07, at 4:39 AM, Aditya Mahajan wrote:

> On Tue, 10 Jul 2007, Norbert Zeh wrote:
>
>> E.g., in assignments I typeset, I often have either
>>
>> \begin{question}
>> ...
>> \end{question}
>>
>> which simply produces
>>
>> 
>> Question 1  ...
>> 
>>
>> or
>>
>> \begin{question}[20 marks]
>> ...
>> \end{question}
>>
>> which produces
>>
>> 
>> Question 1  (20 marks)  ...
>> 
>>
>> This second option is easy to simulate if I can produce something
>> that has no hanging indents.  As it is, I can't.
>
> \defineenueration[question][title=yes]
>
> \startquestion
> ...
> \stopquestion
>
> and
>
> \startquestion {20 marks}
> 
> \stopquestion
>
> title is a relatively new feature and right now there is no
> documentation for it. Search in the dev mailing list for theorems for
> some examples. If you want some specific details, ask here. I will
> write a myway on theorems "soon".
>
>
> Aditya
> __ 
> _
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> __ 
> _

--
NORBERT ZEH
Faculty of Computer Science : Dalhousie University
[EMAIL PROTECTED] : http://www.cs.dal.ca/~nzeh : 902.494.3154

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


Re: [NTG-context] Html to Context using Wiki + hpricot

2007-07-11 Thread luigi scarso
On 7/11/07, Saji Njarackalazhikam Hameed <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I wanted to share my recent experience
Really interesting .
Please, put all these on
wiki.contextgarden.net



-- 
luigi

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


Re: [NTG-context] Reset a setup directive

2007-07-11 Thread Aditya Mahajan
On Wed, 11 Jul 2007, Wolfgang Schuster wrote:

> @Hans: Is it possible to integrate a setups key into \bTABLE to write
> something like \bTABLE[setups=table:noframe] to avoid the \start/\stop
> and \setups{..} commands as I did in my example above.

I second this request. In fact, a setups (or setup?) key will be 
useful for other commands also. Recently, I had to do something 
similar for flowcharts.

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


Re: [NTG-context] Bug in dowithpargument and paragraph ending in a macro

2007-07-11 Thread Aditya Mahajan
On Wed, 11 Jul 2007, Wolfgang Schuster wrote:

> 2007/7/10, Aditya Mahajan <[EMAIL PROTECTED]>:
>> Hi Wolfgang,
>>
>> Quoting Wolfgang Schuster <[EMAIL PROTECTED]>:
>>
>>
>>> Hi Aditya,
>>>
>>> the macro eats the endline char.
>>
>> That would mean that tex will parse
>> =
>> \section why \unknown
>>
>> test
>>
>> =
>>
>> as
>>
>> ===
>> \section why \unknown test
>>
>> 
>>
>> but it does not. What I dislike is the fact that TeX gives an error message.
>>
>> Aditya
>
> Hi Aditya,
>
> the problem lies in the definition of \dowithpargument. The current
> defintion is:
>
> \def\dowithpargument#1%
>  {\def\nextpar##1 \par{#1{##1}}%
>   \def\nextarg##1{#1{##1}}%
>   \doifnextcharelse\bgroup\nextarg{\doifnextcharelse\par{#1{}}\nextpar}}
>
> The problem is the space after ##1 in the \nexpar defintion, it should be:
>
> \def\dowithpargument#1%
>  {\def\nextpar##1\par{#1{##1}}%
>   \def\nextarg##1{#1{##1}}%
>   \doifnextcharelse\bgroup\nextarg{\doifnextcharelse\par{#1{}}\nextpar}}
>
> and everything works fine.

Ah, thanks.

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


[NTG-context] Html to Context using Wiki + hpricot

2007-07-11 Thread Saji Njarackalazhikam Hameed
Hello All,

I wanted to share my recent experience in co-ordinated document development.
In our office we have to make annual reports, each part of which is contributed
by a member. Previously everybody wrote 'Word' documents which was compiled
into a larger report. 

Recently we had the idea to use a Wiki to ease the pain out of this process
and to make it enjoyable for everyone involved. After looking around various 
wiki software we decided to install a brand-new one called 
Informl (http://informl.folklogic.net) . One nice feature about this is that in
the edit mode twin windows are used, one for input and the other a realtime
preview window. Anyway this approach could work with any Wiki software.

One motivation behind using a Wiki as front-end was to involve people who new
nothing about Tex or Context. Secondly it allowed any person to participate in
the process from anywhere.

Next we used the ruby library hpricot to retrieve the web document and
filter it into a context document. This step was interesting and I 
would like to sharing the code with anybody interested. I am a novice Ruby
programmer, so the code may be far from perfect .. nevertheless. 

saji

%
scan_page.rb = Retrieves the html page of interest from the server,
navigates to links within the main page and construct a
context document

#!/usr/bin/ruby

require 'rubygems'
require 'open-uri'
require 'hpricot'
require 'scrape_page'

# scans the home page and lists
# all the directories and subdirectories

doc=Hpricot(open("http://190.1.1.24:3010/AnnRep07";))
mainfil="annrep.tex"
`rm #{mainfil}`
fil=File.new(mainfil,"a")
fil.write "\\input context_styles \n"
fil.write "\\starttext \n"
fil.write "\\leftaligned{\\BigFontOne Contents} \n"
fil.write "\\vfill \n"
fil.write "{ \\switchtobodyfont[10pt] "
fil.write 
"\\startcolumns[n=2,balance=no,rule=off,option=background,frame=off,background=color,backgroundcolor=blue:1]
 \n"
fil.write "\\placecontent \n"
fil.write "\\stopcolumns \n"
fil.write "}"


chapters= (doc/"p/a.existingWikiWord")

# we need to navigate one more level into the web page
# let us discover the links for that

chapters.each {|ch| 
  chap_link = ch.attributes['href'] 
  # using inner_html we can create subdirectories


  chap_name = ch.inner_html.gsub(/\s*/,"")
  chap_name_org = ch.inner_html

  # We create chapter directories
  system("mkdir -p #{chap_name}") 

  puts chap_name
 # if chapter name starts with underscore (_) skip it
   if chap_name.match(/^\_/)
  puts chap_name
next
   end



  fil.write "\\input #{chap_name}  \n"
  chapFil="#{chap_name}.tex"
  `rm #{chapFil}`
  cFil=File.new(chapFil,"a")
  cFil.write "\\chapter{ #{chap_name_org} } \n"
  # We navigate to sections now
  doc2=Hpricot(open(chap_link))
  sections= (doc2/"p/a.existingWikiWord")
  sections.each {|sc|
  sec_link = sc.attributes['href']
  sec_name = sc.inner_html.gsub(/\s*/,"")

  secFil="#{chap_name}/#{sec_name}.tex"
  `rm #{secFil}`
  sFil=File.new(secFil,"a")
  sechFil="#{chap_name}/#{sec_name}.html"
  `rm #{sechFil}`
  shFil=File.new(sechFil,"a")

#  scrape_the_page(sec_link,"#{chap_name}/#{sec_name}")
  scrape_the_page(sec_link,sFil,shFil)
  cFil.write "\\input #{chap_name}/#{sec_name} \n"
  }
}
fil.write "\\stoptext \n"

%

The program calls scrape_page.rb, a function that does most of
the filtering

Function: scrape_page.rb

def scrape_the_page(pagePath,oFile,hFile) 
items_to_remove = [
  "#menus",#menus notice
  "div.markedup",
  "div.navigation",
  "head",  #table of contents 
  "hr"
  ]

doc=Hpricot(open(pagePath))
@article = (doc/"#container").each do |content|
  #remove unnecessary content and edit links
  items_to_remove.each { |x| (content/x).remove }
end 

# Write HTML content to file
hFile.write @article.inner_html

# How to replace various syntactic elements using Hpricot
# replace p/b element with /f
(@article/"p/*/b").each do |pb|
  pb.swap("{\\bf #{pb.inner_html}}")
end

# replace p/b element with /bf
(@article/"p/b").each do |pb|
  pb.swap("{\\bf #{pb.inner_html}}")
end

# replace strong element with /bf
(@article/"strong").each do |ps|
  ps.swap("{\\bf #{ps.inner_html}}")
end

# replace h1 element with section
(@article/"h1").each do |h1|
  h1.swap("\\section{#{h1.inner_html}}")
end

# replace h2 element with subsection
(@article/"h2").each do |h2|
  h2.swap("\\subsection{#{h2.inner_html}}")
end

# replace h3 element with subsection
(@article/"h3").each do |h3|
  h3.swap("\\subsubsection{#{h3.inner_html}}")
end

# replace h4 element with subsection
(@article/"h4").each do |h4|
  h4.swap("\\subsubsubsection{#{h4.inner_html}}")
end

# replace h5 element with subsection
(@article/"h5").each do |h5|
  h5.swap("\\subsubsubsubsection{#{h5.inner_html}}")
end

# replace  by equivalent command in context
(@article/"pre").each do |pre|
  pre.swap("\\startcode \n #{pre.at("code").

Re: [NTG-context] Enumerations and numbered labels

2007-07-11 Thread Aditya Mahajan
On Tue, 10 Jul 2007, Norbert Zeh wrote:

> E.g., in assignments I typeset, I often have either
>
> \begin{question}
> ...
> \end{question}
>
> which simply produces
>
> 
> Question 1  ...
> 
>
> or
>
> \begin{question}[20 marks]
> ...
> \end{question}
>
> which produces
>
> 
> Question 1  (20 marks)  ...
> 
>
> This second option is easy to simulate if I can produce something
> that has no hanging indents.  As it is, I can't.

\defineenueration[question][title=yes]

\startquestion
...
\stopquestion

and

\startquestion {20 marks}

\stopquestion

title is a relatively new feature and right now there is no 
documentation for it. Search in the dev mailing list for theorems for 
some examples. If you want some specific details, ask here. I will 
write a myway on theorems "soon".


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


Re: [NTG-context] Reset a setup directive

2007-07-11 Thread Saji Njarackalazhikam Hameed
Hi Wolfgang,

Thanks very much for the detailed response. I have been organizing a
co-ordinated document development project (more in the next mail)
with my colleagues. We use a wiki to input contents, which I then
scrape with hapricot and filter into a context document. Having
a setup like what you suggested eases up the process.

Thanks again,

saji
...

* Wolfgang Schuster <[EMAIL PROTECTED]> [2007-07-11 08:36:39 +0200]:

> 2007/7/10, Saji Njarackalazhikam Hameed <[EMAIL PROTECTED]>:
> > Hi Folks,
> >
> > Is there a way to reset a \setupSomeThing[ ] directive?
> >
> > Consider for instance a complex setup for TABLES. Imagine
> > I have used this setup for some parts of the document, but
> > later on I want to have a radically different setup for TABLES, say.
> >
> > Is there a convenient way to do this as we can do with \reset[counter].
> >
> > saji
> 
> Hi Saji,
> 
> there is currently no command to reset the global TABLE setups
> but you set them local for every table:
> 
> \start
> \setupTABLE[...]
> \bTABLE
> ...
> \eTABLE
> \stop
> 
> or you can define setups with often used setup parameters in the preamble
> and use call them in your document for the corresponding table.
> 
> \startsetups table:noframe
>   \setupTABLE[frame=off]
> \stopsetups
> 
> \startsetups table:colorlines
>   \setupTABLE[row][odd][background=screen]
> \stopsetups
> 
> \startsetups table:normal
>   \setupTABLE[background=,frame=on]
> \stopsetups
> 
> \setupcolors[state=start]
> 
> \starttext
> 
> \startbuffer
> \bTABLE
> \dorecurse{10}
>   {\bTR
>\bTD Text \eTD\bTD Text \eTD
>\eTR}
> \eTABLE
> \stopbuffer
> 
> \start
> \setups{table:noframe}
> \getbuffer
> \stop
> 
> \start
> \setups{table:colorlines}
> \getbuffer
> \stop
> 
> \getbuffer
> 
> \stoptext
> 
> @Hans: Is it possible to integrate a setups key into \bTABLE to write
> something like \bTABLE[setups=table:noframe] to avoid the \start/\stop
> and \setups{..} commands as I did in my example above.
> 
> Wolfgang
> ___
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

-- 
Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F 
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED]
KOREA
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___