Re: [NTG-context] Tagging and Math Matrix

2017-09-06 Thread Christoph Reller
On Wed, 6 Sep 2017 11:25:51 +0200 Hans Hagen  wrote:

> On 9/6/2017 9:55 AM, Christoph Reller wrote:
> > On Tue, 5 Sep 2017 16:29:52 +0200 Hans Hagen  > >   wrote:
> >
> > On 8/30/2017 9:45 AM, Christoph Reller wrote:
> >  > On Mon, Dec 28, 2015 at 3:45 PM Christoph Reller
> >  >  wrote:
> >  >
> >  > There seems to be a problem with the structure information added
> >  > when using \startmatrix:
> >  >
> >  > A fix would be very much appreciated.
> >
> > should be ok now
> >
> >
> > Thank you Hans for this fix!
> >
> > There seems to be, however, still a minor issue with a more complete MWE:
> > \math{
> >\startmatrix
> >  \NC A \NC B \NR
> >  \NC C \NC D \NR
> >\stopmatrix}
>
> can you test with
>
> \def\math_matrix_process#1#2%
>{\forgettagging % otherwise dummy mrows and such
> \dowithnextbox
>   {\scratchdimen\dimexpr(\nextboxdp-\nextboxht)/2
> \ifcase#2\or+\mathaxisheight\textfont2\fi\relax
>
>
> \ifcase#1\relax\or\lower\scratchdimen\or\or\raise\scratchdimen\fi\hbox\bgroup
>  \normalstartimath
>  \mathmatrixparameter\c!left
>  \vcenter{\unvbox\nextbox}%
>  \mathmatrixparameter\c!right
>  \normalstopimath
>\egroup}%
> \vbox}
>

Indeed, this is much better! Thank you!
I recommend to include this as a patch in ConTeXt.

However: Testing never stops ;-) I have the following MWE:

\definemathmatrix[pmatrix][left={\left(},right={\right)}]
\math{
  \startpmatrix
\NC A \NC B \NR
\NC C \NC D \NR
  \stoppmatrix}

This (including your suggested fix) results in the following structure tree:


|-
| '-
|   '-
| '-
|   '-
'-
  '-
|-
| |-
| | '-
| |   '-
| | '-
| |   '-"A"
| '-
|   '-
| '-
|   '-
| '-"B"
'-
  |-
  | '-
  |   '-
  | '-
  |   '-"C"
  '-
'-
  '-
'-
  '-"D"

I think that the  should be located within the , shouldn't
it?

Cheers,
Christoph
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-06 Thread Pablo Rodriguez
On 09/06/2017 11:04 PM, Fabrice Couvreur wrote:
> Hello,
> I would like that on the pages with the title of the chapter the header
> is empty.

Hi Fabrice,

this is the command you need:

  \setuphead[chapter][header=empty]

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Jeong Dal

> 
> This is what I did:
> 
> sh ./first-setup.sh --context=2016.1.4 --all
> . ~/Context/tex/setuptex
> Setting "/home/rmason/Context/tex" as ConTeXt root.
> 
> cd to the directory containing my document, then
> 
> context document.tex
> 
> resolvers   | trees | analyzing 'home:texmf'
> resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
> 'readme.txt', already: 'ReadMe.txt'
> mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'
> 

Dear Roger Mason,

I also had a similar problem recently after installing texlive 2017. 
But it is resolved now by doing the following  according to the suggestions:

run mtxrun —generate and luatools —generate

May be, “ luatools —generate" is OK.
I am using TeXshop in OS X. So I am not sure this works in Linux system.
I hope that it may help.

Good luck!

Best regards,

Dalyoung

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-06 Thread Fabrice Couvreur
Hello,
I would like that on the pages with the title of the chapter the header is
empty.
Fabrice

\setupheadertexts[{\getmarking[section]}][pagenumber]
  [{\getmarking[chapter]}][pagenumber]

\setuppagenumbering[alternative=,location=]
\starttext
\placelist[chapter,section][alternative=c]
\startchapter[title={First chapter}]
\startsection[title={First section}]
  \dorecurse{5}{\input knuth}
\stopsection
\stopchapter
\startchapter[title={Second chapter}]
\startsection[title={Second section}]
  \dorecurse{5}{\input knuth}
\stopsection
\stopchapter
\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] issues with \scitebuffer and \sciteinlinebuffer

2017-09-06 Thread Pablo Rodriguez
On 09/06/2017 12:16 AM, Hans Hagen wrote:
> On 9/5/2017 11:20 PM, Pablo Rodriguez wrote:
>>
>> Could we discuss the main issue (a broader one) after the meeting (by
>> the end of the month)?
> > depends on what the broader issue is ... supporting margin is no big
> deal but the other setuptyping things (escapes and such) are rather 
> bound to the default visualizer and while the scite ones are more 
> advanced wrt lexing they are also isolated from the default visualizers 
> (they get hooked into the typing mechanism but follow a different route 
> from source to rendering)
> 
> my main reason for making the m-scite module was that i wanted to use 
> the mixed lexer i also use for editing (which btw is not always best for 
> typesetting) and i might add features when i need them but there is no 
> real plan there

Hans, m-scite isn’t part of the main issue, only the wrong way to
workaround it.

But we’ll discuss this at the end of this month.

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Font DejaVu with a font for Mathematics

2017-09-06 Thread Fabrice Couvreur
Sorry for the noise !
It is true that \math{\cal N}, it is not very beautiful, so I will
associate another font even if it should avoid, I believe, to write
documents with different fonts
Fabrice

2017-09-06 18:53 GMT+02:00 Herbert Voss :

>
> Fabrice Couvreur schrieb:
>
> > I use for the documents of my students the font DejaVu because I find
> that
> > it is very readable on paper. Unfortunately, this is not a font for
> > writing
> > Mathematics. I would like to use DejaVu font for text and a font to write
> > mathematical formulas. What do you recommend ?
>
> DejaVu Math ... ;-)
> https://ctan.org/tex-archive/fonts/tex-gyre-math
> https://ctan.org/tex-archive/fonts/tex-gyre-math/opentype
>
> Herbert
>
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Font DejaVu with a font for Mathematics

2017-09-06 Thread Herbert Voss

Fabrice Couvreur schrieb:

> I use for the documents of my students the font DejaVu because I find that
> it is very readable on paper. Unfortunately, this is not a font for
> writing
> Mathematics. I would like to use DejaVu font for text and a font to write
> mathematical formulas. What do you recommend ?

DejaVu Math ... ;-)
https://ctan.org/tex-archive/fonts/tex-gyre-math
https://ctan.org/tex-archive/fonts/tex-gyre-math/opentype

Herbert

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Aditya Mahajan  writes:

>
> These are each 200MB, so sending by email might not work.
>
> I uploaded them temporarily to
> https://www.dropbox.com/sh/dg8xuyab5x3anju/AAA-tALrMZuDUCgMXRaYK6JCa?dl=0
>
> The versions might be off by one (i.e., the 2016-02-15 tar file might
> contain the tex files for 2016-03-04).

Got them.  Thank you very much.

Roger
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Font DejaVu with a font for Mathematics

2017-09-06 Thread Parchd
TeX Gyre DejaVu Math

http://www.gust.org.pl/projects/e-foundry/tex-gyre-dejavu-math

To quote the page above: "The TeX Gyre DejaVu Math font is a math companion to 
the fine and popular DejaVu text fonts."

I seem to remember that I didn't like $\cal N$ when I used it.

Best,

Parchd.

On Wed, Sep 06, 2017 at 06:27:40PM +0200, Fabrice Couvreur wrote:
> Hello,
> I use for the documents of my students the font DejaVu because I find that
> it is very readable on paper. Unfortunately, this is not a font for writing
> Mathematics. I would like to use DejaVu font for text and a font to write
> mathematical formulas. What do you recommend ?
> Thank you.
> Fabrice

> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Font DejaVu with a font for Mathematics

2017-09-06 Thread Fabrice Couvreur
Hello,
I use for the documents of my students the font DejaVu because I find that
it is very readable on paper. Unfortunately, this is not a font for writing
Mathematics. I would like to use DejaVu font for text and a font to write
mathematical formulas. What do you recommend ?
Thank you.
Fabrice
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Aditya Mahajan

On Wed, 6 Sep 2017, Roger Mason wrote:


Aditya Mahajan  writes:


On Wed, 6 Sep 2017, Roger Mason wrote:


Hi Aditya,

Aditya Mahajan  writes:


I have the zips for 2015.12.29 and 2016.02.15, if either of those
would work.


For which operating system?


linux 64 bit.


OK, I have a box I can boot into Fedora 22, so that might work.

Can you please send both zips to my private e-mail?


These are each 200MB, so sending by email might not work.

I uploaded them temporarily to
https://www.dropbox.com/sh/dg8xuyab5x3anju/AAA-tALrMZuDUCgMXRaYK6JCa?dl=0

The versions might be off by one (i.e., the 2016-02-15 tar file might 
contain the tex files for 2016-03-04).


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hello,

Parchd  writes:

> According to 
> http://wiki.contextgarden.net/ConTeXt_Standalone#Reverting_to_an_older_installation
> I think something like `sh ./first-setup.sh --context=2016.1.4` should
> help you.

This is what I did:

sh ./first-setup.sh --context=2016.1.4 --all
. ~/Context/tex/setuptex
Setting "/home/rmason/Context/tex" as ConTeXt root.

cd to the directory containing my document, then

context document.tex

resolvers   | trees | analyzing 'home:texmf'
resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
'readme.txt', already: 'ReadMe.txt'
mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'


Is there something else I need to do?

Thanks,
Roger
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hi Parchd,

Parchd  writes:

> According to 
> http://wiki.contextgarden.net/ConTeXt_Standalone#Reverting_to_an_older_installation
> I think something like `sh ./first-setup.sh --context=2016.1.4` should
> help you.

Thank you.  That is well worth a try.

Cheers,
Roger
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Aditya Mahajan  writes:

> On Wed, 6 Sep 2017, Roger Mason wrote:
>
>> Hi Aditya,
>>
>> Aditya Mahajan  writes:
>>
>>> I have the zips for 2015.12.29 and 2016.02.15, if either of those
>>> would work.
>>
>> For which operating system?
>
> linux 64 bit.

OK, I have a box I can boot into Fedora 22, so that might work.

Can you please send both zips to my private e-mail?

Many thanks,

Roger
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Parchd
According to 
http://wiki.contextgarden.net/ConTeXt_Standalone#Reverting_to_an_older_installation
I think something like `sh ./first-setup.sh --context=2016.1.4` should
help you.

On Wed, Sep 06, 2017 at 07:22:39AM -0230, Roger Mason wrote:
> Hello,
> 
> Is there a means of obtaining an old standalone?  I would like to get
> ConTeXt  ver: 2016.01.04 15:47 MKIV beta  fmt: 2016.1.4
> 
> Thanks,
> Roger
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Aditya Mahajan

On Wed, 6 Sep 2017, Roger Mason wrote:


Hi Aditya,

Aditya Mahajan  writes:


I have the zips for 2015.12.29 and 2016.02.15, if either of those
would work.


For which operating system?


linux 64 bit.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hi Aditya,

Aditya Mahajan  writes:

> I have the zips for 2015.12.29 and 2016.02.15, if either of those
> would work.

For which operating system?

Thanks,
Roger
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Aditya Mahajan

On Wed, 6 Sep 2017, Roger Mason wrote:


Hello,

Is there a means of obtaining an old standalone?  I would like to get
ConTeXt  ver: 2016.01.04 15:47 MKIV beta  fmt: 2016.1.4


I have the zips for 2015.12.29 and 2016.02.15, if either of those would 
work.


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hello,

Is there a means of obtaining an old standalone?  I would like to get
ConTeXt  ver: 2016.01.04 15:47 MKIV beta  fmt: 2016.1.4

Thanks,
Roger

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tagging and Math Matrix

2017-09-06 Thread Hans Hagen

On 9/6/2017 9:55 AM, Christoph Reller wrote:
On Tue, 5 Sep 2017 16:29:52 +0200 Hans Hagen >   wrote:


On 8/30/2017 9:45 AM, Christoph Reller wrote:
 > On Mon, Dec 28, 2015 at 3:45 PM Christoph Reller
 > mailto:christoph.rel...@gmail.com>
>>   wrote:
 >
 > There seems to be a problem with the structure information added
 > when using \startmatrix:
 >
 > A fix would be very much appreciated.

should be ok now


Thank you Hans for this fix!

There seems to be, however, still a minor issue with a more complete MWE:
\math{
   \startmatrix
     \NC A \NC B \NR
     \NC C \NC D \NR
   \stopmatrix}


can you test with

\def\math_matrix_process#1#2%
  {\forgettagging % otherwise dummy mrows and such
   \dowithnextbox
 {\scratchdimen\dimexpr(\nextboxdp-\nextboxht)/2 
\ifcase#2\or+\mathaxisheight\textfont2\fi\relax


\ifcase#1\relax\or\lower\scratchdimen\or\or\raise\scratchdimen\fi\hbox\bgroup
\normalstartimath
\mathmatrixparameter\c!left
\vcenter{\unvbox\nextbox}%
\mathmatrixparameter\c!right
\normalstopimath
  \egroup}%
   \vbox}




The resulting structure tree is as follows:

'-
   '-
     '-
       '-
         |-
         | '-
         |   |-
         |   | '-
         |   |   '-
         |   |     '-
         |   |       '-"A"
         |   '-
         |     '-
         |       '-
         |         '-
         |           '-"B"
         |-            (*)
         |-
         | '-
         |   |-
         |   | '-
         |   |   '-
         |   |     '-
         |   |       '-"C"
         |   '-
         |     '-
         |       '-
         |         '-
         |           '-"D"
         '-            (*)

The elements marked with (*) are IMHO unnecessary. Do you agree?

Cheers
Christoph



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tagging and Math Matrix

2017-09-06 Thread Christoph Reller
On Tue, 5 Sep 2017 16:29:52 +0200 Hans Hagenwrote:

> On 8/30/2017 9:45 AM, Christoph Reller wrote:
> > On Mon, Dec 28, 2015 at 3:45 PM Christoph Reller
> > mailto:christoph.rel...@gmail.com
> >>   wrote:
> >
> > There seems to be a problem with the structure information added
> > when using \startmatrix:
> >
> > A fix would be very much appreciated.
>
> should be ok now
>

Thank you Hans for this fix!

There seems to be, however, still a minor issue with a more complete MWE:
\math{
  \startmatrix
\NC A \NC B \NR
\NC C \NC D \NR
  \stopmatrix}

The resulting structure tree is as follows:

'-
  '-
'-
  '-
|-
| '-
|   |-
|   | '-
|   |   '-
|   | '-
|   |   '-"A"
|   '-
| '-
|   '-
| '-
|   '-"B"
|-(*)
|-
| '-
|   |-
|   | '-
|   |   '-
|   | '-
|   |   '-"C"
|   '-
| '-
|   '-
| '-
|   '-"D"
'-(*)

The elements marked with (*) are IMHO unnecessary. Do you agree?

Cheers
Christoph
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___