Re: [NTG-context] \start pagefigure not working as expected

2017-05-25 Thread cryo shock
Hi Andrés,

The problem with \insertpages is that it inserts pages as layers, which
means that header, footer and page numbers will be printed on it as well.
That's what I don't want, and also your suggested link points to me to
\insertpage in my case:

"Please note that the inserted pages will be placed on your ConTeXt pages
like a new "layer", or floating object. This means that your existing
headers, footers, crop marks will still be printed on top of or behind the
inserted pages.
*If you want to insert pages as completely independent pages between your
existing ConTeXt pages, use\startpagefigure
.*"

But the command \startpagefigure doesn't work as described on the wiki...

2017-05-25 20:48 GMT+02:00 Andres Conrado :

>  I think you need to use \insertpages instead. Check this out:
> http://wiki.contextgarden.net/Command/insertpages
>
> Andrés Conrado Montoya
> http://chiquitico.org
>
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] \start pagefigure not working as expected

2017-05-25 Thread Andres Conrado
 I think you need to use \insertpages instead. Check this out:
http://wiki.contextgarden.net/Command/insertpages

Andrés Conrado Montoya
http://chiquitico.org
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] \start pagefigure not working as expected

2017-05-25 Thread cryo shock
Your suggestion works fine for me. I tried \filterpages too, as it is
mentioned on the wiki as well, but the pages then got scaled to the
\setuplayout definitions. I didn't think about using it within the
\startpagemakeup environment though.

So thanks Pablo.

P.S.: I'd still love to know why the simple \startpagefigure doesn't work
as expected as I thought that's what it's there for.


2017-05-25 17:44 GMT+02:00 Pablo Rodriguez :

> On 05/25/2017 05:22 PM, cryo shock wrote:
> > Hi guys,
> >
> > I created a CTX document and now I am trying to merge it with two other
> > pages from another (already compiled) pdf document. Usually I did this
> > job with PDF Split And Merge software, but if CTX (mkiv, LuaTeX) is
> > capable of doing the job, I'd be glad to use CTX instead.
> >
> > On the wiki I found a code snippet that sounds promising, as I don't
> > want headers, page numbers etc. on the two merged pages:
>
> Hi Sebastian,
>
> how about the following code (I don’t remember when, how or where I
> found it)?
>
> \starttext
> \startpagemakeup\filterpages[file.pdf][1]\stoppagemakeup
> \startpagemakeup\filterpages[file.pdf][2]\stoppagemakeup
> \startpagemakeup\filterpages[file.pdf][3]\stoppagemakeup
> \stoptext
>
> > Like I mentioned: even although there is no 5th page in file.pdf, LuaTeX
> > pastes the first page three times...
>
> If you add a non-existing page, you will get a blank page (with the code
> above).
>
> > Am I overlooking something or was there some undocumented change to the
> > code?
>
> Sorry, but I don’t know. Probably I used pagefigure before discovering
> pagemakeup.
>
> Just in case it might help,
>
>
> Pablo
> --
> http://www.ousia.tk
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] \start pagefigure not working as expected

2017-05-25 Thread Pablo Rodriguez
On 05/25/2017 05:22 PM, cryo shock wrote:
> Hi guys,
> 
> I created a CTX document and now I am trying to merge it with two other
> pages from another (already compiled) pdf document. Usually I did this
> job with PDF Split And Merge software, but if CTX (mkiv, LuaTeX) is
> capable of doing the job, I'd be glad to use CTX instead.
> 
> On the wiki I found a code snippet that sounds promising, as I don't
> want headers, page numbers etc. on the two merged pages:

Hi Sebastian,

how about the following code (I don’t remember when, how or where I
found it)?

\starttext
\startpagemakeup\filterpages[file.pdf][1]\stoppagemakeup
\startpagemakeup\filterpages[file.pdf][2]\stoppagemakeup
\startpagemakeup\filterpages[file.pdf][3]\stoppagemakeup
\stoptext

> Like I mentioned: even although there is no 5th page in file.pdf, LuaTeX
> pastes the first page three times...

If you add a non-existing page, you will get a blank page (with the code
above).

> Am I overlooking something or was there some undocumented change to the
> code?

Sorry, but I don’t know. Probably I used pagefigure before discovering
pagemakeup.

Just in case it might help,


Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___