[XeTeX] Typographic consistency (was: CJK and ideographic font names)

Ross Moore ross at maths.mq.edu.au
Tue Sep 14 01:26:08 CEST 2004


Hi Paolo

On 14/09/2004, at 3:21 AM, Paolo Matteucci wrote:

>> I've now extended the  utf8accents  package to handle:...
>
> Thank you very much for that, Ross... I don't know if I'm ready yet to 
> abandon my trusted old packages, but certainly love the idea of having 
> such a possibility.

The big difference is that your PDFs ought to be searchable,
since the correct Unicode characters are embedded.
With the olded TIPA T3 encoding, you won't get this ability.

>
> Just some minor detail: I'm unable to typeset the modified 
> "canton.tex" properly. TeX complains about TS1/hoefl/m/n' being 
> undefined: do I need some extra packages for that or just the latest 
> version of your utf8accents.sty?

Hmm; how did you get TS1 encoding there?
That comes from  textcomp.sty , for the special companion characters.
(Actually, you don't need that package anymore, as most of these
characters are defined for Unicode within  utf8accents.sty .)


Here's how I overcame a similar problem with  OML/hoefl/m/n
that was related to the oldstyle numerals, I think:

\DeclareFontShape{OML}{hoefl}{m}{n}%
    {<-> "Hoefler\space Text"}{}

You should be able to do the same for TS1:

\DeclareFontShape{TS1}{hoefl}{m}{n}%
    {<-> "Hoefler\space Text"}{}

since that font has most of the symbols that we might need.


But this doesn't explain why it happened for you, but not for me.
Here's what my .log file looks like -- perhaps yours is a little
different, or have more recent versions of some of the packages:

(./canton.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english, dumylang, 
nohyphenation, ge
rman, ngerman, spanish, french, ukenglish, dutch, loaded.
(/usr/local/teTeX/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/local/teTeX/share/texmf/tex/latex/base/size12.clo))
(/usr/local/teTeX/share/texmf/tex/latex/base/fontenc.sty
(/usr/local/teTeX/share/texmf/tex/latex/base/t1enc.def))
(/usr/local/teTeX/share/texmf/tex/latex/base/textcomp.sty
(/usr/local/teTeX/share/texmf/tex/latex/base/ts1enc.def))
(/usr/local/teTeX/share/texmf/tex/generic/babel/babel.sty
(/usr/local/teTeX/share/texmf/tex/generic/babel/italian.ldf
(/usr/local/teTeX/share/texmf/tex/generic/babel/babel.def)

Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `Italian'
(babel)                I will use the patterns loaded for \language=0 
instead.

)) (./utf8accents.sty


A useful tip is to put  \listfiles  at the end of the preamble,
just before  \begin{document} .
Then the log will show what files and versions have been loaded:


  *File List*
  article.cls    2001/04/21 v1.4e Standard LaTeX document class
   size12.clo    2001/04/21 v1.4e Standard LaTeX file (size option)
  fontenc.sty
    t1enc.def    2001/06/05 v1.94 Standard LaTeX file
textcomp.sty    2001/06/05 v1.94 Standard LaTeX package
   ts1enc.def    2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
    babel.sty    2001/03/01 v3.7h The Babel package
  italian.ldf    2001/01/19 v1.2o Italian support from the babel system
utf8accents.sty    2004/09/13 v0.4 latin accents in utf-8
   ts1cmr.fd    1999/05/25 v2.5h Standard LaTeX font definitions
   ot2cmr.fd    2001/08/11 v3.2c Computer Modern Cyrillic font 
definitions
    ucmtt.fd    1999/05/25 v2.5h Standard LaTeX font definitions
  ***********


Compare with what you have; e.g. for  ts1, babel, and italian.



>  [...By the way, there should be no "o-/" ligature in «me misero/a».]

Yep; I know about this, but not how to stop it elegantly.
One way is to use  me misero\hbox{/a}  which looks really ugly.

It seems that there is a ligature /o --> ø  in the "Hoefler Text" font.
It should be possible to turn this off, but I haven't been able to
find out how.  Does anyone else know ?
Other fonts (e.g. Lucida Grande) don't have this ligature.


>
> 	Many thanks,

You're welcome.


Cheers,

	Ross


>
> 	Paolo
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------



More information about the XeTeX mailing list