-
Notifications
You must be signed in to change notification settings - Fork 30
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
Better support for Arabic math #633
base: master
Are you sure you want to change the base?
Conversation
Without this, even using Unicode literals does not work as it still tries to use cmmi for them and we get the missing character warnings: Missing character: There is no 𞸃 (U+1EE03) in font cmmi10!
Without this it does not seem to get \mathpunct class and has the wrong spacing.
I want to also implement math mapping for Arabic, so using regular Arabic letters in math mode would map to math alphanumerics like with Latin and Greek. I looked into I’d need new I’m not sure what style to use for the first Arabic math alphabet; it is functionally equivalent to math italics, but it is not italic (there is not italic style in Arabic, but it it is not even slanted), so
I appreciate any guidance on how to achieve this. |
The last commit is my attempt to do the above (mostly copy/paste), but it does not seem to do any thing. I don’t actually think any of the code I added is being used. |
@khaledhosny thanks for this, Possibly can't review this weekend, but will look later, also if there are any updates needed in TR25 that may also be possible. |
Thanks.
I think MathClass-15.txt is missing an entry for 060C giving it a P class (as well as my comment in #619 (comment)). |
Thanks @khaledhosny — and please don't hesitate to keep this on my radar if I seem to disappear for a while, it's a bit of a crazy year. I would if we should we have this set up by default with all fonts, or is there more that needs to be done via OpenType features etc such that it would make sense to require an explicit option (which could use a heuristic to activate automatically) ? |
Thanks, no pressure.
Typesetting Arabic math requires also right-to-left support in math mode, which is currently available in LuaTeX only and requires fiddling with low-level primitive. The changes here are prerequisite for further improvement in this area, as without this you can’t use Arabic math alphabets at all. |
Status
UNDER DEVELOPMENT
Description
Improve handling of Arabic math symbols.
unicode-math
is loaded, previously they would always be using CMMI fonts.Todo
Minimal example demonstrating the new/fixed functionality