osdir.com
mailing list archive
Mozy Online Backup: 2GB Free. Automatic. Secure.

Subject: makeindex and active characters - msg#00214

List: tex.xetex

Date: Prev Next Index Thread: Prev Next Index
I am indexing a book that has several dozen words with diacritics.
The list includes upper and lower case forms of ÄÄÅ, ááááá.

When I use LaTeX and utf8x encoding, the index processes without a
problem.

When I switch to XeLaTeX I get errors every time one of
ááááá is encountered. I declared those characters active
characters so that I can provide the glyphs even though they are
missing in my main font (Minion). For example, I have declarations like

"""
\catcode"1E0C=\active \def^^^^1e0c{{\transfont\string á\normalfont
\selectfont}}
"""

When I look at the .idx file, I found lots of pieces of the active
character code:

"""
\indexentry{Hanafi@{\transfont {\protect \protect \edef cmr
{jMinionProRegular(0)}\protect \afterassignment \edef 10.95{-1}
\afterassignment \edef 13.6pt{13.6pt}\edef 1{}\let 1\def \size@update
{\baselineskip 13.6pt\relax \baselineskip 1\baselineskip
\normalbaselineskip \baselineskip \setbox \strutbox \hbox {\vrule
height.7\baselineskip depth.3\baselineskip width\z@ }\let
\size@update \relax }\xdef \OT1/cmr/m/n/7 {\OT1/cmr/m/n/10.95 }\OT1/
cmr/m/n/7 \size@update \enc@update á\protect \protect \edef OT1{U}
\let \enc@update \relax \protect \edef cmr{cmr}\protect \edef m{m}
\protect \edef n{n}\protect \afterassignment \edef 10.95{-1}
\afterassignment \edef 13.6pt{13.6pt}\edef 1{}\let 1\def \size@update
{\baselineskip 13.6pt\relax \baselineskip 1\baselineskip
\normalbaselineskip \baselineskip \setbox \strutbox \hbox {\vrule
height.7\baselineskip depth.3\baselineskip width\z@ }\let
\size@update \relax }\xdef \OT1/cmr/m/n/7 {\OT1/cmr/m/n/10.95 }\OT1/
cmr/m/n/7 \size@update \enc@update \ignorespaces \relax \protect
\afterassignment \edef 10.95{-1}\afterassignment \edef 13.6pt{13.6pt}
\edef 1{}\let 1\def \size@update {\baselineskip 13.6pt\relax
\baselineskip 1\baselineskip \normalbaselineskip \baselineskip
\setbox \strutbox \hbox {\vrule height.7\baselineskip depth.3
\baselineskip width\z@ }\let \size@update \relax }\xdef \OT1/cmr/m/n/
7 {\OT1/cmr/m/n/10.95 }\OT1/cmr/m/n/7 \size@update \enc@update }
\normalfont \selectfont }anafÄ}{8}
"""

Is there any way to suppress the expansion of the active characters
just when index entries are written?

Thanks,
Musa
_______________________________________________
XeTeX mailing list
postmaster@xxxxxxx
http://tug.org/mailman/listinfo/xetex
Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: xdvipdfmx doesn't seem to respect PDF crop areas

> In my (very limited) testing so far, it looks OK. If some "early > adopters" (especially OS X users who can run both xdv2pdf and > xdvipdfmx and compare results) care to update to the latest code from > Subversion, and check that the various cases of image and PDF > placement are handled consistently, that would be appreciated. OK, new xetex is built and tested on my thesis. I haven't tested image inclusion or fancy PDF box types (I just use the standard crop box). However, for PDF+crop boxes, things work properly and identically with 'normal' xetex and xetex+xdvipdfm, the latter both with \documentclass[dvipdfm,...] (which worked before), and without. Zach

Next Message by Date: click to view message preview

Re: makeindex and active characters

On 27/09/2006, at 6:47 , musa furber wrote: """ \catcode"1E0C=\active \def^^^^1e0c{{\transfont\string á\normalfont \selectfont}} """ I suspect that \DeclareRobustCommand instead of \def should do the trick... Hope this helps! Will smime.p7s Description: S/MIME cryptographic signature _______________________________________________ XeTeX mailing list postmaster-WUdSmCIlby8@xxxxxxxxxxxxxxxx http://tug.org/mailman/listinfo/xetex

Previous Message by Thread: click to view message preview

xdv2pdf.cpp include file case sensitivity

I got the following bug report through Fink. The line that reads #include <Quicktime/Quicktime.h> should read <QuickTime/QuickTime.h> instead. Please check other include files for case as well, since someone may actually want to build XeTeX on a case sensitive file system. Thanks. liulk Begin forwarded message: >> Comment By: Alexander Hansen (alexkhansen) > Date: 2006-09-22 10:00 > > Message: > Logged In: YES > user_id=353035 > > It won't build on a case-sensitive file system: > ... > (cd TeX/texk/xdv2pdf && make XXCFLAGS="- > DMACOSX_DEPLOYMENT_TARGET=$V" all) > fi > uname > gcc -DHAVE_CONFIG_H -I. -I../../../../TeX/texk/xdv2pdf -I.. > -I../../../../ > TeX/texk/xdv2pdf/.. -I/sw/include -g -O2 -c > ../../../../TeX/texk/xdv2pdf/ > xdv2pdf_main.c -o xdv2pdf_main.o > ../../../../TeX/texk/xdv2pdf/xdv2pdf_main.c:19:1: warning: > "MAC_OS_X_VERSION_MIN_REQUIRED" redefined > <command line>:9:1: warning: this is the location of the previous > definition > c++ -g -O2 -DHAVE_CONFIG_H -DMACOSX_DEPLOYMENT_TARGET=1030 -I. > -I../../../../TeX/texk/xdv2pdf -c > ../../../../TeX/texk/xdv2pdf/xdv2pdf.cpp > ../../../../TeX/texk/xdv2pdf/xdv2pdf.cpp:40:1: warning: > "MAC_OS_X_VERSION_MIN_REQUIRED" redefined > <command line>:10:1: warning: this is the location of the previous > definition > ../../../../TeX/texk/xdv2pdf/xdv2pdf.cpp:45:33: Quicktime/Quicktime.h: > No > such file or directory > ... > > That should be QuickTime/QuickTime.h .

Next Message by Thread: click to view message preview

Re: makeindex and active characters

On 27/09/2006, at 6:47 , musa furber wrote: """ \catcode"1E0C=\active \def^^^^1e0c{{\transfont\string á\normalfont \selectfont}} """ I suspect that \DeclareRobustCommand instead of \def should do the trick... Hope this helps! Will smime.p7s Description: S/MIME cryptographic signature _______________________________________________ XeTeX mailing list postmaster-WUdSmCIlby8@xxxxxxxxxxxxxxxx http://tug.org/mailman/listinfo/xetex
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by