[XeTeX] unicode characters not showing in xelatex

Jacobo Myerston jmyerston at gmail.com
Tue Apr 19 19:48:46 CEST 2011

So far I have solved the problem of the subscripts using Linux Libertine and \usepackage[no-sscript]{xltxtra}. Linux Libertine has unicode subscript numbers, but does not have some characters I need as superscripts, for example š. The only problem that remains is the half bracket which is only present in Geneva and DejaVu.

The DejaVu fonts are broken in my system. MacOS 10.6.7.  Xelatex get into a segmentation fault when I try to load them, a problem that does not seem to exist in Linux. This is a shame because this is the only font that has all the characters I need.

So far I have been unable to implement John's solution:

\catcode"2E22=\active
\def⸢{\leavevmode {\Geneva \char"2E22}}

Do I have to load this font first? There is any code I have to add beside this?

Jacobo

The o
On Apr 19, 2011, at 12:00 PM, Alan Munn wrote:

> On Apr 19, 2011, at 12:32 PM, Peter Dyballa wrote:
>
>>
>> Am 18.04.2011 um 21:29 schrieb Jacobo Myerston:
>>
>>> \usepackage{fontspec,xltxtra,xunicode}
>>> \defaultfontfeatures{Mapping=tex-text}
>>
>> When you're using this default feature than you don't need to repeat it, as in the next line.
>>
>>> \setmainfont[Ligatures=TeX, Mapping=tex-text]{Linux Libertine O}
>>
>> The Ligatures=TeX option is only valid with LuaTeX. XeTeX should report an error here.
>
> No, this is the preferred usage now.  (As of some recent version of fontspec). From the docs:
>
> "Mapping enables a XeTeX text-mapping scheme, shown in Example 41. Using the tex-text mapping is also equivalent to writing Ligatures=TeX. The use of the latter syntax is recommended for better compatibility with LuaTEX documents."
>
> Alan
>
> --
> Alan Munn
> amunn at gmx.com
>
>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex