From: Jin-Hwan Cho <chofchof@ktug.or.kr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Struggling with luatools and MacTeX
Date: Mon, 26 May 2008 08:08:30 +0900 [thread overview]
Message-ID: <821D2E8E-8D03-48C8-AC16-39CBB847DC20@ktug.or.kr> (raw)
For the first step to luatex, I tried to use luatools as written in
Hans Hagen's MK manual.
1. Compiled a recent luatex and it was put in "/usr/texbin/luatex" and
linked to "/usr/texbin/texlua".
2. Downloaded the current beta and construct my "$HOME/share/texmf-
context".
Of course, the line in /usr/local/texlive/2007/texmf/web2c/
texmf.cnf was changed as follows.
TEXMFHOME=$HOME/share/texmf-hyperref;$HOME/share/texmf-lm;$HOME/share/
texmf-context
3. Made a new "/usr/texbin/luatools" to use luatools.lua directly. The
contents of the file was
#!/bin/sh
export SELFAUTOLOC=/usr/local/texlive/2007/bin
export SELFAUTODIR=/usr/local/texlive/2007
export SELFAUTOPARENT=/usr/local/texlive/2007
export TEXMFCACHE="$HOME/share"
texlua "$HOME/share/texmf-context/scripts/context/lua/luatools.lua" "$@"
4. Finally tried "luatools --generate" and it seemed that everything
went smoothly.
But I found that luatools did not cache the $TEXMFHOME directories
because
it consisted of more than one TEXMF directories. It's not a bug
but here is a patch
to solve this problem.
--- luatools.lua 2008-05-26 07:36:20.000000000 +0900
+++ luatools.lua.new 2008-05-26 07:59:17.000000000 +0900
@@ -3811,7 +3811,7 @@
return { }
else
local t = { }
- for _,v in ipairs(string.splitchr(str:gsub("^\{(.+)\}
$","%1"),",")) do
+ for _,v in ipairs(string.splitchr(str:gsub("^\{(.+)\}
$","%1"):gsub(";",","),",")) do
t[#t+1] = (v:gsub("^[%!]*(.+)[%/\\]*$","%1"))
end
return t
5. Now tried "luatools cmr10.tfm" but no anwer. However "luatools
cmr10.tfm*" showed
the proper answer. It seems that this problem is related to the
behavior of
"luatools --ini plain" which says "LuaTools | no tex file with
name plain.tex".
Is there something what I missed?
Best regards, ChoF.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2008-05-25 23:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-25 23:08 Jin-Hwan Cho [this message]
2008-05-26 8:58 ` Hans Hagen
2008-05-26 22:00 ` Jin-Hwan Cho
2008-05-27 7:35 ` Hans Hagen
2008-05-27 8:21 ` Taco Hoekwater
2008-05-27 9:17 ` Jin-Hwan Cho
2008-05-27 9:49 ` Hans Hagen
2008-05-27 14:17 ` Jin-Hwan Cho
2008-05-27 14:23 ` Hans Hagen
2008-05-27 21:37 ` Jin-Hwan Cho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=821D2E8E-8D03-48C8-AC16-39CBB847DC20@ktug.or.kr \
--to=chofchof@ktug.or.kr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).