[NTG-context] Bug in counter

2022-07-04 Thread Johann Birnick via ntg-context
Hey there,

please consider:


\starttext

\defineenumeration[definition][text=Definition, alternative=serried]
\setupnumber[definition][way=bysection, numbersection=yes]

\section{My section 1}
\startdefinition
My fist definition
\stopdefinition

\section{My section 2}
\startdefinition
My second definition
\stopdefinition

\stoptext


It should number my definitions 1.1 and 2.1, but it doesn't. The prefix is
missing.

Any ideas?

Thank you and best regards,
Johann


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
___


[NTG-context] Overbar bug

2022-07-04 Thread Johann Birnick via ntg-context
Hey there,

please have a look at the following example:

\starttext
$\overbar{\alpha} \overbar{\beta}$
\stoptext

The first one works just fine, whereas the second one looks very odd.
(At least in MkIV...)

Any ideas?

Best,
Johann
___
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] Multiline text in mathmode

2022-06-30 Thread Johann Birnick via ntg-context
Thank you!

On Thu, 2022-06-30 at 07:58 +0200, Hans Hagen via ntg-context wrote:
> On 6/30/2022 7:13 AM, Aditya Mahajan via ntg-context wrote:
> > On Thu, 30 Jun 2022, Johann Birnick via ntg-context wrote:
> > 
> > > I guess you will update to LMTX..? Unfortunately I use MkIV, because of
> > > other
> > > math bugs in LMTX. Do you know any (can be ugly) way of doing this without
> > > the
> > > new stuff?
> > 
> > You could just use a framed.
> > 
> > \define[1]\multilinetext{\vcenter{\framed[align=middle,frame=off]{#1}}}
> > 
> > \startTEXpage[offset=2mm]
> >    \startformula
> >  \left\{ \multilinetext{Quaternion algebra over $\rationals$ \\ up to
> >  isomorphisms} \right\}
> >    \stopformula
> > \stopTEXpage
> indeed, the lmtx definiton sis similar:
> 
> \permanent\tolerant\protected\def\mparagraph[#1]#*#:#2%
>    {\vcenter class \mathconstructcode \bgroup
>   \framed
>     [\c!offset=\v!overlay,
>  \c!frame=\v!overlay,
>  \c!align=\v!middle,
>  #1]{#2}%
>     \egroup}
> 
> Hans
> 
> -
>    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
> __
> _
___
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] Multiline text in mathmode

2022-06-29 Thread Johann Birnick via ntg-context
I guess you will update to LMTX..? Unfortunately I use MkIV, because of other
math bugs in LMTX. Do you know any (can be ugly) way of doing this without the
new stuff?

Johann

On Wed, 2022-06-29 at 20:12 +0200, Hans Hagen via ntg-context wrote:
> On 6/29/2022 11:42 AM, Johann Birnick via ntg-context wrote:
> > Hey there,
> > 
> > does anybody know how to obtain a similar result as in the attached
> > screenshot?
> > I'm only asking about the multiline text in the big braces, the rest I know.
> If you can wait a few days ... see attached. Mikael and I are currently 
> testing some of the latest updates to the math machinery and there will 
> be an intermediate update in a few days before we enter a next stage.
> 
> Hans
> 
> -
>    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
> __
> _
___
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] Multiline text in mathmode

2022-06-29 Thread Johann Birnick via ntg-context
Hey there,

does anybody know how to obtain a similar result as in the attached screenshot?
I'm only asking about the multiline text in the big braces, the rest I know.

Thank you,
Johann
___
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] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Works, thanks!

On Fri, 2022-06-24 at 12:44 +0200, Wolfgang Schuster via ntg-context wrote:
> Johann Birnick via ntg-context schrieb am 24.06.2022 um 11:59:
> > Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work
> > anymore. Any ideas?
> 
> What happens with
> 
>  \cite[righttext={{, section 2.1}}]
> 
> or
> 
>  \cite[righttext={\textcomma\ section 2.1}]
> 
> 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://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] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work
anymore. Any ideas?

Johann

On Fri, 2022-06-24 at 09:24 +0200, Henning Hraban Ramm via ntg-context wrote:
> Am 24.06.22 um 02:09 schrieb Johann Birnick via ntg-context:
> > Hi there,
> > 
> > using \cite[myreference] I will get a result like "[1]", or I could also
> > change
> > the "1" into some more detailed information such as a tag.
> > 
> > However, I want to obtain something like "[1, section 2.1]".
> > 
> > How can I achieve this?
> 
> \cite[righttext={section 2.1}][myreference]
> 
> Hraban
> __
> _
> 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] Detailed citation of reference

2022-06-23 Thread Johann Birnick via ntg-context
Hi there,

using \cite[myreference] I will get a result like "[1]", or I could also change
the "1" into some more detailed information such as a tag.

However, I want to obtain something like "[1, section 2.1]".

How can I achieve this?

Thank you very much,
Johann
___
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
___