ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: crop marks different in dvi and pdf output
Date: Thu, 18 Jun 1998 11:27:50 +0200	[thread overview]
Message-ID: <3588DD96.4BA20F59@wxs.nl> (raw)

Frans Goddijn wrote:

> As a subscriber to this list I've only just begun with CONTEXT
> and it strikes me how silent this list is. The good news about

Some people mail me directly probbaly unaware of this list. 

> it is that you all probably know so much already that there's
> not much to ask ;=}

Maybe because there is no hacking needed. 

> I hope my postings and their frequency is not bugging any of you.

No. 

> The crop marks have appeared after I changed my input file to be:
> 
> \gebruikspecials[tpd]
> \stelpapierformaatin[A5][A4]
> \stellayoutin[plaats=midden,markering=aan]
> \toonkader
> \starttekst
> testing...
> \stoptekst
> 
> so the "[plaats=midden," was missing in my earlier try today.

Indeed. 

> Still, there's a question left, because with this option
> on I do see crop marks, but (when creating PDF output) the
> page isn't shifted to the middle of the A4 output. The page
> is about 2 inch too far to the right and to the bottom so part
> of what should be printed is white. There's a white margin of 30mm
> on the right of the paper and a white 44mm on the bottom of the
> A4 paper wiping out the print.

I'll look at it. The offset in pdftex has been changed a few time, and I
guess it can be adapted in the cnf file. Unfortunately the current
pdftex offsets don't match the dvi ones well, which is due to the fact
that dvi programs do funny things too. 

> Remarkably, if I leave out the line "\gebruikspecials[tpd]" and
> I only generate DVI output, then there's no problem at all,
> the page is nicely centered and the crop marks look great...

Ok. 

> I checked out the file PDFTEX.CFG and it has:
> 
> ******************
> output_format 0
> compress_level 9
> decimal_digits 3
> page_width 210mm
> page_height 297mm
> horigin 1in
> vorigin 1in
> map pdftex.map
> *****************
> 
> This suggests the problem is not really a CONTEXT problem,
> but to be found in the connection to PDF-tex.
> Can I still ask about it here?

Yes. 

> If I hack the "horigin" and "vorigin" lines to be
> 
> horigin -2mm
> vorigin -12.5mm

Why not -1in? 

> I can get the page somewhat centered om the larger A4 but then
> the sides fall off the white side margins of about 30mm and only
> about a millimeter of the the top left crop mark is shown...
> 
> Talking to Siep Kroonenberg, I mentioned my problem and she suggested I
> comment away the horigin and vorigin lines in PDFTEX.CFG. She offered me a
> nifty batchfile going like this (must all be on one line):
> 
> pdftex &cont-nl
> \pdfoutput=1\pdfpagewidth=8.26in\pdfpageheight=11.69in\pdfcompresslevel=0
> \input %1
> 
> Now, the A5 is again neatly centered on the A4 page, but still the outer
> 30mm of the sides of the A4 is white and the top 43 mm is white, same
> below, knocking out the left- and rightmost vertical margin lines and also
> knocking out the crop marks. Where they should be, there's white.
> 
> Any ideas anybody?

I'll look at it. The problem is that I have to keep pace with the
changing pdftex syntax. 

(There will be a major update soon, with field support etc.)

(In the meantime, did you try: 

\stelinteractiein[status=start]
\setupinteraction[state=start]

It may help.  

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@pi.net
-----------------------------------------------------------------


             reply	other threads:[~1998-06-18  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-18  9:27 Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-06-19 13:18 Hans Hagen
1998-06-19 10:22 Frans Goddijn
1998-06-18  8:08 Taco Hoekwater
1998-06-17 18:45 Frans Goddijn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3588DD96.4BA20F59@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).