Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface
Hi all, thanks for your ideas! Could figure out the following: - font files are found in the correct path and cached & loaded properly (no second copies, no name clashes) - issue occurs under Linux as well as Windows - issue is related only to some particular font files of the font family (not all) On April 25, 2023 9:21:57 PM UTC, Bruce Horrocks via ntg-context wrote: >Another check you can do is to run > > $ mtxrun --script font --list --name '--pattern=*kepler*' > >and see if the file for keplerstd-light is the one you are expecting and not a >second copy somewhere that is upsetting things. > > >> On 25 Apr 2023, at 21:40, lynx--- via ntg-context wrote: >> >> Werner: >> This is the one that I think will help the most (taken from the Fonts out of >> Context manual, pp 147 - 148 >> "If you want to use Lucida, all you have to do when you have bought the >> fonts, is to put >> the OpenType files in a place where they can be found, for instance: >> >> tex/texmf-fonts/fonts/data/lucida >> >> Of course you need to run mtxrun --generate afterwards so that the files can >> be found. >> >> >> >> On 2023-04-25 12:34, lynx--- via ntg-context wrote: >>> Hello, Werner: >>> Have you tried some diagnostic tests, such as trying to get the PDF output >>> via DVIPS? I suspect that you are, in fact, more knowledgeable and >>> experience with ConTeXt than I am, but for what it is worth you may want to >>> look at: >>> • \setupoutput[dvips,acrobat] (see: Context-The Manual (Hans Hagen; >>> English, page 24)) >>> • \showbodyfont[Options] (see: Not-so-short Intro to ConTeXt (J. >>> Ataz-Lopez;English, page 114)) >>> • $ mtxrun (mtxrun is the ConTeXt TDS Runner Tool) command from a >>> terminal window it has has a large number of options for finding the fonts >>> installed, and for querying their characteristics (see: Fonts out of >>> ConTeXt (Hans Hagen, pg 52 and ff)) >>> Em >>> >>> On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: >>> Hi conTeXt folks, >>> >>> may I ask again. How could I debug the font typesetting of PDF files with >>> conTeXt? >>> >>> Any help is highly appreciated. >>> >>> Best Werner >>> >>> On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context >>> wrote: Hi all, >>> >>> I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version >>> 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font >>> files are loaded correctly (see log below), the generated PDF is unreadable >>> (see attached image). >>> >>> Notes: >>> - Only serif font (keplerstd-light.otf) is not working. It's not embedded >>> in the generated PDF. >>> - italics and bold fonts are embedded and are rendered well >>> - Can't provide font files because Kepler is a commercial typeface >>> >>> Do you have any ideas how to debug this issue? >>> >>> Thanks Werner >>> >>> log file: >>> mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, >>> frutigernextpro-bold.otf, frutigernextpro-regular.otf, >>> iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, >>> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, >>> lmroman10-regular.otf >>> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 >>> instances, 18 shared in backend, 3 common vectors, 15 common hashes, load >>> time 0.449 seconds >>> Example: >>> >>> This text can't be read in PDF.par >>> {it However, italics are working.}par >>> {bold Also Bold and bfem BoldItalics!}par >>> input{zapf} > >> > >— >Bruce Horrocks >Hampshire, UK > >___ >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 ___
Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface
Hi conTeXt folks, may I ask again. How could I debug the font typesetting of PDF files with conTeXt? Any help is highly appreciated. Best Werner On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context wrote: >Hi all, > >I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version >2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files >are loaded correctly (see log below), the generated PDF is unreadable (see >attached image). > >Notes: > - Only serif font (keplerstd-light.otf) is not working. It's not embedded in > the generated PDF. > - italics and bold fonts are embedded and are rendered well > - Can't provide font files because Kepler is a commercial typeface > >Do you have any ideas how to debug this issue? > >Thanks Werner > >log file: >mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, >frutigernextpro-bold.otf, frutigernextpro-regular.otf, >iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, >keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, >lmroman10-regular.otf >mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, >18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 >seconds >Example: > >This text can't be read in PDF.par >{it However, italics are working.}par >{bold Also Bold and bfem BoldItalics!}par >input{zapf} ___ 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] Font error in PDF using ConTeXt and Kepler typeface
Hi all, I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files are loaded correctly (see log below), the generated PDF is unreadable (see attached image). Notes: - Only serif font (keplerstd-light.otf) is not working. It's not embedded in the generated PDF. - italics and bold fonts are embedded and are rendered well - Can't provide font files because Kepler is a commercial typeface Do you have any ideas how to debug this issue? Thanks Werner log file: mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, frutigernextpro-bold.otf, frutigernextpro-regular.otf, iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, lmroman10-regular.otf mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 seconds Example: This text can't be read in PDF.par {it However, italics are working.}par {bold Also Bold and bfem BoldItalics!}par input{zapf} ___ 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] Context crashes using Iosevka v16.3.6 typeface
Dear list, issue is solved with the latest update of ConTeXt. Thanks to everyone for the release. ConTeXt is just awesome :) Best Werner On November 14, 2022 10:27:38 AM UTC, Hans Hagen via ntg-context wrote: >On 11/12/2022 12:02 PM, Werner Schmidt via ntg-context wrote: >> Dear list, >> >> I like to use the Iosevka as mono typeface. It worked in the past, but sadly >> context crashes now with the following error. >> >> fatal error: /font-dsp-macro.lua:2336: attempt to index a nil value >> (local 'sequence') >> >> Plese see MWE below. >> >> Any ideas how debug / solve this issue? > >i'll intercept it > >Hans > > ___ 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] Context crashes using Iosevka v16.3.6 typeface
Dear list, I like to use the Iosevka as mono typeface. It worked in the past, but sadly context crashes now with the following error. fatal error: /font-dsp-macro.lua:2336: attempt to index a nil value (local 'sequence') Plese see MWE below. Any ideas how debug / solve this issue? Thanks in advance. Werner --- test_iosevka. tex % Win 10 Enterprise, x64, 10.0.19042 Build 19042 % ConTeXt ver: 2022.10.22 11:23 LMTX fmt: 2022.11.12 int: english/english % fatal error: /font-dsp-macro.lua:2336: attempt to index a nil value (local 'sequence') \starttypescriptcollection[myfonts] % Mono - iosevka (Iosevka SS09 — Terminal, Hinted) % Source: https://github.com/be5invis/Iosevka/blob/v16.3.6/doc/PACKAGE-LIST.md \starttypescript [mono] [iosevka] [name] \setups[font:fallback:mono] \definefontsynonym [Mono][file:iosevka-term-ss09-light] \definefontsynonym [MonoItalic] [file:iosevka-term-ss09-lightitalic] \definefontsynonym [MonoSlanted] [file:iosevka-term-ss09-lightoblique] \definefontsynonym [MonoBold][file:iosevka-term-ss09-semibold] \definefontsynonym [MonoBoldItalic] [file:iosevka-term-ss09-semibolditalic] \definefontsynonym [MonoBoldSlanted] [file:iosevka-term-ss09-semiboldoblique] \stoptypescript \starttypescript[iosevka] \definetypeface [\typescriptone] [tt] [mono] [iosevka] [default] [rscale=0.84,features={default,ss09=yes}] \stoptypescript \stoptypescriptcollection %\setupbodyfont [mono] % Latin Modern Mono works! \setupbodyfont [iosevka] % iosevka v16.3.6 crashes! :-( \starttext \input{zapf} \stoptext ___ 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 to group list of figures and list of tables by chapter?
Thanks a lot it works! I just had to add \noindent because for some strange reason the chapter title was indented after adding the \writebetweenlist hook to \setuphead. before={ \noindent \writebetweenlist [figure] [location=here] {\blank} \writebetweenlist [table] [location=here] {\blank} } Thanks Werner On March 31, 2022 5:58:47 AM UTC, Duncan Hothersall wrote: >You could try using \writebetweenlist hooked into \setuphead[chapter]? >Something like (untested): > >\setuphead[chapter][before={\writebetweenlist[figure][location=here]{\blank}}] > >(Sorry, can't currently test this.) > >Duncan > >On Thu, 31 Mar 2022 at 06:31, Werner Schmidt via ntg-context < >ntg-context@ntg.nl> wrote: > >> Hi, >> >> How can I set up \placelistoffigures and \placelistoftables that figures >> and tables are grouped by chapter, i.e. separated by a blank line between >> chapters (see example below)? >> >> Thanks in advance for your help! >> >> Best Werner >> >> >> (Default:) >> Figures >> >> 1.1 Caption Chapter01-Section01-01 . . . . . . . . . . . . . . . . . 2 >> 2.1 Caption Chapter02-Section01-01 . . . . . . . . . . . . . . . . . 3 >> 2.2 Caption Chapter02-Section01-02 . . . . . . . . . . . . . . . . . 3 >> 3.1 Caption Chapter03-Section01-01 . . . . . . . . . . . . . . . . . 4 >> 3.2 Caption Chapter03-Section01-02 . . . . . . . . . . . . . . . . . 4 >> 3.3 Caption Chapter03-Section02-03 . . . . . . . . . . . . . . . . . 4 >> >> (Wanted:) >> Figures >> >> 1.1 Caption Chapter01-Section01-01 . . . . . . . . . . . . . . . . . 2 >> >> 2.1 Caption Chapter02-Section01-01 . . . . . . . . . . . . . . . . . 3 >> 2.2 Caption Chapter02-Section01-02 . . . . . . . . . . . . . . . . . 3 >> >> 3.1 Caption Chapter03-Section01-01 . . . . . . . . . . . . . . . . . 4 >> 3.2 Caption Chapter03-Section01-02 . . . . . . . . . . . . . . . . . 4 >> 3.3 Caption Chapter03-Section02-03 . . . . . . . . . . . . . . . . . 4 >> >> ___ >> 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 ___
[NTG-context] How to group list of figures and list of tables by chapter?
Hi, How can I set up \placelistoffigures and \placelistoftables that figures and tables are grouped by chapter, i.e. separated by a blank line between chapters (see example below)? Thanks in advance for your help! Best Werner (Default:) Figures 1.1 Caption Chapter01-Section01-01 . . . . . . . . . . . . . . . . . 2 2.1 Caption Chapter02-Section01-01 . . . . . . . . . . . . . . . . . 3 2.2 Caption Chapter02-Section01-02 . . . . . . . . . . . . . . . . . 3 3.1 Caption Chapter03-Section01-01 . . . . . . . . . . . . . . . . . 4 3.2 Caption Chapter03-Section01-02 . . . . . . . . . . . . . . . . . 4 3.3 Caption Chapter03-Section02-03 . . . . . . . . . . . . . . . . . 4 (Wanted:) Figures 1.1 Caption Chapter01-Section01-01 . . . . . . . . . . . . . . . . . 2 2.1 Caption Chapter02-Section01-01 . . . . . . . . . . . . . . . . . 3 2.2 Caption Chapter02-Section01-02 . . . . . . . . . . . . . . . . . 3 3.1 Caption Chapter03-Section01-01 . . . . . . . . . . . . . . . . . 4 3.2 Caption Chapter03-Section01-02 . . . . . . . . . . . . . . . . . 4 3.3 Caption Chapter03-Section02-03 . . . . . . . . . . . . . . . . . 4 ___ 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 ___