Re: [NTG-context] mathmatrix vs substack

2017-09-14 Thread Henri
Dear Hans,

Thanks for the patch.  It runs without errors again.  However, another problem 
surfaced.  In the MWE
below the second column of the matrix is no longer centred as it should be.

current version: 2017.09.08 17:24

Cheers, Henri

---

\starttext

\placeformula
\startformula
   \startmathmatrix
 \NC long line \NC 1 \NR
 \NC 1 \NC long line \NR
   \stopmathmatrix
\stopformula

\stoptext

On Mon, 2017-09-11 at 10:03 +0200, Hans Hagen wrote:
> On 9/11/2017 6:59 AM, Henri wrote:
> > 
> > Dear devs,
> > 
> > Thank you very much for fixing this one
> > https://mailman.ntg.nl/pipermail/ntg-context/2017/089790.html
> > Unfortunately it seems like you broke substack and mathmatrix on the way.  
> > MWE below fails
> > with version 2017.09.08 17:24
> > 
> > Cheers, Henri
> > 
> > ---
> > 
> > \starttext
> > 
> > \placeformula
> > \startformula
> >    \sum_{\startsubstack
> >  \NC k \NR
> >  \NC \omega_n \NR
> >    \stopsubstack}
> > \stopformula
> > 
> > \placeformula
> > \startformula
> >    \startmathmatrix[left=\left|,right=\right|]
> >  \NC 0 \NC 1 \NR
> >  \NC 1 \NC 0 \NR
> >    \stopmathmatrix
> >    = -1 .
> > \stopformula
> > 
> > \stoptext
> % no tagging yet : how is it supposed to be coded? no time now anyway
> 
> \unexpanded\def\startsubstack
>    {\begingroup
> \vcenter\bgroup
> \baselineskip\mathstacktotal
> \lineskip\mathstackvgap
> \lineskiplimit\lineskip
> \mathsurround\zeropoint
> \everycr\emptytoks
> \let\NC\relax
> \let\MC\relax
> \let\NR\crcr
>  
> \halign\bgroup\hfil\normalstartimath\scriptstyle\alignmark\alignmark\normalstopimath\hfil\crcr}
> 
> \def\stopsubstack
>    {\crcr
> \egroup
> \egroup
> \endgroup}
> 
> 
> -
>    Hans Hagen | PRAGMA ADE
>    Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -

test.pdf
Description: Adobe PDF document
___
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] Increment the section counter

2017-09-14 Thread Procházka Lukáš Ing .

Hello,

BTW, I needed to add a section numbered by zero some time ago;
there is a solution which uses "conversion" parameter.

When one needs to add a zero based section "manually" (ad hoc), there is 
another solution, too:


\starttext
  \bgroup
\setuphead[section][ownnumber=yes]
\section{0}{Zero}
  \subsection{SSecA}
\setupheadnumber[section][0]
  \egroup
  %
  \section{Sec}
\subsection{SSecB}
  \section{Sec2}
\stoptext


Best regards,

Lukas


On Tue, 12 Sep 2017 19:59:30 +0200, Wolfgang Schuster 
 wrote:


You can enable manual numbering


\setuphead[section][ownnumber=yes]

\starttext

\section{3}{Section 1}

\section{5}{Section 1}

\section{6}{Section 1}

\stoptext


or use a custom conversion


\defineconversion[drunk][3,5,6]

\setuphead[section][conversion=drunk]

\starttext

\dorecurse{3}{\expanded{\section{Section \recurselevel}}}

\stoptext


Wolfgang



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

Sec0.mkiv
Description: Binary data


Sec0.pdf
Description: Adobe PDF document
___
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] Who is maintaining the modules website?

2017-09-14 Thread Christoph Reller
On Thu, 14 Sep 2017 11:50:03 +0200 Mojca Miklavec <
mojca.miklavec.li...@gmail.com>   wrote:

> On 13 September 2017 at 15:06, Christoph Reller wrote:
> > I tried to send an email to modu...@contextgarden.net and got the below
> > reply. On https://modules.contextgarden.net/help.html, this email
> address is
> > mentioned as the primary contact point to the maintainer of the
> > modules.contextgarden.net website. Who can I contact if I have a problem
> > with this website?
>
> Taco Hoekwater, currently busy at the ConTeXt meeting:
> http://meeting.contextgarden.net/
>
> But if the above email is not working, we'll fix it. I suspect that
> Taco asked me to create a mailing list and I forgot.
>
> Anyway, reporting infrastructure problems on this mailing list is also
> perfectly fine.
>

Thank you Mojca!

I will raise the issue once the ConTeXt meeting is over.

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] Metafun "Structure-Trees"

2017-09-14 Thread Ursula Hermann
Hallo!

I have put a Document here. It is an PDF with 2 Pages. Can one look at the 
Trees and tell me how i can do this with Metapost? 

Thank you 

-Ursprüngliche Nachricht-
Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Alan Braslau
Gesendet: Mittwoch, 13. September 2017 20:26
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Metafun "Structure-Trees"

What exactly do you mean?

(we can build tree diagrams with Metapost)

Alan

> On 13 Sep 2017, at 12:43, Ursula Hermann  wrote:
> 
> Hello!
>  
> My question is: Is it possible to make „Structure Trees“ for English 
> Sentences with „Categorial Grammar“? Sorry, I have no example.
>  
> Thanks
>  
> Uschi Hermann
> __
> _ 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
___


English Grammar Page1-2.pdf
Description: Adobe PDF document
___
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] Who is maintaining the modules website?

2017-09-14 Thread Mojca Miklavec
Hi,

On 13 September 2017 at 15:06, Christoph Reller wrote:
>
> I am unsure whether this mailing list is the correct one to ask this
> question. So please excuse the noise.

It is.

> I tried to send an email to modu...@contextgarden.net and got the below
> reply. On https://modules.contextgarden.net/help.html, this email address is
> mentioned as the primary contact point to the maintainer of the
> modules.contextgarden.net website. Who can I contact if I have a problem
> with this website?

Taco Hoekwater, currently busy at the ConTeXt meeting:
http://meeting.contextgarden.net/

But if the above email is not working, we'll fix it. I suspect that
Taco asked me to create a mailing list and I forgot.

Anyway, reporting infrastructure problems on this mailing list is also
perfectly fine.

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