ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Getting file name of \externalfigure in the header/footer (mkii)
Date: Sun, 28 Feb 2016 10:39:13 +0100	[thread overview]
Message-ID: <BB554E20-3A89-4771-80AF-0864873F0726@rna.nl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 629 bytes --]

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=10mm,topspace=10mm,width=277mm,height=190mm,header=5mm,footer=1mm]
\rotate[rotation=90]{\externalfigure[Exercise-1a-B2B-web-site-Anna-A.pdf][width=\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).

[-- Attachment #1.2: Type: text/html, Size: 1382 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

                 reply	other threads:[~2016-02-28  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BB554E20-3A89-4771-80AF-0864873F0726@rna.nl \
    --to=gerben.wierda@rna.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).