<div dir="ltr"><div><div><div><div><div>Petko, John, Thank you for the responses.<br><br></div>Petko, the coding has worked - with the most recent 3 lines for config.php and the commands in the page. This is most appreciated.<br><br></div>That said, the text in the editing window is still left to right. It's a little tricky to edit, but since it was already mostly-formatted text copied over, it was doable. Some issues with the ordered list (number style, order of numeral and period), so I manually entered the list item numbers. But what I still find amazing is how well the text behaves overall in the final view.*<br><br></div><div>I anticipate having another RTL text in N'Ko script (from West Africa) and will see if this coding works for that too.<br></div><div><br></div>Are there any other PmWikis with chunks of text in Arabic or Hebrew? <br><br></div>All the best, <br><br></div>Don<br><br>* <a href="http://www.bisharat.net/wikidoc/pmwiki.php/Casablanca/%D8%A8%D9%8A%D8%A7%D9%86-%D8%A7%D9%84%D8%AF%D8%A7%D8%B1-%D8%A7%D9%84%D8%A8%D9%8A%D8%B6%D8%A7%D8%A1">http://www.bisharat.net/wikidoc/pmwiki.php/Casablanca/بيان-الدار-البيضاء</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 15, 2015 at 12:12 PM, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-10-15 17:38, Petko Yotov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2015-10-14 23:02, Donald Z. Osborn wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there a command or other means to make right-to-left text display<br>
correctly on a Europhone language wiki?<br>
</blockquote>
<br>
You can add a "direction" wikistyle in config.php:<br>
<br>
  $WikiStyleCSS[] = "direction";<br>
<br>
<br>
Then, in a wiki page, use it like this:<br>
<br>
  >>direction=rtl<<<br>
  (text right to left)<br>
  >><<<br>
<br>
or<br>
<br>
  %p direction=rtl% (A paragraph)<br>
<br>
  Normal text %direction=rtl% (right to left) %% normal text<br>
<br>
It is even possible to define %rtl% and %ltr% wikistyles:<br>
<br>
  $WikiStyleCSS[] = "direction";<br>
  $WikiStyle['rtl'] = array('direction' => 'rtl');<br>
  $WikiStyle['ltr'] = array('direction' => 'ltr');<br>
</blockquote>
<br></span>
After reading a little about RTL, this may be better in config.php:<br>
<br>
  $WikiStyleCSS[] = "direction|unicode-bidi";<br>
  $WikiStyle['rtl'] = array('direction' => 'rtl', 'unicode-bidi'=>'bidi-override');<br>
  $WikiStyle['ltr'] = array('direction' => 'ltr', 'unicode-bidi'=>'bidi-override');<br>
<br>
Petko<span class="im HOEnZb"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Then use in a wiki page<br>
<br>
  %p rtl% or >>rtl<< or %rtl%...%%<br>
<br>
I wouldn't know how to test this (I don't read rtl languages) but if<br>
you confirm it works, we can add this to the core.<br>
<br>
<br>
Petko<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a text in Arabic that comes out wrong, although the characters are<br>
okay. But the words are arranged left-to right.<br>
<br>
See:<br>
<a href="http://www.bisharat.net/wikidoc/pmwiki.php/Casablanca/%D8%A8%D9%8A%D8%A7%D9%86-%D8%A7%D9%84%D8%AF%D8%A7%D8%B1-%D8%A7%D9%84%D8%A8%D9%8A%D8%B6%D8%A7%D8%A1" rel="noreferrer" target="_blank">http://www.bisharat.net/wikidoc/pmwiki.php/Casablanca/%D8%A8%D9%8A%D8%A7%D9%86-%D8%A7%D9%84%D8%AF%D8%A7%D8%B1-%D8%A7%D9%84%D8%A8%D9%8A%D8%B6%D8%A7%D8%A1</a><br>
<br>
One other thing - Arabic words in page titles work, but if there is more<br>
than one word in the title, the software's default to join the words<br>
creates unfortuitous combinations due to that alphabet's letter joining<br>
characteristics (hence, I inserted hyphens).<br>
<br>
TIA for any pointers,<br>
<br>
Don Osborn<br>
</blockquote></blockquote>
<br></span><div class="HOEnZb"><div class="h5">
-- <br>
Change log     :  <a href="http://www.pmwiki.org/wiki/PmWiki/ChangeLog" rel="noreferrer" target="_blank">http://www.pmwiki.org/wiki/PmWiki/ChangeLog</a><br>
Release notes  :  <a href="http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes" rel="noreferrer" target="_blank">http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes</a><br>
If you upgrade :  <a href="http://www.pmwiki.org/wiki/PmWiki/Upgrades" rel="noreferrer" target="_blank">http://www.pmwiki.org/wiki/PmWiki/Upgrades</a><br>
<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br></div>