[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fontinst/mathptm: bug in OMX.etx

Sebastian Rahtz:

> i suggest that if R&R has the time, he should go ahead and try and
> produce a revised documentation set (asking questions on this list or
> the fontinst list if it still exists), and i will make changes to the
> code as required

While we are at it, I'd like to point out that the recent work on 
math fonts also produced a few small extensions to fontinst (by 
Matthias Clasen) which facilitate writing .etx and .mtx files.  
It would be nice if those extensions, at least the essential ones,
could find their way into the primary fontinst distrubtion as well.

As for documentation, the code below allows to write something like


  \setdefaultslotcomment{The symbol `\slotexample'.}
  \setslot{<some letter>}[The letter `\slotexample'.]\endsetslot

instead of the more tedious


     \comment{The symbol `$\somesymbol$'.}
     \comment{The symbol `$\anothersymbol$'.}
     \comment{The letter `\letter'.}

I hope the basic idea of this should be clear.

Cheers, Ulrik,

- - - - - - - - - - - - - - - - 
\ProvidesPackage{emfntdoc}[1997/04/03 small extensions to fontdoc]

\let\setslotorig=\setslot \let\endsetslotorig=\endsetslot

\setdefaultslotcomment{The symbol `\slotexample'.}

- - - - - - - - - - - - - - - - 
\ProvidesPackage{emfninst}[1997/04/03 small extensions to fontinst]


      \resetheight{0}  % avoid problems with too many depths or heights
      \glyphwarning{missing glyph}
      \resetheight{0}  % avoid problems with too many depths or heights
      \glyphwarning{control glyph}

% the proposed encodings
\declareencoding{MATH CORE}{MC}
\declareencoding{MATH EXTENSION 1}{MX1}
\declareencoding{MATH EXTENSION 2}{MX2}
\declareencoding{MATH SYMBOL 1}{MS1}
\declareencoding{MATH SYMBOL 2}{MS2}

% additional encodings
\declareencoding{LATEX SYMBOLS}{lasy}             % for lasy fonts
\declareencoding{TEX MATH ITALIC SUBSET}{eurm}    % for Euler roman fonts
\declareencoding{TEX TEXT SUBSET}{eufrak}         % for Euler fraktur fonts
\declareencoding{TEX MATH SYMBOLS SUBSET}{euscr}  % for Euler script fonts
\declareencoding{EULER SUBSTITUTIONS ONLY}{euex}  % for Euler extension fonts

- - - - - - - - - - - - - - - -