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

Feature request: support zref and zref-clever #992

Open
qcts33 opened this issue Jan 10, 2024 · 1 comment
Open

Feature request: support zref and zref-clever #992

qcts33 opened this issue Jan 10, 2024 · 1 comment

Comments

@qcts33
Copy link

qcts33 commented Jan 10, 2024

First of all, thanks for this excellent work!
It would be nice to support the zref and zref-clever package as an alternative reference system.
The zref package provides the extensible referencing system with the \zlabel command. The zref-clever package is based on zref and provides the same functions as the old cleveref package, but using the \zcref command.

@DasNaCl
Copy link
Contributor

DasNaCl commented Jun 6, 2024

This is somewhat supported already by extending the texlab.settings.experimental.labelReferenceCommands and texlab.settings.experimental.labelDefinitionCommands options in the language server setup.
It is worth noting that the zref and zref-clever package documentation says that those packages are to be considered experimental themselves.
Nevertheless, supporting the label definition and reference commands for these packages by default should be a relatively easy addition to the code.
I'll add a pullrequest for making them default, but I'm unsure if they should be default or not. (or if my PR is missing commands)

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