all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.