Re: [NTG-context] frac and tfrac with sqrt

2014-10-07 Thread Hans Hagen
On 10/7/2014 7:33 AM, Mikael P. Sundqvist wrote: On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \setupmathradical[alternative=default] Very good! Hans, will the default be default in next beta? :) no, but there will be different settings ... the

[NTG-context] multi-line equations with \left( and \right.

2014-10-07 Thread Xan
Hi, I try to do that \startformula \startalign[left={\left(\,},right={\,\right.}] \NC x - 2y + 2z \NC = 1 \NR \NC 2 x + y - z \NC = 2 \NR \NC 4 x - 3y + 6z \NC = 7 \NR \stopalign \stopformula but it does not work. Can anyone help me? Thanks, Xan PS: Please CCme

[NTG-context] Possibly bug: misalignment with matrix

2014-10-07 Thread Xan
Hi, Minimal example: \definemathmatrix[pmatrix] [left={\left(\,},right={\,\right)}] \starttext Digueu quines de les matrius següents són regulars. Quan ho siguin, trobeu la inversa \startitemize[a,columns,four] \item \startpmatrix[n=2] \NC 2 \NC 3 \NR \NC 6 \NC 7 \NR \stoppmatrix \item

Re: [NTG-context] multi-line equations with \left( and \right.

2014-10-07 Thread Wolfgang Schuster
Am 07.10.2014 um 10:59 schrieb Xan dxpubl...@telefonica.net: Hi, I try to do that \startformula \startalign[left={\left(\,},right={\,\right.}] \NC x - 2y + 2z \NC = 1 \NR \NC 2 x + y - z \NC = 2 \NR \NC 4 x - 3y + 6z \NC = 7 \NR \stopalign \stopformula but it does not work. Can

Re: [NTG-context] multi-line equations with \left( and \right.

2014-10-07 Thread Xan
Mm... I thought I could use mathalign instead. Thanks, On Tue, 7 Oct 2014 11:23:13 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com ha escrit: Am 07.10.2014 um 10:59 schrieb Xan dxpubl...@telefonica.net: Hi, I try to do that \startformula

Re: [NTG-context] multi-line equations with \left( and \right.

2014-10-07 Thread Otared Kavian
Hi Xan, I think Wolfgang meant that one should something like the following construction: % define here a new math-aligned structure: \definemathmatrix[alignedcases] [align={right,left,left}, distance=3pt, left={\left\{},

[NTG-context] setuphead bug?

2014-10-07 Thread Meer, H. van der
There seems to be a problem in \setuphead, it produces a spurious else from the alternative=middle. In the reference manual I see the possibilities: alternative = normal inmargin middle TEXT. Of these middle is the only one giving the else. minimal example:

Re: [NTG-context] hyphenating urls and \tex

2014-10-07 Thread Pablo Rodriguez
On 10/06/2014 12:28 AM, Hans Hagen wrote: [...] \unexpanded\def\WhateverB#1% {\dontleavehmode \begingroup \tttf \prehyphenchar\minusone % \localrightbox{\llap{_}}% \localrightbox{\llap{\smash{\lower1.5ex\hbox{\char2192% \setbox\scratchbox\hbox{#1}%

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Otared Kavian
Don’t you mean rather \setuphead[chapter][align=middle] instead of « alternative »? Best regards: OK On 07 Oct 2014, at 17:28, Meer, H. van der h.vanderm...@uva.nl wrote: There seems to be a problem in \setuphead, it produces a spurious else from the alternative=middle. In the

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Meer, H. van der
\setuphead[chapter][align=middle] works out ok for me. Thanks! But then, \setuphead[chapter][alternative=middle] seems quite correct, following the manual. The else seems strange then. Hans van der Meer On 07 Oct 2014, at 17:59, Otared Kavian ota...@gmail.commailto:ota...@gmail.com wrote:

Re: [NTG-context] Possibly bug: misalignment with matrix

2014-10-07 Thread Thangalin
Looks like a bug; adding blank rows works around the problem (but looks terrible): \definemathmatrix[pmatrix] [left={\left(\,},right={\,\right)}] \starttext Digueu quines de les matrius següents són regulars. Quan ho siguin, trobeu la inversa \startitemize[a,columns,four] \item

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Otared Kavian
Hi, You are right, it seems that there is a trailing « else » somewhere in the sources… Actually the possible keys for « alternative= » are alternative=paragraph normal inmargin margin middle top bottom IDENTIFIER and the following works fine also: \setuphead[chapter]

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
Am 07.10.2014 um 21:22 schrieb Otared Kavian ota...@gmail.com: Hi, You are right, it seems that there is a trailing « else » somewhere in the sources… Actually the possible keys for « alternative= » are alternative=paragraph normal inmargin margin middle top bottom

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
Am 07.10.2014 um 21:22 schrieb Otared Kavian ota...@gmail.com: Hi, You are right, it seems that there is a trailing « else » somewhere in the sources… Actually the possible keys for « alternative= » are alternative=paragraph normal inmargin margin middle top bottom

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Hans Hagen
On 10/7/2014 10:32 PM, Wolfgang Schuster wrote: - else + \else \fakeheadnumbercontent % will also be done in the other ones (force consistency with numbered) \fi yes, a new thingie Hans -

Re: [NTG-context] Animation captions (was: error in animation)

2014-10-07 Thread Jeong Dal
Dear Woldgang, I searched \definepairedbox and found several discussions as following: http://www.ntg.nl/pipermail/ntg-context/2005/014315.html https://www.mail-archive.com/ntg-context@ntg.nl/msg71401.html In the above examples, it took a long sentences as a caption while my example don’t