Re: [NTG-context] installer

2023-05-07 Thread Alexandre Christe via ntg-context
Hi Otared,

I encountered the same issue the other day. Could it be that you run mtxrun 
from the /bin folder instead of /tex/texmf-YOUR_ARCH/bin/ ? Somehow they seem 
to be different.

Best regards,
Alex
Le 7 mai 2023 à 17:07 +0200, Otared Kavian via ntg-context 
, a écrit :
> Hi Hans,
>
> Updating to current version: 2023.05.07 16:33 and issuing
>
> mtxrun --script install-modules
>
> I get:
>
> mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua’
>
>
> Best regards: Otared
>
> > On 7 May 2023, at 16:59, Hans Hagen via ntg-context  
> > wrote:
> >
> > On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
> > > $ mtxrun --script install-modules --list
> > > resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 
> > > 'changelog', already: 'ChangeLog'
> > > mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
> > hm, it should be in the zip, adn therefore installed, so can others confirm 
> > this?
> >
> > 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 / 
> > https://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> > archive : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : https://contextgarden.net
> > ___
>
> Otared Kavian
> e-mail: ota...@gmail.com
> Phone: +33 6 88 26 70 95
>
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] new uplaod

2023-04-17 Thread Alexandre Christe via ntg-context
Dear list,

In case someone else stumbles upon this issue, the following code works.

MWE:

\autofences

\starttext

$\left]-\infty; a\right[$

\stoptext

Best regards,
Alex
Le 22 sept. 2022 à 12:59 +0200, Alexandre Christe , a 
écrit :
> Hi Hans,
>
> Thanks a lot for the example. It works great in most cases, however what I 
> stumbled upon is with the interval notation, in particular the following 
> cases arise:
> - closed interval: easy, since the delimiters are [... ; ... ]
> - open interval: not easy, since the delimiters are ]... ; ... [ (or with a 
> parenthesis as in the US, but there it works)
> - semi open interval: not easy, since the delimiters are either [... ; ... [ 
> or ]... ; ...] (or in the US [...; ...) or (... ; ...])
>
> I guess there is a need for a special definition for these. Maybe they're 
> already in the works...
>
> By the way, if I define in the preamble \autofences, is there a command to 
> disable it locally? Would be very helpful to deal with the above situations.
>
> Best regards,
> Alex
>
> > Le dim. 11 sept. 2022 à 20:42, Hans Hagen via ntg-context 
> >  a écrit :
> > > On 9/10/2022 9:45 AM, Alexandre Christe via ntg-context wrote:
> > > > Hi Hans,
> > > >
> > > > Will |\mvert|and|\midalso be included in the \autofencelogic? It would
> > > > be quite useful.|
> > > we don't have \mvert so i'll add that ... in a next upload you can do
> > > the attached (kind of experimental as Mikael and I need to review this
> > > which we will do next week)
> > >
> > > 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 / 
> > > https://www.ntg.nl/mailman/listinfo/ntg-context
> > > webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> > > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > > wiki     : https://contextgarden.net
> > > ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] upload

2023-04-14 Thread Alexandre Christe via ntg-context
Sorry, \setupmathematics[ucgreek=normal] does the job. Nothing to do with the 
last upload.
Le 14 avr. 2023 à 17:16 +0200, Alexandre Christe , a 
écrit :
> Dear Hans,
>
> In the latest upload, I see that uppercase greek letters in the math 
> environment are displayed in italic. Is there a way to force them to appear 
> as upright letters instead?
>
> Thanks in advance,
> Alex
> Le 11 avr. 2023 à 23:08 +0200, Hans Hagen via ntg-context 
> , a écrit :
> > Hi,
> >
> > I just uploaded an update, the areas that were touched:
> >
> > - math (font) improvements (with mikael, roadmap stuff, fixes, compact
> > mode testing)
> > - text (font) improvements (with mikael, side track of math)
> > - experimental stuff wrt project structure (with alan, complex huge
> > files; prelude to possible partial overhaul)
> > - some language details like labels (with tomas & students, ongoing)
> > - little thingies that probably no one will notice unless it's bugged
> >
> > 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 / 
> > https://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> > archive : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : https://contextgarden.net
> > ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] upload

2023-04-14 Thread Alexandre Christe via ntg-context
Dear Hans,

In the latest upload, I see that uppercase greek letters in the math 
environment are displayed in italic. Is there a way to force them to appear as 
upright letters instead?

Thanks in advance,
Alex
Le 11 avr. 2023 à 23:08 +0200, Hans Hagen via ntg-context , 
a écrit :
> Hi,
>
> I just uploaded an update, the areas that were touched:
>
> - math (font) improvements (with mikael, roadmap stuff, fixes, compact
> mode testing)
> - text (font) improvements (with mikael, side track of math)
> - experimental stuff wrt project structure (with alan, complex huge
> files; prelude to possible partial overhaul)
> - some language details like labels (with tomas & students, ongoing)
> - little thingies that probably no one will notice unless it's bugged
>
> 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 / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Text editors

2023-03-26 Thread Alexandre Christe via ntg-context
Dear ConTeXt users,

I'm wondering what kind of typesetting system / syntax highlighting /
completion you're using.

I've been using myself the simple_Context package for SublimeText which I
scavenged a while ago before it was made unavailable (I wanted to attach
but it's too big for the list). But it's sort of a dead-end.

Open to anything from vim/neovim to emacs or more exotic. Maybe it would be
nice to show the config. (And yes I've seen the Wiki page
https://wiki.contextgarden.net/Text_Editors but I've the feeling some
content is outdated.)

Thanks in advance,
Alex
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Building fomula

2023-03-25 Thread Alexandre Christe via ntg-context
Hi Willi,

A dead simple solution would be

\starttext
\startformula
{\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad
{{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo}
\stopformula

\stoptext


Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <
ntg-context@ntg.nl> a écrit :

> Good afternoon everybody,
>
> I should place two faily simple formulae next to each other, they should
> be coupled by ‘or’. What I have now is, that the formulae indeed are next
> to each other and separated by ‘or’, but the result of the second formula
> is moved und this formula to the next line.
> In the setup of  book there would be enough place, if I coud decrease the
> space left and right of the ‘or’.
>
> How can I achieve this?
>
> Cheers
>
> Willi
>
> \starttext
>   \startformulas
> \startformula[align=right]
>   {\frac{47 \times 62}{44 \times 56}} \times {12}
> \stopformula
> \startformula[align=right,width=0.2\textwidth]
>   or
> \stopformula
> \startformula[align=right]
>   {{\frac{47 \times 62 \times 12}{44 \times 56}}=14.2 \rm kilo}
> \stopformula
>
>   \stopformulas
>   \blank[small]
>   rounded 14 kilo.
> \stoptext
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] bug $\vec{}$

2023-01-20 Thread Alexandre Christe via ntg-context
It does! Thanks Mikael.

Le ven. 20 janv. 2023 à 16:52, Mikael Sundqvist via ntg-context <
ntg-context@ntg.nl> a écrit :

> I think there is a change going on, try with
>
> \definemathtopaccent[top:stretch][vec]["20D7]
>
> for the moment. Does it look OK?
>
> /Mikael
>
> On Fri, Jan 20, 2023 at 2:45 PM Alexandre Christe via ntg-context
>  wrote:
> >
> > I confirm the behavior.
> >
> > Also possibly linked is that the spacing around $\overrightarrow{k}$
> seems pretty weird, so atm there is no fallback solution.
> >
> >
> >
> > Le ven. 20 janv. 2023 à 14:37, Alan Braslau via ntg-context <
> ntg-context@ntg.nl> a écrit :
> >>
> >> MWE:
> >>
> >> \starttext
> >>
> >> $\vec{k}$
> >>
> >> \stoptext
> >>
> >> places the arrow *before* the symbol "k", latest download.
> >>
> >> Alan
> >>
> ___
> >> If your question is of interest to others as well, please add an entry
> to the Wiki!
> >>
> >> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> >> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> >> archive  : https://bitbucket.org/phg/context-mirror/commits/
> >> wiki : https://contextgarden.net
> >>
> ___
> >
> >
> ___
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : https://contextgarden.net
> >
> ___
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] bug $\vec{}$

2023-01-20 Thread Alexandre Christe via ntg-context
I confirm the behavior.

Also possibly linked is that the spacing around $\overrightarrow{k}$ seems
pretty weird, so atm there is no fallback solution.



Le ven. 20 janv. 2023 à 14:37, Alan Braslau via ntg-context <
ntg-context@ntg.nl> a écrit :

> MWE:
>
> \starttext
>
> $\vec{k}$
>
> \stoptext
>
> places the arrow *before* the symbol "k", latest download.
>
> Alan
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Meta(post)/(fun) macro with label position

2023-01-19 Thread Alexandre Christe via ntg-context
Thank you so much Alan, that was exactly what I was looking for.

Le ven. 20 janv. 2023 à 01:56, Alan Braslau  a
écrit :

> On Thu, 19 Jan 2023 22:40:13 +0100
> Alexandre Christe via ntg-context  wrote:
>
> > def labelT(expr pos)(text t) =
> > ...
> > enddef;
>
> vardef labelT@#(text t) =
> ...
> enddef ;
>
> Then you can pass on the "suffix" @#
>
> Alan
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Meta(post)/(fun) macro with label position

2023-01-19 Thread Alexandre Christe via ntg-context
Dear list,

Is there a way in a Meta(post)/(fun) macro to specify the label position as
an argument?

def labelT(expr pos)(text t) =
...
enddef;

Thanks a lot in advance,
Alex
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] MP figure continuation

2023-01-06 Thread Alexandre Christe via ntg-context
Aye, thanks Mikael and Gavin. Hard 2023 re-start...

Le ven. 6 janv. 2023 à 15:58, Gavin  a écrit :

> Hi Alex,
>
> > Is there a way to "continue" an MP figure? Like keeping the axes, etc.
> and just adding code to the figure?
>
> Buffers might be what you want. From the MetaFun manual:
>
> > Buffers can be used to stepwise build graphics. By putting code in
> multiple buffers, you can selectively process this code. [p.124]
>
> http://www.pragma-ade.nl/general/manuals/metafun-p.pdf
>
> Hope that helps.
>
> Gavin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] MP figure continuation

2023-01-06 Thread Alexandre Christe via ntg-context
Dear list,

Is there a way to "continue" an MP figure? Like keeping the axes, etc. and
just adding code to the figure?

Maybe I missed something, otherwise I'd find it super useful.

Thanks in advance and happy new year,
Alex
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Mathematical MetaFun Mania

2022-12-18 Thread Alexandre Christe via ntg-context
Hi Hans,

On osx-64 I'm not getting a single connector printed when compiling
anchor-002.tex. I've attached the log in case. Am I doing something wrong
on my end?

Le ven. 16 déc. 2022 à 17:56, Hans Hagen via ntg-context 
a écrit :

> On 12/15/2022 10:54 PM, Otared Kavian via ntg-context wrote:
> > Hi Hans,
> >
> > Thanks for the new release and the nice anchoring features.
> >
> > I played a little bit with these, and noticed some issues: in the
> following example, linking the bottom bounds of the integral signs is fine
> (as long as numbers are put there), but for the upper bounds, the \infty
> and \pi/2 are not accepted (nor is any letter or greek symbol), but if one
> replaces \infty and \pi/2 with numbers, then the link between the upper
> bounds is shown. (In this example the links are invading the text, but
> probably this is due to the fact that I just copied the Metapost snippet
> you sent to Gavin).
> you can pick up a binary with a safeguard from
>
> https://build.contextgarden.net/#/waterfall?tags=c.luametatex
>
> (or compile one yourself from work)
>
> 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 /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>


anchor.log
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Margin figure in itemize

2022-11-21 Thread Alexandre Christe via ntg-context
Dear list,

With the following MWE I end up with big gaps between margin figures in an
itemized list. Is there a way to remove that space in the text and place
the figures in the margin one below the other the best one can?

\setuppagenumbering
  [alternative=doublesided, location=margin]

\setuplayout
  [header=0pt,
   margin=4cm,
   footerdistance=.5cm,
   topspace=1cm,
   backspace=1cm,
   cutspace=2cm,
   width=fit,
   height=\dimexpr
\paperheight-\topspace+\footerheight+\footerdistance-4cm\relax]

% \showframe

\definefloat
  [marginfigure]
  [figure]

\setupfloat
  [marginfigure]
  [outermargindistance=-\outermargintotal,
  default={outermargin,height,high,low,none}]

\starttext

\startstaticMPfigure{square}
  draw fullsquare scaled 3cm;
\stopstaticMPfigure

\startitemize
  \placemarginfigure{}{\usestaticMPfigure[square]}
  \item bla
  \item bla
  \placemarginfigure{}{\usestaticMPfigure[square]}
  \item bla
\stopitemize

\stoptext

Thanks in advance,
Alex
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Defineenumeration head offset

2022-11-07 Thread Alexandre Christe via ntg-context
Dear list,

Is there a trick to not apply the leftoffset to the header of a
defineenumeration?

MWE:

\definetextbackground
  [textFrameEx]
  [
frame=off,
framecolor=darkgreen,
rulethickness=2ex,
background=,
location=paragraph,
leftoffset=2.25ex,
rightoffset=2.25ex,
after={\hrule}
  ]

\defineenumeration
  [example]
  [
text=Example,
headalign=middle,
headcolor=white,

headcommand={\inframed[background=color,backgroundcolor=darkgreen,width=\textwidth]},
number=no,
before={%
  \starttextbackground[textFrameEx]
},
after={%
  \stoptextbackground%
},
  ]

\starttext

\startexample
Blablabla
\stopexample

\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Math alignment problem

2022-09-22 Thread Alexandre Christe via ntg-context
Hi Jan-Erik,

One way I came across searching the mailing list is the following:

\starttext

\startitemize [a,columns,joinedup] [n=3,grid=line]
\item $ 56 + 2 \cdot 3 $
\item $ 5-(7) $
\item $ \frac{21}{7} $
\stopitemize

\stoptext

Could be that there is a *better* way.

Le jeu. 22 sept. 2022 à 12:57, Jan-Erik Hägglöf via ntg-context <
ntg-context@ntg.nl> a écrit :

> Dear List!
>
> I do not know how to solve this issue.
>
> I want the formulas appear on same height, as you can se on the attachment
> the formula containing a fraction displaces on another vertical position
> compared to the other equations.
>
> How do I correct this?
>
> Code snippet pasted from garden
>
> \starttext
>
> \startitemize[a,columns,three]
> \item $ 56 + 2 \cdot 3 $
> \item $ 5-(7) $
> \item $ \frac{21}{7} $
> \stopitemize
>
> \stoptext
>
>
> Thanks in advance
>
> Jan-Erik
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] new uplaod

2022-09-22 Thread Alexandre Christe via ntg-context
Hi Hans,

Thanks a lot for the example. It works great in most cases, however what I
stumbled upon is with the interval notation, in particular the following
cases arise:
- closed interval: easy, since the delimiters are [... ; ... ]
- open interval: not easy, since the delimiters are ]... ; ... [ (or with a
parenthesis as in the US, but there it works)
- semi open interval: not easy, since the delimiters are either [... ; ...
[ or ]... ; ...] (or in the US [...; ...) or (... ; ...])

I guess there is a need for a special definition for these. Maybe they're
already in the works...

By the way, if I define in the preamble \autofences, is there a command to
disable it locally? Would be very helpful to deal with the above situations.

Best regards,
Alex

Le dim. 11 sept. 2022 à 20:42, Hans Hagen via ntg-context <
ntg-context@ntg.nl> a écrit :

> On 9/10/2022 9:45 AM, Alexandre Christe via ntg-context wrote:
> > Hi Hans,
> >
> > Will |\mvert|and|\midalso be included in the \autofencelogic? It would
> > be quite useful.|
> we don't have \mvert so i'll add that ... in a next upload you can do
> the attached (kind of experimental as Mikael and I need to review this
> which we will do next week)
>
> 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 /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] new uplaod

2022-09-10 Thread Alexandre Christe via ntg-context
Hi Hans,

Will \mvert and \mid also be included in the \autofence logic? It would be
quite useful.

Le jeu. 25 août 2022 à 18:18, Hans Hagen via ntg-context 
a écrit :

> Hi,
>
> I uploaded a new lmtx. Again some updated math of which details will be
> revealed later. Apart from some details we added suport for fourier
> notations. There are no high level definitions yet as we have to invent
> names but this is how it works (private unicode slots might change):
>
> \setupbodyfont[pagella]
>
> \starttext
>
> \setupmathdelimited
>[topoffset=.2\exheight]
>
> \definemathdelimited
>[fourier]
>[rule=no,
> left=\zerocount,
> right="FE944]
>
> \definemathdelimited
>[courier]
>[rule=no,
> left=\zerocount,
> right="FE946]
>
> \definemathdelimited
>[xourier]
>[rule=no,
> left=\zerocount,
> right="FE948]
>
> $ \fourier{(z+1)} $
>
> $ \fourier{(z+1)} + \sqrt[2]{1}$
>
> $ \fourier{(z+1)} + \courier{(z+1)} + \xourier{(z+1)} $
>
> $ \fourier{\left(z+\frac12\right)} + \courier{\left(z+\frac12\right)} +
> \xourier{\left(z+\frac12\right)} $
>
> $ \autofences \fourier{(z+\frac12)} + \courier{(z+\frac12)} +
> \xourier{(z+\frac12)} $
>
> $ \widehat{x^2 + 2x + 2} $
>
> \stoptext
>
> This example also shows a new \autofences feature and widehats
> (widetilde and widecheck also work that way) that overcome limitations
> in fonts, so
>
> \def\CrappyHack#1{\im{#1{a} + #1{a+b} + #1{a+b+c} + #1{a+b+c+d} +
> #1{a+b+c+d+e} + #1{a+b+c+d+e+f}}\par}
> \CrappyHack\widehat
> \CrappyHack\widetilde
> \CrappyHack\wideacute
> \CrappyHack\widecheck
>
> will work. For thise in finance we now have
>
> $ \annuity{x + 1} + \lannuity{x + 1} + \rannuity{x + 1} + \lrannuity{x +
> 1} $
>
> these are basically radicals (like sqrt) with two sided symbols.
>
> 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 /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Issue with setupMPvariables

2022-09-03 Thread Alexandre Christe via ntg-context
Thanks Hans!

For sake of completeness a MWE is attached, in case someone needs it one
day.

Le sam. 3 sept. 2022 à 20:10, Hans Hagen via ntg-context 
a écrit :

> On 9/3/2022 6:48 PM, Alexandre Christe via ntg-context wrote:
> > Dear all,
> >
> > I'm trying to reuse some MP code for several custom enumeration.
> >
> > However I can't make the overall setup work, needless to say different
> > border colors for each enumeration though setupMPvariables. What am I
> > missing?\startuseMPgraphic{mp:textFrame}
> begingroup;
> path p ;
> for i = 1 upto nofmultipars :
> p := (ulcorner multipars[i]) -- (llcorner multipars[i]) --
> (llcorner
> multipars[i] xshifted .25cm) -- (ulcorner multipars[i] xshifted .25cm)
> -- cycle ;
> fill p withcolor boxfillcolor ;
> draw p withcolor boxlinecolor ;
> endfor;
> endgroup;
> \stopuseMPgraphic
>
>
> -
>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 /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>


testColorParagraphs.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Issue with setupMPvariables

2022-09-03 Thread Alexandre Christe via ntg-context
Dear all,

I'm trying to reuse some MP code for several custom enumeration.

However I can't make the overall setup work, needless to say different
border colors for each enumeration though setupMPvariables. What am I
missing?

MWE: see attachment


testColorParagraphs.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Question about text backgrounds

2022-09-03 Thread Alexandre Christe via ntg-context
Hmmm it seems the trick lies in adding

\setupfloats
[freeregion=no]
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Question about text backgrounds

2022-09-03 Thread Alexandre Christe via ntg-context
Hi,

I just came across nofmultipars (which is great for splitting frames across
pages, unlike a simple framed). Is there an equivalent for floats?

The MWE would contain

\startuseMPgraphic{mp:textFrame}
begingroup;
path p ;
for i = 1 upto nofmultipars :
p := (ulcorner multipars[i]) -- (llcorner multipars[i]) -- (llcorner
multipars[i] xshifted .25cm) -- (ulcorner multipars[i] xshifted .25cm) --
cycle ;
fill p withcolor "darkgreen" ;
endfor;
endgroup;
\stopuseMPgraphic

together with

\definetextbackground
[exampleFrame]
[
mp=mp:textFrame,
location=paragraph,
]

Assuming I have between \starttextbackground[exampleFrame] and
\starttextbackground[exampleFrame] also a figure in addition to text
paragraphs. Would it be possible to also draw a rule next to it?

Best regards,
Alex
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Nested itemize

2022-09-02 Thread Alexandre Christe via ntg-context
Dear all,

I'm struggling to setup a nested itemize with no blank line and several
columns.

What I mean is something like
1. a) bla   c) bla
b) bla   d) bla

The following MWE is my starting point

\starttext
\startitemize[n]
\item \blank[-line]
\startitemize[a,horizontal,two] [margin=2cm]
\item First
\item Second
\item Third
\item Fourth
\stopitemize
\item \blank[-line]
\startitemize[a,horizontal,columns,two]
\item First
\item Second
\item Third
\item Fourth
\stopitemize
\stopitemize
\stoptext

Thanks in advance
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] New math additional requirement for font definitions

2022-07-13 Thread Alexandre Christe via ntg-context
Dear list,

I've come across that the new math (which by the way looks really nice)
requires some additional properties to be set in the font definition.

If I take the example file provided by Mikael and add the following lines

\usetypescriptfile[alegreya]
\setupbodyfont[alegreya,11pt]

It fails with the following error message:
"tex error on line 16 in file /Users/aleks/Desktop/Test
Context/someformulas.tex: Math error: parameter 'limitbelowbgap' with id 36
in style 0 is not set"

Libertinus works fine by adding the following two lines

\usetypescriptfile[libertinus]
\setupbodyfont[libertinus,11pt]

Could someone enlighten me?

The font definition file is attached.

BR,
Alex


type-imp-alegreya.mkiv
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Alexandre Christe via ntg-context
Hi Pablo,

Thank you so much. That was indeed the issue!

Le mer. 11 mai 2022 à 19:14, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> a écrit :

> On 5/11/22 18:42, Alexandre Christe via ntg-context wrote:
> > Dear list,
> >
> > I've played a bit with a custom type-imp file (partly inspired from the
> > wiki https://wiki.contextgarden.net/Alegreya_Typescript
> > <https://wiki.contextgarden.net/Alegreya_Typescript>). However, the file
> > I ended up with seems to create some empty lines at the beginning of the
> > document (if I use the default or another font this vanishes, so it
> > really comes from that file). Could anyone enlighten me?
>
> Hi Alex,
>
> you added an extra option group here:
>
>   \definefallbackfamily [alegreya] [math] [Alegreya]
> [superscriptsandsubscripts] [force=yes]
>
> I think this may read:
>
>   \definefallbackfamily [alegreya] [math] [Alegreya]
> [range=superscriptsandsubscripts, force=yes]
>
> Just in case it might help,
>
> Pablo
>
> ___
> 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] Custom type-imp file creating empty lines

2022-05-11 Thread Alexandre Christe via ntg-context
Dear list,

I've played a bit with a custom type-imp file (partly inspired from the
wiki https://wiki.contextgarden.net/Alegreya_Typescript). However, the file
I ended up with seems to create some empty lines at the beginning of the
document (if I use the default or another font this vanishes, so it really
comes from that file). Could anyone enlighten me?

The file is attached.

BR,
Alex


type-imp-alegreya.mkiv
Description: Binary data
___
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] upload

2022-05-09 Thread Alexandre Christe via ntg-context
Sorry for spamming again, but I've underlooked the message from śrīrāma who
mentioned a workaround: use only lowercase letters in the . Then it works.
I think this bib issue could be downgraded to a low priority.

Le lun. 9 mai 2022 à 18:17, Hans Hagen via ntg-context 
a écrit :

> On 5/9/2022 5:54 PM, mf via ntg-context wrote:
> > I'm downloading it and I see a lot of mkii files and even some Ruby
> files.
> >
> > It looks like some old material got into the update. Is everything right?
> hm, i'm on a different laptop now so maybe some program is not yet
> installed, i'll check it
>
> 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] upload

2022-05-09 Thread Alexandre Christe via ntg-context
Sadly I have to report the bibliography is still broken. Could someone else
confirm? It's an unfortunate timing since I need to hand in some report
really soon.

Le lun. 9 mai 2022 à 17:56, mf via ntg-context  a
écrit :

> I'm downloading it and I see a lot of mkii files and even some Ruby files.
>
> It looks like some old material got into the update. Is everything right?
>
> Massi
>
> Il 09/05/22 17:41, Hans Hagen via ntg-context ha scritto:
> > Hi,
> >
> > I uploaded a new version of lmtx (also because some users have to test
> > some new metapost functionality). In the next upload metafun will use
> > 'double' mode (and scaledfun will be the traditional one). The advantage
> > is less dager for overflows and in the meantime running in double mode
> > is often also faster.
> >
>
> ___
> 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] new upload

2022-04-21 Thread Alexandre Christe via ntg-context
Hi Hans,

While the typesetting issue in Metafun disappeared, another popped up in
the bibliography.

For an entry with \usebtxdefinitions[apa], it is printing ": [author:
Robert L. Boylestad] [date-added: 2022-04-15 14:43:59 +0200]
[date-modified: 2022-04-15 14:45:15 +0200] [edition: 13e] [publisher:
Pearson] [title: Introductory Circuit Analysis] [year: 2016]" in the
resulting pdf.

I should add that it seems independent from the btx format.

Le mer. 20 avr. 2022 à 10:50, Hans Hagen via ntg-context 
a écrit :

> On 4/20/2022 3:47 AM, śrīrāma wrote:
> > On 4/19/22 11:53 PM Hans Hagen via ntg-context wrote:
> >> I uploaded a new lmtx. Some more adaptive magic ... I'm not sure how
> >> usefull it is but users always find ways to apply such things. I
> >> attached a test file.
> >
> > Hi Hans,
> >
> > Thanks very much for the upload and the tutorial on 'adaptive'. It seems
> very
> > impressive and right away, one application which I could think of in my
> case
> > is its use in denoting prosodic elements in verses (of poems). For this
> > purpose I was using \definebar, \setupbar so far to indicate certain
> types of
> > elements of verses; now I think this being far more advanced might be
> more
> > applicable.
> if you need more control / features it can probably be provided
>
> 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] Linespacing modified across document

2022-01-22 Thread Alexandre Christe via ntg-context
Dear list,

I've noticed that in my document the linespacing (verified
with \the\baselineskip) is not consistent across the whole document.

In the first section, it's fine (no maths). Later on, it gets increased by
some amount, which tends to depend on what kind of mathematics are in
between, so it's not constant.

Has anyone else noticed this too?

BR
Alex
___
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] new upload

2022-01-15 Thread Alexandre Christe via ntg-context
Just came across a weird behavior with the latest upload.

The following doesn't print as it should
\startformula 4^{2x} - 4^x - 25 = 0 \stopformula

I don't think it's normal (I see the spacing to make room for anything that
comes after the first character in the exposant, but it is not printed).

Le sam. 15 janv. 2022 à 13:31, Hans Hagen via ntg-context <
ntg-context@ntg.nl> a écrit :

> On 1/15/2022 12:33 PM, hanneder--- via ntg-context wrote:
> >> - We added indic language patterns ad well as defined the languages
> >> but labels are on the todo as are conversions; kauśika is working on
> >
> > Perhaps the following notes are useful.
> >
> > 1. The simplest way, and what I was talking about, is to write and print
> > Sanskrit in
> > transliteration.
> >
> > ānandaḥ -> ānandaḥ
> >
> > 2. Then we can of course write and print the same word in the usual
> > Indian Script (Devanāgarī)
> >
> > आनन्दः  ->  आनन्दः
> >
> > 3. But for academic use, one wants an input in roman (e-text are usually
> > in roman), and the option
> > to have an output in Devanāgarī)
> >
> > ānandaḥ ->  आनन्दः
> >
> > For this an option with the transliterator would be required, I guess(?)
> >
> > Theoretically one could write Sanskrit in many scripts -- it has been
> > written
> > with many Indian scripts in history --, but I am wondering about the
> > practical value of this.
> > For imitating historic prints it would no doubt be nice, but not urgent.
> >
> > I was not aware of the hyphenation patterns by Yves Codet, if they work,
> > they would cover case 1
> > and 2. And I just heard from a colleague that the latest babel version
> > is incorporating a Sanskrit option
> > that might cover the same ground (I am not sure whether this is useful).
> >
> > Thanks a lot! I just have to learn more about ConTeXt to able to use it:)
>
> does the attached sort of what you want
>
> 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] Status of Asymptote

2021-12-06 Thread Alexandre Christe via ntg-context
Dear all,

I'd like to know what is the status of Asymptote in Context. To my
knowledge, metapost/metafun only support 2D (except with the additional
libraries from Roegel, which would have to be cleaned up a bit).

Otherwise, what shall be used for 3D drawings in Context? TikZ? Something
else?

Thanks in advance.

Alex
___
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] Sum and mathalignment

2021-11-30 Thread Alexandre Christe via ntg-context
Dear list,

[image: image.png]

What I've done is to play with mathalignment and \framed. Here is a MWE:

\starttext
\defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}]

\framed[frame=off,background=midrule,boffset=.65cm]{\startformula

\startmathalignment[n=12,align={middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle}]
\NC \NC S_6 \NC= \NC 1 \NC+ \NC 2 \NC+ \NC\dots \NC+ \NC 5 \NC+ \NC 6
\NR
\NC + \NC S_6 \NC= \NC 6 \NC+ \NC 5 \NC+ \NC\dots \NC+ \NC 2\NC+ \NC 1
\NR
\NC\NC 2S_6 \NC= \NC 7 \NC+ \NC 7 \NC+ \NC\dots \NC+ \NC 7 \NC+ \NC 7
\NR
  \stopmathalignment
\stopformula}
\stoptext

Is there a simpler way to typeset something like this?

Thanks in advance!
___
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] Neste itemize in table (or vice-versa?)

2021-11-20 Thread Alexandre Christe via ntg-context
Dear all,

I'm trying something out in LMTX, which is to combine itemize with a table.
Application could be to put a question and the answer in the next column.

A minimal example would be:

\starttext
\startitemize [a] [right=),stopper=]
\bTABLE[frame=off]
  \setupTABLE[column][1] [width=.3\textwidth]
  \setupTABLE[column][2] [width=.6\textwidth]
\bTR
  \bTD \item Something \eTD
  \bTD Something \eTD
\eTR
\bTR
  \bTD \item Something \eTD
  \bTD Something \eTD
\eTR
\bTR
  \bTD \item Something \eTD
  \bTD Something \eTD
\eTR
\bTR
  \bTD \item Something \eTD
  \bTD Something \eTD
\eTR
\eTABLE
\stopitemize
\stoptext

The numbering unfortunately starts with i) instead of a). Any
recommendation which approach shall be preferred?

Thanks in advance!
___
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] Math font tips and tricks

2021-11-06 Thread Alexandre Christe via ntg-context
Dear all,

I'd like to know how best to work with font features regarding adaptations
of math fonts.

For example, let's assume I'd like to use Minion Pro also for math
typesetting. I've referred myself to this page of the Wiki
https://wiki.contextgarden.net/Command/definefontfallback. I have tried the
following, but it fails for greek letters in math mode.

\definefallbackfamily
 [mainface] [math] [Minion Pro]

 
[range={math:lowercaseitalic,math:uppercaseitalic,math:lowercasenormal,math:uppercasenormal},force=yes]
\definefallbackfamily
 [mainface] [math] [Minion Pro]

 
[range={math:lowercasegreekitalic,math:uppercasegreekitalic,math:lowercasegreeknormal,math:uppercasegreeknormal},force=yes]
\definefallbackfamily
 [mainface] [math] [Minion Pro]
 [range=math:digitsnormal,features=f:lining,force=yes]
\definefontfamily [mainface] [math] [Libertinus Math]

Thanks in advance for your support.
___
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] undefined command in current latest

2021-10-11 Thread Alexandre Christe via ntg-context
Update: after updating Context again today the issue is gone.
___
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] undefined command in current latest

2021-10-11 Thread Alexandre Christe via ntg-context
Indeed I can report similar issues with \getmarking after updating to the 
latest version of Context. Did something change regarding its definition / use 
recently?

context -version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/Users/aleks/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2021.10.08 20:18
mtx-context | main context file: 
/Users/aleks/context-osx-64/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2021.10.08 20:18

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