Re: [NTG-context] tilde character

2022-03-14 Thread Henning Hraban Ramm via ntg-context

Am 14.03.22 um 18:45 schrieb Aditya Mahajan:

On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote:


Hi, I’ve a stupid question: How do I get the default tilde character
from a font?

~ is a fixed space
\texttilde gives a tilde accent
\utfchar{0x007E} yields a space (probably the same as ~)


\textasciitilde


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 / 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] tilde character

2022-03-14 Thread Marco Patzer via ntg-context
On Mon, 14 Mar 2022 18:36:08 +0100
Henning Hraban Ramm via ntg-context  wrote:

> How do I get the default tilde character from a font?

\starttext
  \startasciimode
a~b
  \stopasciimode

  a\textasciitilde b
\stoptext

Marco
___
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] tilde character

2022-03-14 Thread Wolfgang Schuster via ntg-context

Henning Hraban Ramm via ntg-context schrieb am 14.03.2022 um 18:36:
Hi, I’ve a stupid question: How do I get the default tilde character 
from a font?


~ is a fixed space
\texttilde gives a tilde accent
\utfchar{0x007E} yields a space (probably the same as ~)


\lettertilde

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
___


Re: [NTG-context] tilde character

2022-03-14 Thread Aditya Mahajan via ntg-context
On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote:

> Hi, I’ve a stupid question: How do I get the default tilde character 
> from a font?
> 
> ~ is a fixed space
> \texttilde gives a tilde accent
> \utfchar{0x007E} yields a space (probably the same as ~)

\textasciitilde 

Aditya
___
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] tilde character

2022-03-14 Thread Henning Hraban Ramm via ntg-context
Hi, I’ve a stupid question: How do I get the default tilde character 
from a font?


~ is a fixed space
\texttilde gives a tilde accent
\utfchar{0x007E} yields a space (probably the same as ~)


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
___


Re: [NTG-context] new upload

2022-03-14 Thread Hans Hagen via ntg-context

On 3/14/2022 3:05 PM, Rik Kabel via ntg-context wrote:


On 2022-03-14 04:01, Hans Hagen wrote:

On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:



...



 2. How does the goodies mechanism work when the expected version
    differs from the found version?


we check the version number in the font file (a bit of fuzzyness due 
to the way version numbers ar ento standardized); comparing internals 
would be an option but also a waste of time i think


Understood, but what happens after the check? Is the goodies file used 
even if there is a mismatch, or is it ignored?

not ignored ... more a warnign that you're on your own risk


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


Re: [NTG-context] new upload

2022-03-14 Thread Rik Kabel via ntg-context


On 2022-03-14 04:01, Hans Hagen wrote:

On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:



...



 2. How does the goodies mechanism work when the expected version
    differs from the found version?


we check the version number in the font file (a bit of fuzzyness due 
to the way version numbers ar ento standardized); comparing internals 
would be an option but also a waste of time i think


Understood, but what happens after the check? Is the goodies file used 
even if there is a mismatch, or is it ignored?


--
Rik

___
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-03-14 Thread Mikael Sundqvist via ntg-context
Hi!

On Mon, Mar 14, 2022 at 9:01 AM Hans Hagen via ntg-context
 wrote:
>
> On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:
>
> > With regard to math fonts, I notice that the goodies file for Libertinus
> > expects version 6.8 of the font, but the current version (since February
> > 2021) is 7.040, and much work appears to have gone into the math font.
>
> the main issue with math font is in 'unfortunate' glyph dimensions and
> we doubt that these will change over time (as fonts are supposed to be
> stable); adding shapes is another matter
>
> > Two questions, then:
> >
> >  1. Is Libertinus Math considered a "useful" math font?
>
> Mikael knows .. I never used libertinus (and am an unlike candidate; i
> mostly use cambria, pagella, dejavu, lucida)

I think it could be useful, yes (I like the look of the libertinus
font, in particular in combination with the biolinum font; it is
probably worth trying to get the math font to work as well as
possible). I think there were some problems with accents and such, but
not too big. I think you could try to use it and see what you think.

>
> >  2. How does the goodies mechanism work when the expected version
> > differs from the found version?
>
> we check the version number in the font file (a bit of fuzzyness due to
> the way version numbers ar ento standardized); comparing internals would
> be an option but also a waste of time i think
>
> > (I understand that keeping up with evolving fonts is somewhere between
> > difficult and impossible.)
>
> which is why we want to freeze on versions ... an update to another
> version then becomes explicit; of course we can also consider having
> multiple instances of a font but then we also need to set up a repository
>
> > I also note that the typescript for libertinus is quite old and does not
> > reflect the semibold variants that have been available for some time. I
> > prefer them to the bold variants, and my own typescript for libertinus
> > does incorporate them. I am happy to share it if anyone wants it.
> We cannot suddenly change the 'default', but we can have additional
> choices in the file for semi versions (some more fonts have that).  You
> can send your typesctipt file to Mikael and me and we can have a look.
>
> (Not sure if I should update libertinus now. Sometimes fonts change too
> much, like for instance ebgaramond did, and one can get rather different
> output.)
>
> Hans

I put it on my todo-list to download the new version and to run some test files.

I could also mention here that in the upload Hans did some days ago,
most changes are "behind the scenes", so the user should not really
write their code differently. One exception:

In integrals, texers have usually a \, in front of the differential.
Now there is a differential class, and the macro \dd will give a
differential d, with (hopefully) correct spacing. Thus, write for
example \int_0^1 f(x)\dd x.

If you find any strange distances between atoms, please mail me
examples. With the introduction of new classes, there are many new
pairs, and perhaps not all of them are setup "correct".

/Mikael
___
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-03-14 Thread Hans Hagen via ntg-context

On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:

With regard to math fonts, I notice that the goodies file for Libertinus 
expects version 6.8 of the font, but the current version (since February 
2021) is 7.040, and much work appears to have gone into the math font.


the main issue with math font is in 'unfortunate' glyph dimensions and 
we doubt that these will change over time (as fonts are supposed to be 
stable); adding shapes is another matter



Two questions, then:

 1. Is Libertinus Math considered a "useful" math font?


Mikael knows .. I never used libertinus (and am an unlike candidate; i 
mostly use cambria, pagella, dejavu, lucida)



 2. How does the goodies mechanism work when the expected version
differs from the found version?


we check the version number in the font file (a bit of fuzzyness due to 
the way version numbers ar ento standardized); comparing internals would 
be an option but also a waste of time i think


(I understand that keeping up with evolving fonts is somewhere between 
difficult and impossible.)


which is why we want to freeze on versions ... an update to another 
version then becomes explicit; of course we can also consider having 
multiple instances of a font but then we also need to set up a repository


I also note that the typescript for libertinus is quite old and does not 
reflect the semibold variants that have been available for some time. I 
prefer them to the bold variants, and my own typescript for libertinus 
does incorporate them. I am happy to share it if anyone wants it.
We cannot suddenly change the 'default', but we can have additional 
choices in the file for semi versions (some more fonts have that).  You 
can send your typesctipt file to Mikael and me and we can have a look.


(Not sure if I should update libertinus now. Sometimes fonts change too 
much, like for instance ebgaramond did, and one can get rather different 
output.)


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
___