Re: [NTG-context] new uplaod

2022-09-10 Thread Hans Hagen via ntg-context

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.|


i prototyped it but the chairman of the CMS has to check it before we 
decide to enable it


one complication is that

$ \autofences x | \frac{a}{x}$

$ \autofences ( \frac{a}{x} + b | x )$

should also work (lone middles)

Le jeu. 25 août 2022 à 18:18, Hans Hagen via ntg-context 
mailto:ntg-context@ntg.nl>> 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
___



--

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


Re: [NTG-context] Combining Macron Below needed

2022-09-10 Thread Alan via ntg-context
On Sat, 10 Sep 2022 17:41:55 +0200
Steffen Wolfrum via ntg-context  wrote:

> Hi,
> 
> a text is to be set in Garamond Premier Pro and uses this character: ḵ
> 
> Is there a way to set a combining macron below (U+0331), preferable
> in a Garamond-like font?
> 
> Best,
> Steffen

I use a C-tilde (that does not exist in unicode), as

\protected\def\Ctilde{\topaccent{2.5pt}{0}{0}{\texttilde}{C}}

so maybe use the command \bottomaccent{}{}{}{}{} ?

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] Combining Macron Below needed

2022-09-10 Thread Steffen Wolfrum via ntg-context
Hi,

a text is to be set in Garamond Premier Pro and uses this character: ḵ

Is there a way to set a combining macron below (U+0331), preferable in a 
Garamond-like font?

Best,
Steffen

___
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] How do I write a digital book that can become a physical book without a lot of modifications?

2022-09-10 Thread Mikael Sundqvist via ntg-context
On Sat, Sep 10, 2022 at 2:43 PM amano.kenji via ntg-context
 wrote:
>
> A digital book doesn't need to be double-sided.
>
> But, a physical book can be double-sided.
>
> Double-sidedness may require adjusting contents in many places.
>
> How can I write a digital book that doesn't have to be heavily modified in 
> order to become a physical book? I want almost no modification at all.

I think you can use modes: https://wiki.contextgarden.net/Modes.
Simply do different setups in different modes. Then choose the mode at
compilation time.

/Mikael
___
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] How do I write a digital book that can become a physical book without a lot of modifications?

2022-09-10 Thread Henning Hraban Ramm via ntg-context

Am 10.09.22 um 14:43 schrieb amano.kenji via ntg-context:

A digital book doesn't need to be double-sided.

But, a physical book can be double-sided.

Double-sidedness may require adjusting contents in many places.

How can I write a digital book that doesn't have to be heavily modified in 
order to become a physical book? I want almost no modification at all.


Then choose a one-sided layout and don’t use side-floats and the like.

Physical books don’t _need_ to be doublesided.

Hraban

___
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] How do I write a digital book that can become a physical book without a lot of modifications?

2022-09-10 Thread amano.kenji via ntg-context
A digital book doesn't need to be double-sided.

But, a physical book can be double-sided.

Double-sidedness may require adjusting contents in many places.

How can I write a digital book that doesn't have to be heavily modified in 
order to become a physical book? I want almost no modification at all.
___
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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-09-10 Thread Henning Hraban Ramm via ntg-context

Am 10.09.22 um 11:12 schrieb Hans Hagen via ntg-context:
actually we only had lmtx.pragma-ade.nl but when i had to update the 
certificates for the sites i added the com address to the dns ... for 
some reason certbot had added extra entries with 301 in front of the 
regular configuration so i removed these .. maybe it works now


Yes, works for me now, thank you!

Hraban

___
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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-09-10 Thread Hans Hagen via ntg-context

On 9/10/2022 9:49 AM, Henning Hraban Ramm via ntg-context wrote:

Am 10.09.22 um 03:01 schrieb Cron Daemon via ntg-context:

receiving incremental file list


Now, this looks like an update!

But when I run install.sh, I get:

"""
$ . install.sh
mtx-install | provide valid server and instance


If you want to run ConTeXt everywhere, you need to adapt the path, like:

   export PATH=/Users/hraban/lmtx/tex/texmf-osx-64/bin:$PATH

If you run from an editor you can specify the full path to mtxrun:

   /Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun --autogenerate 
--script context --autopdf ...


The following settings were used:

   server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
   instance : install-lmtx
   extras   :
   ownpath  : /Users/hraban/lmtx
   platform : osx-64

"""
actually we only had lmtx.pragma-ade.nl but when i had to update the 
certificates for the sites i added the com address to the dns ... for 
some reason certbot had added extra entries with 301 in front of the 
regular configuration so i removed these .. maybe it works now


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
___


Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-09-10 Thread Henning Hraban Ramm via ntg-context

Am 10.09.22 um 03:01 schrieb Cron Daemon via ntg-context:

receiving incremental file list


Now, this looks like an update!

But when I run install.sh, I get:

"""
$ . install.sh
mtx-install | provide valid server and instance


If you want to run ConTeXt everywhere, you need to adapt the path, like:

  export PATH=/Users/hraban/lmtx/tex/texmf-osx-64/bin:$PATH

If you run from an editor you can specify the full path to mtxrun:

  /Users/hraban/lmtx/tex/texmf-osx-64/bin/mtxrun --autogenerate 
--script context --autopdf ...


The following settings were used:

  server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
  instance : install-lmtx
  extras   :
  ownpath  : /Users/hraban/lmtx
  platform : osx-64

"""

and

"""
$ wget http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip
--2022-09-10 09:47:41-- 
http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip
Auflösen des Hostnamens lmtx.pragma-ade.nl (lmtx.pragma-ade.nl)… 
213.125.29.165
Verbindungsaufbau zu lmtx.pragma-ade.nl 
(lmtx.pragma-ade.nl)|213.125.29.165|:80 … verbunden.

HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
Platz: https://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip [folgend]
--2022-09-10 09:47:41-- 
https://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip
Verbindungsaufbau zu lmtx.pragma-ade.nl 
(lmtx.pragma-ade.nl)|213.125.29.165|:443 … verbunden.

Der Zertifikat-Eigentümer passt nicht zum Hostname »lmtx.pragma-ade.nl«.
"""

301 + certificate error?


Hraban

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