ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] ConteXt commands in an rtl environment
@ 2024-04-28 20:23 Alan Bowen
  2024-04-29 16:27 ` [NTG-context] " Alan Bowen
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Bowen @ 2024-04-28 20:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 369 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1332 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: ConteXt commands in an rtl environment
  2024-04-28 20:23 [NTG-context] ConteXt commands in an rtl environment Alan Bowen
@ 2024-04-29 16:27 ` Alan Bowen
  2024-04-29 16:46   ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Bowen @ 2024-04-29 16:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]

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 <bowenalan03@gmail.com> 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
>

[-- Attachment #1.2: Type: text/html, Size: 2478 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: ConteXt commands in an rtl environment
  2024-04-29 16:27 ` [NTG-context] " Alan Bowen
@ 2024-04-29 16:46   ` Wolfgang Schuster
       [not found]     ` <CAFMOkGV1Zqp9q7yZ0BtDo4zTEcaEDX_nZWFU-Y93-eMSwCsJFw@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2024-04-29 16:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Alan Bowen


[-- Attachment #1.1: Type: text/plain, Size: 560 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1211 bytes --]

[-- Attachment #2: hebrew.png --]
[-- Type: image/png, Size: 6161 bytes --]

[-- Attachment #3: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: ConteXt commands in an rtl environment
       [not found]     ` <CAFMOkGV1Zqp9q7yZ0BtDo4zTEcaEDX_nZWFU-Y93-eMSwCsJFw@mail.gmail.com>
@ 2024-04-29 20:56       ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2024-04-29 20:56 UTC (permalink / raw)
  To: Alan Bowen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 575 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1493 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-29 20:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-28 20:23 [NTG-context] ConteXt commands in an rtl environment Alan Bowen
2024-04-29 16:27 ` [NTG-context] " Alan Bowen
2024-04-29 16:46   ` Wolfgang Schuster
     [not found]     ` <CAFMOkGV1Zqp9q7yZ0BtDo4zTEcaEDX_nZWFU-Y93-eMSwCsJFw@mail.gmail.com>
2024-04-29 20:56       ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).