Arabic Text Com

9 views
Skip to first unread message
Message has been deleted

Germana Layng

unread,
Jul 9, 2024, 3:29:54 AM7/9/24
to maefersnetsu

This is mostly because you have text with mixed directionality (i.e. left-to-right and right-to-left) in the same sentence in this card. Adjacent characters can affect each another in confusing ways sometimes.

Hello!
I will try to keep it short and clear. I installed the ME InDesign. I need to copy paste an Arabic text from Word into the InDesign file. This text contains both arabic and roman script, sometimes in the same sentence.

arabic text com


Download File https://urlcod.com/2yRJxJ



Clearly the order gets mixed up. Now, I have read through every single article possible that is related to this topic, and I have tried all the answers posted there - meaning I do have the following turned on: align right, RTL paragraph direction, character direction: default, digits: arabic, typeface adobe: arabic, character style/language: arabic

Moreover, when I am selecting the mixed script sentence in Word, by dragging the cursos over the sentence to select, if I slow it down, I can see it being selected sporadically until it all gets blue - by that I mean this:


Someone please help me fix this, it is incredibly annoying... even if I copy past word by word, number by number it somehow switches directions, starts typing from another point, etc... like its going crazy

Thank you in advance!

Mixed paragraphs with RTL and LTR text are problematic. Only one language direction can be allowed to have a line break. You cannot have line breaks with both languages. Asign to one language a no break property. So these texts must be so short to fit in a line. If that is not possible, breakt it up into several paragraphs.

And I was wondering, would there be any different result overall if you Place the file (File > Place) vs. Copy/Paste from Word? Copy/Paste is, in general, not the best approach. Though it may be necessary in some cases.

The experience you described is what we have been suffering with it for decades to the extent it became a normal issue for us. Microsoft had localized (Arabized) their Office applications differently to how Adobe did it, add to this Windows OS, and Mac both have again different methods of dealing with Right to Left Languages. That's why we try to minimize the differences in a workflow by trying to work on specific platform Win/Mac and keep the workflow from a single developer such as InCopy for writers and authors, along with InDesign for the rest of designers and page layout staff.

In your example you're dealing with short text. If you know Arabic, I advice you of typing the sentence all over in InDesign. Otherwise, the best way to get Arabic from MS. Word is by placing it not copy/paste.

That's a command in the File menu, without which you will be using all kinds of crazy workarounds. My own preferred crazy workarounds is to place the Word document, and then use RTL and LTR markers and overrides to force the text to render the way I think it ought to render. There are markers and overrides in Type -> Insert Special ME Character -> Unicode Markers. Sometimes I also have to mark individual spaces as RTL character direction (that's in the flyout menu on the Charater panel) especially when numerals and parentheses and such are involved.

I'm ready to tear my hair out with this. 2 examples attached.
Top is screenshot of the Word doc.
Bottom is screenshot of how it comes into Indd, whether pasted, placed, or even put into Text and Remove All Formatting before pasting. I can't place the English words where I need them to go.
How can Word do this correctly but InDesign cannot?
Help!!

Some glyphs are treated by InDesign as inherently LTR (like Latin script) and others as inherently RTL (like Arabic script). Others that appear in both contexts, like parentheses and hyphens, are inherently bidirectional, and are awarded directionality based on the surrounding characters. This system doesn't match Word's system, at all. This creates real problems when attempting to e.g. add parenthetical part numbers that have embedded hyphens. Or to have trilingual parenthetical statements in English, Japanese, and Arabic.Additionally, sometimes Word (or maybe the Windows clipboard?) has in the past added Unicode control characters for things like directionality overrides. Just to make things more interesting, right?

So, in your shoes, I would set up InDesign to use logical character selection (not visual) and then use the keyboard to select the entire part number, and then choose Left-to-Right Character Direction, and then overtly mark the spaces around the part number as Right-to-Left Character Direction. This is one of the real hair-pulling things for me; spaces themselves inherit their directionality from their surrounding glyphs. I'll try to post an illustrative video later, but it'd probably work better if you (or Zaid?) posted some text for me to work with, as I don't read Arabic and couldn't even estimate how long it'd take me to hunt-and-peck my way through rekeying even one of the sentences you're working with.

The first thing I notice is that, when I copy your sample text out of Chrome and paste into InDesign and Word, is that Word handles the directionality of the hyphen incorrectly, and what is rendered as "End-users" in both Chrome and InDesign, Word treats as "users-End".

So the logical order of characters is the same, even if they're being displayed in different ways. Note that, in both cases, the spaces surrounding the English phrase are being handled as RTL spaces, because in both apps I have RTL paragraph direction turned on.

It's still rendering incorrectly! That is because InDesign's Word import filter is respecting the incorrect Word settings. All we have to do here is allow InDesign to render the text according to the keystream by reverting to "Default" character direction.

That is how it works, in a simple case. However, there are plenty of non-simple cases. For instance, sometimes my Arabic translators key in all of their parentheses when using the Arabic keyboard in Word running on Windows, and in other cases they key in their parentheses, or their entire part numbers, by switching to the English keyboard. Sometimes they key it all in Arabic, and then realize upon proofing that they need to add a single space, and accidentally whack their space bar with the English keyboard on. This confuses Word's directionality settings, which goes on to confuse InDesign's Word import filter. This can lead to situations where simply selecting Default Character Direction isn't enough, and we have to force InDesign to render text properly. Here is one of my own examples that I worked on recently:

I obviously didn't finish cleaning this one all the way (e.g. the wholly unnecessary discretionary ligature in "complaint_filing_cust.html" which is on because this particular translation app always turns all of the discretionary ligatures on when handling Arabic in IDML) but I think you'll get the idea. "Default" character direction usually works once you have your text in InDesign, but if you have to handle a lot of bidirectionality in the middle of a paragraph, knowing how to force the directionality of spaces and parentheses and the like will usually let you render your text as you'd expect with a minimal amount of effort.

Perfect examples and illustrations Joel. Talking about dashes, since the dash appears the same just like a minus sign in both Arabic and English, it doesn't mean that it is alright to mix and match wherever in the text we're typing. I mean to say that it is wrong for the typesetter or writer of a multilingual sentence to type some digits as follows 248 then switch the keyboard input to Arabic to type a dash in order to separate the digits this way: 2-4-8

The trickiest part of a multilingual and bidirectional text is when working with numbers that have fractions such as 2.99, dashes, or parentheses. In such an event, I have to visit more menus and manually adjust the text just like Joel's example, what I also end up doing mostly is assigning the English Language to digits 12345, and assigning Arabic Languagee to digits ١٢٣٤٥ if there are any in the article. I find this step forces the Digits to behave well

That is correct, I don't have the ME version activated. Since this is a rare project, I did manage a workaround without having to reload InDesign! I could never have figured it out without the excellent help offered in this forum!!!
(Sorry, I don't know how to record my workaround steps:)
1) Place (preferred) or paste the RTL text. (Note, it will not be RTL in InDesign, even if it's RTL in Word, until the InDesign paragraph style includes World-Ready Paragraph Composer.)
2) I had already created paragraph styles with the ME-friendly font and included Right Justified and World-Ready Composer (which is found under "Justification")
3) Assign the style, and the text jumps to RTL.
4) For English text within the paragraph, assign a Character Style that includes "English" as the Language (found in the Advanced Character Formats dialog box). This Character Style was also useful because the English text is often much larger than the ME text, so it's nice to make them smaller.
5) Now... highlight the text, and re-type it backwards! This sounds odd, but it really worked.
6) Dashes and Parentheses are problematic... sometimes they caused whole paragraphs to come apart, and I actually put those phrases on their own single line. And sometimes the parentheses worked as expected!

Thank you all again, I couldn't have done it without you.

That is really clever! I can't really endorse the "I just typed the letters backwards" solution, but I totally understand why you used it. I used to use many similar techniques myself, back in The Old Days when the Middle East Edition of InDesign was a separate (expensive) app sold by Winsoft, and I worked in a nonprofit that couldn't afford to buy me a license. The Bad Old Days, I guess.

Today, of course, it's free with your Creative Cloud subscription. But if you don't want to deal with the hassle of reinstalling (or the hassle of asking the IT department to allow such reinstallation), there are a few other hacky workarounds you can use. I'll list a few of the most useful I know about here, in case you, or anyone else, ever need them:

59fb9ae87f
Reply all
Reply to author
Forward
0 new messages