-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workingreport to SILEIssue should be generalized and reported to SILEIssue should be generalized and reported to SILE
Description
\begin[papersize=b6,class=plain]{document}
\use[module=packages.frametricks]
\use[module=packages.framebox]
\use[module=packages.rules]
\use[module=packages.color]
\nofolios
\neverindent
\define[command=sbox]{\framebox[bordercolor=#008000]{\color[color=#8b0000]{\process}}}
\define[command=hlght]{\color[color=#8b0000]{\process}}
\define[command=cmnt]{\breakframevertical\font[size=0.8em]{\color[color=#666666]{\process}}\smallskip}
\define[command=rtlframe]{\breakframevertical\thisframedirection[direction=RTL]}
\define[command=ltrframe]{\breakframevertical}
\font[family="Amiri",size=12pt]
\cmnt{LTR language:}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\bigskip
\cmnt{LTR}
\ltrframe
Lorem ipsum dolor sit amet, \sbox{consectetur adipiscing} elit, sed do eiusmod tempor \sbox{incididunt} ut labore et dolore magna aliqua.
\bigskip
\cmnt{RTL}
\rtlframe
Lorem ipsum dolor sit amet, \sbox{consectetur adipiscing} elit, sed do eiusmod tempor \sbox{incididunt} ut labore et dolore magna aliqua.
\medskip\fullrule\medskip
\cmnt{RTL language:}
\rtlframe
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \hlght{يونيكود}.
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \hlght{unicode}.
\bigskip
\cmnt{LTR}
\ltrframe
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \hlght{unicode}.
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \sbox{unicode}.
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \sbox{يونيكود}.
\bigskip
\cmnt{RTL}
\rtlframe
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \hlght{unicode}.
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \sbox{unicode}.
عندما يريد العالم أن يتكلّم، فهو يتحدّث بلغة \sbox{يونيكود}.
\end{document}Notice how the highlighted arabic word is rendered with the letters in reverse order.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingreport to SILEIssue should be generalized and reported to SILEIssue should be generalized and reported to SILE
