[r6rs-discuss] Typo in 1.2 of r6rs-lib?

John Cowan cowan at ccil.org
Tue Jan 15 06:58:13 EST 2008


Abdulaziz Ghuloum scripsit:

> (string-ci=? "$\latingreek{XAO}\Sigma$" "$\chi\alpha{}o\sigma$")
> 
> and \latingreek is defined on top to be:
> 
> \newcommand{\latingreek}[1]{\texonly\mathit{#1}\endtexonly\htmlonly 
> \textit{#1}\endhtmlonly}
> 
> This command produces latin letters not greek letters as far as I can  
> tell.

The trouble is that in the interests of packing as many things into
256-character fonts as possible, Knuth decided to use glyph identity
rather than character identity.  So in TeX, Latin A and Greek A are
the same thing, and when converting to HTML, you have to make a choice,
which is always going to be Latin A.  The same is true of Greek B, H,
I, K, M, N, O, P, T, and X.

-- 
Normally I can handle panic attacks on my own;   John Cowan <cowan at ccil.org>
but panic is, at the moment, a way of life.      http://www.ccil.org/~cowan



More information about the r6rs-discuss mailing list