Inverting Styles, Page Layouts, and Image Callouts
In the Language tab for the target there are multiple options that are selected by default when you choose a right-to-left (RTL) language at the project or target level. The options are used to automatically invert the following: (1) language-related style rules locally, (2) language-related style rules in the stylesheet, (3) image callouts from MadCap Capture, and (4) page layout settings.
The options that are seen depend on which output type you are using.
- PDF/Word All four options are shown.
- HTML5/HTML Help/EPUB/WebHelp/WebHelp Plus Local styles, CSS styles, and image callout options are shown.
- DITA No options are shown.
These options can be quite useful after you receive the project back from a translator. When you generate the output, the inversion of the styles and page layouts takes place.
Example You have a project in English, a left-to-right (LTR) language, and you need to have it translated into Arabic, a right-to-left language.
For your p style, suppose you have a left margin of 5 px and a right margin of 30 px.
Those settings work fine for your targets using the LTR language. But for the RTL language, you need the settings to be flipped so that the left margin is 30 px and the right margin is 5 px.
So after you receive the project back from the translator, you make sure the RTL language in Flare is set at either the project or target level.
As a result, the inversion options become selected automatically, and when you generate the output, paragraphs will have a left margin of 30 px and a right margin of 5 px.
Note If your selected language is LTR, these options cannot be accessed in the Target Editor.