all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: BIDI LaTeX, displayed equation, paragraphs, kile
Date: Sat, 28 May 2016 12:31:52 +0300	[thread overview]
Message-ID: <8360tyzfxz.fsf@gnu.org> (raw)
In-Reply-To: <87h9dizimb.fsf@mat.ucm.es> (message from Uwe Brauer on Sat, 28 May 2016 08:34:04 +0000)

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Sat, 28 May 2016 08:34:04 +0000
> 
> It seems that kile (a latex editor, which supports BIDI) is in one
> aspect superior/(or more natural) to the BIDI implementation of GNU
> emacs. Kile shows display equations (equations which are not inline)
> left-to-right, even if the are *not* separated by a newline from a
> paragraph which contains Hebrew text.
> 
> I tried to play around with  `paragraph-separate' but failed to
> obtain a similar behavior.
> 
> Anybody has an idea how to configure paragraph-separate (or
> paragraph-start) to get that behavior?

You can't: the value of paragraph-separate that Emacs uses for bidi
reordering is hard-coded, and cannot be changed.  (I tried to use the
buffer local value once, but gave up once I saw the values set by the
likes of texinfo.el -- they caused crashes.)

IMO, the right way of overriding the built-in paragraph direction is
by introducing special text properties, which major modes can set
according to their needs, not unlike font-lock.  Patches to that
effect are welcome.



      reply	other threads:[~2016-05-28  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-28  8:34 BIDI LaTeX, displayed equation, paragraphs, kile Uwe Brauer
2016-05-28  9:31 ` Eli Zaretskii [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=8360tyzfxz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=oub@mat.ucm.es \
    /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.