diff options
author | Marius <mariausol@gmail.com> | 2010-11-12 20:00:14 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-11-12 20:00:14 +0200 |
commit | 7fc9b91bca833ba04496e8f819fb60dafd77f6e0 (patch) | |
tree | f0fe826eeeb9ae48bac1ffba9c09a3cf3a538f2f /tex/generic/context/luatex-fonts.lua | |
parent | a14e30f10a3fa9a8657aef179359847fca0dbd01 (diff) | |
download | context-7fc9b91bca833ba04496e8f819fb60dafd77f6e0.tar.gz |
beta 2010.11.12 18:22
Diffstat (limited to 'tex/generic/context/luatex-fonts.lua')
-rw-r--r-- | tex/generic/context/luatex-fonts.lua | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/tex/generic/context/luatex-fonts.lua b/tex/generic/context/luatex-fonts.lua index 4cfe8b945..5fffecb47 100644 --- a/tex/generic/context/luatex-fonts.lua +++ b/tex/generic/context/luatex-fonts.lua @@ -51,21 +51,18 @@ loadmodule('luatex-fonts-merged.lua',true) -- you might comment this line if fonts then - -- We're using the merged version. That one could be outdated so - -- remove it from your system when you want to use the files from - -- from the ConTeXt tree, or keep your copy of the merged version - -- up to date. - - texio.write_nl("log",[[ - -I am using the merged version of 'luatex-fonts.lua' here. If -you run into problems or experience unexpected behaviour, and -if you have ConTeXt installed you can try to delete the file -'luatex-font-merged.lua' as I might then use the possibly -updated libraries. The merged version is not supported as it -is a frozen instance. + if not fonts._merge_loaded_message_done_ then + texio.write_nl("log", "!") + texio.write_nl("log", "! I am using the merged version of 'luatex-fonts.lua' here. If") + texio.write_nl("log", "! you run into problems or experience unexpected behaviour, and") + texio.write_nl("log", "! if you have ConTeXt installed you can try to delete the file") + texio.write_nl("log", "! 'luatex-font-merged.lua' as I might then use the possibly") + texio.write_nl("log", "! updated libraries. The merged version is not supported as it") + texio.write_nl("log", "! is a frozen instance.") + texio.write_nl("log", "!") + end - ]]) + fonts._merge_loaded_message_done_ = true else @@ -93,7 +90,9 @@ else -- We do need some basic node support although the following -- modules contain a little bit of code that is not used. It's - -- not worth weeding. + -- not worth weeding. Beware, in node-dum some functions use + -- fonts.* tables, not that nice but I don't want two dummy + -- files. Some day I will sort this out (no problem in context). loadmodule('node-dum.lua') loadmodule('node-inj.lua') -- will be replaced (luatex >= .70) |