[OS X TeX] Accented characters in Xe(La)TeX
Ross Moore
ross.moore at mq.edu.au
Mon May 31 01:49:25 EDT 2010
Hi Clea, Peter and others,
Firstly, sorry for the cross-posting.
We want to move this discussion to the XeTeX list.
On 31/05/2010, at 7:21 AM, <cfrees at imapmail.org>
<cfrees at imapmail.org> wrote:
> On Sat 29th May, 2010 at 22:11, Peter Dyballa seems to have written:
>
>>
>> How are ÂÊÎÔÛ etc. right of the f-ligatures? On the XeTeX mailing
>> list we could exchange some graphics...
>
> I can't actually read the question. I should join the e XeX list, I
> think. (Only I already get so much email I never deal with!)
>
> In place of ^A^E^I^O^U, I get ~O (O with a tilde on top) then "
> then ^I
> (as expected) then aacute and agrave (possibly in reverse order I
> always confuse grave and acute).
As in the attached image?
I get it too, with Regular only. Bold and Italic seem OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 25.png
Type: image/png
Size: 105447 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100531/df7677f8/attachment.png>
-------------- next part --------------
>
> In place of ^a^e^i^o^u, I get curly double quote then ^e^i then Lslash
> then ^u.
>
> In place of "U, I get the fi ligature.
>
> In place of "a"e"i"o"u, I get ^E"e"i"o and Igrave.
>
> In place of OE, I get copyright.
>
> In place of copyright, I get half.
>
>>> Except that the output is wrong even for glyphs which Venturis
>>> definitely does contain. That's why I think there's another problem
>>> here. (e.g. the fi ligature is used instead of "U, copyright in
>>> place
>>> of OE and 1/2 in place of copyright etc.) And it isn't even all the
>>> Venturis fonts - only some of them.
Yes, only some fonts are bad.
I'd doubt that this is a caching problem --- but am willing
to stand corrected, should it turn out to be so.
>> Either try the described two step approach or this:
>>
>> xelatex -output-driver='xdvipdfmx -vv' <XeLaTeX file>
>
> Ah. Thank you.
>
>> Fonts associated with a path name come from the file system, fonts
>> without a path name come from a font service.
>
> I get a path name for:
> - Latin Modern
> - Venturis ADF regular when I specify a location (as below)
>
> I get no path name for:
> - Venturis regular (without a location)
> - Venturis bold italic (without a location)
>
> and I get weirdness only for Venturis regular without a location...
Would you show exactly the command which worked, please?
>> Fontspec also gives you the option to tell XeTeX the particular
>> font file to be used. Try that for ADF Venturis!
>
> Aha. That works. (I get the usual missing characters but not the
> weirdness.)
I can show you how to replace the missing characters with accents
built as with older LaTeX styles, but while still using proper
accented characters for those which *are* in the font.
... and not redefining accent-macros for other fonts in the same
document which may actually support everything properly.
It's a bit more cumbersome than it should be, but it *does* work.
In the image, you'll see that \^W \^Y etc. use this.
There is a bit of a glitch in that the accents are placed a tiny
bit higher than those over the pre-built characters.
So there needs to be an extra font-specific vertical adjustment.
>
> Thanks,
> cfr
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the MacOSX-TeX
mailing list