Re: [NTG-context] Lato typescripts (MKIV/LMTX)

2022-09-17 Thread Wolfgang Schuster via ntg-context

Adam Reviczky via ntg-context schrieb am 17.09.2022 um 18:14:

Hi,

With the latest upload (2022-09-16 14:41) I wanted to compare some 
older projects that I've used with MKIV to the LMTX 2.10.00.


In one of which I am using the Lato 2.0 font 
(https://packages.debian.org/sid/fonts-lato).
With MKIV I get the correct output but LMTX complains about not being 
able to find the font.


The problem lies in the debian package because the fonts I get from the 
website [1]
of the lato fonts have the same file names as the referenced one in the 
typescripts.


[1] https://www.latofonts.com/

Wolfgang

___
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] Lato typescripts (MKIV/LMTX)

2022-09-17 Thread Adam Reviczky via ntg-context
Hi,

With the latest upload (2022-09-16 14:41) I wanted to compare some older
projects that I've used with MKIV to the LMTX 2.10.00.

In one of which I am using the Lato 2.0 font (
https://packages.debian.org/sid/fonts-lato).
With MKIV I get the correct output but LMTX complains about not being able
to find the font.

There seems to be an issue with the typescript file type-imp-lato.mkiv.

MWE:
\setupbodyfont[lato,12pt]
\starttext
Hello World!
\stoptext

---
ConTeXt  ver: 2022.09.11 20:44 MKIV - luatex version: 1.1501, functionality
level: 7539:

mtxrun --script fonts --list --all --pattern=*lato*
identifier   familyname   fontname filename
 subfont   instances

latoblacklato latoblackLato-Bla.ttf
latoblackitalic  lato latoblackitalic  Lato-BlackItalic.ttf
latobold lato latobold Lato-Bol.ttf
latobolditalic   lato latobolditalic   Lato-BoldItalic.ttf
latoextraboldlato latoheavyLato-Heavy.ttf
latoextralight   lato latothin Lato-Thin.ttf
latohairline lato latohairline Lato-Hai.ttf
latohairlineitalic   lato latohairlineitalic   Lato-HaiIta.ttf
latoheavylato latoheavyLato-Heavy.ttf
latoheavyitalic  lato latoheavyitalic  Lato-HeavyItalic.ttf
latoitalic   lato latoitalic   Lato-Italic.ttf
latolightlato latolightLato-Lig.ttf
latolightitalic  lato latolightitalic  Lato-LightItalic.ttf
latomedium   lato latomedium   Lato-Medium.ttf
latomediumitalic lato latomediumitalic Lato-MediumItalic.ttf
latonormal   lato latohairline Lato-Hai.ttf
latoregular  lato latoregular  Lato-Reg.ttf
latosemibold lato latosemibold Lato-Semibold.ttf
latosemibolditalic   lato latosemibolditalic
Lato-SemiboldItalic.ttf
latothin lato latothin Lato-Thin.ttf
latothinitalic   lato latothinitalic   Lato-ThinItalic.ttf

fonts   > otf loading > loading
'/usr/share/texlive/texmf-dist/fonts/truetype/typoland/lato/Lato-Regular.ttf',
hash 'lato-regular'

mkiv lua stats  > loaded fonts: 3 files: xitsmath-bold.otf,
xitsmath-regular.otf, lato-regular.ttf
---
ConTeXt  ver: 2022.09.11 20:44 LMTX - luametatex version: 2.1,
functionality level: 20220918:

mtxrun --script fonts --list --all --pattern=*lato*
identifier   familyname   fontname filename
 subfont   instances

latoblacklato latoblackLato-Bla.ttf
latoblackitalic  lato latoblackitalic  Lato-BlackItalic.ttf
latobold lato latobold Lato-Bol.ttf
latobolditalic   lato latobolditalic   Lato-BoldItalic.ttf
latoextraboldlato latoheavyLato-Heavy.ttf
latoextralight   lato latothin Lato-Thin.ttf
latohairline lato latohairline Lato-Hai.ttf
latohairlineitalic   lato latohairlineitalic   Lato-HaiIta.ttf
latoheavylato latoheavyLato-Heavy.ttf
latoheavyitalic  lato latoheavyitalic  Lato-HeavyItalic.ttf
latoitalic   lato latoitalic   Lato-Italic.ttf
latolightlato latolightLato-Lig.ttf
latolightitalic  lato latolightitalic  Lato-LightItalic.ttf
latomedium   lato latomedium   Lato-Medium.ttf
latomediumitalic lato latomediumitalic Lato-MediumItalic.ttf
latonormal   lato latohairline Lato-Hai.ttf
latoregular  lato latoregular  Lato-Reg.ttf
latosemibold lato latosemibold Lato-Semibold.ttf
latosemibolditalic   lato latosemibolditalic
Lato-SemiboldItalic.ttf
latothin lato latothin Lato-Thin.ttf
latothinitalic   lato latothinitalic   Lato-ThinItalic.ttf

close source> level 2, order 6, name
'/usr/share/texmf/tex/context/fonts/mkiv/type-imp-lato.mkiv'
fonts   > defining > font with asked name 'lato-regular' is not
found using lookup 'file'
fonts   > defining > unable to define 'lato-regular' as
'lato-12pt-ss-tf-0--0'
---

If I change the file: reference I get it working with both MKIV/LMTX:

\starttypescript [\s!sans] [lato] [\s!name]
\setups[\s!font:\s!fallback:\s!sans]
% \definefontsynonym [\s!Sans]   [\s!file:lato-regular]
 [\s!features=\s!default]
% \definefontsynonym [\s!SansBold]   [\s!file:lato-bold]
[\s!features=\s!default]
\definefontsynonym [\s!Sans]   [\s!file:lato-reg]
 [\s!features=\s!default]
\definefontsynonym [\s!SansBold]   [\s!file:lato-bol]

[NTG-context] ConTeXt meeting 2023

2022-09-17 Thread Henning Hraban Ramm via ntg-context
The next meeting will take place on 2023-09-11 to 16, again in Sibřina 
near Prague. Save the date!


In the hope of seeing you there,
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
___