[XeTeX] multicol and RTL scripts

Adam McCollum acmccollum101 at gmail.com
Thu Feb 10 16:33:08 CET 2011


Indeed, Fr. Michael, this works perfectly. Thanks for the solution! I'm glad
it was so simple.

Adam


On Thu, Feb 10, 2011 at 9:27 AM, Fr. Michael Gilmary, mma <
frmichaelgilmary at maronitemonks.org> wrote:

> On Feb 10 AD 2011, at 10:06 AM, Adam McCollum wrote:
>
>
>
>
>
> Here is a minimal example, and my log file is attached. Thanks.
>
> \documentclass{article}
>
> \usepackage{multicol}
> \usepackage{xltxtra, polyglossia}
>
> \setmainlanguage{english}
> \setotherlanguage{arabic}
>
> \defaultfontfeatures{Scale=MatchLowercase}
>
> \setromanfont [Ligatures={Common}, Mapping = {tex-text},
> Numbers={OldStyle}]{Junicode}
>
> \newfontfamily\arabicfont[Script=Arabic, Scale=1.6]{Scheherazade}
>
> \listfiles
>
> \begin{document}
>
> \begin{multicols}{2}
> \begin{RTL}
> \begin{Arabic}
> وفي مُنْتَصَف شَهْر المُحَرَّم من سِتّ وَخَمْسِين وَسِتّمَائَة هُولَاكُو
>  بِنَفْسِه على باب بَغْداد وفي يوم ولَيْلة بَنَى المَغُول بِالْجانِب
> الشَرْقيّ سِيبَا اَعْنِي سُوراً عالِياً وَبَنَى بُوقَاتِيمُور وَسُنْجَاق
> نُويَن وَبَايجُو نُويَن  بالجَنِب الغَربِيّ كذلك وَحَفَرُوا خَنْدَقاَ
> عَمِيقاً دَاخِل السيبا وَنَصَبُوا المَنْجَنِيقَات   بِأَزَاءَ سُور بغداد من
> جَمِيع الجَوَانِب ورتبوا العَرَّادَات  وَآلَات النَفط. وكان بَدْء القِتَال
> ثَانيَ وَعِشْرِينَ مُحَرَّم. فَلَمَّا عَايَن الخَلِيفة العَجْز في نَفْسِه
> وَالْخِذْلان من أَصْحابِه أَرْسَل صَاحِب دِيوَانِه وَابْن دَرْنُوش الى
> خِدْمة هولاكو وَمَعَهم تُحَف نَزْرة.
> \end{Arabic}
> \end{RTL}
> \end{multicols}
>
> \end{document}
>
>
>
>
> Why not switch the order of the environments?
>
> \begin{RTL}
> \begin{multicols}{2}
>
>
> \end{multicols}
> \end{RTL}
>
> That seems to work here.
>
>
>
>
>
> United in adoration of Jesus,
>
>
>
> fr. michael gilmary, mma
>
> Most Holy Trinity Monastery
> 67 Dugway Road
> Petersham, MA 01366
>
> www.MaroniteMonks.org
>
>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110210/f3553bef/attachment.html>


More information about the XeTeX mailing list