Succinctly as I can:
Want to learn Plain TeX (but with modern conveniences such as UTF-8, mplib, TiKz, etc.)
Have much respect for the ConTeXt group of people. Liked the idea, when I stumbled upon it, of a LuaTeX with OTF support & mplib, provided via their luatex-plain.fmt
. Want to later use ConTeXt, so proceeded with installing ConTeXt and making the mentioned format.
Spreading wings, also installed TeX Live 2013 (MacTeX & Windows), and learned to use that version of plain LuaTeX (plain.fmt
), together with luaotfload.sty
and luamplib.sty
.
Happy to proceed with either, but have problems:
- TeXLive2013 LuaTeX plain: Cannot setup the math fonts (but did get it to work with ConTeXt's LuaTeX-plain with this). It finds personal files in
$HOME/texmf
. - ConTeXt LuaTeX-plain: Cannot get it to find non-system-installed fonts, or input files, in
$HOME/texmf
, or$TEXMF/tex/texmf-local
,$TEXMF/tex/texmf-projects
, or$TEXMF/tex/texmf-fonts
, even though these directories are referenced in the config file at$TEXMF/tex/texmf/web2c/texmf.cnf
, which I assumed filename resolving use. Must be missing something fundamental.
Which would be the easiest to fix? The math fonts in TL's LuaTeX plain, or resolving files and fonts in ConTeXt's LuaTeX-plain?
Before you jump to conclusions, these commands were run with every retry and moving of files (some of which may be redundant, but no way to know):
mktexlsr
mtxrun --script base --generate
luatools --generate
context --generate
luatools --self-update
context --self-update
mtxrun --script fonts --update --force
mtxrun --script fonts --udpate --simple
Furthermore, luatools --find-file
and mtxrun --locate
, find the files/fonts in question. kpsewhich/where
only finds it if they are in $HOME/texmf
. But using \input <filename>
, or \font\x = name:xxxx
, or \font\x = file:xxxx
, does not work when running luatex --fmt luatex-plain <filename>.tex
.
Any ideas? Tired / embarrassed spamming ConTeXt mailing list with fundamental newbie questions. Don't just want to hack it, also want to produce quality, albeit manually typeset, documents in the meantime, learning "from the ground up" in the process.
which luatex
will return either/usr/texbin/luatex
or/Users/xxx/ctx/tex/texmf-osx-64/bin/luatex
. No interference. I consider PDF, Unicode, PCs, RAM, GUIs, IDEs, XML "modern" conveniences since they did not exist during TeXbook's time in the abundance of today.mktexlsr
to update the database after making changes to, I think, the ConTeXt distribution. So is that distribution getting priority in terms ofPATH
? Whichcontext
etc.?