Re: [NTG-context] Creating documents in a batch file

2009-10-05 Thread Wolfgang Miurth


Hi Hans,

>put call in front:
>call mtxrun.cmd 
>or run:
>mtxrun.cmd --autogenerate --script context --batch --pdf student_*.tex

Thank you. Both version work. The problem was obviously between chair and 
keybord.

With greetings from Austria

Wolfgang Murth

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Creating documents in a batch file

2009-10-05 Thread Hans Hagen

Wolfgang Miurth wrote:


Hi,

I tried to find out how to create pdf files from multiple sources in a batch file, but I 
could not find a solution. Always after the first document the batch files ends and no 
further documents are created. 


My Windows batch file looked like this (Every student has his own pdf file):


setlocal enabledelayedexpansion
call C:\Programme\context\tex\setuptex.bat  C:\Programme\context
mtxrun.cmd --autogenerate --script context --batch --pdf student_1.tex
mtxrun.cmd --autogenerate --script context --batch --pdf student_2.tex
mtxrun.cmd --autogenerate --script context --batch --pdf student_3.tex
mtxrun.cmd --autogenerate --script context --batch --pdf student_4.tex


I also tried texexec but without success.

What am I doing wrong and how can I fix this? Thanks for your help.


put call in front:

call mtxrun.cmd 

or run:

mtxrun.cmd --autogenerate --script context --batch --pdf student_*.tex

-
  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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Creating documents in a batch file

2009-10-05 Thread Wolfgang Miurth


Hi,

I tried to find out how to create pdf files from multiple sources in a batch 
file, but I 
could not find a solution. Always after the first document the batch files ends 
and no 
further documents are created. 

My Windows batch file looked like this (Every student has his own pdf file):

>setlocal enabledelayedexpansion
>call C:\Programme\context\tex\setuptex.bat  C:\Programme\context
>mtxrun.cmd --autogenerate --script context --batch --pdf student_1.tex
>mtxrun.cmd --autogenerate --script context --batch --pdf student_2.tex
>mtxrun.cmd --autogenerate --script context --batch --pdf student_3.tex
>mtxrun.cmd --autogenerate --script context --batch --pdf student_4.tex

I also tried texexec but without success.

What am I doing wrong and how can I fix this? Thanks for your help.

Wolfgang Murth

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___