<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
</head>
<body dir="auto">
I wonder if there is a systematic way to inject some global CSS that could appropriately override such default behavior. <br>
<div><br>
On Jun 5, 2018, at 7:36 AM, Itay <<a href="mailto:itayf@nospammail.net">itayf@nospammail.net</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<title></title>
<div style="font-family:Arial;">Hi<br>
</div>
<div>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt"> </span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">We are interested in developing content in Hebrew which is a Right-to-left (RTL) language.</span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">We have authored several test problems in order to see the extent of RTL support.</span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">To achieve correct directionality of the text within sentences we have used the <span> tags with the RTL attribute.</span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">However, this does not provide good support for RTL alignment of paragraphs.</span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">For example, in a radiobutton response, the radio buttons appear on the wrong side, see minimal example below.</span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt"> </span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">We haven’t found in the manuals any instructions for authoring content in RTL languages.</span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">We wonder if full RTL support is available for Lon-Capa content and interface (including menus, etc.).</span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">If such support is not available built-in, we would appreciate any information as regard to implementing such support.</span></span><br>
</p>
<div style="font-family:Arial;"><br>
</div>
</div>
<div style="font-family:Arial;"><span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">Minimal examples follow below.</span></span><br>
</div>
<div>
<div style="font-family:Arial;"><span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">(Note: this message was sent to the developers' list but did not receive any response.  So we try our luck here.)</span></span><br>
</div>
<div style="font-family:Arial;"><span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">Thank you in advance.</span></span><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;"><span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">Itay Furman & Yair Naveh</span></span><br>
</div>
<div style="font-family:Arial;"><span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt">Jerusalem College of Engineering, Israel</span></span><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;"><br>
</div>
</div>
<div style="font-family:Arial;"><problem><br>
</div>
<div style="font-family:Arial;">  <!-- Test full RTL support : demonstrate wrong placement of submission field. --><br>
</div>
<div style="font-family:Arial;">  <script type="loncapa/perl"><br>
</div>
<div style="font-family:Arial;">    $a=&random(1,10,1);  $b=&random(1,10,1);  $c=$a+$b;<br>
</div>
<div style="font-family:Arial;">  </script><br>
</div>
<div style="font-family:Arial;">  <startouttext /><br>
</div>
<div style="font-family:Arial;">  <translated><br>
</div>
<div style="font-family:Arial;">    <span dir="rtl">חשבו: כמה זה $a + $b?</span><br>
</div>
<div style="font-family:Arial;">  </translated><br>
</div>
<div style="font-family:Arial;">  <endouttext /><br>
</div>
<div style="font-family:Arial;">  <numericalresponse answer="$c"><br>
</div>
<div style="font-family:Arial;">    <textline /><br>
</div>
<div style="font-family:Arial;">  </numericalresponse><br>
</div>
<div style="font-family:Arial;"></problem><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;"><problem><br>
</div>
<div style="font-family:Arial;">  <!-- Test full RTL support :<br>
</div>
<div style="font-family:Arial;">       demonstrate wrong placement of radiobuttions, and wrong alignment of margins. --><br>
</div>
<div style="font-family:Arial;">  <span dir="rtl"><br>
</div>
<div style="font-family:Arial;">    <startouttext /><br>
</div>
<div style="font-family:Arial;">    כמה זה 1+1?<br>
</div>
<div style="font-family:Arial;">    <endouttext /><br>
</div>
<div style="font-family:Arial;">    <radiobuttonresponse max="10" randomize="yes"><br>
</div>
<div style="font-family:Arial;">    <foilgroup><br>
</div>
<div style="font-family:Arial;">      <foil location="random" value="true" name="foil1"><br>
</div>
<div style="font-family:Arial;">        <startouttext />2 (זוהי תשובה נכונה).<endouttext /><br>
</div>
<div style="font-family:Arial;">      </foil><br>
</div>
<div style="font-family:Arial;">      <foil location="random" value="false" name="foil2"><br>
</div>
<div style="font-family:Arial;">        <startouttext />4 (זוהי תשובה שקרית).<endouttext /><br>
</div>
<div style="font-family:Arial;">      </foil><br>
</div>
<div style="font-family:Arial;">      <foil location="random" value="false" name="foil3"><br>
</div>
<div style="font-family:Arial;">        <startouttext />5.5 (זוהי תשובה שקרית).<endouttext /><br>
</div>
<div style="font-family:Arial;">      </foil><br>
</div>
<div style="font-family:Arial;">    </foilgroup><br>
</div>
<div style="font-family:Arial;">    </radiobuttonresponse><br>
</div>
<div style="font-family:Arial;">  </span><br>
</div>
<div style="font-family:Arial;"></problem><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;"><problem><br>
</div>
<div style="font-family:Arial;">  <!-- Test full RTL support : demonstrates correct mixture of RTL and LTR pieces. --><br>
</div>
<div style="font-family:Arial;">  <startouttext /><br>
</div>
<div style="font-family:Arial;">  <span dir="rtl"><br>
</div>
<div style="font-family:Arial;">    לפני המשוואה  <!-- This text precedes the equation (on the right). --><br>
</div>
<div style="font-family:Arial;">    <m>\(c = a + b \)</m><br>
</div>
<div style="font-family:Arial;">    אחרי המשוואה. <!-- This text follows the equation (on the left). --><br>
</div>
<div style="font-family:Arial;">    <br /><br>
</div>
<div style="font-family:Arial;">    לפני האנגלית, <!-- This text precedes the english text. --><br>
</div>
<div style="font-family:Arial;">    english text between hebrew text,<br>
</div>
<div style="font-family:Arial;">    אחרי האנגלית. <!-- This text follows the english text. --><br>
</div>
<div style="font-family:Arial;">  </span><br>
</div>
<div style="font-family:Arial;">  <endouttext /><br>
</div>
<div style="font-family:Arial;"></problem><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div style="font-family:Arial;">Done minimal examples.<br>
</div>
<div style="font-family:Arial;"><br>
</div>
<div>
<div style="font-family:Arial;"><br>
</div>
</div>
<div style="font-family:Arial;">
<div>
<div>
<div>
<div style="font-family:Arial;"><span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt"> </span></span><br>
</div>
</div>
</div>
</div>
</div>
<div>
<p dir="RTL" style="text-align:right;direction:rtl;margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt"><span dir="LTR"> </span></span></span><br>
</p>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:0.0001pt;margin-left:0cm;">
<span class="font" style="font-family:"Calibri", sans-serif"><span class="size" style="font-size:11pt"> </span></span><br>
</p>
</div>
<div style="font-family:Arial;"><br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>LON-CAPA-users mailing list</span><br>
<span><a href="mailto:LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail.lon-capa.org</a></span><br>
<span><a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-users">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a></span><br>
</div>
</blockquote>
</body>
</html>