-
Notifications
You must be signed in to change notification settings - Fork 106
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
Right-to-left languages #65
Comments
@Fakeel Wow! That's super cool! There was a bug in my initials placement algorithm when an RtL script is used. Now it's fixed (hopefully) and your example seems to work ok. All you need to do now is to update There most likely are still some problems left, so please don't hesitate to ask, if something goes wrong, i'll try to fix it. As a side note: are there initials in Arabic typography? Maybe you have some references? |
There aren't initials in Arabic typography and it does not use block letters and separate letters. In this project the whole Arabic word should be place inside the lettrine or use calligraphy design like the one below |
If initials do not belong in Arabic typography, I can simply add an option to turn them off. |
I have tried your fixed I am missing something? |
Strange, my output seems ok for the same file. |
ConTeXt version 2018.04.04 00:51 mtx-context | ConTeXt Process Management 1.02 |
I have a newer version and it apparently is different from the older ones (I had to use newer system on TravisCI, because build failed with the older one). Currently the code decides where to place the initial using an internal variable
Or update to a newer version. |
Thank, it works. It will be helpful if there is a note or comment to indicate which version of ConTeXt should be used. |
Great! |
@Fakeel Multi-glyph initials, as you do in Arabic, should work now, but only in theory. In practice, the function which produces text outlines in ConTeXt's MetaPost currently doesn't respect RtL text. Also some longer words may not fit well into the square box and I'm thinking about making this box's width variable. |
You are right, ConTeXt's MetaPost currently doesn't respect RtL text as shown in Also, don't worry about box's width because I am trying to choose Arabic word that don't exceed 3 letter. |
@Fakeel With this change initials' placeholders should work again for RtL, but you still can't generate ornaments for them. The bug with RtL is fixed in future versions of ConTeXt, so I guess, I'd just wait for the fixed version to be released and then everything should work fine. |
I have started a challenge to translate the whole book in Arabic. I am not an expert in Context but I am learning.
As you know some languages writing system like Arabic, Hebrew, Pashto, Persian, Urdu, and Sindhi are written from right to left. So I solve most of issue for the Arabic language, only one remain issue.
Solving the Lettrine placement for both pages
What should I do?
page_design.zip
The text was updated successfully, but these errors were encountered: