ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF TrimBox
@ 2007-08-14 14:05 Thomas Telkamp
  2007-08-14 15:04 ` Martin Schröder
  2007-08-14 19:35 ` Peter Rolf
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Telkamp @ 2007-08-14 14:05 UTC (permalink / raw)
  To: ntg-context

Hi,

I'm trying to set the PDF TrimBox for every page in the document.

\setupinteractionscreen[trimbox={[81.6378 96.9449 513.6378 744.9449]}]

This indeed sets the TrimBox for every page, but it ignores my
dimensions, and sets them to the page size.

\pdfpageattr{/TrimBox [ 81.6378 96.9449 513.6378 744.9449]}

Only applies to the first page, and \pdfpagesattr uses an inheritance
that Acrobat doesn't understand (is it allowed?).

How can I specify the TrimBox on every page?

thanks,
Thomas
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: PDF TrimBox
  2007-08-14 14:05 PDF TrimBox Thomas Telkamp
@ 2007-08-14 15:04 ` Martin Schröder
  2007-08-14 19:35 ` Peter Rolf
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Schröder @ 2007-08-14 15:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/8/14, Thomas Telkamp <telkamp@gmail.com>:
> \pdfpageattr{/TrimBox [ 81.6378 96.9449 513.6378 744.9449]}
>
> Only applies to the first page, and \pdfpagesattr uses an inheritance
> that Acrobat doesn't understand (is it allowed?).

No. Only Media and Crop are inheritable; Bleed, Trim and Art are not.

Best
   Martin
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: PDF TrimBox
  2007-08-14 14:05 PDF TrimBox Thomas Telkamp
  2007-08-14 15:04 ` Martin Schröder
@ 2007-08-14 19:35 ` Peter Rolf
  2007-08-14 20:01   ` Hans Hagen
  2007-08-15 13:14   ` Thomas Telkamp
  1 sibling, 2 replies; 5+ messages in thread
From: Peter Rolf @ 2007-08-14 19:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Thomas,

Thomas Telkamp schrieb:
> Hi,
> 
> I'm trying to set the PDF TrimBox for every page in the document.
> 
> \setupinteractionscreen[trimbox={[81.6378 96.9449 513.6378 744.9449]}]
> 
> This indeed sets the TrimBox for every page, but it ignores my
> dimensions, and sets them to the page size.
> 
> \pdfpageattr{/TrimBox [ 81.6378 96.9449 513.6378 744.9449]}
> 
> Only applies to the first page, and \pdfpagesattr uses an inheritance
> that Acrobat doesn't understand (is it allowed?).
> 
> How can I specify the TrimBox on every page?
>
you can try

\def\currentPDFtrimbox{[81.6378 96.9449 513.6378 744.9449]}

but I'm not sure if this is the best (official) way.


Greetings, Peter

> thanks,
> Thomas
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: PDF TrimBox
  2007-08-14 19:35 ` Peter Rolf
@ 2007-08-14 20:01   ` Hans Hagen
  2007-08-15 13:14   ` Thomas Telkamp
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2007-08-14 20:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Can someone familiar with chinese make me a list of unicode characters 
that play a role in line breaking?

linebreak permitted before
linebreak permitted after
linebreak permitted always

+ a test file in utf 8

etc

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: PDF TrimBox
  2007-08-14 19:35 ` Peter Rolf
  2007-08-14 20:01   ` Hans Hagen
@ 2007-08-15 13:14   ` Thomas Telkamp
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Telkamp @ 2007-08-15 13:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> > How can I specify the TrimBox on every page?
> >
> you can try
>
> \def\currentPDFtrimbox{[81.6378 96.9449 513.6378 744.9449]}
>
> but I'm not sure if this is the best (official) way.

Thanks, that works.

yrs,
Thomas
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-08-15 13:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-14 14:05 PDF TrimBox Thomas Telkamp
2007-08-14 15:04 ` Martin Schröder
2007-08-14 19:35 ` Peter Rolf
2007-08-14 20:01   ` Hans Hagen
2007-08-15 13:14   ` Thomas Telkamp

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