[XeTeX] xdvipdfmx code updated

Toralf Senger Senger at mpimp-golm.mpg.de
Sat Jun 17 23:49:58 CEST 2006

Hi Jonathan,

>and  hyperlinks will now work when using opentype/truetype fonts.

Although I have not tried out this version yet, I just wanted to thank you again for your help and your dedication to solve upcoming problems so quick! I have finished now the conversion of my Thesis to XeTeX and it looks almost identical  to the PDFtex document (e.g. page 20, 30, 90... end in both documents with the same word) - except some very few different hyphenation points. That is something a have not dared to dream of a few weeks ago. Thanks to the nice and straitforward embedding of the fonts, the XeTeX document is without pictures 4 times (!) smaller than the PDFTeX version-exactlty what I want for the library-online version of my thesis. The PNUM feature gives now the expected result and tex-text.map is working. I had to do a very ugly hack to get chemical arrows of chemarrows.sty though: There is somewere something wrong with glyph positioning or some glue: \rightleftharpoons{60pt} creates in XeTeX (as under PDFTeX) a \hbox of 60pts width, but the arrows that are constructed in there only fill up to the half. More precicely, a \cleaders\hbox\hfill construct does not give the right result: when I do '\cleaders\hbox{.}\hfill', I get the entire 60pt filled with dots, but as soon as I switch to the 'arrow' font and place s symbol from there (\cleaders\hbox{\arro\symbol{71}}\hfill), only 30pt of the 60pt are filled. Trying to convince TeX the hbox has a different size did not solve the problem. So I put a modified \fbox{} around the font-switching (\cleaders\hbox{\myfbox{\arro\symbol{71}}}\hfill) and draw a white frame with zero width around the symbols from the arrow font, then the entire 60pt are filled: Very ugly hack, but it works.

I also had to modify texshade.sty a bit, but that is not unexpected as it supports only PDFTeX. So with tweaking here and there a bit, everything works fine and I am entirely happy.

Thanks again for liftig a somewhat dying TeX to the future!

TS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3519 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060617/2b1b5765/attachment.bin