%$Id: test-annot1.tex,v 1.2 2009/04/23 10:50:58 hahe Exp hahe $

%\mag=5000

\pdfcompresslevel=0

\nopagenumbers

\newdimen\hmarg \hmarg=1in
\newdimen\vmarg \vmarg=1in

\pagewidth=210mm \pageheight=297mm
\hsize=\pagewidth \advance\hsize by -2\hmarg
\vsize=\pageheight \advance\vsize by -2\vmarg

%\hoffset=0in
%\voffset=0in

\pdfhorigin=1in
\pdfvorigin=1in

\topskip=0pt
\parskip=0pt
\parindent=0pt
\offinterlineskip
\lineskip=0pt

%\pagedir TLT \bodydir TLT \pardir TLT \textdir TLT \pageleftoffset=\hmarg \pagetopoffset=\vmarg
\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \pagerightoffset=\hmarg \pagetopoffset=\vmarg
%\pagedir BLB \bodydir BLB \pardir BLB \textdir BLB \pageleftoffset=\hmarg \pagebottomoffset=\vmarg
%\pagedir BRB \bodydir BRB \pardir BRB \textdir BRB \pagerightoffset=\hmarg \pagebottomoffset=\vmarg
%\pagedir LTB \bodydir LTB \pardir LTB \textdir LTB \pageleftoffset=\hmarg \pagetopoffset=\vmarg
%\pagedir RTR \bodydir RTB \pardir RTB \textdir RTB \pagerightoffset=\hmarg \pagetopoffset=\vmarg
%\pagedir LBL \bodydir LBL \pardir LBB \textdir LBB \pageleftoffset=\hmarg \pagebottomoffset=\vmarg
%\pagedir RBR \bodydir RBR \pardir RBB \textdir RBB \pagerightoffset=\hmarg \pagebottomoffset=\vmarg

\leftline{%
   This is a link to the
    \pdfstartlink
        goto
        page 1 {/FitB}% % goto the 1st page and fit the page BBox in the
                        % window
    first page%
    \pdfendlink}

\bye
