-
Notifications
You must be signed in to change notification settings - Fork 3
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
context not honored in xml2tex-conf//charmap/char #1
Comments
Hi Peppo, I investigated and I found out that the schema in fact permits an optional |
Please note that everything in the charmap (example: docx2tex charmap) applies to text mode. MathML to LaTeX translation happens before this charmap is applied. |
Ah, I see. Your equations aren’t always MathML. Then this fix should help. |
In the test case that you sent, you can use
I tried it, it works. Now we should update our sample configuration with |
…tions for some symbols (needs to be completed yet)
Whit this example conf
<char character="¯" string="${\thickspace\cup\thickspace}$" context="dbk:phrase[@css:font-familyzzzzzzzzzzzzzzz = 'MathematicalPi_4']"/>
I get in the latex output the${\thickspace\cup\thickspace}$ string and it should not, as the css:font-familyzzzzzzzzzzzzzzz attribute clearly does not exist in my source xml
regards
__peppo
The text was updated successfully, but these errors were encountered: