TeX in xlabel ?

[Sorry for the self-reply]

Happens to the best of us :slight_smile:

    >> Does
    >> http://www.dessci.com/fr/support/tech/encodings/font_enc.stm
    >> help?

    > No, it in fact does not.

Well it may actually, since these pages provide the unicode indices
for some of the cm fonts. We already have tex symbol -> char code for
the bakoma fonts in _mathtext_data, and they have the char code ->
unicode mappings in their "Character List", so it should be trivial to
build all the forward and backwards dicts we need. Although I didn't
see any explicit reference to bakoma, they appear to be using them;
eg, compare the encodings at

  http://www.dessci.com/en/support/tech/encodings/texcmrom.htm

and

  http://www.mozilla.org/projects/mathml/fonts/encoding/cmr-ttf-encoding.html

Or is it just late and I've gone soft in the head?

JDH

John Hunter wrote:

"Robert" == Robert Kern <rkern@...376...> writes:

    > [Sorry for the self-reply]

Happens to the best of us :slight_smile:

    >> Does
    >> http://www.dessci.com/fr/support/tech/encodings/font_enc.stm
    >> help?

    > No, it in fact does not.

Well it may actually, since these pages provide the unicode indices
for some of the cm fonts. We already have tex symbol -> char code for
the bakoma fonts in _mathtext_data, and they have the char code ->
unicode mappings in their "Character List", so it should be trivial to
build all the forward and backwards dicts we need. Although I didn't
see any explicit reference to bakoma, they appear to be using them;
eg, compare the encodings at

  http://www.dessci.com/en/support/tech/encodings/texcmrom.htm

and

  http://www.mozilla.org/projects/mathml/fonts/encoding/cmr-ttf-encoding.html

Or is it just late and I've gone soft in the head?

Okay, it does help for mapping the encoding used in the CM TrueType font to Unicode. This is not the same encoding used in the TFM files which is what I was thinking of.

···

--
Robert Kern
rkern@...376...

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter