From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9735 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Passing a string via texexec Date: Wed, 06 Nov 2002 18:21:11 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <5.1.0.14.1.20021106182016.00ad6748@server-1> References: <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"; format=flowed X-Trace: main.gmane.org 1036610937 26887 80.91.224.249 (6 Nov 2002 19:28:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 19:28:57 +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 189VrD-0006zN-00 for ; Wed, 06 Nov 2002 20:28:55 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 800A410AF4; Wed, 6 Nov 2002 20:30:23 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 052C910AE6 for ; Wed, 6 Nov 2002 20:29:54 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gA6JLxJ2026889 for ; Wed, 6 Nov 2002 20:22:01 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gA6JTmgk017953 for ; Wed, 6 Nov 2002 20:29:49 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ref.vet.uu.nl In-Reply-To: <200211061036.01991.john@wexfordpress.com> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) 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:9735 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9735 At 10:36 AM 11/6/2002 -0500, you wrote: >This is more of a convenience feature than a necessity, but here goes. > >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=ebook --string="Joe Smith" mybook.tex > >...and then have a way to pick up that string in the TeX file and use >it. > >All this does is save me from editing the file in every instance. If >it is too big a deal forget it. in your tex file: \message{\envvar{test}{it does not work}}\wait combined with texexec --arguments="test=it works" test so, it's there -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------