>>>>> "Hans" == Hans Fredrik Nordhaug <[EMAIL PROTECTED]> writes:

    > [ teTeX 1.0] I have two questions:

    > 1) How do I regenerate the old latex209 and slitex formats with
    > fmtutil? [Can it be done?]  I have the neccesary files and it
    > works fine with initex:
    > tex -ini -fmt latex209 -progname latex209 lplain.tex
   
    > I have added the neccesary lines in fmtutil.cnf 
    > latex209 tex - lplain.tex 
    > slitex tex - splain.tex

    > The problem is that these formats ask for user input and at
    > that point fmtutil aborts.  Is there an easy fix for this?

Yes.  Replace lplain.tex by latex209.ini and splain.tex by slitex.ini
in fmtutil.cnf.

Then create the two little files:

latex209.ini:         
----------------------
\input lplain           
\dump                   
----------------------
                        
and slitex.ini:         
----------------------
\input splain           
\dump                   
----------------------

You don't have to rename the format files because (ini)tex will create
latex209.fmt and slitex.fmt instead of lplain.fmt and splain.fmt.

Don't forget to run texhash.  And don't use latex209 or slitex for
your documents.

   > [It is preferable for later maintenance that all
   > formats can be generate with fmtutil.]

This is exactly the reason fmtutil had been written.

   > 2) In the documentation for kpathsea (may-99) it says the one
   > should use a underscore (for portability), not a periode, in the
   > definition of inputs for the tex-family, i.e, TEXINPUTS_program.
   > This is not done in texmf.cnf, very wisely since all the programs
   > (as far as I have seen) use TEXINPUTS.program

   > Is this a typo in the manual or am I missing something?

TEXINPUTS_latex is mentioned in section 3.2 when he talks about
environment variables.  In section 3.2.1 (Config files) he says:

Each remaining line must look like
     variable[.progname] [=] value 

Thus environment variables are treated different.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                       Phone: +49-511-751355
Berggartenstr. 9
D-30419 Hannover                      mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


Reply via email to