Re: [NTG-context] \copypages and page numbering

2016-12-22 Thread Hans Hagen

On 12/20/2016 11:06 PM, Andrea Valle wrote:

Dear all,

I’m assembling into a unique pdf the proceedings of a conference.
They have been created by various sw (latex, word, writer etc).
In order to include the papers, I’m just using a series of commands like

\copypages[CIMXXI_contributi/dapelo][][scale=950]

They are not provided with page numbers, and I’m including them in the
usual way.
Now, most of the time it just works.
All the papers should conform to a template, but in some cases, page
numbers are not displayed, and this depends on the fact that the page
setup in that paper has a greater height (or maybe a different crop
area), so that it covers the page number.
I would simply solve the problem by having the page number on top of the
imported pdf.
Is it possible?


\starttext

\setuplayout
  [page]

\setupbackgrounds
  [page]
  [background={foreground,whatever}]

\definelayer
  [whatever]
  [height=\paperheight,
   width=\paperwidth]

\setuptexttexts
  [{\setlayerframed
  [whatever]
  [preset=middletop,
   voffset=1cm]
  [foregrondcolor=red,
   foregroundstyle=\bfd]
  {\pagenumber}}]

\setupexternalfigures
  [location=default]

\externalfigure
  [mill.png]
  [height=\paperheight,
   width=\paperwidth]

\stoptext

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] \copypages and page numbering

2016-12-20 Thread Andrea Valle
Dear all,

I’m assembling into a unique pdf the proceedings of a conference.
They have been created by various sw (latex, word, writer etc).
In order to include the papers, I’m just using a series of commands like

\copypages[CIMXXI_contributi/dapelo][][scale=950]

They are not provided with page numbers, and I’m including them in the usual 
way.
Now, most of the time it just works.
All the papers should conform to a template, but in some cases, page numbers 
are not displayed, and this depends on the fact that the page setup in that 
paper has a greater height (or maybe a different crop area), so that it covers 
the page number.
I would simply solve the problem by having the page number on top of the 
imported pdf.
Is it possible?

Many thanks

-a-
 

--
Andrea Valle
--
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> andrea.va...@unito.it
--

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a 
lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

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