From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93355 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: TeX markup in \setupinteraction for PDF metadata fields Date: Sun, 17 Jan 2016 20:09:56 +0100 Message-ID: <569BE704.2020806@gmail.com> References: <569BC8BD.3000708@gmail.com> <569BDD13.3020306@gmail.com> <20160117115549.494db3a5@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6699284822094472358==" X-Trace: ger.gmane.org 1453057876 12491 80.91.229.3 (17 Jan 2016 19:11:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jan 2016 19:11:16 +0000 (UTC) Cc: mailing list for ConTeXt users To: Alan BRASLAU Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 17 20:11:04 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aKsj5-00009c-7v for gctc-ntg-context-518@m.gmane.org; Sun, 17 Jan 2016 20:10:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8D3056191; Sun, 17 Jan 2016 20:10:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41b5DoL9Duif; Sun, 17 Jan 2016 20:10:11 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 952A4615C; Sun, 17 Jan 2016 20:10:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5F167615C for ; Sun, 17 Jan 2016 20:10:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k2GXrefRnx0Q for ; Sun, 17 Jan 2016 20:10:09 +0100 (CET) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E0A3A613E for ; Sun, 17 Jan 2016 20:09:59 +0100 (CET) Original-Received: by mail-wm0-f42.google.com with SMTP id n5so34553525wmn.0 for ; Sun, 17 Jan 2016 11:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=Q6BLon25ZldrZF2oHkUx4kPJKqkwKAzsSPxJGFpt3Qs=; b=enkqYVg6cNwjw74n+pYSVPVL+vtgsFx06GIGr87hHMX05Z3T3CbtTEyYKs7fLCmMK5 iQrIw86tBUHhXWOLhz7yLmVLHRokWuZbFMTf73+G5Msji1pVbwPO1aCqlwaTX5/NhiC2 HiplO/5xqSBfp/NYlJGj8OSjk9q7daInWaMZRJjafKtjbTmbG+S9UcQitLd6xHdu7BBf GK3WS4ja+9oa+84eZqSVxYF6Tu5qP++h5nzGk1EguErGPGGRq0AXITYVzB6cG7981GVV j2U4JHovj9CqMwVSiAOUQvmcUoHVr43liJ/LKs6v+mWh9WG+uA2vVHLWU86sNrlGDCIY v/2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=Q6BLon25ZldrZF2oHkUx4kPJKqkwKAzsSPxJGFpt3Qs=; b=Ok0hrjor4W/+RAMsmh+oFWtSwZKcIcChLRLnusdKuNHAJ/ni4338WZog8GhgyowasS aDv11TMW/FK9BRZS32tl0PRQ8K0nxRY4eNbaEBOEXU+AT7RxSAyUaQtk0sHTg2mGcGyY BV2FqD/cKMmTOpqjyxvfrVdLFVbvLux2KQD0Ryujy72j4qRDoxKfWIHrkNaiSp6Ip3nS FkFAvoKzBCJiPB0bU3FQUSMK6T9qpXlJeUh5IbA1/oR7w7UWf+ObKaFBLExYJtYtRi47 nOcIUPuLhoe7Nodt3zHVIJrrglfLi86br2bhJS0HaRTZfvt4KXd2tWUWuZGfj57O59uF 97ew== X-Gm-Message-State: AG10YOQueKtBObFDw5rW6H3/a6yulqR/kM2wKbc073ek50kpIAoT9Kn0CVdQUt02Y0zMrA== X-Received: by 10.28.146.145 with SMTP id u139mr8916623wmd.81.1453057799709; Sun, 17 Jan 2016 11:09:59 -0800 (PST) Original-Received: from keima.localdomain (x2f29812.dyn.telefonica.de. [2.242.152.18]) by smtp.gmail.com with ESMTPSA id 73sm12336373wmm.7.2016.01.17.11.09.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jan 2016 11:09:59 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <20160117115549.494db3a5@cea.fr> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93355 Archived-At: This is a multi-part message in MIME format. --===============6699284822094472358== Content-Type: multipart/alternative; boundary="------------010603080506030505090602" This is a multi-part message in MIME format. --------------010603080506030505090602 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Alan BRASLAU > 17. Januar 2016 um 19:55 > On Sun, 17 Jan 2016 19:27:31 +0100 > > > How does this play with > \startdocument > [title=3DDocument title, > author=3DMe] It doesn=E2=80=99t matter if you set the values with \setupdocument or=20 \startdocument. > Here, I learn about metadata:title=3D > which suggests that I could do without > \setupinteraction > [state=3Dstart, > title=3D{\getvariable{document}{title}}, > author=3D{\getvariable{document}{author}}] You can use \documentvariable{...} to access the values. > But, if I want to use the title etc. in the title page, should I do > something like: > > \starttitlepagemakeup > \getvariable{document}{metadata:title} > \stoptitlepagemakeup It depends, when you want the title in the pdf without a manual setting with \setupinteraction you can use the value of =E2=80=9Cmetadata:title=E2= =80=9D in your document. Wolfgang --------------010603080506030505090602 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
17= .=20 Januar 2016 um 19:55
On= =20 Sun, 17 Jan 2016 19:27:31 +0100


How does=20 this play with
\startdocument
[title=3DDocument title,
=20 author=3DMe]
It doesn=E2=80=99t matter if you set the values with \setupdocument or=20 \startdocument.
Here, I learn about metadata:title=3D
which suggests that I=20 could do without
\setupinteraction
[state=3Dstart,
=20 title=3D{\getvariable{document}{title}},
=20 author=3D{\getvariable{document}{author}}]
You can use \documentvariable{...} to access the values.
But, if I want to use the title etc. in the title page, should I do
something like:

\starttitlepagemakeup
=20 \getvariable{document}{metadata:title}
\stoptitlepagemakeup
It depends, when you want the title in the pdf without a manual setting with \setupinteraction you can use the value of =E2=80=9Cmetadata:title=E2= =80=9D in your
document.

Wolfgang
--------------010603080506030505090602-- --===============6699284822094472358== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============6699284822094472358==--