Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Wolfgang Schuster

Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org:

 Hi,
 
 I was importing a PDF inside my document, but the scale parameter is now 
 ignored.
 
 It's reproducible with any PDF with:
 
 \starttext
 \copypages[tt.pdf][scale=500]
 \stoptext
 
 Any idea ?

Can you try this:

\starttext
\copypages[…][][scale=500]
\stoptext

In MkIV \copypages has three arguments:

- the first argument is the name of the file
- with the second argument you can control the copy mechanism and
- the third argument is passed down to \externalfigure which includes each page 
of the file in your document.

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
___


Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles

Le 15/10/2012 17:22, Wolfgang Schuster a écrit :

Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org:


Hi,

I was importing a PDF inside my document, but the scale parameter is now 
ignored.

It's reproducible with any PDF with:

\starttext
\copypages[tt.pdf][scale=500]
\stoptext

Any idea ?

Can you try this:

\starttext
\copypages[…][][scale=500]
\stoptext

In MkIV \copypages has three arguments:

- the first argument is the name of the file
- with the second argument you can control the copy mechanism and
- the third argument is passed down to \externalfigure which includes each page 
of the file in your document.

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
___

It worked. Thanks a lot !

Charles
___
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] Parameter scale in copypages in latest beta

2012-10-15 Thread Hans Hagen

On 15-10-2012 17:25, Charles wrote:

Le 15/10/2012 17:22, Wolfgang Schuster a écrit :

Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org:


Hi,

I was importing a PDF inside my document, but the scale parameter is
now ignored.

It's reproducible with any PDF with:

\starttext
\copypages[tt.pdf][scale=500]
\stoptext

Any idea ?

Can you try this:

\starttext
\copypages[…][][scale=500]
\stoptext

In MkIV \copypages has three arguments:

- the first argument is the name of the file
- with the second argument you can control the copy mechanism and
- the third argument is passed down to \externalfigure which includes
each page of the file in your document.

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
___


It worked. Thanks a lot !


fyi: using three (optional) arguments is cleaner than mixing two 
(indepenent) sets of parameters into one


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___