From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9732 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Passing a string via texexec Date: Wed, 6 Nov 2002 10:36:01 -0500 Organization: WexfordPress Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200211061036.01991.john@wexfordpress.com> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1036596956 11866 80.91.224.249 (6 Nov 2002 15:35:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 15:35:56 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189SDh-000355-00 for ; Wed, 06 Nov 2002 16:35:54 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C4F0B10AF4; Wed, 6 Nov 2002 16:37:21 +0100 (MET) Original-Received: from smtprelay8.dc2.adelphia.net (smtprelay8.dc2.adelphia.net [64.8.50.40]) by ref.ntg.nl (Postfix) with ESMTP id E2C3510AE6 for ; Wed, 6 Nov 2002 16:36:52 +0100 (MET) Original-Received: from publish ([68.65.115.54]) by smtprelay8.dc2.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id H55VD702.FCI for ; Wed, 6 Nov 2002 10:36:43 -0500 Original-To: Context X-Mailer: KMail [version 1.4] Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9732 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9732 This is more of a convenience feature than a necessity, but here goes.=20 I plan to personalize copies of an ebook in pdf format by putting the string: "This copy prepared for Joe Smith" on the page, perhaps in a footer. This means I have to recompile the book for each separate customer. It would save a minute if I could just pass a named string to pdfetex in the same way one passes a mode to the program. I am looking for something like: texexec --mode=3Debook --string=3D"Joe Smith" mybook.tex =2E..and then have a way to pick up that string in the TeX file and use it.=20 All this does is save me from editing the file in every instance. If it is too big a deal forget it.=20 --=20 John Culleton Able Indexers and Typesetters, Rowse Reviews, Culleton Editorial=20 Services http://wexfordpress.com