Re: XeLatex, fontenc and makeindex question - possible XeLatex bug?

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Am Sat, 18 Apr 2015 11:06:09 +0200 schrieb A. Erhardt:

>  
> Hello, MikTex helpers,
>  
> I have a strange problem using XeLatex, fontenc and makeindex
> with the font akkadian.ttf (available here:
> http://users.teilar.gr/%7Eg1951d/Akkadian.zip )
> But I do not think it matters what ttf font I am using with fontenc.
> 
> 
> I am using
> XeTeX, Version 3.1415926-2.3-0.9997.5 (MiKTeX 2.9) 
> 
> Here is the problem: 
> The index does not show Unicode symbols because the "-character gets lost,
> while the text shows them correctly.
>  
> Here is my minimum example:
> 
> %--------------------------------------
> \documentclass{article}
> 
> \usepackage{fontspec}
> \def\akk{\fontspec{Akkadian}\LARGE}
> \usepackage{makeidx}
> \makeindex
> 
> \begin{document}
> Here it is a simple example
> \par
> 
> blabla \\
> \index{blabla}
> {\akk blabl\symbol{"1E2B}}   \\
> \index{{\akk blabl\symbol{"1E2B}}}
> \index{{\akk blibl\protect\symbol{"1E2B}}}
> 
> \printindex
> \end{document}
> %--------------------------------------
> 
> The *.idx file looks fine, but the *.ind file has
> {\akk blabl\symbol{1E2B}}
> instead of
> {\akk blabl\symbol{"1E2B}}
> and that is why the symbol characters don't show up in the index.
> The \protect statement does not help it either.
> 
> But if I insert the " into the *.ind file by hand, I get the index correctly.
> Is that a possible bug?

This is not a miktex specific question. " is the quoting char in
makeindex, you can use it e.g. to insert one of the special chars
with "| or "@. 

Try \symbol{""1E2B}, or create your own makeindex style (.ist) and
map the quoting char to something else, or convert 1E2B to the
decimal number and use \symbol{7723}.

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.