From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: crop marks different in dvi and pdf output Date: Thu, 18 Jun 1998 11:27:50 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3588DD96.4BA20F59@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035390882 20375 80.91.224.250 (23 Oct 2002 16:34:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:34:42 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Frans Goddijn Xref: main.gmane.org gmane.comp.tex.context:24 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:24 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 -----------------------------------------------------------------