Open golivax opened 3 years ago
It seems in \item \label{...}
the value of counter revcount
, before being updated by \setcounter{revcount}{...}
, is stored in label.
An ugly workaround:
ref = (\protect\the\numexpr1+\crtcrefnumber{enum-\EnumitemId}-\arabic*),
Thank you @muzimuzhi, and sorry for the late answer. Although I always test all examples, for some reason this one doesn’t work. Either I didn’t do the tests well, or I’ve changed something in enumitem
. As I explain in the manual, the solution is not the best (an fancy way of saying it’s actually poor), and I’ll try to find an alternative.
Hi. The package documentation contains an interesting example that uses \EnumitemId to implement reverse counting. I implemented the proposed solution and the labels are correctly produced. However, cross-refs are not working (produce wrong values). Am I doing anything wrong? Please see the MWE below.
The output I'm getting is as follows:
Any idea of what's going on? Thanks!