ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Preserving Output Files
@ 2011-12-06  3:27 Kip Warner
  2011-12-09 17:39 ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Kip Warner @ 2011-12-06  3:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 950 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-06  3:27 Preserving Output Files Kip Warner
@ 2011-12-09 17:39 ` Hans Hagen
  2011-12-09 19:19   ` Kip Warner
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2011-12-09 17:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Kip Warner

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-09 17:39 ` Hans Hagen
@ 2011-12-09 19:19   ` Kip Warner
  2011-12-09 19:26     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Kip Warner @ 2011-12-09 19:19 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1256 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-09 19:19   ` Kip Warner
@ 2011-12-09 19:26     ` Hans Hagen
  2011-12-13  3:45       ` Kip Warner
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2011-12-09 19:26 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-09 19:26     ` Hans Hagen
@ 2011-12-13  3:45       ` Kip Warner
  2011-12-13  9:15         ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Kip Warner @ 2011-12-13  3:45 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users, Mojca Miklavec


[-- Attachment #1.1: Type: text/plain, Size: 1713 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-13  3:45       ` Kip Warner
@ 2011-12-13  9:15         ` Hans Hagen
  2011-12-13 18:25           ` Kip Warner
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2011-12-13  9:15 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users, Mojca Miklavec

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-13  9:15         ` Hans Hagen
@ 2011-12-13 18:25           ` Kip Warner
  2011-12-13 22:51             ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Kip Warner @ 2011-12-13 18:25 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users, Mojca Miklavec


[-- Attachment #1.1: Type: text/plain, Size: 337 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-13 18:25           ` Kip Warner
@ 2011-12-13 22:51             ` Hans Hagen
  2011-12-14  0:58               ` Kip Warner
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2011-12-13 22:51 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users, Mojca Miklavec

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Preserving Output Files
  2011-12-13 22:51             ` Hans Hagen
@ 2011-12-14  0:58               ` Kip Warner
  0 siblings, 0 replies; 9+ messages in thread
From: Kip Warner @ 2011-12-14  0:58 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users, Mojca Miklavec


[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-12-14  0:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06  3:27 Preserving Output Files Kip Warner
2011-12-09 17:39 ` Hans Hagen
2011-12-09 19:19   ` Kip Warner
2011-12-09 19:26     ` Hans Hagen
2011-12-13  3:45       ` Kip Warner
2011-12-13  9:15         ` Hans Hagen
2011-12-13 18:25           ` Kip Warner
2011-12-13 22:51             ` Hans Hagen
2011-12-14  0:58               ` Kip Warner

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).