ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Document info an pdfboxes (mkiv)
@ 2009-08-28  8:31 Peter Rolf
  2009-08-28  9:38 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Rolf @ 2009-08-28  8:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

currently the accuracy of the trimbox and cropbox breaks preflighting. 
While the mediabox is rounded to four numbers after the point, the other 
boxes have 11 numbers. Without the same rounding these boxes can be 
greater than the mediabox, which is not valid.

/MediaBox [0 0 612.2835 858.8976]
/TrimBox [ 0 0 612.28345061002 858.89763362975 ] /CropBox [ 0 0 
612.28345061002 858.89763362975 ]

858.8976 < 858.89763362975


There is also a small bug in the document info code.

\def\synchronizebackendidentity
  {\ctxlua{backends.codeinjections.setupidentity{
     title    = \!!bs\@@iatitle\!!es,
     subtitle = \!!bs\@@iasubtitle\!!es,
     ^^^^
    should be 'subject' here (or change it later in the lua part)

     author   = \!!bs\@@iaauthor\!!es,
     creator  = \!!bs ConTeXt - \contextversion\!!es,
     date     = \!!bs\@@iadate\!!es,
     keywords = \!!bs\@@iakeyword\!!es,
  }}}


Best wishes, Peter

___________________________________________________________________________________
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] 7+ messages in thread

* Re: Document info an pdfboxes (mkiv)
  2009-08-28  8:31 Document info an pdfboxes (mkiv) Peter Rolf
@ 2009-08-28  9:38 ` Hans Hagen
  2009-08-28  9:41   ` luigi scarso
  2009-08-28 12:16   ` Peter Rolf
  0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2009-08-28  9:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Rolf wrote:
> Hi,
> 
> currently the accuracy of the trimbox and cropbox breaks preflighting. 
> While the mediabox is rounded to four numbers after the point, the other 
> boxes have 11 numbers. Without the same rounding these boxes can be 
> greater than the mediabox, which is not valid.
> 
> /MediaBox [0 0 612.2835 858.8976]
> /TrimBox [ 0 0 612.28345061002 858.89763362975 ] /CropBox [ 0 0 
> 612.28345061002 858.89763362975 ]
> 
> 858.8976 < 858.89763362975

hm, a bit stupid (much is ps/pdf rendering happens rounded esp such 
boxes so i wonder why they are so strick)

anyhow, as the media box is out of our control in mkiv, i now use some 
other trick

(btw, does it really break preflighting in full acrobat (as that is the 
standard, i don't care that much about other preflighters))

>     subtitle = \!!bs\@@iasubtitle\!!es,
>     ^^^^
>    should be 'subject' here (or change it later in the lua part)

ok, fixed; beta later today

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] 7+ messages in thread

* Re: Document info an pdfboxes (mkiv)
  2009-08-28  9:38 ` Hans Hagen
@ 2009-08-28  9:41   ` luigi scarso
  2009-08-28 11:04     ` Hans Hagen
  2009-08-28 11:05     ` Hans Hagen
  2009-08-28 12:16   ` Peter Rolf
  1 sibling, 2 replies; 7+ messages in thread
From: luigi scarso @ 2009-08-28  9:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> (btw, does it really break preflighting in full acrobat (as that is the
> standard, i don't care that much about other preflighters))
PitStop of Enfocus

-- 
luigi
___________________________________________________________________________________
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] 7+ messages in thread

* Re: Document info an pdfboxes (mkiv)
  2009-08-28  9:41   ` luigi scarso
@ 2009-08-28 11:04     ` Hans Hagen
  2009-08-28 11:38       ` luigi scarso
  2009-08-28 11:05     ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2009-08-28 11:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

luigi scarso wrote:
>> (btw, does it really break preflighting in full acrobat (as that is the
>> standard, i don't care that much about other preflighters))
> PitStop of Enfocus

well, why use them when acrobat has it built in?

-----------------------------------------------------------------
                                           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] 7+ messages in thread

* Re: Document info an pdfboxes (mkiv)
  2009-08-28  9:41   ` luigi scarso
  2009-08-28 11:04     ` Hans Hagen
@ 2009-08-28 11:05     ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2009-08-28 11:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

luigi scarso wrote:
>> (btw, does it really break preflighting in full acrobat (as that is the
>> standard, i don't care that much about other preflighters))
> PitStop of Enfocus

and since i have neither of them on my machine i cannot test what they 
expect anyway -)

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] 7+ messages in thread

* Re: Document info an pdfboxes (mkiv)
  2009-08-28 11:04     ` Hans Hagen
@ 2009-08-28 11:38       ` luigi scarso
  0 siblings, 0 replies; 7+ messages in thread
From: luigi scarso @ 2009-08-28 11:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Aug 28, 2009 at 1:04 PM, Hans Hagen<pragma@wxs.nl> wrote:
> luigi scarso wrote:
>>>
>>> (btw, does it really break preflighting in full acrobat (as that is the
>>> standard, i don't care that much about other preflighters))
>>
>> PitStop of Enfocus
>
> well, why use them when acrobat has it built in?
because PitStop of Enfocus is (or was)  better ?



-- 
luigi
___________________________________________________________________________________
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] 7+ messages in thread

* Re: Document info an pdfboxes (mkiv)
  2009-08-28  9:38 ` Hans Hagen
  2009-08-28  9:41   ` luigi scarso
@ 2009-08-28 12:16   ` Peter Rolf
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Rolf @ 2009-08-28 12:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen schrieb:
> Peter Rolf wrote:
>> Hi,
>>
>> currently the accuracy of the trimbox and cropbox breaks 
>> preflighting. While the mediabox is rounded to four numbers after the 
>> point, the other boxes have 11 numbers. Without the same rounding 
>> these boxes can be greater than the mediabox, which is not valid.
>>
>> /MediaBox [0 0 612.2835 858.8976]
>> /TrimBox [ 0 0 612.28345061002 858.89763362975 ] /CropBox [ 0 0 
>> 612.28345061002 858.89763362975 ]
>>
>> 858.8976 < 858.89763362975
>
> hm, a bit stupid (much is ps/pdf rendering happens rounded esp such 
> boxes so i wonder why they are so strick)
>
> anyhow, as the media box is out of our control in mkiv, i now use some 
> other trick
>
> (btw, does it really break preflighting in full acrobat (as that is 
> the standard, i don't care that much about other preflighters))
>
yep, acrobat complains about the box sizes.

>>     subtitle = \!!bs\@@iasubtitle\!!es,
>>     ^^^^
>>    should be 'subject' here (or change it later in the lua part)
>
> ok, fixed; beta later today
>
many thanks :)

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

___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2009-08-28 12:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28  8:31 Document info an pdfboxes (mkiv) Peter Rolf
2009-08-28  9:38 ` Hans Hagen
2009-08-28  9:41   ` luigi scarso
2009-08-28 11:04     ` Hans Hagen
2009-08-28 11:38       ` luigi scarso
2009-08-28 11:05     ` Hans Hagen
2009-08-28 12:16   ` Peter Rolf

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