From f01d9e142c52d21bdb375aaeb31988dfbd7123f0 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 13 May 2013 23:17:00 +0200 Subject: beta 2013.05.13 23:17 --- tex/generic/context/luatex/luatex-fonts.lua | 21 ++++++++++++++------- tex/generic/context/luatex/luatex-math.tex | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'tex/generic') diff --git a/tex/generic/context/luatex/luatex-fonts.lua b/tex/generic/context/luatex/luatex-fonts.lua index 29bfd5b40..89592fcac 100644 --- a/tex/generic/context/luatex/luatex-fonts.lua +++ b/tex/generic/context/luatex/luatex-fonts.lua @@ -7,19 +7,25 @@ if not modules then modules = { } end modules ['luatex-fonts'] = { } -- The following code isolates the generic context code from already defined or to be defined --- namespaces. This is the reference loader for plain, but the generic code is also used in --- luaotfload (which is is a file meant for latex) and that used to be maintained by Khaled --- Hosny. We do our best to keep the interface as clean as possible. +-- namespaces. This is the reference loader for plain tex. This generic code is also used in +-- luaotfload which is a low level lualatex opentype font loader but somehow has gotten a bit +-- too generic name / prefix, originally set up and maintained by Khaled Hosny. Currently that +-- set of derived files is maintained by a larger team lead by Philipp Gesang so when there are +-- issues with this code in latex, you can best contact him. It might make sense then to first +-- check if context has the same issue. We do our best to keep the interface as clean as possible. -- -- The code base is rather stable now, especially if you stay away from the non generic code. All -- relevant data is organized in tables within the main table of a font instance. There are a few -- places where in context other code is plugged in, but this does not affect the core code. Users -- can (given that their macro package provides this option) access the font data (characters, --- descriptions, properties, parameters, etc) of this main table. +-- descriptions, properties, parameters, etc) of this main table. The documentation is part of +-- context. There is also a manual for the helper libraries (maintained as part of the cld manuals). -- -- Future versions will probably have some more specific context code removed, like tracing and -- obscure hooks, so that we have a more efficient version (and less files too). So, don't depend --- too much on low level code that is meant for context as it can change without notice. +-- too much on low level code that is meant for context as it can change without notice. We might +-- also add more helper code here, but that depends to what extend metatex (sidetrack of context) +-- evolves into a low level layer (depends on time, as usual). utf = utf or unicode.utf8 @@ -185,8 +191,9 @@ if non_generic_context.luatex_fonts.skip_loading ~= true then -- The font database file (if used at all) must be put someplace visible for kpse and is not shared -- with context. The mtx-fonts script can be used to genate this file (using the --names option). - -- in 2013/14 we will merge/move some generic files into luatex-fonts-* files (copies) so that - -- intermediate updates of context not interfere; we can then also use the general merger + -- In 2013/14 I will merge/move some generic files into luatex-fonts-* files (copies) so that + -- intermediate updates of context not interfere. We can then also use the general merger and + -- consider stripping debug code. loadmodule('font-ini.lua') loadmodule('font-con.lua') diff --git a/tex/generic/context/luatex/luatex-math.tex b/tex/generic/context/luatex/luatex-math.tex index 966f2ddec..ab304b974 100644 --- a/tex/generic/context/luatex/luatex-math.tex +++ b/tex/generic/context/luatex/luatex-math.tex @@ -1165,7 +1165,7 @@ \the\everymathit -% a couple of definitions: +% a couple of definitions (we could also use \mathchardef): \def\acute {\Umathaccent"0"0"0000B4 } \def\acwopencirclearrow {\Umathchar "3"0"0021BA } -- cgit v1.2.3