Re: [dev-context] --passon won't pass on two arguments to pdftex
Hans suggested:
Giving two passon options also doesn't work, at least not that I could find. you can run with --verbose to see what is passed
Good idea. Indeed, only one the first option is passed to pdftex: $ texexec --verbose --nonstopmode --pdf \ --passon="-file-line-error -recorder" a.tex | grep 'running.*pdftex' TeXExec | running: pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx -file-line-error --8bit a.tex \emergencyend -Sanjoy `A nation of slaves is always prepared to applaud the clemency of their master who, in the abuse of absolute power, does not proceed to the last extremes of injustice and oppression.' (Gibbon)
Sanjoy Mahajan wrote:
Hans suggested:
Giving two passon options also doesn't work, at least not that I could find.
you can run with --verbose to see what is passed
Good idea. Indeed, only one the first option is passed to pdftex:
$ texexec --verbose --nonstopmode --pdf \ --passon="-file-line-error -recorder" a.tex | grep 'running.*pdftex'
TeXExec | running: pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx -file-line-error --8bit a.tex \emergencyend
I remember fixing something ...
texexec --verbose --pass="-file-line-error -recorder" test TeXExec | processing document 'test' TeXExec | using search method 'kpsewhich' TeXExec | no ctx file found TeXExec | using search method 'kpsewhich' TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file test.top TeXExec | using randomseed 469 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en TeXExec | fixing backend map path for pdftex TeXExec | running: pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx -file-line-error -recorder --8bit t est.tex \emergencyend This is pdfTeXk, Version 3.141592-1.40.1 (Web2C 7.5.6)
works here, so do ou use the latest texexec? if not i can send you a tex.rb file (puzzled by the pdfTeXK name ...) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
TeXExec | running: pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx -file-line-error --8bit a.tex \emergencyend
I remember fixing something ...
I had used the 2007.01.23 13:32 tree with texexec 6.2.0, and I just retested using the current current http://www.pragma-ade.com/context/latest/cont-tmf.zip (it is also 2007.01.23, and gave the same results).
works here, so do you use the latest texexec? if not i can send you a tex.rb file
Do send the tex.rb. Maybe the fix hasn't made it into the distribution or it is in a beta version (which I'm happy to download and try)? -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien)
This is pdfTeXk, Version 3.141592-1.40.1 (Web2C 7.5.6) puzzled by the pdfTeXK name
Me too. It just started happening here as well, even though running pdftex gives only 'This is pdftex'. I'm not sure what the cause is. Meanwhile on the --passon: No luck even with the tex.rb that you sent me offlist. Here's the results in testing tree: $ TEXMFVAR=$PWD texexec --verbose --nonstopmode --passon="-file-line-error -recorder" /tmp/a.tex /tmp/2/scripts/context/ruby/texmfstart.rb:1838: warning: Insecure world writable dir /tmp, mode 041777 TeXExec | processing document '/tmp/a.tex' TeXExec | using search method 'kpsewhich' ... TeXExec | running: pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx -file-line-error --8bit /tmp/a.tex \emergencyend This is pdfTeXk, Version 3.141592-1.40.0 (Web2C 7.5.6) \write18 enabled. file:line:error style messages enabled. So no -recorder option or a.fls file. Using the usual scripts gives me the same result: $ texexec --verbose --nonstopmode --passon="-file-line-error -recorder" /tmp/a.tex /usr/share/texmf/scripts/context/ruby/texmfstart.rb:1838: warning: Insecure world writable dir /tmp, mode 041777 /usr/share/texmf/scripts/context/ruby/base/system.rb:16: warning: Insecure world writable dir /tmp, mode 041777 TeXExec | processing document '/tmp/a.tex' TeXExec | using search method 'kpsewhich' ... TeXExec | running: pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx -file-line-error --8bit /tmp/a.tex \emergencyend This is pdfTeXk, Version 3.141592-1.40.0 (Web2C 7.5.6) \write18 enabled. file:line:error style messages enabled. The diff doesn't have any changes that might fix --passon, so maybe the fix lives in another .rb file? $ find /usr/share/texmf/ . -name tex.rb | xargs diff -u --- /usr/share/texmf/scripts/context/ruby/base/tex.rb 2007-01-22 08:04:35.000000000 -0500 +++ ./scripts/context/ruby/base/tex.rb 2007-02-06 08:59:02.000000000 -0500 @@ -671,6 +671,7 @@ else report("unable to make format due to lack of permissions") texformatpath = '' + setvariable('error','no permissions to write') end else texformatpath = '' @@ -1103,8 +1104,10 @@ end rescue TimeoutError report("job aborted due to timeout '#{delay}'") + setvariable('error','timeout') rescue report("job aborted due to error") + setvariable('error','fatal error') else report("job finished within timeout '#{delay}'") end -Sanjoy `A nation of slaves is always prepared to applaud the clemency of their master who, in the abuse of absolute power, does not proceed to the last extremes of injustice and oppression.' (Gibbon)
participants (2)
-
Hans Hagen
-
Sanjoy Mahajan