[pdftex] pst-pdf and large paper size

Alex Dunaevski alex_crow at bk.ru
Tue May 9 02:34:36 CEST 2006

suppose we have a file (below),
then compile it with ps4pdf.bat (pst-pdf package).

The sample draws a border 20mm from left, and 5mm from other sides.

I experience strange problem that arises if paper size
is greater than some threshold value.
The frame drawn with pstricks becomes CROPPED and misplaced
(down and left)
I found it happens when \paperheight is > 52cm.

the pacakges i'm using:
Package: pstricks 2005/12/19 v0.31 LaTeX wrapper for `PSTricks' (RN,HV)
Package: pst-pdf 2005/06/29 v1.1i PS graphics for pdfLaTeX (RN,HjG)
Package: preview 2005/09/25 11.81 (AUCTeX/preview-latex)
Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)




\newlength\rw \rw\paperwidth \advance\rw -25mm
\newlength\rh \rh\paperheight \advance\rh -10mm



\newsavebox\@box at ramka

\AtBeginDocument{\savebox\@box at ramka{\ramka}}

% вывод блока с абс. позиционированием (при \output)
  \vbox to 0pt{%
    \hbox{\hskip-1in\hskip#1 #3}

\newcommand\stampDrawFrame{\@putabs(20mm,5mm){\usebox\@box at ramka}}


some text


Best regards,
 Alex                          mailto:alex_crow at bk.ru

More information about the pdftex mailing list