Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following... $ context Source/Handbook.tex --result=Handbook.pdf ...it says that it ran the following... luatex --fmt="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en" --lua="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui" --backend="pdf" "Handbook.tex" If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 6-12-2011 04:27, Kip Warner wrote:
Hey list,
I've searched the list, but couldn't seem to dig up anything that I thought was relevant.
How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following...
$ context Source/Handbook.tex --result=Handbook.pdf
....it says that it ran the following...
luatex --fmt="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en" --lua="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui" --backend="pdf" "Handbook.tex"
If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved.
what temporary files? ----------------------------------------------------------------- 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, 2011-12-09 at 18:39 +0100, Hans Hagen wrote:
On 6-12-2011 04:27, Kip Warner wrote:
Hey list,
I've searched the list, but couldn't seem to dig up anything that I thought was relevant.
How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following...
$ context Source/Handbook.tex --result=Handbook.pdf
....it says that it ran the following...
luatex --fmt="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en" --lua="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui" --backend="pdf" "Handbook.tex"
If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved.
what temporary files?
The ones luatex needs to access as you can see in the above command it executes as invoked by ConTeXt. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 9-12-2011 20:19, Kip Warner wrote:
On Fri, 2011-12-09 at 18:39 +0100, Hans Hagen wrote:
On 6-12-2011 04:27, Kip Warner wrote:
Hey list,
I've searched the list, but couldn't seem to dig up anything that I thought was relevant.
How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following...
$ context Source/Handbook.tex --result=Handbook.pdf
....it says that it ran the following...
luatex --fmt="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en" --lua="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui" --backend="pdf" "Handbook.tex"
If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved.
what temporary files?
The ones luatex needs to access as you can see in the above command it executes as invoked by ConTeXt.
I only see cont-en.fmt : format file, sits in the cache and stays there cont-en.lui : lua startup stub, idem handbook.tex : your file, is kept where it is 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, 2011-12-09 at 20:26 +0100, Hans Hagen wrote:
I only see
cont-en.fmt : format file, sits in the cache and stays there cont-en.lui : lua startup stub, idem
handbook.tex : your file, is kept where it is
Hans
Then I am not sure what file it is missing then since all of those files exist. $ ls -s /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.fmt /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui Source/Handbook.tex 7868 /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.fmt 32 /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui 32 Source/Handbook.tex Here is the full console output: $ luatex --file-line-error --interaction=batchmode --fmt="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.fmt" --lua="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui" --backend="pdf" "Source/Handbook.tex" This is LuaTeX, Version beta-0.71.0-2011112616 (rev 4358) \write18 enabled. This went wrong: cannot open : No such file or directory system > Handbook.top loaded fonts > latin modern fonts are not preloaded languages > language en is active fonts > preloading latin modern fonts (second stage) fonts > preloading latin modern fonts (third stage) Clearly the message is ambiguous since I am not sure which file it is referring to. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 13-12-2011 04:45, Kip Warner wrote:
On Fri, 2011-12-09 at 20:26 +0100, Hans Hagen wrote:
I only see
cont-en.fmt : format file, sits in the cache and stays there cont-en.lui : lua startup stub, idem
handbook.tex : your file, is kept where it is
Hans
Then I am not sure what file it is missing then since all of those files exist.
$ ls -s /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.fmt /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui Source/Handbook.tex 7868 /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.fmt
32 /home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui 32 Source/Handbook.tex
Here is the full console output:
$ luatex --file-line-error --interaction=batchmode --fmt="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.fmt" --lua="/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui" --backend="pdf" "Source/Handbook.tex" This is LuaTeX, Version beta-0.71.0-2011112616 (rev 4358) \write18 enabled. This went wrong: cannot open : No such file or directory system> Handbook.top loaded
fonts> latin modern fonts are not preloaded languages> language en is active fonts> preloading latin modern fonts (second stage) fonts> preloading latin modern fonts (third stage)
Clearly the message is ambiguous since I am not sure which file it is referring to.
it seems to run anyway maybe the file-line-error is doing something 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 Tue, 2011-12-13 at 10:15 +0100, Hans Hagen wrote:
it seems to run anyway
maybe the file-line-error is doing something
Hans
I tried it already without --file-line-error and its the same console output. =( -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 13-12-2011 19:25, Kip Warner wrote:
On Tue, 2011-12-13 at 10:15 +0100, Hans Hagen wrote:
it seems to run anyway
maybe the file-line-error is doing something
Hans
I tried it already without --file-line-error and its the same console output. =(
I can run the direct command here, not that I ever do it as the context command does some housekeeping and passes commandline info via the top file. There is hardly any gain in running luatex directly. 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 Tue, 2011-12-13 at 23:51 +0100, Hans Hagen wrote:
I can run the direct command here, not that I ever do it as the context command does some housekeeping and passes commandline info via the top file. There is hardly any gain in running luatex directly.
Hey Hans. I understand, but I need to be able to run luatex directly in the same way ConTeXt is invoking it. The reason being is Mojca and I want to get a stack trace for an issue that popped up executing on mipsel64 hardware. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
participants (2)
-
Hans Hagen
-
Kip Warner