Open
Description
In writing papers one sometimes needs to give an equation a special name, using the \tag{}
command. A minimal example is as follows:
$$
a \ge b \tag{IC}
$${#eq-ic}
[Equation (-@eq-ic)] is nice.
The generated HTML book output made two 'mistakes'
- it uses both (1) and (IC) as equation tags
- More importantly, it uses 1 rather than IC for cross referencing.
Meanwhile, the PDF output is normal:
I wish to achieve the same output as in the PDF output. Is there any workaround?
I am using quarto 0.3.18 (I also have pandoc 2.17.0.1 installed, not sure whether this matters). Currently I work around by defining Pandoc metadata eq.ic: IC
and then Equation {{< meta eq.ic >}}
. It works well for me, both HTML and PDF. But I hope there is a more direct way to do this.