[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Wolfgang Schuster

Alan Bowen schrieb am 29.04.2024 um 19:37:

I used TeXShop and PopChar Pro to get the letter ר so that it is l2r.

Not a great solution but it works when one is working in r2l text. 
(Thank heaven for Unicode.)


I will have a look at Visual Studio Code.


I tested a few text editors with better RTL support and all of them show 
the text in the same way as TeXShop.


Support for RTL in Visual Studio Code seems to be limited because the 
editor doesn't use the Unicode Bidi Algorithm [1].


[1] https://wiki.archlinux.org/title/Bidirectional_text#Editors

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Wolfgang Schuster

Alan Bowen schrieb am 29.04.2024 um 18:27:
I discovered what the problem was. Just in case someone else may also 
wonder how to do this, one way (not necessarily the best) is to insert:

{ר}high\
where the letter in parentheses (resh) should be entered in a l2r 
context, not r2l.


Which editor do you use?

There is no universal solution for this because different editors 
require different methods, I tries Notepad++ and VSCode and latter was 
easier to use for me.


See the attached snipped how the input looks in Visual Studio Code.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Alan Bowen
I discovered what the problem was. Just in case someone else may also
wonder how to do this, one way (not necessarily the best) is to insert:
{ר}high\
where the letter in parentheses (resh) should be entered in a l2r context,
not r2l.

Alan


On Sun, Apr 28, 2024 at 4:23 PM Alan Bowen  wrote:

> I am having trouble entering ConteXt commands in an rtl language, in this
> case Hebrew.
>
> How does one make the last(left hand) letter of the Hebrew word
> אשר
> a superscript?
>
> My experiments with \high{...} have not been successful so far in part, I
> think, because I have not got the brackets right.
>
> Any tips or pointers will be gratefully received.
>
> Alan
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___