-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
babel: Italic text within bold if using "bidi=basic-r" #7
Comments
@seloumi please keep the issue template structure intact (i.e., keep the headings). Also please provide the necessary data. There is a reason that one heading says: Log (and possibly PDF) fileWe do require the |
@FrankMittelbach I see the same effect: my log attached. |
On 13 Jan 2018, at 20:50 , seloumi ***@***.***> wrote:
Brief outline of the bug
I'm trying to write arabic with babel (version 3.16). and I have troubles to write bold text, when using \bfseries part of bolded text appears also italic
Your minimal example showing the bug
\RequirePackage{latexbug}
\documentclass{article}
\usepackage[nil, bidi=basic-r]{babel}
\babelprovide[import=ar, main]{arabic}
\babelfont{rm}{Amiri} % arabic font
\begin{document}
{\bfseries\Large تجريب إمكانيات babel الجديدة لكتابة العربية }
{\Large تجريب إمكانيات babel الجديدة لكتابة العربية }
\end{document}
Log (and possibly PDF) file
test3.pdf <https://github.com/latex3/latex2e/files/1628697/test3.pdf>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#7>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AASe9wTqlbolkTdqDygk7J0vRmkSmC27ks5tKQkJgaJpZM4RdWCN>.
If I change Amiri to Scheherazade, the problem doesn’t show up.
Ciao
Enrico
|
Seems a bug in fontspec/luaotfload:
|
I think it's clear this is not a |
If possible it would be better not to rely on luaotfload's auto-detection of shapes to find the bold version:
You could write an |
@wspr would it be a good idea of the Amiri package on CTAN provided an |
@khaledhosny Sure! I haven't been reaching out to folks about doing this, but I think it would be a sensible approach. Are you familiar with how they're supposed to look? |
Not sure I remember the syntax (and I think it changed since I last tried it long ago), if you can give me a file that would be super awesome, otherwise I can always check the docs/source code and try. |
This should be enough to get you started... not sure if
|
Will,
Sorry for the late answer.
You could write an |Amiri.fontspec| file to hard-code this if it was a
common font used by babel.
I think Amiri is used very often, and even if not, it will for sure
(it's a great font).
Javier
|
Brief outline of the bug
I'm trying to write arabic with babel (version 3.16). and I have troubles to write bold text, when using \bfseries part the bolded text appears also italic ( with option "bidi=basic-r" )
If I use "bidi=default" there is no problem
Minimal example showing the bug
Log file (required) and possibly PDF file
test2.log
test3.log
test2.pdf
test3.pdf
The text was updated successfully, but these errors were encountered: