unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Evan Aad <oddeveneven@gmail.com>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is there a way to force the directionality of a line of text in the GUI?
Date: Tue, 15 Nov 2022 13:48:37 +0200	[thread overview]
Message-ID: <CA+-Lr-D9=t3aQxmUV1hnQ8BMNe4tnzagWcrg48QVcDaQbS20bQ@mail.gmail.com> (raw)
In-Reply-To: <87sfiktpt2.fsf@fastmail.fm>

On Tue, Nov 15, 2022 at 1:33 PM Joost Kremers wrote:
>  I think all you can do is insert the special Unicode character LEFT-TO-RIGHT MARK at the beginning of the relevant line. I don't know what your TeX system will do with that character, though.

I have solved the problem using the following workaround: I have added
the comment "%LTR" immediately after the second dollar sign. Now that
the line contains letters from the English alphabet, Emacs' bidi
algorithm recognizes it as English text, and therefore justifies it to
the left of the buffer. However, since this is a TeX comment, it is
ignored by the TeX compiler, and therefore affects the processing, and
the resulting typeset PDF file, in no way.



      reply	other threads:[~2022-11-15 11:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14  7:17 Is there a way to force the directionality of a line of text in the GUI? Evan Aad
2022-11-15  9:20 ` Arash Esbati
2022-11-15 11:13 ` Joost Kremers
2022-11-15 11:48   ` Evan Aad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+-Lr-D9=t3aQxmUV1hnQ8BMNe4tnzagWcrg48QVcDaQbS20bQ@mail.gmail.com' \
    --to=oddeveneven@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joostkremers@fastmail.fm \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).