ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \startpagefigure[file.pdf][page=1, ...]\stoppagefigure
Date: Mon, 9 Dec 2013 11:53:22 +0100	[thread overview]
Message-ID: <A49B1A27-7D50-4C58-99FF-B0A44FFEEDA4@gmail.com> (raw)
In-Reply-To: <20131209111941.1c5694acc99e405405d9f160@telefonica.net>


Am 09.12.2013 um 11:19 schrieb Xan <dxpublica@telefonica.net>:

> Hi,
> 
> When I use:
> 
> \startpagefigure[file.pdf][page=X]\stoppagefigure
> 
> with page >= 2 does not work. Always it puts the first page.
> 
> I run MKIV.
> 
> Is it a bug?

It’s a change of the behavior of the command and I won’t say it’s a bad change.

To understand the change you have to know that pagefigure is combination
of \startTeXpage and \externalfigure and you get the same result with

\startTEXpage
  \externalfigure[<filename>]
\stopTEXpage


The first parameter of the page figure command is the name of the graphic
and the second argument let you change the values for TeXpage, in the old
MkII code the second parameter was also used as second argument for
\externalfigure. A problem in MkII was that you had something in the second
parameter which was used by \startTEXpage *and* \externalfigure and the
output wasn’t what you expected. I guess to avoid this Hans doesn’t pass
the values of the second argument to \externalfigure anymore.


To select now a certain page from your external document just use
the \startTEXpage and \externalfigure combination:

\startTEXpage
  \externalfigure[<filename>][page=<number>]
\stopTEXpage

Wolfgang
___________________________________________________________________________________
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:[~2013-12-09 10:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09 10:19 Xan
2013-12-09 10:53 ` Wolfgang Schuster [this message]
2013-12-12 11:02 ` Xan

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=A49B1A27-7D50-4C58-99FF-B0A44FFEEDA4@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).