Pressing Esc on the Farsi keyboard layout will toggle the mouse input between virtual QWERTY keyboard and virtual Farsi keyboard. The key will also turn on/off your keyboard input conversion. Pressing Esc on your keyboard has the same function.
i recently changed from ubuntu 20.04 to ubuntu 22.10. now when i try to add persian keyboard layout it's not in the add an input source menu. i searched for persian and farsi and no languages were found. every other language seems to be there.
I want to use Lyx to write in Persian. In Persian we have a space character named "zero-width space" or "half-space" and in a standard keyboard, we type it with "Shift-Space" shortcut. It is "U-200C" in utf-8 encoding.
In Lyx I cannot type that, when pressing "Shift-Space" nothing happens. I tried to specify a new shortcut to mimic that, but Lyx cannot recognize such combination in Persian keyboard. Also, I changed some definitions in .kmap but it didn't work.
I think the problem is that when I hold shift-key, Lyx remap the keyboard and "Shift-Space" has no mean then. Also when I copy-paste some Persian text that include zero-width space, Lyx replaces all of them with simple space.In other latex editors there is no problem, not in typing and not in compiling.
The case of U+200C ('ZERO WIDTH NON-JOINER', not "ZERO WIDTH SPACE") is similar, but simpler, since it is substituted by \textcompwordmark that is already defined (therefore, nothing is added to the preamble). In Superuser there a question of how type u+200C that include an answer specific for Persian or Arabic keyboards.
پتب
پ ت ب
the second line I separated the three characters with a space, in the first line they are joining together fine. If you install my keyboard into Keyman, do you get peh, beh and teh joining together?
Steve, thank you for your care. I downloaded Farsi Test, compiled and selected it to write the string. and could produce the string in Word. I need your permission to send you my keyboard source for fault-finding. I have less-than-a-couple-of-hours expertise in the Keyman Developer. Pushing my luck, awaiting your reply.
Lorna, I intend to use my keyboard on the desktop (Windows). When all gets ironed out, that too. The persisting problem is the desktop, and my lack of experince! Thanks to the Community, I seem to dig a bit every day?
Persian and Arabic Text (known as "PAText") fixes problems with glyphs in some environment which does not support the "FA" and "AR" keyboard layouts by default. The class acts like a translator for pointing Persian characters to the correct style in the UTF-8 character set.
df19127ead