diff --git a/doc/forum/PO_and_RTL_support/comment_13_ebe1c390b478bb87021850ea019a8194._comment b/doc/forum/PO_and_RTL_support/comment_13_ebe1c390b478bb87021850ea019a8194._comment new file mode 100644 index 000000000..9c167f8ea --- /dev/null +++ b/doc/forum/PO_and_RTL_support/comment_13_ebe1c390b478bb87021850ea019a8194._comment @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="smcv" + ip="81.100.115.242" + subject="comment 13" + date="2014-10-23T08:06:48Z" + content=""" +> I was told here that there is a patch already + +That patch is for the po plugin, which is specifically designed for a wiki +in which every page `foo` is written in a \"master language\" (often English) +in a file like `/foo.mdwn`, and then translated into secondary languages +via translation files like `/foo.ar.po`. + +If that doesn't describe your wiki, then the po plugin is not intended +for you, and you would be better off with a change to the meta plugin +to make it possible to emit the same language and/or direction +attributes in the HTML, but triggered by different source code. +"""]] diff --git a/doc/forum/Problems_with_img_directive_on_nearly_free_speech/comment_1_c66ef7bcfd45cab29453cd0a17d71ea1._comment b/doc/forum/Problems_with_img_directive_on_nearly_free_speech/comment_1_c66ef7bcfd45cab29453cd0a17d71ea1._comment new file mode 100644 index 000000000..82ede676a --- /dev/null +++ b/doc/forum/Problems_with_img_directive_on_nearly_free_speech/comment_1_c66ef7bcfd45cab29453cd0a17d71ea1._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="openmedi" + ip="91.65.196.164" + subject="comment 1" + date="2014-10-22T22:01:41Z" + content=""" +Okay. I figured it out with help from the nearlyfreespeech forum. It had nothing to do with ikiwiki. Nonetheless here's the solution, for posterity: You can check, if PerlMagick is installed by running ```perl -MImage::Magick -e \"print $Image::Magick::VERSION\"```. If it isn't, you will get an error that looks like this: + +>```Can't locate Image/Magick.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .). +BEGIN failed--compilation aborted. ``` + +If that's the case, you might have to upgrade/switch to a new \"realm\". As of the time of this writing PerlMagick is installed in the realms \"indigo\" and \"white\". How this is done, is described in the members only FAQ of nfs. +"""]] diff --git a/doc/forum/Right-to-left_support/comment_3_49f82c1d9bfb460c1a468e66c9acf97b._comment b/doc/forum/Right-to-left_support/comment_3_49f82c1d9bfb460c1a468e66c9acf97b._comment new file mode 100644 index 000000000..f1e648786 --- /dev/null +++ b/doc/forum/Right-to-left_support/comment_3_49f82c1d9bfb460c1a468e66c9acf97b._comment @@ -0,0 +1,33 @@ +[[!comment format=mdwn + username="smcv" + ip="81.100.115.242" + subject="comment 3" + date="2014-10-23T07:57:39Z" + content=""" +> The Arabic pages on your wiki seem to have the Arabic in LTR, instead of the intended RTL + +As I said on the other forum thread, it does look to me as though it is RTL; +the display bug is that it's left-justified (text-align: left) because the +blueview stylesheet explicitly (and unnecessarily?) left-aligns text. + +You can test RTL/LTR in English by putting a distinctive directionless punctuation +character at the beginning and end of a paragraph like this: + +
• This renders with a bullet on the left and an ellipsis on the right…
+• This renders with a bullet on the right and an ellipsis on the left…
+ +The actual text still goes left-to-right because Latin characters are known +to be left-to-right by the Unicode bidi algorithm, but the punctuation moves +around, and in ikiwiki themes other than blueview and goldtype, the alignment +changes too: + +• This renders with a bullet on the left and an ellipsis on the right…
+• This renders with a bullet on the right and an ellipsis on the left…
+ +More test-cases: + +*