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

\lxSVG@closescope leaks into reversion, breaks --pictureimages #2476

Open
xworld21 opened this issue Jan 4, 2025 · 1 comment
Open

\lxSVG@closescope leaks into reversion, breaks --pictureimages #2476

xworld21 opened this issue Jan 4, 2025 · 1 comment

Comments

@xworld21
Copy link
Contributor

xworld21 commented Jan 4, 2025

As per subject: very simple TikZ figures will break --pictureimages because \lxSVG@closescope does not disappear from the reversion. I am not planning to use --pictureimages, I am just trying to understand how pgfsys-latexml.def is supposed to be written. I gather that the intention is for the @tex tag to rebuild an equivalent output.

@dginev dginev added this to the LaTeXML-0.9 milestone Jan 4, 2025
@dginev
Copy link
Collaborator

dginev commented Jan 4, 2025

This issue reminds me that we had an internal discussion in the past that the reversions we get for pgf figures can be a bit too low-level. The context back then was that when texlive versions change, the reverted attributes have unpredictable diffs (due to internal library code getting refactored) even if the outer pgf/tikz figure remains the same. Which makes it hard to test such figures in CI, as they would need a different test target for each texlive.

All that to say, maybe we would benefit from having a higher-level reversion for pgf/tikz figures, that is collected before any/most expansion takes place.

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

No branches or pull requests

2 participants