I hope this does not open another thread with the same name, but I did not find a way to respond directly within the archive--something else I am missing or will ntg find the reference? Here it goes... Thank you for response luigi. The story: OS = Windows7 professional I also have MikTeX installed which I use routinely for pdfLaTeX and METAPOST from TeXworks download context-setup-mswin.ziphttp://minimals.contextgarden.net/setup/context-setup-mswin.zip from the wiki unzip to C:\context run from shell C:\context>first-setup.bat --modules=all add to PATH C:\context\tex\texmf-mswin\bin\ run from shell C:\context>first-setup.bat --keep Then create tex file \starttext Hello world \stopptext in different location. Navigate shell to that location and >context firstfile.tex Result is message context: The Lua script is not registered. context: Data: context Aha! I tried moving firstfile.tex into C:\context and then run and it works, but takes 11.62 seconds--not so good. However, I still get Lua script not registered when I try to run from other file locations, which makes me think it is PATH problem that I will continue to chase but if anything looks obvious please help. --johnk
On 2-12-2011 23:42, John Kitzmiller wrote:
I hope this does not open another thread with the same name, but I did not find a way to respond directly within the archive--something else I am missing or will ntg find the reference? Here it goes...
Thank you for response luigi. The story:
OS = Windows7 professional I also have MikTeX installed which I use routinely for pdfLaTeX and METAPOST from TeXworks
download context-setup-mswin.ziphttp://minimals.contextgarden.net/setup/context-setup-mswin.zip from the wiki unzip to C:\context run from shell C:\context>first-setup.bat --modules=all add to PATH C:\context\tex\texmf-mswin\bin\ run from shell C:\context>first-setup.bat --keep
Then create tex file \starttext Hello world \stopptext in different location.
Navigate shell to that location and>context firstfile.tex
Result is message context: The Lua script is not registered. context: Data: context
Aha! I tried moving firstfile.tex into C:\context and then run and it works, but takes 11.62 seconds--not so good.
Each run? On my (over 5 years old) machine a Hello world takes less than a second.
However, I still get Lua script not registered when I try to run from other file locations, which makes me think it is PATH problem that I will continue to chase but if anything looks obvious please help.
Can you install the standalone distribution from the garden and see if that one works? 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 -----------------------------------------------------------------
On Fri, 2 Dec 2011, John Kitzmiller wrote:
I hope this does not open another thread with the same name, but I did not find a way to respond directly within the archive--something else I am missing or will ntg find the reference? Here it goes...
Thank you for response luigi. The story:
OS = Windows7 professional I also have MikTeX installed which I use routinely for pdfLaTeX and METAPOST from TeXworks
download context-setup-mswin.ziphttp://minimals.contextgarden.net/setup/context-setup-mswin.zip from the wiki unzip to C:\context run from shell C:\context>first-setup.bat --modules=all add to PATH C:\context\tex\texmf-mswin\bin\ run from shell C:\context>first-setup.bat --keep
Then create tex file \starttext Hello world \stopptext in different location.
Navigate shell to that location and >context firstfile.tex
Before you run "context filename" you need to run "C:\context\tex\setuptex.bat" to set all the paths. After that "context filename" should work fine. If you still get the "script not registered" error, then run "luatools --generate" after runing setuptex. Aditya
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
John Kitzmiller