From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53265 Path: news.gmane.org!not-for-mail From: "Wolfgang Miurth" Newsgroups: gmane.comp.tex.context Subject: Creating documents in a batch file Date: Mon, 5 Oct 2009 13:43:31 +0200 Message-ID: <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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254743032 4911 80.91.229.12 (5 Oct 2009 11:43:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2009 11:43:52 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 05 13:43:48 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 1Mulym-0005Lq-61 for gctc-ntg-context-518@m.gmane.org; Mon, 05 Oct 2009 13:43:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E295C9B03; Mon, 5 Oct 2009 13:43:47 +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 w6fQEtKVjaLW; Mon, 5 Oct 2009 13:43:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1747C9AC7; Mon, 5 Oct 2009 13:43:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6576C9AC7 for ; Mon, 5 Oct 2009 13:43:41 +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 hOpxEWREr0Kk for ; Mon, 5 Oct 2009 13:43:38 +0200 (CEST) Original-Received: from mx03.kabsi.at (mx03.kabsi.at [195.202.128.130]) by balder.ntg.nl (Postfix) with ESMTP id C0277C9AB7 for ; Mon, 5 Oct 2009 13:43:37 +0200 (CEST) Original-Received: from wmsmt.com (h062040168157.moe.cm.kabsi.at [62.40.168.157]) by mx03.kabsi.at (8.13.8/8.13.8) with SMTP id n95BhakN023512 for ; Mon, 5 Oct 2009 13:43:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by wmsmt.com (The New Lupemail, Fighting agains SPAM) with ESMTP id 64A18D56120 for ; Mon, 5 Oct 2009 13:47:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at Original-Received: from wmsmt.com ([127.0.0.1]) by localhost (herbst.wmsmt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n1EvEyEYrT-V for ; Mon, 5 Oct 2009 13:47:53 +0200 (CEST) Original-Received: from rechenknecht (unknown [192.168.3.80]) by wmsmt.com (The New Lupemail, Fighting agains SPAM) with ESMTP id BE7E5D5611D for ; Mon, 5 Oct 2009 13:47:53 +0200 (CEST) X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpFsQ+4Bcmhc9ccQMi0fLMOFoURmg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 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:53265 Archived-At: 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 ___________________________________________________________________________________