Subject: Re: bug#21069: 2014-11-28; combination of hyperref, preview and \sfrac (from xfrac) + refstepcounter makes an error when previewing

From: Arash Esbati <[email-masked]>
Date: Wed, 03 Apr 2024 20:53:34 +0200

Nicolas Richard <[email-masked]> writes:

> I now use:
>     \ifPreview
>     \PassOptionsToPackage{hypertex}{hyperref}
>     \fi
>     \usepackage{hyperref}
> which seems to work ok. Not sure what will break next, but meanwhile my
> usecase is covered.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Passing the option hypertex to hyperref fixes the issue, I therefore
closing this report.

Best, Arash