* Primes too high in New Computer Modern
@ 2021-12-07 1:39 Jairo A. del Rio via ntg-context
2021-12-07 8:45 ` [DKIM] " Hans Hagen via ntg-context
0 siblings, 1 reply; 5+ messages in thread
From: Jairo A. del Rio via ntg-context @ 2021-12-07 1:39 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jairo A. del Rio
[-- Attachment #1.1: Type: text/plain, Size: 154 bytes --]
Hi, list. See the following:
\starttext
$\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
\stoptext
Thank you in advance.
Best regards,
Jairo
[-- Attachment #1.2: Type: text/html, Size: 314 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [DKIM] Primes too high in New Computer Modern
2021-12-07 1:39 Primes too high in New Computer Modern Jairo A. del Rio via ntg-context
@ 2021-12-07 8:45 ` Hans Hagen via ntg-context
2021-12-07 8:55 ` Mikael Sundqvist via ntg-context
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-12-07 8:45 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote:
> Hi, list. See the following:
>
> \starttext
> $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
> \stoptext
there is no lfg file for it but if you just want a bolder latin modern
you can also do this (there is an old bachotex presentation about it
somewhere):
\setupbodyfont[modernlatin]
\starttext
$\alpha'$
\stoptext
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [DKIM] Primes too high in New Computer Modern
2021-12-07 8:45 ` [DKIM] " Hans Hagen via ntg-context
@ 2021-12-07 8:55 ` Mikael Sundqvist via ntg-context
2021-12-07 11:41 ` Jairo A. del Rio via ntg-context
2021-12-07 12:27 ` [DKIM] " Hans Hagen via ntg-context
0 siblings, 2 replies; 5+ messages in thread
From: Mikael Sundqvist via ntg-context @ 2021-12-07 8:55 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Mikael Sundqvist
[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]
Hi,
We changed so that newcomputermodern-book (which is bolder than
newcomputermodern) uses the same lfg file as lm, which works. I attach
an updated version of the type-imp-newcomputermodern.mkiv, which also
adds the lfg file to newcomputermodern.
/Mikael
PS If one wants to play with modernlatin, is there a simple way to
play with the boldness (for example make it just slightly less bold)?
On Tue, Dec 7, 2021 at 9:45 AM Hans Hagen via ntg-context
<ntg-context@ntg.nl> wrote:
>
> On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote:
> > Hi, list. See the following:
> >
> > \starttext
> > $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
> > \stoptext
> there is no lfg file for it but if you just want a bolder latin modern
> you can also do this (there is an old bachotex presentation about it
> somewhere):
>
> \setupbodyfont[modernlatin]
>
> \starttext
> $\alpha'$
> \stoptext
>
> 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
> ___________________________________________________________________________________
[-- Attachment #2: type-imp-newcomputermodern.mkiv --]
[-- Type: application/octet-stream, Size: 6493 bytes --]
%D \module
%D [ file=type-imp-newcomputermodern,
%D version=2021.06.08,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=NewComputerModern,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
%D There is something fishy with the books fonts. The otf files are twice as large
%D as the normal ones but the tma's we filter from it are pretty close (mostly
%D boundingbox differences). The streams are also of similar size so there must be
%D something extra in there.
% \definefontfallback[Serif] [file:notoserif-regular.ttf] [0x0000-0xFFFF] [check=yes,rscale=1.02]
% \definefontfallback[SerifBold][file:notoserif-bold.ttf] [0x0000-0xFFFF] [check=yes,rscale=1.02]
\starttypescriptcollection[newcomputermodern]
\doifunknownfontfeature {newcomputermodern-math-bold} {\definefontfeature[newcomputermodern-math-bold][boldened]}
\starttypescript [\s!serif] [newcomputermodern] [\s!name]
\setups[\s!font:\s!fallback:\s!serif]
\definefontsynonym [\s!Serif] [\s!file:newcm10-regular.otf] [\s!features=\s!default,\s!fallbacks=\s!Serif]
\definefontsynonym [\s!SerifBold] [\s!file:newcm10-bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBold]
\definefontsynonym [\s!SerifItalic] [\s!file:newcm10-italic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifItalic]
\definefontsynonym [\s!SerifBoldItalic] [\s!file:newcm10-bolditalic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBoldItalic]
\stoptypescript
\starttypescript [\s!sans] [newcomputermodern] [\s!name]
\setups[\s!font:\s!fallback:\s!sans]
\definefontsynonym [\s!Sans] [\s!file:newcmsans10-regular.otf] [\s!features=\s!default,\s!fallbacks=\s!Sans]
\definefontsynonym [\s!SansBold] [\s!file:newcmsans10-bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBold]
\definefontsynonym [\s!SansItalic] [\s!file:newcmsans10-oblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansItalic]
\definefontsynonym [\s!SansBoldItalic] [\s!file:newcmsans10-boldoblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBoldItalic]
\stoptypescript
\starttypescript [\s!mono] [newcomputermodern] [\s!name]
\setups[\s!font:\s!fallback:\s!mono]
\definefontsynonym [\s!Mono] [\s!file:newcmmono10-regular.otf] [\s!features=\s!none,\s!fallbacks=\s!Mono]
\definefontsynonym [\s!MonoBold] [\s!file:newcmmono10-bold.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBold]
\definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10-italic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoItalic]
\definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10-boldoblique.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic]
\stoptypescript
\starttypescript [\s!math][newcomputermodern] [\s!name]
% \loadfontgoodies[newcomputermodern-math] ,\s!goodies=newcomputermodern-math
\definefontsynonym[\s!MathRoman] [\s!file:newcmmath-regular][\s!features={\s!math\mathsizesuffix,mathextra},\s!goodies=lm]
\definefontsynonym[\s!MathRomanBold][\s!file:newcmmath-regular][\s!features={\s!math\mathsizesuffix,newcomputermodern-math-bold,mathextra}\s!goodies=lm]
\stoptypescript
\starttypescript [\s!serif] [newcomputermodern-book] [\s!name]
\setups[\s!font:\s!fallback:\s!serif]
\definefontsynonym [\s!Serif] [\s!file:newcm10-book.otf] [\s!features=\s!default,\s!fallbacks=\s!Serif]
\definefontsynonym [\s!SerifBold] [\s!file:newcm10-bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBold]
\definefontsynonym [\s!SerifItalic] [\s!file:newcm10-bookitalic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifItalic]
\definefontsynonym [\s!SerifBoldItalic] [\s!file:newcm10-bolditalic.otf] [\s!features=\s!default,\s!fallbacks=\s!SerifBoldItalic]
\stoptypescript
\starttypescript [\s!sans] [newcomputermodern-book] [\s!name]
\setups[\s!font:\s!fallback:\s!sans]
\definefontsynonym [\s!Sans] [\s!file:newcmsans10-book.otf] [\s!features=\s!default,\s!fallbacks=\s!Sans]
\definefontsynonym [\s!SansBold] [\s!file:newcmsans10-bold.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBold]
\definefontsynonym [\s!SansItalic] [\s!file:newcmsans10-bookoblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansItalic]
\definefontsynonym [\s!SansBoldItalic] [\s!file:newcmsans10-boldoblique.otf] [\s!features=\s!default,\s!fallbacks=\s!SansBoldItalic]
\stoptypescript
\starttypescript [\s!mono] [newcomputermodern-book] [\s!name]
\setups[\s!font:\s!fallback:\s!mono]
\definefontsynonym [\s!Mono] [\s!file:newcmmono10-book.otf] [\s!features=\s!none,\s!fallbacks=\s!Mono]
\definefontsynonym [\s!MonoBold] [\s!file:newcmmono10-bold.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBold]
\definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10-bookitalic.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoItalic]
\definefontsynonym [\s!MonoBoldItalic] [\s!file:newcmmono10-boldoblique.otf] [\s!features=\s!none,\s!fallbacks=\s!MonoBoldItalic]
\stoptypescript
\starttypescript [\s!math][newcomputermodern-book] [\s!name]
% \loadfontgoodies[newcomputermodern-math] ,\s!goodies=newcomputermodern-math
\definefontsynonym[\s!MathRoman] [\s!file:newcmmath-book][\s!features={\s!math\mathsizesuffix,newcm-mathextra,mathextra},\s!goodies=lm]
\definefontsynonym[\s!MathRomanBold][\s!file:newcmmath-book][\s!features={\s!math\mathsizesuffix,newcm-mathextra,newcomputermodern-math-bold,mathextra},\s!goodies=lm]
\stoptypescript
\starttypescript[newcomputermodern,newcomputermodern-book]
\definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
\definetypeface [\typescriptone] [\s!ss] [\s!sans] [\typescriptone] [\s!default]
\definetypeface [\typescriptone] [\s!tt] [\s!mono] [\typescriptone] [\s!default]
\definetypeface [\typescriptone] [\s!mm] [\s!math] [\typescriptone] [\s!default]
\stoptypescript
\stoptypescriptcollection
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [DKIM] Primes too high in New Computer Modern
2021-12-07 8:55 ` Mikael Sundqvist via ntg-context
@ 2021-12-07 11:41 ` Jairo A. del Rio via ntg-context
2021-12-07 12:27 ` [DKIM] " Hans Hagen via ntg-context
1 sibling, 0 replies; 5+ messages in thread
From: Jairo A. del Rio via ntg-context @ 2021-12-07 11:41 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jairo A. del Rio, Mikael Sundqvist
[-- Attachment #1.1: Type: text/plain, Size: 2638 bytes --]
Thank you very much! That's exactly what I needed.
Regards,
Jairo
El mar, 7 dic 2021 a la(s) 03:56, Mikael Sundqvist via ntg-context (
ntg-context@ntg.nl) escribió:
> Hi,
>
> We changed so that newcomputermodern-book (which is bolder than
> newcomputermodern) uses the same lfg file as lm, which works. I attach
> an updated version of the type-imp-newcomputermodern.mkiv, which also
> adds the lfg file to newcomputermodern.
>
> /Mikael
>
> PS If one wants to play with modernlatin, is there a simple way to
> play with the boldness (for example make it just slightly less bold)?
>
>
> On Tue, Dec 7, 2021 at 9:45 AM Hans Hagen via ntg-context
> <ntg-context@ntg.nl> wrote:
> >
> > On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote:
> > > Hi, list. See the following:
> > >
> > > \starttext
> > > $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
> > > \stoptext
> > there is no lfg file for it but if you just want a bolder latin modern
> > you can also do this (there is an old bachotex presentation about it
> > somewhere):
> >
> > \setupbodyfont[modernlatin]
> >
> > \starttext
> > $\alpha'$
> > \stoptext
> >
> > 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 4341 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [DKIM] Re: [DKIM] Primes too high in New Computer Modern
2021-12-07 8:55 ` Mikael Sundqvist via ntg-context
2021-12-07 11:41 ` Jairo A. del Rio via ntg-context
@ 2021-12-07 12:27 ` Hans Hagen via ntg-context
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-12-07 12:27 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen, Mikael Sundqvist
On 12/7/2021 9:55 AM, Mikael Sundqvist via ntg-context wrote:
> Hi,
>
> We changed so that newcomputermodern-book (which is bolder than
> newcomputermodern) uses the same lfg file as lm, which works. I attach
> an updated version of the type-imp-newcomputermodern.mkiv, which also
> adds the lfg file to newcomputermodern.
>
> /Mikael
>
> PS If one wants to play with modernlatin, is there a simple way to
> play with the boldness (for example make it just slightly less bold)?
the type-imp-modernlatin file has this:
\doifunknownfontfeature {lm-serif-regular}
{\definefontfeature[lm-serif-regular][boldened-15]}
\doifunknownfontfeature {lm-serif-bold}
{\definefontfeature[lm-serif-bold] [boldened-30]}
\doifunknownfontfeature {lm-sans-regular}
{\definefontfeature[lm-sans-regular] [boldened-10]}
\doifunknownfontfeature {lm-sans-bold}
{\definefontfeature[lm-sans-bold] [boldened-20]}
\doifunknownfontfeature {lm-mono-regular}
{\definefontfeature[lm-mono-regular] [boldened-20]}
\doifunknownfontfeature {lm-mono-bold}
{\definefontfeature[lm-mono-bold] [boldened-30]}
\doifunknownfontfeature {lm-math-regular}
{\definefontfeature[lm-math-regular] [boldened-15]}
\doifunknownfontfeature {lm-math-bold}
{\definefontfeature[lm-math-bold] [boldened-30]}
so you can just define the features beforehand
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-07 12:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07 1:39 Primes too high in New Computer Modern Jairo A. del Rio via ntg-context
2021-12-07 8:45 ` [DKIM] " Hans Hagen via ntg-context
2021-12-07 8:55 ` Mikael Sundqvist via ntg-context
2021-12-07 11:41 ` Jairo A. del Rio via ntg-context
2021-12-07 12:27 ` [DKIM] " Hans Hagen via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).