diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
commit | 5c6357cdb820b4f628d036ba7b2248f221d50c0b (patch) | |
tree | 6365552f2737faaffe63a395272da242ee2c4f03 /Master/texmf-dist/tex/generic/context/luatex/luatex-fonts-syn.lua | |
parent | b4568bc71e054f3d1fd6404b45d2322631778284 (diff) |
ConTeXt version 2019.02.22 19:35
git-svn-id: svn://tug.org/texlive/trunk@50086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/context/luatex/luatex-fonts-syn.lua')
-rw-r--r-- | Master/texmf-dist/tex/generic/context/luatex/luatex-fonts-syn.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/context/luatex/luatex-fonts-syn.lua b/Master/texmf-dist/tex/generic/context/luatex/luatex-fonts-syn.lua index 376fd05fbf5..2ec075434ff 100644 --- a/Master/texmf-dist/tex/generic/context/luatex/luatex-fonts-syn.lua +++ b/Master/texmf-dist/tex/generic/context/luatex/luatex-fonts-syn.lua @@ -7,7 +7,6 @@ if not modules then modules = { } end modules ['luatex-fonts-syn'] = { } if context then - texio.write_nl("fatal error: this module is not for context") os.exit() end @@ -46,12 +45,12 @@ local loaded = false local fileformats = { "lua", "tex", "other text files" } function fonts.names.reportmissingbase() - texio.write("<missing font database, run: mtxrun --script fonts --reload --simple>") + logs.report("fonts","missing font database, run: mtxrun --script fonts --reload --simple") fonts.names.reportmissingbase = nil end function fonts.names.reportmissingname() - texio.write("<unknown font in database, run: mtxrun --script fonts --reload --simple>") + logs.report("fonts","unknown font in font database, run: mtxrun --script fonts --reload --simple") fonts.names.reportmissingname = nil end @@ -67,7 +66,7 @@ function fonts.names.resolve(name,sub) local foundname = resolvers.findfile(basename,format) or "" if foundname ~= "" then data = dofile(foundname) - texio.write("<font database loaded: ",foundname,">") + logs.report("fonts","font database '%s' loaded",foundname) break end end |