Re: [NTG-context] \startpagefigure[file.pdf][page=1, ...]\stoppagefigure

2013-12-12 Thread Xan
 Am 09.12.2013 um 11:19 schrieb Xan dxpublica at 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

Thanks, Wolfgang, for all.
So there is a real bug with the command which previously I used. @Hans could be 
fix it

Thanks,
Xan
___
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
___

Re: [NTG-context] \startpagefigure[file.pdf][page=1, ...]\stoppagefigure

2013-12-09 Thread Wolfgang Schuster

Am 09.12.2013 um 11:19 schrieb Xan dxpubl...@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
___