ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Miurth" <context@wmsmt.com>
To: <ntg-context@ntg.nl>
Subject: Creating documents in a batch file
Date: Mon, 5 Oct 2009 13:43:31 +0200	[thread overview]
Message-ID: <89942DF874A9461A97CDE7FDB5E860D6@rechenknecht> (raw)



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
___________________________________________________________________________________


             reply	other threads:[~2009-10-05 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-05 11:43 Wolfgang Miurth [this message]
2009-10-05 14:02 ` Hans Hagen
2009-10-05 14:42   ` Wolfgang Miurth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89942DF874A9461A97CDE7FDB5E860D6@rechenknecht \
    --to=context@wmsmt.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).