Skip to main content
Lordrhavin
Inspiring
November 29, 2023
Question

Indesign bug: RTL mark not working

  • November 29, 2023
  • 1 reply
  • 1301 views

I have some text in arabic in a manual that gets printed in the wrong direction. If i put a RTL-mark before it, i just get a little directional arrow but the text doesnt change direction. Where do i set RTL/LTR?

This topic has been closed for replies.

1 reply

Zaid Al Hilali
Community Expert
Community Expert
November 29, 2023
quote

If i put a RTL-mark before it, i just get a little directional arrow but the text doesnt change direction. 


By @Lordrhavin

 

I didn't understand the above part of what you wrote. However, I do understand that you need to have RTL / LTR controls

 

To get these Paragraph direction controls, you need to have the Middle Eastern version of Adobe InDesign.

In order to install the Middle Eastern copy of Adobe InDesign, you can remove existing copy, or keep existing copy thus having two copies of InDesign eventually, one for Right-to-Left languages, and original copy of InDesign on your machine for English jobs.

 

Lordrhavin
Inspiring
November 29, 2023

https://www.google.com/search?q=RTL+mark

I need another version to have a certain basic text feature that any modern browser supports. Are you kidding me?

Joel Cherney
Community Expert
Community Expert
November 29, 2023

Nope! He's not kidding you, and you don't actually need to install a Middle Eastern edition of InDesign with full controls for bidirectional typesetting that far exceed what you're going to find in any modern browser. But you do need to understand how that robust typesetting engine works, if you expect to salt your text with a few Unicode directional markers and have it respond as if it were text in a browser. (As you've already learned, it won't.) 

 

100% of the tools for handling RTL text are available in your install of InDesign; most of what is added in the ME editions are user interface tools to easily control bidirectional layout. For example, it's possible to turn an LTR paragraph into an RTL paragraph with a line of Javascript, if you don't have the ME edition installed. But if you need to handle any significant amount of bidirectional text formatting, it's much faster to just install the right toolset than it would be to go through your document and add Arabic letter marks (which I'd suggest in your shoes, instead of RTL marks). 

 

Assuming that you're actually trying to use the RTL mark correctly as you would in a browser (on a run of Arabic embedded in the midst of a fully LTR paragraph) then what you'd want to do instead is inform InDesign's typesetting engine that you want to assign the RTL property to a selection of text by using this line of Javascript:

 

 

app.selection[0].characterDirection = CharacterDirectionOptions.rightToLeftDirection

 

 

Assuming you're using Windows, you can navigate to your "Scripts Panel" folder located under \AppData\Roaming\Adobe\Indesign\yourVersion\yourLocale\Scripts and save it there as something like "applyRTL.js" then run it from the Scripts panel on any selected text.