* Creating documents in a batch file
@ 2009-10-05 11:43 Wolfgang Miurth
2009-10-05 14:02 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Miurth @ 2009-10-05 11:43 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Creating documents in a batch file
2009-10-05 11:43 Creating documents in a batch file Wolfgang Miurth
@ 2009-10-05 14:02 ` Hans Hagen
2009-10-05 14:42 ` Wolfgang Miurth
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2009-10-05 14:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-05 14:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-05 11:43 Creating documents in a batch file Wolfgang Miurth
2009-10-05 14:02 ` Hans Hagen
2009-10-05 14:42 ` Wolfgang Miurth
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).