From 952d2c9b24c1b2e6f0f48df28981c1f2674137f4 Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg@phi-gamma.net>
Date: Tue, 10 Nov 2015 08:17:38 +0100
Subject: [doc] add directions for loading Context libs

---
 doc/luaotfload-main.tex | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

(limited to 'doc/luaotfload-main.tex')

diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex
index cc242e8..5ea70d8 100644
--- a/doc/luaotfload-main.tex
+++ b/doc/luaotfload-main.tex
@@ -1201,17 +1201,17 @@ grouped twofold as below:
   \endnormalitem
 \enddefinitions
 
-Note that if \identifier{luaotfload} cannot locate the
-merged file, it will load the individual \LUA libraries
-instead.
-%
-Their names remain the same as in \CONTEXT (without the
-\inlinecode {luaotfload}-prefix) since the initialization mirrors
-the sequence in \LUATEX-Fonts.
-%% FIXME this is a config option nowadays!
-%Thus if you prefer running bleeding edge code from the \CONTEXT beta,
-%all you have to do is remove \fileent{luaotfload-merged.lua} from the
-%search path.
+As an alternative to the merged file, \identifier {Luaotfload} may load
+individual unpackaged \LUA libraries that come with the source, or even
+use the files from Context directly.
+%
+Thus if you prefer running bleeding edge code from the \CONTEXT beta,
+all you have to do is to choose the \inlinecode {context} fontloader
+via the configuration file (see section \ref{sec:conf} below).
+%
+This will make \identifier {Luaotfload} locate the \CONTEXT source via
+\identifier{kpathsea} lookups and use those instead of the fontloader
+%% TODO allow choosing the context path
 
 Also, the merged file at some point loads the Adobe Glyph List from a
 \LUA table that is contained in \fileent{luaotfload-glyphlist.lua},
@@ -1283,8 +1283,6 @@ To specify the fontloader you wish to use, the configuration file
 \inlinecode{default} or \inlinecode{reference} or the name of a file
 somewhere in the search path of \LUATEX.
 
-TODO % it’s simple, though
-
 \endsubsection
 \endsection
 
-- 
cgit v1.2.3

