From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53270 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Creating documents in a batch file Date: Mon, 05 Oct 2009 16:02:15 +0200 Message-ID: <4AC9FC67.2090001@wxs.nl> References: <89942DF874A9461A97CDE7FDB5E860D6@rechenknecht> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254751375 1891 80.91.229.12 (5 Oct 2009 14:02:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2009 14:02:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 05 16:02:50 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1Muo9J-0004nM-Ok for gctc-ntg-context-518@m.gmane.org; Mon, 05 Oct 2009 16:02:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24925C9AB7; Mon, 5 Oct 2009 16:02:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id G+I02oSaVvJ7; Mon, 5 Oct 2009 16:02:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E8A75C9ABB; Mon, 5 Oct 2009 16:02:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32C46C9ABB for ; Mon, 5 Oct 2009 16:02:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WL444CS8+eqz for ; Mon, 5 Oct 2009 16:02:18 +0200 (CEST) Original-Received: from controller-9 (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 5AB6AC9AB7 for ; Mon, 5 Oct 2009 16:02:17 +0200 (CEST) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2a2) with ESMTP id 938-1713362 for ; Mon, 05 Oct 2009 16:02:06 +0200 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <89942DF874A9461A97CDE7FDB5E860D6@rechenknecht> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:53270 Archived-At: 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 ___________________________________________________________________________________