From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66632 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Fwd: Personalizing a PDF generated with ConTeXt Date: Sat, 5 Mar 2011 12:25:30 +0100 Message-ID: References: <4D6D0EB6.7040702@elvenkind.com> <4D6D22A8.8070406@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1710655236==" X-Trace: dough.gmane.org 1299324356 29682 80.91.229.12 (5 Mar 2011 11:25:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 11:25:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 05 12:25:52 2011 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.69) (envelope-from ) id 1PvpcO-0007WE-48 for gctc-ntg-context-518@m.gmane.org; Sat, 05 Mar 2011 12:25:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5FD93CAA9B; Sat, 5 Mar 2011 12:25:51 +0100 (CET) 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 buJJ+tqsSSNb; Sat, 5 Mar 2011 12:25:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF8DACAA97; Sat, 5 Mar 2011 12:25:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 31855CAA97 for ; Sat, 5 Mar 2011 12:25:46 +0100 (CET) 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 YLaIKbVV6K08 for ; Sat, 5 Mar 2011 12:25:31 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id CDBD9CAA78 for ; Sat, 5 Mar 2011 12:25:31 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p25BPUQm020096 for ; Sat, 5 Mar 2011 12:25:31 +0100 Original-Received: by fxm5 with SMTP id 5so3871780fxm.14 for ; Sat, 05 Mar 2011 03:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=WDxabbSLsN1uFzzbne7VGanc/eh0xG0MFAYVSQDIzBg=; b=DiIlzpOXyDZD64N2tNLmBZDDwDgVumcLP9uhQbMPztHlc/RtstxH7bTn7NlsWngYQE tEOEeANoeHARVbqk++5m+C9qIrNdHhOlQ6fjuHTuI/6yPiV0tgp8/qRbwjczG7JcS5Jp jtrq97LuawEze0B6naljk0gNCE33MFV2KTNK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DJxHIPirAZ4tDatAm4CKc0L+rCDm+LTgKcLjUlVQDdiJWHCxYZgxXoXKTSyJvZNQZb zkrIJIaISll7OT0FmZ26sygISN7vsFuZoETvyTNYGOFQ3lQcrJRyEmXY0R82pSHrbUZD TqQhDwNGp5IcPkWdQBTZb+SuwfeP1jCElteZ8= Original-Received: by 10.223.146.65 with SMTP id g1mr2122334fav.44.1299324330256; Sat, 05 Mar 2011 03:25:30 -0800 (PST) Original-Received: by 10.223.10.4 with HTTP; Sat, 5 Mar 2011 03:25:30 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07EfnpuS4 - d10564cb2285 - 20110305 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:66632 Archived-At: --===============1710655236== Content-Type: multipart/alternative; boundary=0023547911b8272a38049dba85ec --0023547911b8272a38049dba85ec Content-Type: text/plain; charset=ISO-8859-1 Should have gone to the list instead of to Taco. ---------- Forwarded message ---------- From: Cecil Westerhof Date: 2011/3/5 Subject: Re: [NTG-context] Personalizing a PDF generated with ConTeXt To: Taco Hoekwater 2011/3/1 Taco Hoekwater > \setvariables and \getvariables sounds like the most general solution > > in that case. > > For example, you could put the various \setvariables statements in various > separate files and load a specific one from the context command line with > --environment=... > I tried it and it works. Only one thing: when the variables are not set (forgot the environment parameter, file not correctly set, ...) I would like to set default values. How would I do that? -- Cecil Westerhof -- Cecil Westerhof --0023547911b8272a38049dba85ec Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Should have gone to the list instead of to Taco.

---------- Forwarded message ----------
From: Cecil Westerhof <cldwesterhof@gmail.com>
Date: 2011/3/5
Subject: Re: [NTG-context] Personalizing a PDF generated = with ConTeXt
To: Taco Hoekwater <taco@elvenkind.com>


2011/3/1 Taco Hoekwater <taco@elvenkind.com>
\setvariables and \getvariables sounds like the most general solution

in that case.

For example, you could put the various \setvariables statements in various = separate files and load a specific one from the context command line with -= -environment=3D...
=A0
I tried it and= it works. Only one thing: when the variables are not set (forgot the envir= onment parameter, file not correctly set, ...) I would like to set default = values. How would I do that?
=A0
--
Cecil Westerhof



--
Cecil Westerhof
--0023547911b8272a38049dba85ec-- --===============1710655236== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1710655236==--