[XeTeX] Mapping=tex-text-->no effect in w32xetex

Jonathan Kew jonathan_kew at sil.org
Thu Jun 15 23:58:48 CEST 2006


On 15 Jun 2006, at 9:00 pm, Toralf Senger wrote:

> Hi all,
>
> Because last time you all could help me so nicely, I was wondering  
> whether anybody has an idea what goes wrong:
> The aforementioned option does not make an endash out of two dashes  
> and neither does any other substitution of tex-text.map work.  
> According to fontspec, the option +mapping=tex-text is passed  
> correctly when calling the font.

That should be just "mapping=tex-text" (no "+" sign, that's only for  
OpenType features) -- but I guess that's just a typo, and fontspec  
does the right thing.

> I read here already, that there is no errormessage when something  
> goes wrong. I have the newest build from Akira Kakuto FTP server  
> installed, tex-text.map and tex-text.tec are in there default  
> location and additionally in the folder that contains my  
> testfile.tex. TECkit_x86.dll is also there-so everything is in  
> place to work.

Did you check in the .log file to see if there is any error message?  
If the .tec file is not found, you should get a message there, like

Font mapping `txx-text.tec' for font `Brioso Pro' not found.

(caused by deliberately mis-spelling the mapping name, obviously).

Have you tried a minimal plain-tex test, just to check? Something like:

   \font\x="Times New Roman:mapping=tex-text" at 12pt
   \x Hello---world
   \bye

should give you an em-dash, if the font-mapping is working; and  
should give a message in the .log if it's not found.

If this doesn't work, I'm inclined to think it's a bug in the W32  
build; that's not something I can track down right now, as I haven't  
built or run that version; best to report it to Akira, and see if he  
can help.

JK



More information about the XeTeX mailing list