From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93908 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Getting file name of \externalfigure in the header/footer (mkii) Date: Sun, 28 Feb 2016 10:39:13 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/mixed; boundary="===============5977464677660897578==" X-Trace: ger.gmane.org 1456652417 18523 80.91.229.3 (28 Feb 2016 09:40:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 09:40:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 28 10:40:06 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 1aZxpa-00030J-Je for gctc-ntg-context-518@m.gmane.org; Sun, 28 Feb 2016 10:40:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E7A1C7488; Sun, 28 Feb 2016 10:39:47 +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 UuLF8F4SFeXP; Sun, 28 Feb 2016 10:39:47 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3F3D87465; Sun, 28 Feb 2016 10:39:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4D11E7465 for ; Sun, 28 Feb 2016 10:39:46 +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 8N_x5YxKEZtP for ; Sun, 28 Feb 2016 10:39:45 +0100 (CET) Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) by zapf.ntg.nl (Postfix) with ESMTP id BA1B99DB for ; Sun, 28 Feb 2016 10:39:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 4723318329D1 for ; Sun, 28 Feb 2016 10:39:35 +0100 (CET) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r0r8-7NG4Eky for ; Sun, 28 Feb 2016 10:39:33 +0100 (CET) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) by mail.rna.nl (Postfix) with ESMTPSA id 8B9CF183293F for ; Sun, 28 Feb 2016 10:39:33 +0100 (CET) X-Mailer: Apple Mail (2.2104) 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:93908 Archived-At: --===============5977464677660897578== Content-Type: multipart/alternative; boundary="Apple-Mail=_48DA9818-E8D0-489B-976B-0D9840DB938A" --Apple-Mail=_48DA9818-E8D0-489B-976B-0D9840DB938A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi folks, I have a file that I use to combine PDF files in one bigger file. The = pages are A4 or A3, rotated or not. This results in a mixed A4/A3 = document that I can print and distribute. Example page: \page\setuppapersize[A4,portrait][A4,portrait] = \setuplayout[backspace=3D10mm,topspace=3D10mm,width=3D277mm,height=3D190mm= ,header=3D5mm,footer=3D1mm] = \rotate[rotation=3D90]{\externalfigure[Exercise-1a-B2B-web-site-Anna-A.pdf= ][width=3D\hsize]} I'd like to have the name of the external file in the header. Can I do = that? G PS. I'm still using mkii for my production (only used mkiv for a = transformation to EPUB 1.5 ears ago).= --Apple-Mail=_48DA9818-E8D0-489B-976B-0D9840DB938A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi folks,

I= have a file that I use to combine PDF files in one bigger file. The = pages are A4 or A3, rotated or not. This results in a mixed A4/A3 = document that I can print and distribute.

Example page:

\page\setuppapersize[A4,portrait][A4,portrait]
\setuplayout[backspace=3D10mm,topspace=3D10mm,width=3D277mm,hei= ght=3D190mm,header=3D5mm,footer=3D1mm]
\rotate[rotation=3D90]{\externalfigure[Exercise-1a-B2B-web-site= -Anna-A.pdf][width=3D\hsize]}

I'd like to have the name of the = external file in the header. Can I do that?

G

PS. I'm still using mkii for my = production (only used mkiv for a transformation to EPUB 1.5 ears = ago).
= --Apple-Mail=_48DA9818-E8D0-489B-976B-0D9840DB938A-- --===============5977464677660897578== 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= --===============5977464677660897578==--