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

could textequation put the tag at the start? #232

Open
pkra opened this issue Jan 16, 2025 · 0 comments
Open

could textequation put the tag at the start? #232

pkra opened this issue Jan 16, 2025 · 0 comments
Labels
question/discussion Further information is requested

Comments

@pkra
Copy link
Member

pkra commented Jan 16, 2025

Downstream re-arranges tag output from the textequation environment to get left-side tags. This is slightly awkward since tags may or may not be nested in targets.

Could texml do it instead?

The following seems enough to achieve it:

index daf7101..0ec7b1c 100644
--- a/lib/perl/TeX/Interpreter/LaTeX/Package/amsmath.pm
+++ b/lib/perl/TeX/Interpreter/LaTeX/Package/amsmath.pm
@@ -409,9 +409,9 @@ __DATA__
     \startXMLelement{disp-formula}
     \addXMLid
     \setXMLattribute{content-type}{text}
-}{%
     \par
     \process@amsmath@tag
+}{%
     \endXMLelement{disp-formula}
     \par
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question/discussion Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant