Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for XeTeX 0.9998 and other bug fixes #238

Merged
merged 28 commits into from
Apr 25, 2012
Merged

Support for XeTeX 0.9998 and other bug fixes #238

merged 28 commits into from
Apr 25, 2012

Conversation

khaledhosny
Copy link
Contributor

This pull request include al the changes in the previous one that I just cancelled (text below for reference), plus some bug fixes and features from the issue tracker.

What remains now is how to handle old engines, my own preference it to check for XeTeX ≥ 0.9998 and LuaTeX ≥ 0.70 and print an error message otherwise, supporting older engines is not worth the effort and complication it brings.

BTW, if you need Linux or Mac binaries of the new engine version for testing, let me know and I'll send what I've (of course, you can always built it your self).

This branch implements support for new math features in the upcoming XeTeX 0.9998 (mostly accents >related) by sharing the same code path as LuaTeX when appropriate. The cone now uses the new features >unconditionally (as it was the case already for LuaTeX, though version check was sometimes done), This >means the package will break with TL 2011 and lower but the code is much simplified (and users of >unicode-math should really upgrade to the new XeTeX anyway).

We already use other new features without checking, so the code is
already broken for older LuaTeX versions.
Now that \XeTeXmathaccent accepts the same keywords as LuaTeX's
\Umathaccent.
Now that XeTeX can handle fixed and bottom accents, there is no need for
different code paths.
No more hacks, they can now be handled as regular accents just like in
LuaTeX.
They were, more or less, duplicating \um_wide_top/bottom_accent:Nnn, so
we now just use the later
We will need yet another one for fixed bottom accents, so just make the
macro as general as the underlying primitive.
It is a wide under accent
It is too small resulting in LuaTeX picking smaller glyph than it
should, XeTeX has some sanity check to get around such thing but I don’t
think it is appropriate to hardcode this in LuaTeX engine.
@khaledhosny khaledhosny merged commit 2736f7f into latex3:master Apr 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant