-
Notifications
You must be signed in to change notification settings - Fork 8
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
Comments
I am not sure that this is just a “pdf problem” rather than something more general about ‘macros that must expand to pure text’. |
On Tue, 26 Mar 2019 at 10:27, Chris Rowley ***@***.***> wrote:
I am not sure that this is just a “pdf problem” rather than something more
general about ‘macros that must expand to pure text’.
well actually it's a problem with only having user-level macros to access
functionality.
It's rather simpler than technical details about expansion and pdf metadata
strings, if hyperref is expecting \arabic to typeset a counter using
"arabic" digits and \arabic has been redefined to select typographic
settings suitable for Arabic text, then things are going to go wrong....
hyperref could of course finesse this by using its own macro defined to be
\expandafter\@Arabic\csname c@#1\endcsname but that still leaves other uses
of \arabic open to mis-interpretation.
|
@davidcarlisle there are packages redefining the internal names (e.g. polyglossia and arabic redefines |
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.
The text was updated successfully, but these errors were encountered: