[NTG-context] unable to define 'texgyrepagella-regula' error etc.

Otared Kavian otared at gmail.com
Wed Jul 25 10:19:42 CEST 2018


Hi Dalyoung,

The question of TXGyre fonts has been mentioned on this list recently, and the following answer from Wolfgang Schuster seems to solve the problem (until the original problem is fixed).
This answer was on the thread « Problem with pagella font (beta) »:

> On 23 Jul 2018, at 12:39, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:
> 
> Hi Fabrice,
> 
> you can download the fonts from the GUST [1] website (the flat package is enough because you need only the opentype files) and put them in your local tex directory in your home folder, e.g.
> 
>     ~/texmf/fonts/data/texgyre/
> 
> or you put them in your tex installation, e.g.
> 
>     texmf-fonts/fonts/data/texgyre/
> 
> [1] http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole
> 
> Wolfgang


Best regards: OK


> On 25 Jul 2018, at 01:40, Jeong Dal <haksan at me.com> wrote:
> 
> Dear all,
> 
> I found some warning message in the log file which concerns about the font.
> I didn’t see this kind of error before. (I might missed this error.)
> However, it produced an output.
> 
> fonts           > defining > font with asked name 'texgyreheros-regular' is not found using lookup 'file'
> fonts           > defining > unknown font 'texgyreheros-regular', loading aborted
> fonts           > defining > unable to define 'texgyreheros-regular' as 'dummy--0'
> floatblocks     > '1' placed (here)
> fonts           > defining > font with asked name 'texgyrepagella-regular' is not found using lookup 'file'
> fonts           > defining > unknown font 'texgyrepagella-regular', loading aborted
> fonts           > defining > unable to define 'texgyrepagella-regular' as 'dummy--4'
> fonts           > defining > font with asked name 'texgyrepagella-regular' is not found using lookup 'file'
> fonts           > defining > unknown font 'texgyrepagella-regular', loading aborted
> fonts           > defining > unable to define 'texgyrepagella-regular' as 'dummy--5'
> fonts           > defining > font with asked name 'texgyrepagella-bold' is not found using lookup 'file'
> fonts           > defining > unknown font 'texgyrepagella-bold', loading aborted
> fonts           > defining > unable to define 'texgyrepagella-bold' as 'dummy--0'
> fonts           > defining > font with asked name 'texgyrepagella-regular' is not found using lookup 'file'
> fonts           > defining > unknown font 'texgyrepagella-regular', loading aborted
> fonts           > defining > unable to define 'texgyrepagella-regular' as 'dummy--0'
> 
> How to remove this kind of error?
> The main file is too big to list here. 
> Here is a part of typescript file which was made by the help of Hans.
> 
> \loadtypescriptfile[texgyre]
> %\loadtypescriptfile[euler]
> %\loadtypescriptfile[xits]
> 
> \definefontfeature
>   [kr-default]
>   [mode=node,script=hang,lang=kor]
> 
> \definefontfeature
>   [kr-slanted]
>   [mode=node,script=hang,lang=kor,slant=.2]
> 
> \definefontfeature
>   [kr-latin-default]
>   [default]
> 
> \definefontfeature
>   [kr-latin-slanted]
>   [krlatindefault]
>   [slant=.2]
> 
> \definefontfeature
>   [kr-latin-slanted-mono]
>   [slant=.2]
> 
> \definefontfeature
>   [kr-latin-smallcaps]
>   [krlatindefault]
>   [smcp=yes]
> 
> \definefontfeature
>   [kr-latin-smallcaps-mono]
>   [cmcp=yes]
> 
> \definefontfallback[kr-serif]           [texgyrepagella-regular*kr-latin-default]      [0x0000-0x0400][force=yes]
> \definefontfallback[kr-serifbold]       [texgyrepagella-bold*kr-latin-default]         [0x0000-0x0400][force=yes]
> \definefontfallback[kr-serifitalic]     [texgyrepagella-italic*kr-latin-default]       [0x0000-0x0400][force=yes]
> \definefontfallback[kr-serifbolditalic] [texgyrepagella-bolditalic*kr-latin-default]   [0x0000-0x0400][force=yes]
> \definefontfallback[kr-serifslanted]    [texgyrepagella-regular*kr-latin-slanted]      [0x0000-0x0400][force=yes]
> \definefontfallback[kr-serifboldslanted][texgyrepagella-bold*kr-latin-slanted]         [0x0000-0x0400][force=yes]
> \definefontfallback[kr-serifcaps]       [texgyrepagella-regular*kr-latin-smallcaps]    [0x0000-0x0400][force=yes]
> \definefontfallback[kr-sans]            [texgyreheros-regular*kr-latin-default]        [0x0000-0x0400][force=yes]
> \definefontfallback[kr-sansbold]        [texgyreheros-bold*kr-latin-default]           [0x0000-0x0400][force=yes]
> \definefontfallback[kr-sansitalic]      [texgyreheros-italic*kr-latin-default]         [0x0000-0x0400][force=yes]
> \definefontfallback[kr-sansbolditalic]  [texgyreheros-bolditalic*kr-latin-default]     [0x0000-0x0400][force=yes]
> \definefontfallback[kr-sansslanted]     [texgyreheros-regular*kr-latin-slanted]        [0x0000-0x0400][force=yes]
> \definefontfallback[kr-sansboldslanted] [texgyreheros-bold*kr-latin-slanted]           [0x0000-0x0400][force=yes]
> \definefontfallback[kr-sanscaps]        [texgyreheros-regular*kr-latin-smallcaps]      [0x0000-0x0400][force=yes]
> \definefontfallback[kr-mono]            [texgyrecursor-regular]                        [0x0000-0x0400][force=yes]
> \definefontfallback[kr-monobold]        [texgyrecursor-bold]                           [0x0000-0x0400][force=yes]
> \definefontfallback[kr-monoitalic]      [texgyrecursor-italic]                         [0x0000-0x0400][force=yes]
> \definefontfallback[kr-monobolditalic]  [texgyrecursor-bolditalic]                     [0x0000-0x0400][force=yes]
> \definefontfallback[kr-monoslanted]     [texgyrecursor-regular*kr-latin-slanted-mono]  [0x0000-0x0400][force=yes]
> \definefontfallback[kr-monoboldslanted] [texgyrecursor-bold*kr-latin-slanted-mono]     [0x0000-0x0400][force=yes]
> \definefontfallback[kr-monocaps]        [texgyrecursor-regular*kr-latin-smallcaps-mono][0x0000-0x0400][force=yes]
> 
> %\starttypescriptcollection[hcrfonts]
> 
> \starttypescript [serif] [HCRMJ]
>         \definefontsynonym [HanBatang]           [file:HANBatang-LVT.ttf]    [features=kr-default,fallbacks=kr-serif]
>         \definefontsynonym [HanBatangbold]       [file:HANBatangB-LVT.ttf][features=kr-default,fallbacks=kr-serifbold]
>         \definefontsynonym [HanBatangitalic]     [file:HANBatang-LVT.ttf]    [features=kr-slanted,fallbacks=kr-serifitalic]
>         \definefontsynonym [HanBatangbolditalic] [file:HANBatangB-LVT.ttf][features=kr-slanted,fallbacks=kr-serifbolditalic]
>         \definefontsynonym [HanBatangslanted]    [file:HANBatang-LVT.ttf]    [features=kr-slanted,fallbacks=kr-serifslanted]
>         \definefontsynonym [HanBatangboldslanted][file:HANBatangB-LVT.ttf][features=kr-slanted,fallbacks=kr-serifboldslanted]
>         \definefontsynonym [HanBatangcaps]       [file:HANBatang-LVT.ttf]    [features=kr-default,fallbacks=kr-serifcaps]
> \stoptypescript
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list