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

counter representations #2

Open
u-fischer opened this issue Mar 26, 2019 · 4 comments
Open

counter representations #2

u-fischer opened this issue Mar 26, 2019 · 4 comments

Comments

@u-fischer
Copy link
Member

hyperref uses in various places \arabic. Quite often it expects \arabic to expand to something "pdf safe". This can lead to warnings (and perhaps even errors) if \arabic is redefined.

See e.g. latex3/latex2e#138.

Some general investigations about counter representations are needed here.

@car222222
Copy link

I am not sure that this is just a “pdf problem” rather than something more general about ‘macros that must expand to pure text’.

@davidcarlisle
Copy link
Member

davidcarlisle commented Mar 26, 2019 via email

@u-fischer
Copy link
Member Author

@davidcarlisle there are packages redefining the internal names (e.g. polyglossia and arabic redefines \@arabic, spanish redefines \@roman etc). Also the question is if hyperref needs to keep in sync with the document representation or not. E.g. if it puts a number in a bookmark, it probably should look like in the document, but for destination names it doesn't matter.

@u-fischer
Copy link
Member Author

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

3 participants