Closed muzimuzhi closed 1 year ago
sure no problem. In the long run hyperref will stop to use kvoptions anyway. Regarding theorems: I'm testing in the testthm branch if one can simplify the theorem patches and correct the problem that destinations are lost if a theorem starts with a list. Could you test if this gives (obvious) problems with thmtools?
Regarding theorems: I'm testing in the testthm branch if one can simplify the theorem patches and correct the problem that destinations are lost if a theorem starts with a list. Could you test if this gives (obvious) problems with thmtools?
Sure. And maybe https://github.com/T-F-S/tcolorbox can be informed as well.
Both
hyperref
andthmtools
usekvsetkeys
as key-val setting mechanism. Unfortunatelythmtools
globally patcheskvsetkeys
to prevent expansion of key name, which causes compatibility issue with howhyperref
handlers unknown key passed topdfinfo
. See a detailed analysis in https://github.com/muzimuzhi/thmtools/issues/34#issuecomment-1435914915.I fully understand that it's all
thmtools
' fault to patch hence change the behavior ofkvsetkeys
. But given currently it's hard to know why such patch was needed at that time (at least 10 years ago) and whether removing or modifying it will cause regression problems, couldhyperref
adapt to not use macro as key passed to\kv@parse@normalized
?