[NTG-context] use plain LuaTeX in ConTeXt standalone

Tim Li timli2013 at outlook.com
Sat Apr 20 12:21:49 CEST 2013

Marco, many thanks. By the way, how can I load the `luatex-plain.fmt` by default when typing "luatex somefile.tex"?   
 Date: Sat, 20 Apr 2013 12:05:25 +0200
From: homerow at lavabit.com
To: ntg-context at ntg.nl
Subject: Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

On 2013¨C04¨C20 Tim Li wrote:
> Hi, many context users are also luatex user, and the context standalone also contains luatex binary (windows). I input the 'luatex' in the cmd, but it can't work. The message is as follows: d:\>luatex
> luatex
> This is LuaTeX, Version beta-0.77.0-2013041621 (rev 4633) 
>  \write18 enabled.
> **\relax
> I can't find the format file `luatex.fmt'!kpathsea: Running mktexfmt luatex.fmtThe command name is D:\context\tex\texmf-mswin\bin\mktexfmt Since there is not mktexfmt in the context standalone, is that mean I can't use plain luatex in the context standalone?  		 	   		  
1) Create a file ¡°luatex-plain.tex¡± with the following context:
\input plain
\directlua {tex.enableprimitives('', tex.extraprimitives())}
\everyjob \expandafter {%
    \input luatex-basics\relax
    \input luatex-fonts\relax
    \input luatex-mplib\relax
2) Build the format:
  luatex --ini luatex-plain.tex
3) Compile with:
  luatex --fmt=luatex-plain.fmt somefile.tex

If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130420/427bc3bd/attachment.html>

More information about the ntg-context mailing list