help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to handle mixed LtR and RtL scripts in tabulated lists


From: Eli Zaretskii
Subject: Re: How to handle mixed LtR and RtL scripts in tabulated lists
Date: Tue, 15 Sep 2020 18:55:42 +0300

> From: Joost Kremers <joostkremers@fastmail.fm>
> Date: Tue, 15 Sep 2020 13:45:50 +0200
> 
> I'm wondering if there is a good way to create tabulated lists 
> that have both left-to-right and right-to-left scripts. I'm 
> running into the problem that the rtl entries have the columns in 
> the "wrong" order.
> 
> I'm putting "wrong" in quotes here, because for the actual rtl 
> entry, the columns would be in the right order. It's just that 
> mixing such entries with ltr entries yields bad results.
> 
> Details of the actual problem can be found in this Github issue:
> 
> https://github.com/joostkremers/ebib/issues/172

This is actually covered in the ELisp manual, in the node
"Bidirectional Display".  It suggests several different ways of
handling this, I'm quite sure one of them will satisfy your needs
without being too much of a burden.

> Currently, I'm using the built-in function 
> `truncate-string-to-width` to create the rows of the tabulated 
> list.

Not sure this part is related.  If there are bidi aspects that
interfere with this truncation, please tell the details.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]