Would someone please un-subscribe. I've tried endlessly but it doesn't seem to work.<div><br></div><div>Thank you.<br clear="all"> —Mohamed<br>
<br><br><div class="gmail_quote">On 8 October 2011 18:42, <span dir="ltr"><<a href="mailto:luatex-request@tug.org">luatex-request@tug.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send luatex mailing list submissions to<br>
<a href="mailto:luatex@tug.org">luatex@tug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://tug.org/mailman/listinfo/luatex" target="_blank">http://tug.org/mailman/listinfo/luatex</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:luatex-request@tug.org">luatex-request@tug.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:luatex-owner@tug.org">luatex-owner@tug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of luatex digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: [tex-live] Ignored italic correction with lua(la)tex<br>
format (Philipp Stephani)<br>
2. Re: [tex-live] Ignored italic correction with lua(la)tex<br>
format (Khaled Hosny)<br>
3. Re: [tex-live] Ignored italic correction with lua(la)tex<br>
format (Khaled Hosny)<br>
4. Re: [tex-live] Ignored italic correction with lua(la)tex<br>
format (Philipp Stephani)<br>
5. Re: [tex-live] Ignored italic correction with lua(la)tex<br>
format (Khaled Hosny)<br>
6. Re: [tex-live] Ignored italic correction with lua(la)tex<br>
format (Ulrike Fischer)<br>
7. ligatures with luaotfload (Javier M?gica de Rivera)<br>
8. Re: ligatures with luaotfload (Khaled Hosny)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 8 Oct 2011 12:15:48 +0200<br>
From: Philipp Stephani <<a href="mailto:p.stephani2@googlemail.com">p.stephani2@googlemail.com</a>><br>
To: Taco Hoekwater <<a href="mailto:taco@elvenkind.com">taco@elvenkind.com</a>><br>
Cc: TeX Live mailing list <<a href="mailto:tex-live@tug.org">tex-live@tug.org</a>>, "General discussion of<br>
LuaTeX." <<a href="mailto:luatex@tug.org">luatex@tug.org</a>><br>
Subject: Re: [luatex] [tex-live] Ignored italic correction with<br>
lua(la)tex format<br>
Message-ID:<br>
<CAArVCkTpVCEafLUyikOnHRkj=<a href="mailto:XqypvucS-9qZ65qitUGbOBFyA@mail.gmail.com">XqypvucS-9qZ65qitUGbOBFyA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
2011/10/8 Taco Hoekwater <<a href="mailto:taco@elvenkind.com">taco@elvenkind.com</a>>:<br>
> On 10/08/2011 09:18 AM, Philipp Stephani wrote:<br>
>><br>
>>> Cambria has minimal italic correction so the<br>
>>> difference is not so visible and its sub/superscripts are handled with<br>
>>> math kerning so the difference is even more invisible. XITS renders fine<br>
>>> in Word.<br>
>><br>
>> For Cambria, the test looks better without italic correction. The<br>
>> OpenType math document allows math italic correction to be applied<br>
>> after a run of italic characters, but does not specify how to tell<br>
>> italic and upright characters apart.<br>
><br>
> I believe the fix here should be for luatex not to<br>
> apply italic corrections in math mode at all, so:<br>
><br>
> ? if (is_new_mathfont(cur_f)) {<br>
> ? ? ? *delta = 0; ? ? /* no italic correction ?*/<br>
> ? }<br>
<br>
This would be allowed according to the OpenType specification and<br>
remove the category code issues, but in our case XITS actually should<br>
have italic correction, otherwise the characters would bump into each<br>
other even in ConTeXt. I think we should find a better solution.<br>
Maybe you can implement a set (hash table or whatever) of characters<br>
that should be treated as italic. Users should be able to set this set<br>
using tex.set_italic_characters({123, 456}) or similar.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 8 Oct 2011 15:30:04 +0200<br>
From: Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>><br>
To: Taco Hoekwater <<a href="mailto:taco@elvenkind.com">taco@elvenkind.com</a>><br>
Cc: TeX Live mailing list <<a href="mailto:tex-live@tug.org">tex-live@tug.org</a>>, "General discussion of<br>
LuaTeX." <<a href="mailto:luatex@tug.org">luatex@tug.org</a>><br>
Subject: Re: [luatex] [tex-live] Ignored italic correction with<br>
lua(la)tex format<br>
Message-ID: <20111008133004.GA16449@khaled-laptop><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
On Sat, Oct 08, 2011 at 10:39:54AM +0200, Taco Hoekwater wrote:<br>
> On 10/08/2011 09:18 AM, Philipp Stephani wrote:<br>
> ><br>
> >>Cambria has minimal italic correction so the<br>
> >>difference is not so visible and its sub/superscripts are handled with<br>
> >>math kerning so the difference is even more invisible. XITS renders fine<br>
> >>in Word.<br>
> ><br>
> >For Cambria, the test looks better without italic correction. The<br>
> >OpenType math document allows math italic correction to be applied<br>
> >after a run of italic characters, but does not specify how to tell<br>
> >italic and upright characters apart.<br>
><br>
> I believe the fix here should be for luatex not to<br>
> apply italic corrections in math mode at all, so:<br>
><br>
> if (is_new_mathfont(cur_f)) {<br>
> *delta = 0; /* no italic correction */<br>
> }<br>
<br>
Not every font can do with no italic correction at all, Cambria can go<br>
away with that but more slanted designs can't.<br>
<br>
Regards,<br>
Khaled<br>
<br>
--<br>
Khaled Hosny<br>
Egyptian<br>
Arab<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 8 Oct 2011 15:46:29 +0200<br>
From: Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>><br>
To: "General discussion of LuaTeX." <<a href="mailto:luatex@tug.org">luatex@tug.org</a>><br>
Cc: <a href="mailto:tex-live@tug.org">tex-live@tug.org</a><br>
Subject: Re: [luatex] [tex-live] Ignored italic correction with<br>
lua(la)tex format<br>
Message-ID: <20111008134629.GC16449@khaled-laptop><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
On Sat, Oct 08, 2011 at 09:36:53AM +0200, Philipp Stephani wrote:<br>
> 2011/10/8 Karl Berry <<a href="mailto:karl@freefriends.org">karl@freefriends.org</a>>:<br>
> > The catcode<br>
> > assignments just have to be taken out of lua(la)tex format files<br>
><br>
> Please don't do this. The catcode assignments are totally correct, and<br>
> it is LuaTeX which is IMHO buggy.<br>
<br>
So we have to live with broken rendering (until next year texlive at<br>
least) for some dubious benefit of being able to \def\?????????????<br>
<br>
Regards,<br>
Khaled<br>
<br>
--<br>
Khaled Hosny<br>
Egyptian<br>
Arab<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sat, 8 Oct 2011 15:52:50 +0200<br>
From: Philipp Stephani <<a href="mailto:p.stephani2@googlemail.com">p.stephani2@googlemail.com</a>><br>
To: "General discussion of LuaTeX." <<a href="mailto:luatex@tug.org">luatex@tug.org</a>><br>
Cc: <a href="mailto:tex-live@tug.org">tex-live@tug.org</a><br>
Subject: Re: [luatex] [tex-live] Ignored italic correction with<br>
lua(la)tex format<br>
Message-ID:<br>
<CAArVCkRPqfA16PmV3TtWwfWAgyYWz+Oj+SEjPKV4c_59e=<a href="mailto:eCEA@mail.gmail.com">eCEA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
2011/10/8 Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>>:<br>
> On Sat, Oct 08, 2011 at 09:36:53AM +0200, Philipp Stephani wrote:<br>
>> 2011/10/8 Karl Berry <<a href="mailto:karl@freefriends.org">karl@freefriends.org</a>>:<br>
>> > The catcode<br>
>> > assignments just have to be taken out of lua(la)tex format files<br>
>><br>
>> Please don't do this. The catcode assignments are totally correct, and<br>
>> it is LuaTeX which is IMHO buggy.<br>
><br>
> So we have to live with broken rendering (until next year texlive at<br>
> least) for some dubious benefit of being able to \def\?????????????<br>
<br>
LuaTeX is still beta, nobody should expect flawlessness. Once a better<br>
italic correction algorithm is found, we can upload a new version of<br>
LuaTeX to TLcontrib.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sat, 8 Oct 2011 16:09:18 +0200<br>
From: Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>><br>
To: "General discussion of LuaTeX." <<a href="mailto:luatex@tug.org">luatex@tug.org</a>><br>
Cc: <a href="mailto:tex-live@tug.org">tex-live@tug.org</a><br>
Subject: Re: [luatex] [tex-live] Ignored italic correction with<br>
lua(la)tex format<br>
Message-ID: <20111008140918.GA16747@khaled-laptop><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
On Sat, Oct 08, 2011 at 03:52:50PM +0200, Philipp Stephani wrote:<br>
> 2011/10/8 Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>>:<br>
> > On Sat, Oct 08, 2011 at 09:36:53AM +0200, Philipp Stephani wrote:<br>
> >> 2011/10/8 Karl Berry <<a href="mailto:karl@freefriends.org">karl@freefriends.org</a>>:<br>
> >> > The catcode<br>
> >> > assignments just have to be taken out of lua(la)tex format files<br>
> >><br>
> >> Please don't do this. The catcode assignments are totally correct, and<br>
> >> it is LuaTeX which is IMHO buggy.<br>
> ><br>
> > So we have to live with broken rendering (until next year texlive at<br>
> > least) for some dubious benefit of being able to \def\?????????????<br>
><br>
> LuaTeX is still beta, nobody should expect flawlessness. Once a better<br>
> italic correction algorithm is found, we can upload a new version of<br>
> LuaTeX to TLcontrib.<br>
<br>
No, I'm not convinced that we have to keep a feature that no one needs<br>
just to break a feature that many need. If ConTeXt is doing fine without<br>
the cactcode assignment, I think LaTeX can survive it too.<br>
<br>
Regards,<br>
Khaled<br>
<br>
--<br>
Khaled Hosny<br>
Egyptian<br>
Arab<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Sat, 8 Oct 2011 18:21:46 +0200<br>
From: Ulrike Fischer <<a href="mailto:luatex@nililand.de">luatex@nililand.de</a>><br>
To: <a href="mailto:luatex@tug.org">luatex@tug.org</a><br>
Cc: <a href="mailto:tex-live@tug.org">tex-live@tug.org</a><br>
Subject: Re: [luatex] [tex-live] Ignored italic correction with<br>
lua(la)tex format<br>
Message-ID: <1u1to97usqlv2$.<a href="mailto:dlg@nililand.de">dlg@nililand.de</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Am Sat, 8 Oct 2011 15:46:29 +0200 schrieb Khaled Hosny:<br>
<br>
>>> The catcode<br>
>>> assignments just have to be taken out of lua(la)tex format files<br>
<br>
>> Please don't do this. The catcode assignments are totally correct, and<br>
>> it is LuaTeX which is IMHO buggy.<br>
<br>
> So we have to live with broken rendering (until next year texlive at<br>
> least) for some dubious benefit of being able to \def\?????????????<br>
<br>
I'm obviously not able to follow. Of which letters are you speaking?<br>
My version of luatex-unicode-letters.tex doesn't contain a \catcode<br>
setting in line 18 (there is the \begingroup-command).<br>
<br>
Also why it is necessary to change the formats? Why can't the<br>
problematic catcodes be changed in the document?<br>
<br>
<br>
--<br>
Ulrike Fischer<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Sat, 8 Oct 2011 18:55:01 +0200<br>
From: Javier M?gica de Rivera <<a href="mailto:javieraritz.ribadeo@gmail.com">javieraritz.ribadeo@gmail.com</a>><br>
To: <a href="mailto:luatex@tug.org">luatex@tug.org</a><br>
Subject: [luatex] ligatures with luaotfload<br>
Message-ID:<br>
<<a href="mailto:CABCShTht996HKnF8DkM%2BuzBHm%2BXNwtAwN5f4--cexzn_04Dfnw@mail.gmail.com">CABCShTht996HKnF8DkM+uzBHm+XNwtAwN5f4--cexzn_04Dfnw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
I have used the luaotfload package for the first time, and worte the<br>
following code in order to do so:<br>
<br>
%def\otffont#1=#2 at{\font#1={#2: mode=base;tlig;trep} at}<br>
\def\otffont#1=#2 at{\font#1={#2: mode=node;tlig;trep} at}<br>
<br>
\otffont\tenrm=LMRoman10-Regular at 10pt<br>
<br>
The font appears to be right at first sight but looking closer I see<br>
that kerning and ligatures are missing. How can that be solved?<br>
<br>
Another issue is the tlig and trep substitutions. If I write<br>
``hello'', I get the right output if I use the node mode, but if I use<br>
the base mode I have to remove the trep option in order to get it<br>
right, otherwise what I get is two consecutive single-left-quotes. It<br>
seems that the package in base mode first applies the option trep,<br>
replacing the each ` with a quote, and then tlig is useless since the<br>
couple `` of original input characters is already gone. Since I<br>
perceived no differences between base and node modes I simply switched<br>
to node mode.<br>
<br>
Regards,<br>
Javier A. M?gica<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Sat, 8 Oct 2011 19:42:29 +0200<br>
From: Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>><br>
To: "General discussion of LuaTeX." <<a href="mailto:luatex@tug.org">luatex@tug.org</a>><br>
Subject: Re: [luatex] ligatures with luaotfload<br>
Message-ID: <20111008174229.GC19263@khaled-laptop><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
On Sat, Oct 08, 2011 at 06:55:01PM +0200, Javier M?gica de Rivera wrote:<br>
> I have used the luaotfload package for the first time, and worte the<br>
> following code in order to do so:<br>
><br>
> %def\otffont#1=#2 at{\font#1={#2: mode=base;tlig;trep} at}<br>
> \def\otffont#1=#2 at{\font#1={#2: mode=node;tlig;trep} at}<br>
><br>
> \otffont\tenrm=LMRoman10-Regular at 10pt<br>
><br>
> The font appears to be right at first sight but looking closer I see<br>
> that kerning and ligatures are missing. How can that be solved?<br>
<br>
I don't know what version of luaotfload you are using, but in some old<br>
versions you had to explicitly enable each feature you want.<br>
<br>
> Another issue is the tlig and trep substitutions. If I write<br>
> ``hello'', I get the right output if I use the node mode, but if I use<br>
> the base mode I have to remove the trep option in order to get it<br>
> right, otherwise what I get is two consecutive single-left-quotes. It<br>
> seems that the package in base mode first applies the option trep,<br>
> replacing the each ` with a quote, and then tlig is useless since the<br>
> couple `` of original input characters is already gone. Since I<br>
> perceived no differences between base and node modes I simply switched<br>
> to node mode.<br>
<br>
tlig and trep are essentially broken by design, they are removed<br>
altogether from the unstable branch, I'm not sure if there will ever be<br>
a replacement in luaotfload so you would better find a different way to<br>
input typographic quotes.<br>
<br>
Regards,<br>
Khaled<br>
<br>
--<br>
Khaled Hosny<br>
Egyptian<br>
Arab<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
luatex mailing list<br>
<a href="mailto:luatex@tug.org">luatex@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/luatex" target="_blank">http://tug.org/mailman/listinfo/luatex</a><br>
<br>
<br>
End of luatex Digest, Vol 34, Issue 8<br>
*************************************<br>
</blockquote></div><br></div>