<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF">
<div>BPJ and John Was,</div>
<div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><br>
</span></div>
<div>Please<span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "> join this XeTeX list.</span></div>
<div>Otherwise I have to authorize each of your postings.</div>
<div>This delays them being sent out to everyone.<br>
<br>
<div><br>
</div>
</div>
<div>Cheers.</div>
<div><br>
</div>
<div>     Ross</div>
<div><br>
On 05/12/2018, at 22:10, "BPJ" <<a href="mailto:bpj@melroch.se">bpj@melroch.se</a>> wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>
<div>
<div dir="auto">@Zdenek, the point is that other characters inside `\textit` should be real italics. I at least have tried it using a macro around the "culprit" characters and I think it looks better than fake italics throughout, which looks really bad (shades
 of low-budget publications from the early eighties! :-). Anyway I'm working on a solution in my head which I'll try when I get back to my desktop. I think I'll try to use a boolean which I set/unset at the start/end of my "`\mytextit` and a single macro for
 the active characters which checks this boolean. I have no idea yet if it will work, but it seems the semantically cleanest way to do it to my mind.</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">/bpj</div>
<div><br>
<div class="gmail_quote">
<div>ons 5 dec. 2018 kl. 10:53 skrev Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am afraid that I do not understand why to make only 4 FakeSlant<br>
characters instead of a FakeSlant font. Does it mean that other<br>
characters will remain upright inside \textit?<br>
<br>
Anyway, making a few characters active for \textit is quite simple.<br>
Let's suppose that A and B should be active. You then define:<br>
<br>
\def\mytextit{\begingroup \catcode`\A=13 \catcode`\B=13 \dotextit}<br>
\def\dotextit#1{\textit{#1}\endgroup}<br>
<br>
You will then call \mytextit{Test of A and B}<br>
<br>
Zdeněk Wagner<br>
<a rel="noreferrer" href="https://protect-au.mimecast.com/s/h-AwCmO5wZspw2y0cG3L-o?domain=ttsm.icpf.cas.cz" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br>
<a rel="noreferrer" href="https://protect-au.mimecast.com/s/DS_NCnx1Z5UX059yFJk5eW?domain=icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
st 5. 12. 2018 v 5:51 odesílatel Alan Munn <<a href="mailto:amunn@gmx.com" target="_blank">amunn@gmx.com</a>> napsal:<br>
><br>
> Can you provide a bit more detail? Maybe a small example document?<br>
><br>
> Alan<br>
><br>
><br>
> Benct Philip Jonsson wrote:<br>
> > I have a somewhat unusual problem. In a document produced using<br>
> > XeLaTeX I need to use four Unicode letters with scarce font support in<br>
> > italicized words and passages but the font which I have to use<br>
> > supports these characters only in roman. The obvious solution is to<br>
> > use the FakeSlant feature of fontspec but I don’t want to enclose<br>
> > these characters in a command argument, in the hope that a future<br>
> > version of the document can use an italic font which supports these<br>
> > characters, but neither do I (perhaps needless to say) want to use<br>
> > fake italics except for these four characters. In other words I would<br>
> > like to perform some kind of “keyhole surgery” in the preamble and use<br>
> > these characters normally in the body of the document, which I guess<br>
> > means having to make them active and somehow detect when they are<br>
> > inside the argument of `\textit`. (Note: it is appropriate to use<br>
> > `\textit` rather than `\emph` here because the purpose of the<br>
> > italicization is to mark text as being in an object language in a<br>
> > linguistic text.) Is that at all possible? I guess I could wrap<br>
> > `\textit` in a macro which locally redefines the active characters,<br>
> > but I’m not sure how to do that, nor how to access the glyphs<br>
> > corresponding to the characters once the characters are active. I am a<br>
> > user who isn’t afraid of using and making the most of various packages<br>
> > or of writing an occasional custom command to wrap up some repeatedly<br>
> > needed operation, but I am no expert. I am aware of all the arguments<br>
> > against fake italics — that is why I want to limit the damage as much<br>
> > as possible! — but I have no choice here. Waiting for the/an<br>
> > appropriate font to include italic versions of these characters is not<br>
> > an option at the moment.<br>
> ><br>
> > /Benct<br>
> ><br>
> ><br>
> ><br>
> > --------------------------------------------------<br>
> > Subscriptions, Archive, and List information, etc.:<br>
> >  <a rel="noreferrer" href="https://protect-au.mimecast.com/s/kD-7CoV1Y2SDN42oTVDIZs?domain=tug.org" target="_blank">
http://tug.org/mailman/listinfo/xetex</a><br>
><br>
><br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
>   <a rel="noreferrer" href="https://protect-au.mimecast.com/s/kD-7CoV1Y2SDN42oTVDIZs?domain=tug.org" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a rel="noreferrer" href="https://protect-au.mimecast.com/s/kD-7CoV1Y2SDN42oTVDIZs?domain=tug.org" target="_blank">
http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span></span><br>
<span></span><br>
<span>--------------------------------------------------</span><br>
<span>Subscriptions, Archive, and List information, etc.:</span><br>
<span> <a href="https://protect-au.mimecast.com/s/kD-7CoV1Y2SDN42oTVDIZs?domain=tug.org">https://protect-au.mimecast.com/s/kD-7CoV1Y2SDN42oTVDIZs?domain=tug.org</a></span><br>
</div>
</blockquote>
</body>
</html>