-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
\includegraphics comma in alt key using xkeyval #1652
Comments
If reproducible, this would be a bug in a third-party piece of code: as such, it should be reported to the appropriate maintainer. This is flagged up by |
I see that other issues for |
@lstonys This is the correct repository for |
I think that is something that could be fixed in graphicx. It uses If I use a dedicated toks register, the document compiles as expected:
@lstonys Unreladed but be aware that the tagging code (re)defines the alt-key to set alternative text, so please do not overwrite it when tagging is active. |
@u-fischer, I was adding alt-text to tagged pdf that's why I got this bug |
@u-fischer arguably true, but you'd have to change the register everywhere not just there |
@davidcarlisle well yes, but I don't think we can leave it as it is. It wouldn't be good if with tagging graphics suddenly disappear. Something like this seems to fix at least this issue, so perhaps we should add an firstaid?
|
I've re-opened. This should be fixed in |
Maybe you already have any solution? |
@lstonys there are solutions in the comments above which we may add but fundamentally this is a xkeyval issue, did you report it there? |
No, I couldn't find Hendri Adriaens email. |
Brief outline of the bug
xkeyval package redefines
\setkeys
and then it breaks\includegraphics
alt key having comma inside. Image is not shown.If I run
\setkeys{Gin}{alt={Alternative, text for image.}}
outside of\includegraphics
I can get alt text.graphicx
loadskeyval
so maybe it could copy\setkeys
and use it inside\includegraphics
to be sure that other packages will not spoil this command:Minimal example showing the bug
The text was updated successfully, but these errors were encountered: