ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* options for luatex
@ 2010-11-03 14:16 Marius
  2010-11-03 20:50 ` Marius
  0 siblings, 1 reply; 4+ messages in thread
From: Marius @ 2010-11-03 14:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

how do I pass an option for luatex?

I need something like this:

context --nonstopmode --file-line-error --halt-on-error
--output-directory=tmp file.tex

Thanks,
Marius
___________________________________________________________________________________
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] 4+ messages in thread

* Re: options for luatex
  2010-11-03 14:16 options for luatex Marius
@ 2010-11-03 20:50 ` Marius
  2010-11-03 21:16   ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Marius @ 2010-11-03 20:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

Here is a patch. I can now pass whatever I want for luatex. But looks
like luatex ignores: --file-line-error, --halt-on-error and
--output-directory=tmp options. Is this by intention or just a missing
functionality?

On 3 November 2010 16:16, Marius <mariausol@gmail.com> wrote:
> Hello,
>
> how do I pass an option for luatex?
>
> I need something like this:
>
> context --nonstopmode --file-line-error --halt-on-error
> --output-directory=tmp file.tex
>
> Thanks,
> Marius
>

[-- Attachment #2: luatex.diff --]
[-- Type: text/x-patch, Size: 244 bytes --]

805a806,808
>                         if environment.argument("luatex") then
>                             flags[#flags+1] = environment.argument("luatex")
>                         end
1471a1475
> --luatex=list         pass options for luatex

[-- Attachment #3: Type: text/plain, Size: 486 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] 4+ messages in thread

* Re: options for luatex
  2010-11-03 20:50 ` Marius
@ 2010-11-03 21:16   ` Aditya Mahajan
  2010-11-03 22:25     ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2010-11-03 21:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 3 Nov 2010, Marius wrote:

> Here is a patch. I can now pass whatever I want for luatex.

Your patch overrides the default behavour of --luatex. Also, it will look 
funny if I use context (the wrapper script) with pdftex engine:

    context --pdftex --luatex=--file-line-error ....

Texexec uses the option --passon for passing on options to the engine. 
Maybe that is a better keyword than --luatex.

> But looks like luatex ignores: --file-line-error, --halt-on-error and 
> --output-directory=tmp options. Is this by intention or just a missing 
> functionality?

No idea.

Aditya
___________________________________________________________________________________
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] 4+ messages in thread

* Re: options for luatex
  2010-11-03 21:16   ` Aditya Mahajan
@ 2010-11-03 22:25     ` Taco Hoekwater
  0 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2010-11-03 22:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/03/2010 10:16 PM, Aditya Mahajan wrote:
>
>> But looks like luatex ignores: --file-line-error, --halt-on-error and
>> --output-directory=tmp options. Is this by intention or just a missing
>> functionality?

Possibly because context's lua startup file either overrules or ignores
these settings. Luatex's start up sequence is a quite a lot different
from pdftex's, see the luatex reference manual for details.

Best wishes,
Taco
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2010-11-03 22:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-03 14:16 options for luatex Marius
2010-11-03 20:50 ` Marius
2010-11-03 21:16   ` Aditya Mahajan
2010-11-03 22:25     ` Taco Hoekwater

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