ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: unable to define 'texgyrepagella-regula' error etc.
Date: Thu, 26 Jul 2018 09:49:25 +0900	[thread overview]
Message-ID: <7F7C0E3E-3A03-43A9-B440-7470830A0098@me.com> (raw)
In-Reply-To: <d959d770-1c52-dca0-2d3c-c7ed66ef0ce9@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 6260 bytes --]

Dear all,

Yesterday, I asked about a font problem without a mwe.

Here is a MWE.
%%%%%%%%%
\setuplanguage[kr][patterns=us]
\mainlanguage[kr]
\setscript[hangul]

\usetypescriptfile[type-hcrlvt]
\usetypescript[HcrFont] 
\definefontfeature[kr][script=hang,language=kor,mode=node,analyze=yes]
\setupbodyfont[Myface, rm, 11pt]

\starttext
This is a test file.  %이것은 시험 파일입니다.

{\bf This is a test file for font.}%{\bf 이것은 시험 파일입니다.}

{\sl This is a test file for font.}%{\sl 이것은 시험 파일입니다.}

\stoptext
%%%%%%%%

Here is a part of log file of the first run.

mtx-context     | run 1: luatex --fmt="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="test" --lua="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:purgeall "cont-yes.mkiv"

This is LuaTeX, Version 1.08.0 (TeX Live 2018) 
 system commands enabled.
open source     > level 1, order 1, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2018.07.20 21:20 MKIV beta  fmt: 2018.7.24  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name '/Users/graph/Documents/TeXfiles/test.tex'
open source     > level 3, order 4, name '/Users/graph/ConTeXt/tex/texmf-local/context/type-hcrlvt.mkiv'
open source     > level 4, order 5, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 4, order 5, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 5, name '/Users/graph/ConTeXt/tex/texmf-local/context/type-hcrlvt.mkiv'
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'
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'
backend         > xmp > using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 5, name '/Users/graph/Documents/TeXfiles/test.tex'
close source    > level 1, order 5, name '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 14 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 428 modules (0.208 sec), 93 tables (0.013 sec), 521 chunks (0.220 sec)
mkiv lua stats  > traced context: maxstack: 1309, freed: 0, unreachable: 1309
mkiv lua stats  > cleaned up reserved nodes: 58 nodes, 9 lists of 455
mkiv lua stats  > node memory usage: 2 glue, 2 kern, 2 penalty, 13 attribute, 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 8 unique task lists, 6 instances (re)created, 43 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 146, file: 617, direct: 2, late: 0, function 868, total: 1633
mkiv lua stats  > loaded patterns: en::2 kr::51, load time: 0.000
mkiv lua stats  > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 3 files: latinmodern-math.otf, hanbatang-lvt.ttf, hanbatangb-lvt.ttf
mkiv lua stats  > font engine: otf 3.103, afm 1.513, tfm 1.000, 9 instances, 4 shared in backend, 4 common vectors, 0 common hashes, load time 1.061 seconds 
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luatex version 1.08 with functionality level 6731, banner: this is luatex, version 1.08.0 (tex live 2018)
mkiv lua stats  > control sequences: 46564 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 214 MB (ctx: 213 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 1.403 seconds, 1 processed pages, 1 shipped pages, 0.713 pages/second

I checked the location of texgyre font and here is the result.

/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/shapes/texgyrepagella-regular-otf.tma

/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/texgyrepagella-regular.tma

I don’t know what happened here and how to make it right.

Thank you for your help.
Best regards,

Dalyoung

Here is a typescript file.


[-- Attachment #1.2.1: Type: text/html, Size: 15096 bytes --]

[-- Attachment #1.2.2: type-hcrlvt.mkiv --]
[-- Type: application/octet-stream, Size: 8227 bytes --]

%D \module
%D   [       file=type-imp-hcrfonts,
%D        version=2013.11.11,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=HcrFonts,
%D         author=...,
%D           date=\currentdate,
%D      copyright=...]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
%%% Hamchorom-LVT fonts scripts
%%% 
\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

\starttypescript [sans] [HCRGo]
        \definefontsynonym[HanDotum]             [file:HANDotum-LVT.ttf]     [features=kr-default,fallbacks=kr-sans]
        \definefontsynonym[HanDotumbold]         [file:HANDotumB-LVT.ttf] [features=kr-default,fallbacks=kr-sansbold]
        \definefontsynonym[HanDotumitalic]       [file:HANDotum-LVT.ttf]     [features=kr-slanted,fallbacks=kr-sansitalic]
        \definefontsynonym[HanDotumbolditalic]   [file:HANDotumB-LVT.ttf] [features=kr-slanted,fallbacks=kr-sansbolditalic]
        \definefontsynonym[HanDotumslanted]      [file:HANDotum-LVT.ttf]     [features=kr-slanted,fallbacks=kr-sansslanted]
        \definefontsynonym[HanDotumboldslanted]  [file:HANDotumB-LVT.ttf] [features=kr-slanted,fallbacks=kr-sansboldslanted]
        \definefontsynonym[HanDotumcaps]         [file:HANDotum-LVT.ttf]     [features=kr-default,fallbacks=kr-sanscaps]
\stoptypescript

\starttypescript [mono] [untype]
        \definefontsynonym[untype]              [file:NotoSansCJKkr-regular.otf]     [features=kr-default,fallbacks=kr-sans]
        \definefontsynonym[untypebold]          [file:NotoSansCJKkr-bold.otf]     [features=kr-default,fallbacks=kr-sansbold]
        \definefontsynonym[untypeitalic]        [file:NotoSansCJKkr-regular.otf]   [features=kr-slanted,fallbacks=kr-sansitalic]
        \definefontsynonym[untypebolditalic]    [file:NotoSansCJKkr-regular.otf]     [features=kr-slanted,fallbacks=kr-sansbolditalic]
        \definefontsynonym[untypeslanted]       [file:NotoSansCJKkr-regular.otf]      [features=kr-slanted,fallbacks=kr-sansslanted]
        \definefontsynonym[untypeboldslanted]   [file:NotoSansCJKkr-bold.otf]     [features=kr-slanted,fallbacks=kr-sansboldslanted]
        \definefontsynonym[untypecaps]          [file:NotoSansCJKkr-regular.otf]      [features=kr-default,fallbacks=kr-sanscaps]
\stoptypescript

    \starttypescript [serif] [HCRMJ] [name]
        \definefontsynonym[Serif]           [HanBatang]
        \definefontsynonym[SerifBold]       [HanBatangbold]
        \definefontsynonym[SerifItalic]     [HanBatangitalic]
        \definefontsynonym[SerifBoldItalic] [HanBatangbolditalic]
        \definefontsynonym[SerifSlanted]    [HanBatangslanted]
        \definefontsynonym[SerifBoldSlanted][HanBatangboldslanted]
        \definefontsynonym[SerifCaps]       [HanBatangcaps]
    \stoptypescript

    \starttypescript [sans] [HCRGo] [name]
        \definefontsynonym[Sans]            [HanDotum]
        \definefontsynonym[SansBold]        [HanDotumbold]
        \definefontsynonym[SansItalic]      [HanDotumitalic]
        \definefontsynonym[SansBoldItalic]  [HanDotumbolditalic]
        \definefontsynonym[SansSlanted]     [HanDotumslanted]
        \definefontsynonym[SansBoldSlanted] [HanDotumboldslanted]
        \definefontsynonym[SansCaps]        [HanDotumcaps]
    \stoptypescript

    \starttypescript [mono] [untype] [name]
        \definefontsynonym[Mono]            [untype]
        \definefontsynonym[MonoBold]        [untypebold]
        \definefontsynonym[MonoItalic]      [untypeitalic]
        \definefontsynonym[MonoBoldItalic]  [untypebolditalic]
        \definefontsynonym[MonoSlanted]     [untypeslanted]
        \definefontsynonym[MonoBoldSlanted] [untypeboldslanted]
        \definefontsynonym[MonoCaps]        [untypecaps]
    \stoptypescript

    % xits might get replaced with a pagella once we have it

    \starttypescript[HcrFont]
        \definetypeface [Myface] [rm] [serif] [HCRMJ]
        \definetypeface [Myface] [ss] [sans]  [HCRGo]
        \definetypeface [Myface] [tt] [mono]  [untype]
%	\definetypeface [Myface] [mm][pagellaovereuler][default]
%    \definetypeface [Myface][mm] [math]  [xits]
%        \definetypeface [Myface][mm] [math]  [tex gyre pagella math]
%    \definetypeface [Myface][mm][TeX Gyre Termes Math]%[scale=0.94]
	\definetypeface [Myface] [mm][math]  [modern]
     \stoptypescript

%\stoptypescriptcollection

[-- Attachment #1.2.3: Type: text/html, Size: 334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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
___________________________________________________________________________________

  parent reply	other threads:[~2018-07-26  0:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1515668401.1779.ntg-context@ntg.nl>
2018-01-12  2:54 ` referencing the customized enumeration with framed title Jeong Dal
2018-01-12 14:31   ` Hans Hagen
2018-01-12 16:22     ` Jeong Dal
2018-01-12 18:19       ` Hans Hagen
2018-07-24 23:40         ` unable to define 'texgyrepagella-regula' error etc Jeong Dal
2018-07-25  8:19           ` Otared Kavian
2018-07-26  0:49         ` Jeong Dal [this message]
2018-07-26  8:24           ` Hans Hagen
2018-07-26 14:53             ` Jeong Dal
2018-07-26 15:24               ` Hans Hagen
2018-01-12 14:51   ` referencing the customized enumeration with framed title Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7F7C0E3E-3A03-43A9-B440-7470830A0098@me.com \
    --to=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).