Re: [NTG-context] new upload / more math

2022-04-01 Thread jdh via ntg-context


Wrong.  The imperial measurement system, may give Europeans a headache, but is 
NOT obsolete, by any means.  A good chunk of the world use the imperial 
measurment system and may be required in certain books, depending on a 
country's standards.

dh

-


Henning Hraban Ramm via ntg-context  wrote:

> Oh, great work, thank you! (While I keep working with WebCMS and avoid
> math...)
> 
> And I guess you forgot to mention that you discontinued the support
> for non-metric measures like the obsolete inch, except Potrzebie, of
> course.
> 
> Hraban
> 
> Am 01.04.22 um 10:02 schrieb Hans Hagen via ntg-context:
> > Hi,
> > As most of you know by now, Mikael and I are working on a math
> > support upgrade. In order to let users keep up we uploaded a new
> > version. We have been revisioning some of the more obscure
> > constructs where we have   no clue of usage, like pmod, bmod,
> > bordermatrix etc, commands that we   took (and reimplemented)
> > decades ago from plain TeX or AMS TeX, assuming that these are
> > standards.
> > In this release, encouraged by the positive response we received
> > from users regarding the new simplealignment construction, and in
> > particular regarding the self-explaining sesac, we have decided to
> > introduced some new constructs. First out is
> > \startformula
> > \startxıɹʇɐɯ
> >    \NC a_1 \NC b_1 \NC c_1 \NR
> >    \NC a_2 \NC b_2 \NC c_2 \NR
> >    \NC a_3 \NC b_3 \NC c_3 \NR
> > \stopxıɹʇɐɯ
> > \stopformula
> > for rotation matrices. This was demanded for some advanced math
> > courses that Mikael teaches. It might inspire users to come up with
> > demands that suits their own obscure but nevertheless interesting
> > math.
> > At some point we realized that, with (also) scientific publishers
> > (of math journals) moving to MS Word and Indesign, we operate in a
> > rather peculiar niche and the fact that we use an upgraded and more
> > granular math engine, made us wonder how to communicate all these
> > new features and standards that we set. It is for that reason that
> > from now on we will operate under the CMS umbrella. That
> > abbreviation stands for ConTeXt Math Society. It has no funny swirly
> > TeX logo which itself is a statement: in Unicode math script and
> > calligraphic alphabets are so messed up that it is impossible to
> > have a reliable and predictable rendering. We go for Dutch and
> > Swedish simplicity in the spirit of W.N. Lansburgh: back to the
> > times before TeX was written (1964). There will be no limits and
> > boundaries set. (Talking math limits and boundaries: these can
> > already go everywhere anyway, as can fences.)
> > So, when we mention CMS, we mean serious math business, but
> > kindergarten math is also embraced! There are no consequences for
> > users: ConTeXt users with a proven math track record are
> > automatically a member, but we are not too picky, everyone is
> > welcome. We don't have honorary members but Taco (the first ConTeXt
> > math user) and Aditya (the most experienced   one) might consider
> > themselves as such. Mikael Sundqvist is the chairman, which is a
> > livelong appointment. (A nice side effect is that with Arthur living
> > in Sweden too, that gives us a very strong position in the TeX
> > landscape there.)
> > So, today's upload is sort of special: welcome CMS (ConTeXt Math 
> > Shines), goodbye AMS (American Math Second). Of course we're open
> > for suggestions and it being an open society all voices will be
> > heard, but only proper (retro) math cf Lansburgh will be honored. Of
> > course we only listen to ConTeXt users and, as that package is not
> > supposed to be used for serious math, we don't bother about the few
> > publishers left that still do math.
> > Are we done? Not yet. We're in the middle of (colorful and graphic) 
> > alignment ornaments and after that we're going to expand and improve
> > multi-line display formulas and equation numbering.
> > It will be no coincidence that the cover of Landburghs book about
> > math typesetting has a prominent 'AWE' embedded in a logo with a
> > lion on top: we hope all users are in awe about what the TeX lion
> > can do.
> > Mikael S & Hans H
> > 
> ___
> 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 / 

Re: [NTG-context] Using a system font

2021-12-27 Thread jdh via ntg-context

That did it.  Thanks for help.
I appreciate it.

jay

Marco Patzer via ntg-context  wrote:

> export OSFONTDIR=/usr/share/fonts
> mtxrun --script fonts --reload
> 
> \definefontfamily [mainface] [serif] [Mathjax_Fraktur]
> \setupbodyfont [mainface]
> 
> \starttext
>   \samplefile{knuth}
> \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
___


[NTG-context] Using a system font

2021-12-26 Thread jdh via ntg-context


Minimum working example:


\starttext
   I want to use the Mathjax_Fraktur font, which the font-manager on Ubuntu 
reports that it has.
   
   {\switchtobodyfont[Mathjax_Fraktur] .. but, this text doesn't show up in 
Mathjax_Fraktur.}

\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] font problems

2021-11-26 Thread jdh via ntg-context

Hans,
   thanks you for the solution to my font problem.  I appreciate it.

I'm trying to understand the definefont command you used and it seems that the 
arguments 'sa 1' in the macro is a size indication somewhat similar to 'at 
10pt' but uses a relative size parameter as opposed to the absolute pt value.   
That the numeric argument after 'sa'  is a multiple of the current font size. 

Thank you
-

Hans Hagen via ntg-context  wrote:

> On 11/26/2021 12:59 PM, jdh via ntg-context wrote:
> > Here's my MWE:
> > Objective is to typeset a Chancery font text in the upper lefthand 
> > side of a page, and
> > then do the main body in some normal font.  Then at the very last 
> > print a sign off in
> > Chancery.  For some reason I can't get both to print out as 
> > Chancery. Only one or the
> > other, but not both.
> > 
> > 
> > \definefontfamily [mwetest] [sans] [Liberation Sans]
> > \setupbodyfont [mwe,ss,12pt]
> > \definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in,
> > voffset=.125in]
> > \setlayer[mwe]   {  \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery 
> > Font Here  }
> > \setupbackgrounds[page][background=mwe]
> > 
> > \starttext
> > Normal font text goes here. \blank[4*big]
> >   { \switchtobodyfont[chancery] This should be Chancery here to.
> > But isn't. }
> > \blank[2*big]Note that if I comment out the \type{setlayer[mwe]} in
> > the source file, then the above will print in Chancery.
> > \stoptext
> > 
> > 
> > I'd like to have the layers in Chancery font and then one last text string 
> > in the body in Chancery font.  But I can't get them both to be Chancery.  
> > How can that be done?
> chancery is not really a full bodyfont
> 
> \definefont[MyChancery][texgyrechorus-mediumitalic*default sa 1]
> \definefont[MyChanceryBold][texgyrechorus-mediumitalic*default,boldened-20
> sa 1]
> 
> {\MyChancery test}
> {\MyChanceryBold test}
> 
> 
> 
> -
>   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] font problems

2021-11-26 Thread jdh via ntg-context

Here's my MWE:
   Objective is to typeset a Chancery font text in the upper lefthand side 
of a page, and
   then do the main body in some normal font.  Then at the very last print 
a sign off in
   Chancery.  For some reason I can't get both to print out as Chancery. 
Only one or the
   other, but not both.



\definefontfamily [mwetest] [sans] [Liberation Sans]
\setupbodyfont [mwe,ss,12pt]

\definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in]
\setlayer[mwe]   {  \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font 
Here  }
\setupbackgrounds[page][background=mwe]


\starttext

Normal font text goes here. \blank[4*big]

 { \switchtobodyfont[chancery] This should be Chancery here to.  But isn't. }

\blank[2*big]Note that if I comment out the \type{setlayer[mwe]} in the source 
file, then the above will print in Chancery.

\stoptext




I'd like to have the layers in Chancery font and then one last text string in 
the body in Chancery font.  But I can't get them both to be Chancery.  How can 
that be done?
___
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
___