auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Correct handling of left-to-right inside right-to-left paragrap


From: Filipe Moreira
Subject: [AUCTeX] Correct handling of left-to-right inside right-to-left paragraphs using Emacs and AUCTeX
Date: Wed, 20 Jan 2016 19:03:02 -0800

Hi everyone,

I’m using AUCTeX to compose a document has English as its main language but that also has some Hebrew and Greek. The problem I have is with the way Emacs/AUCTeX interpret individual characters.

While editing a Hebrew only paragraph, Emacs correctly sets the paragraph direction to RTL. However when adding a new character (e.g. the ‘\’ char) Emacs does not know how to treat it - LTR or RTL. So it decides to leave as it is, in this case RTL, and the LaTeX command is shown incorrectly on the screen.

I have a screenshot with some sample code that explain the issue here: http://tex.stackexchange.com/questions/288299/handling-left-to-right-inside-right-to-left-paragraphs-using-emacs-and-auctex.

Is there a way to make Emacs know that the slash char, within AUCTeX mode, introduce a new command and should be treated as always LTR?

Thanks

Filipe Moreira
-- 
Freelance Web Developer(Ruby & _javascript_)
coderelax.com

reply via email to

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