Files
texrra-engine/crates/texrra-tex-core/tests/fixtures/leaders/links.tex
T

12 lines
797 B
TeX

\pdfoutput=1\pdfcompresslevel=0\pdfobjcompresslevel=0\pdfpkresolution=600
\catcode123=1\catcode125=2\pdflinkmargin=0pt
\def\tile{\hbox to2pt{\pdfstartlink width1pt height2pt depth0pt user{/Subtype /Link /A << /S /URI /URI (https://example.invalid/) >>}\vrule width1pt height2pt\pdfendlink\hss}}
\setbox5=\tile
\shipout\hbox{\cleaders\copy5\hskip6pt}
\shipout\hbox{\copy5\kern2pt\copy5}
\shipout\hbox{\cleaders\hbox to18pt{\copy5\kern1pt\leaders\copy5\hskip1pt\copy5%
\kern1pt\leaders\copy5\hskip4pt\kern1pt\leaders\copy5\hskip4pt\hss}\hskip37pt}
\def\runtile{\hbox to2pt{\pdfstartlink height2pt depth0pt user{/Subtype /Link /A << /S /URI /URI (https://example.invalid/) >>}\vrule width1pt height2pt\pdfendlink\hss}}
\shipout\vbox{\cleaders\vbox{\hbox{\cleaders\runtile\hskip6pt}}\vskip4pt}
\end