From: Andy Moreton <andrewjmoreton@gmail.com>
To: 22429@debbugs.gnu.org
Subject: bug#22429: Force character to be recognized as LTR inside RTL paragraph
Date: Fri, 22 Jan 2016 09:31:39 +0000 [thread overview]
Message-ID: <86h9i6ot8k.fsf@gmail.com> (raw)
In-Reply-To: <56a13f4844c61b5100000006@polymail.io>
On Fri 22 Jan 2016, Eli Zaretskii wrote:
>> Date: Fri, 22 Jan 2016 10:08:06 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 22429@debbugs.gnu.org
>>
>> The correct solution to these problems is to wrap the footnote block
>> in the LRE..PDF or LRI..PDI control characters, so that the footnote
>> is rendered independently of the surrounding bidirectional context.
>
> Actually, LRM should also work, you just need to put it on both sides
> of the footnote, like below:
>
> \begin{hebrew}
> \pstart
>
> בְּרֵאשִׁ֖ית\footnoteA{This is a Hebrew related footnote} בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃
>
> \pend
> \end{hebrew}
While reading this message, I noticed odd behaviour of cursor motion
with <right> and <left> (i.e. right-char and left-char).
I would expect repeated <right> to move in logical order until the end
of the buffer, but it gets stuck on the newline after "\pstart".
Likewise repeated <left> from the end gets stuck at the newline before
"\pend".
Saving this text in a file "foo.txt" showed the same behaviour (using the
latest emacs-25 branch with "emacs -Q"). Is this expected ?
AndyM
next prev parent reply other threads:[~2016-01-22 9:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 21:14 bug#22429: Force character to be recognized as LTR inside RTL paragraph Filipe Moreira
2016-01-22 8:08 ` Eli Zaretskii
2016-01-22 8:24 ` Eli Zaretskii
2016-01-22 9:31 ` Andy Moreton [this message]
2016-01-22 14:03 ` Eli Zaretskii
2016-01-22 11:54 ` Filipe Moreira
2016-01-22 14:01 ` Eli Zaretskii
2016-01-22 15:15 ` Filipe Moreira
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=86h9i6ot8k.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=22429@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).