ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \copypages and page numbering
@ 2016-12-20 22:06 Andrea Valle
  2016-12-22 17:19 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Valle @ 2016-12-20 22:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1339 bytes --]

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.valle@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)


[-- Attachment #1.2: Type: text/html, Size: 3626 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \copypages and page numbering
  2016-12-20 22:06 \copypages and page numbering Andrea Valle
@ 2016-12-22 17:19 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2016-12-22 17:19 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-22 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 22:06 \copypages and page numbering Andrea Valle
2016-12-22 17:19 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).