ho-tex / zref

zref packages for LaTeX
LaTeX Project Public License v1.3c
5 stars 2 forks source link

zref-dotfill assumes `\pdfsavepos` is defined #20

Open mbertucci47 opened 1 month ago

mbertucci47 commented 1 month ago

The definition of \zdotfill uses \pdfsavepos without checking if luatex is being used like zref-savepos does. Here's an example that errors with luatex.

\documentclass{article}
\usepackage[dotfill]{zref}
\begin{document}
text\zdotfill text
\end{document}