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.


<img width="725" alt="Screen Shot 2022-02-05 at 9 55 05 PM" src="https://user-images.githubusercontent.com/16741954/152644892-7d10166c-0289-416e-b12b-3a94b30b4ae9.png">

Meanwhile, the PDF output is normal:

<img width="601" alt="Screen Shot 2022-02-05 at 9 57 19 PM" src="https://user-images.githubusercontent.com/16741954/152644960-dec60355-831d-4397-abbf-d1edfcefbe09.png">

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. 
2022-02-05T14:01:51Z
AlbertLei
Future
open
Use `\tag{}` info for eq cross referencing in the HTML book output
https://github.com/quarto-dev/quarto-cli/issues/310