Lasy - dynamic load in NFSS - how?

Lasy - dynamic load in NFSS - how?

Post by TOBIN,Geoffr » Sat, 11 Jan 1992 23:32:46



Since Rainer Sch\"{o}pf kindly answered my query re fragility in LaTeX,
I wish to petition assistance from someone ;-) concerning the New Font
Selection Scheme (nfss).

Possibly the next question should be in an FAQ, under the heading:
``How can I get the NFSS to do what I want?''  :-(

I'm using the*of 1 December 1991 (thank you) and the NFSS of
27 Nov 1991 with Mittelbach \& Sch\"{o}pf's ``lfonts.new''.

In addition, I've made the lplain format using ``preload.min''.

Guess what?  I now want the \Box symbol from the*Symbol font,
lasy10.

OK, it is necessary to load lasy10 dynamically.

Problem is, after examining ``readme.mz3'', and ``nfss.tex'', and
``lfonts.old'' (by Rainer Sch\"{o}pf, and dated 25 Nov 1991),
``lfonts.new'', and ``concrete.doc'' and ``euscript.sty'',
and the TeXbook (Oct 1986), chapter 17, on \mathchardef,
still I cannot figure it out.  How?

Insofaras this unaided novice can perceive matters, I need to know
the TeX math font family number of  lasy  , which will vary
when different numbers of fonts are preloaded - and, I suppose (?),
when I dynamically load fonts in a different order.

1.  Well, in ``concrete.doc'' I see code like the following (sorry in
advance for typos, this is not my TeX machine).  Anyway, this is my guess
of how to treat lasy, based on what I see for euex (the Euler compatible
extension fonts).  Of course I don't know what I'm doing.


        <5> 1lasy10%
        ...
        <10> lasy10%
        ...

Quote:}{}


2.  Now what?  I've tried imitating ``concrete.doc'' as follows.




        {lasy}{m}{n}

3.  This was intended to prepare for the \Box definition, as follows.



4.  No good.  The error is

! \textfont 4 is undefined (character 2).
<argument> \large $\Box $

                                         }}
l.188 ^^I\raisebox{0ex}{\large $\Box$}
                                      ~~Maximum Zeros \\

5.  h  (TeX help) says:

Somewhere in the math formula just entered, you used the
stated character from an undefined font family.  [...]

6.  I noticed from ``euscript.sty'' that something else was done,
so I commented out the code in part 2, and changed the \edef of part 3,
and tried to imitate euscript.sty.

\newmathalphabet\Lasy
\addtoversion{normal}\Lasy{lasy}{m}{n}


7.  As I said, I don't know what I'm doing, so now I'm faced with this,
now during the read of the style file ``mylasy.sty'' into which I've
put these things.

! Missing number, treated as zero.
<to be read again>
                   \relax

                              \ifmmode \expandafter \gdef \expandafte...



                                  }

8.  Hmm, I presume from this that an argument is missing.
What should I use?

More to the point, what  i s  the proper way to dynamically load the

gt

 
 
 

Lasy - dynamic load in NFSS - how?

Post by Rainer Schoe » Tue, 14 Jan 1992 23:29:14



   I'm using the*of 1 December 1991 (thank you) and the NFSS of
   27 Nov 1991 with Mittelbach \& Sch\"{o}pf's ``lfonts.new''.

   In addition, I've made the lplain format using ``preload.min''.

   Guess what?  I now want the \Box symbol from the*Symbol font,
   lasy10.

I assume that you used the `basefont.tex' file at format generation.
If you use `newlfont.sty' instead, you get what you want since the
inclusion of the*symbol fonts is the main difference between
these two files.


there, since they are included in fontdef.ori and in fontdef.max. The
preload.* files have nothing to do with this as they control only
which fonts are preloaded at dump time.

   Insofaras this unaided novice can perceive matters, I need to know
   the TeX math font family number of  lasy  , which will vary
   when different numbers of fonts are preloaded - and, I suppose (?),
   when I dynamically load fonts in a different order.

See newlfont.sty for a way how to do this.
--

   Rainer Schoepf
   Konrad-Zuse-Zentrum                       ,,Ich mag es nicht, wenn
    fuer Informationstechnik Berlin            sich die Dinge so frueh
   Heilbronner Strasse 10                      am Morgen schon so
   D-1000 Berlin 31                            dynamisch entwickeln!''
   Federal Republic of Germany


 
 
 

1. Lasy - NFSS load on demand - done - I think :-)

Dear readers,

Thanks to two files I got from Stuttgart's
        latex-style-supported/nfss-addons
directory, viz.  psfonts.tex  and psmath.sty,
finally I've been able to make a  lasymath.sty  file that enables me
to load the  lasy  fonts dynamically.

Thanks to Frank Jensen for `psfonts.tex' of 30 Sep 1990, and to

The following (modulo typos) works (so far :-) for my setup when
lplain.fmt is made using preload.min.

Any corrections, forewarnings, or other comments in good faith, and in
good taste, are gratefully accepted.  (Ie, if you must flame, let it be
a pure flame:  please, no smoke.)

%% lasymath.sty - version 2 - 21:12 Sat 11 Jan 1992 AEDT - Geoffrey Tobin

\message{`LaSy math' style option - version 2 <21:12 Sat 11 Jan 1992>}

% Now this I don't understand.  Jensen has what look to me like

% surely appears erroneous.
% Any remarks?



    <5>#4 at4pt%
    <6>#4 at5pt%
    ...
    <25>#4 at20pt}{}}




         {lasy}{m}{n}













\mathversion{lasy}

%% End of file `lasymath.sty'.

gt

2. Press Release - New DeepCover Test Coverage for C, C++, and Java

3. Font loading problem (multiple load of the same font)

4. keyboard problem

5. replace lasy* with wasy* in LaTeX?

6. Fusion Info

7. Lasy (La)TeX Novice User's Question: @opcol (or @outputpage)

8. Initialising an static array

9. LaTeX: Arrowhaeds in the lasy fonts

10. Full-page forms with dynamic box heights

11. "dynamic" margins

12. dynamic input

13. Dynamic change of color in PDF file, when clicking on button...