Re: Japanized packages (was: Re: new LaTeX2e)
> > > BTW, my LaTeX2e package is not Japanized LaTeX2e but
> > > purely original LaTeX2e of 1999/06/01 version so it
> > > is for all of you :)
> > > It does not overwrite any files from tetex except latex.fmt
> > > which is diverted to latex.fmt.old
> >
> > Yikes! Your package should *NOT* contain any latex.fmt file at all,
> > and should certainly not divert any existing one. It should instead
> > run the command:
> > texconfig init
> > This will rebuild all of the necessary formats, such as pdflatex,
> > elatex and lambda, as necessary. This is (essentially) what the
> > current tetex-* packages do.
>
> Yes you are right, I know that. I think that the diversion
> will be safer way to recover original state, that is
> if you remove my package it will safely recover the original
> tetex environment again.
No: in the postrm, do:
if command -v texconfig 2>/dev/null 1>&2; then texconfig init; fi
This will rebuild the necessary format files on the fly. How do you
know that the tetex package hasn't been upgraded in the meantime?
Julian
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg
Reply to: