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