Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
Hi Hans, Currently mtxrun --script font --reload --simple creates luatex-fonts-names.lua, the font list/database for Plain LuaTeX; and mtxrun --script font --reload creates names.tma and names.tmc, the font list for ConTeXt. Perhaps it makes sense if mtxrun --script font --reload always creates all font lists? That way users of Plain LuaTeX could never run into 'oh damn, I forgot to create the font database' — things would go right automatically. And the --simple flag would no longer be needed. Does that make sense, or am I overlooking some complexity? Cheers, Sietse ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
On 2013–04–20 Hans Hagen wrote: On 4/20/2013 12:43 PM, Tim Li wrote: Yeah, I found that just now, so I changed luatex-plain.fmt to luatex.fmt. I try to move the new luatex.fmt to some directory in the ConTeXt standalone, but it seems that the kpathsea can't find my luatex.fmt. I'll add this mtxrun --script plain --make Doesn't work here: ..beta/tex/texmf-context/scripts/context/lua/mtx-plain.lua:61: attempt to get length of local 'fmtpathspec' (a nil value) Marco signature.asc Description: Digital signature ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
On 4/27/2013 3:22 PM, Marco Patzer wrote: On 2013–04–20 Hans Hagen wrote: On 4/20/2013 12:43 PM, Tim Li wrote: Yeah, I found that just now, so I changed luatex-plain.fmt to luatex.fmt. I try to move the new luatex.fmt to some directory in the ConTeXt standalone, but it seems that the kpathsea can't find my luatex.fmt. I'll add this mtxrun --script plain --make Doesn't work here: ..beta/tex/texmf-context/scripts/context/lua/mtx-plain.lua:61: attempt to get length of local 'fmtpathspec' (a nil value) ok. new upload ... (btw, the name database, when used, is not first looked for in the cache, something that mtxrun --script font --reload --simple takes care of) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] use plain LuaTeX in ConTeXt standalone
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?___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
On 2013–04–20 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())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump 2) Build the format: luatex --ini luatex-plain.tex 3) Compile with: luatex --fmt=luatex-plain.fmt somefile.tex Marco signature.asc Description: Digital signature ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
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: home...@lavabit.com To: ntg-context@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())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump 2) Build the format: luatex --ini luatex-plain.tex 3) Compile with: luatex --fmt=luatex-plain.fmt somefile.tex Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
On 2013–04–20 Tim Li wrote: Marco, many thanks. By the way, how can I load the `luatex-plain.fmt` by default when typing luatex somefile.tex? TeX checks for a format which is named the same as the binary. You can create a link: ln -s /path/to/binary/luatex luatex-plain and then call luatex-plain somefile.tex and it'll use the format “luatex-plain”. Marco signature.asc Description: Digital signature ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
On 4/20/2013 12:05 PM, Marco Patzer wrote: On 2013–04–20 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())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump there is a luatex-plain.tex in the context distribution Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
Yeah, I found that just now, so I changed luatex-plain.fmt to luatex.fmt. I try to move the new luatex.fmt to some directory in the ConTeXt standalone, but it seems that the kpathsea can't find my luatex.fmt. Tim Date: Sat, 20 Apr 2013 12:37:19 +0200 From: home...@lavabit.com To: ntg-context@ntg.nl Subject: Re: [NTG-context] use plain LuaTeX in ConTeXt standalone On 2013�C04�C20 Tim Li wrote: Marco, many thanks. By the way, how can I load the `luatex-plain.fmt` by default when typing luatex somefile.tex? TeX checks for a format which is named the same as the binary. You can create a link: ln -s /path/to/binary/luatex luatex-plain and then call luatex-plain somefile.tex and it'll use the format “luatex-plain”. Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
On 2013–04–20 Hans Hagen wrote: 1) Create a file “luatex-plain.tex” with the following context: \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump there is a luatex-plain.tex in the context distribution Indeed. That's probably where I got the snippet from. @Tim: That means running luatex --ini luatex-plain.tex is sufficient. Marco signature.asc Description: Digital signature ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] use plain LuaTeX in ConTeXt standalone
On 4/20/2013 12:43 PM, Tim Li wrote: Yeah, I found that just now, so I changed luatex-plain.fmt to luatex.fmt. I try to move the new luatex.fmt to some directory in the ConTeXt standalone, but it seems that the kpathsea can't find my luatex.fmt. I'll add this mtxrun --script plain --make mtxrun --script plain somefile.tex on windows: copy context.exe to plain.exe to get a stub, after that you can do just plain --make plain somefile.tex --jit is also supported (I will probably add some more plain support i.e. mess abit with luatexfication of plain some day. Not that I use it myself, more for testing issues.) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___