Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

destlabel option of the hyperref package does not work with htlatex/make4ht #61

Open
dimpase opened this issue Jan 18, 2022 · 1 comment

Comments

@dimpase
Copy link

dimpase commented Jan 18, 2022

One often wants to refer to a section of an html document is a stable way, not using a generated tag which would change if the document is updated. Cf. e.g. JuliaPolyhedra/Polyhedra.jl#286 or https://tex.stackexchange.com/questions/260932/destlabel-option-of-the-hyperref-package-does-not-work-in-combination-with-htlat

While it's apparently possible to achieve this by post-processing, using a filter, this looks like a bug, or a missing feature.

@michal-h21
Copy link
Owner

Sorry for the late reply. The current version of make4ht uses a filter similar to the linked answer out of the box. So it automatically produces stable links for all sections. For example this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants