On 5 Jul 2023, at 00:12, Gerben Wierda <gerben.wierda@rna.nl> wrote:
Found it (I think)\definefontfamily defines tf= but the text says \rmIf I use \tf in the text it works.If I use \rm in the text it works for default Latin Modern but not for any font defined. This is true regardless of using rm= or tf= in the definition.So, it seems to be the combination of using definefontfamily and \rmOn 4 Jul 2023, at 23:48, Gerben Wierda <gerben.wierda@rna.nl> wrote:Also doesn't work with ConTeXt ver: 2023.06.22 14:13 LMTX fmt: 2023.7.4 int: english/english___________________________________________________________________________________On 4 Jul 2023, at 23:42, Gerben Wierda <gerben.wierda@rna.nl> wrote:On 4 Jul 2023, at 23:26, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:Gerben Wierda schrieb am 04.07.2023 um 23:17:After erasing the font cache and regenerating LM was doing it right again.Helvetica did not, but maybe I made a mistake in\definefontfamily[helvetica][ss][Helvetica][tf=style:Regular,bf=style:Bold,it=style:Oblique,bi=style:Bold Oblique]
Does it work when you remove the manual assignments to tf, it, etc. or when you use lowercase names (without spaces), e.g. "bi=boldoblique" (or "bi=bolditalic").No and no. With th elatter it doesn't load Helvetica at all, Error shown:With my original it does load (but no italic):selectfont > the requested font 'Helvetica' has no files for the 'tf' alternative, Latin Modern is used instead.mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otf, lmsans10-regular.otfmkiv lua stats > loaded fonts: 4 files: helvetica.ttc, latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otfErase cache, regenerate formats, reload fonts (force) does give another (probably unrelated) error:fonts | names | identifying system font files with suffix 'ttf'fonts | names | globbing path '/Library/Fonts/**.ttf'fonts | names | globbing path '/System/Library/Fonts/**.ttf'otf reader | fatal error in file '/System/Library/Fonts/SFCompactRounded.ttf': ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: attempt to index a nil value (field '?')stack traceback:...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2344: in metamethod 'index'...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: in local 'reader'...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2089: in upvalue 'readtable'R&A IT Strategy (main site)
Book: Chess and the Art of Enterprise Architecture
Book: Mastering ArchiMate
___________________________________________________________________________________
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
___________________________________________________________________________________R&A IT Strategy (main site)
Book: Chess and the Art of Enterprise Architecture
Book: Mastering ArchiMate
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
___________________________________________________________________________________R&A IT Strategy (main site)
Book: Chess and the Art of Enterprise Architecture
Book: Mastering ArchiMate