[luatex] Luabidi/polyglossia/bidi

Karljurgen Feuerherm kfeuerherm at wlu.ca
Sun Apr 19 16:55:49 CEST 2015


Hello,

Since there has been some discussion about the upcoming TL2015 etc., I am wondering whether the hoped for changes as discussed below, making polyglossia (and Hebrew in particular) are likely to materialize?

Many thanks for any forthcoming information!

K
--
I am the author of both bidi and luabidi packages so my statements
should have some values :) (just kidding)

It is a long time that I wrote luabidi code and that code certainly is
obsolete since luatex chaged a lot. On the other hand, I neither use
polyglossia nor know how it works. If you provide a minimal example,
maybe I can help. I am sorry that I am not helping but just few notes:

*  With respect to xetex, I think the problem that you are facing will
go away when you update to texlive 2015 in due time. But the sad thing
is that you can have to wait so long.

* I am in the process of supporting luatex in my bidi package; that
takes some time since I need to test things with care and on the other
hand I expect to recieve an answer from Philipp Gesang to port context
unicode-bidi algorithm to plain/LaTeX. So once that is done, you can
safely use polyglossia and there is no need to fool polyglossia.


Vafa

<snip>
From: Karljurgen Feuerherm <kfeuerherm at wlu.ca<mailto:kfeuerherm at wlu.ca>>
Reply-To: "LuaTeX discussion." <luatex at tug.org<mailto:luatex at tug.org>>
Date: Wednesday, October 1, 2014 at 10:56
To: "luatex at tug.org<mailto:luatex at tug.org>" <luatex at tug.org<mailto:luatex at tug.org>>
Subject: [luatex] Luabidi/polyglossia/bidi

Greetings-

I had been using XeLaTeX to typeset a Hebrew textbook I'm working on; but once I started introducing media9 buttons into RTL text, I ran into difficulty. The solution posed was a kind of hack described here: http://tex.stackexchange.com/questions/188434/media-button-in-rtl, I.e. To run LuaLaTex but trick polyglossia into thinking it was using XeTeX's bidi when in fact it was luabidi. So I've been using luaTeX the last few months with success, but of course I was waiting for this to bite me....

...which lately it has. I understand that ordinarily I should offer an MWE highlighting the problem, but in this case that is likely to be difficult, so let me try to describe the problem.

Briefly, I haver found lately that \texthebrew{} commands were swallowing the following space, which I patched by adding a \ after the command; but more recently I've noticed (maybe it was happening before and I just didn't see it) that after a \texthebrew{} we don't get back to LTR mode properly, so that the remainder of a paragraph can end up right justified.

I suppose this is because of some updates to polyglossia or bidi, or alternatively lack thereof to luabidi. I wonder whether anyone can suggest approaches I can investigate to get back on the road? (possibly rolling back updates to polyglossia or bidi, but I don't know how to do that....)

With thanks,

K

Karljürgen G. Feuerherm, PhD | 2-139 Department of History | Wilfrid Laurier University | 75 University Avenue West | Waterloo, Ontario N2L 3C5

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20150419/076ad6f5/attachment.html>


More information about the luatex mailing list