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

Re: Bug#358695: ITP: latex-utils -- utilities for LaTeX/xfig



Frank Küster wrote:
> Vincent Danjean <Vincent.Danjean@ens-lyon.org> wrote:
> 
>> I only have a few .sty that I cuurently install in
>> /usr/share/texmf/tex/latex/latex-utils/ (will be latex-compile/)
>> And in my postinst, I use dh_installtex
> 
> Do you need to register "map files, new formats, and new languages
> with TeX"?  That's the purpose of dh_installtex.  Otherwise just call
> mktexlsr (or "mktexlsr /usr/share/texmf/" if you install only there).

I just need to call mktexlsr. Previously (the package exists for a long
time even if it was not in Debian), I called manually mktexlsr.
Then, I switched to dh_installtex that installs several sanity checks
(is libkpathsea configured ?, ...)
The drawback is that update-updmap, update-language and update-fmtutil
are called whereas my package does not need them (and that mktexlsr is
called without any argument, so all dirs are checked).

I would prefer to stick with dh_installtex (so that improvment in this
script will automatically benefit to my package). But if you think it is
not a good think, I will go back with manual invocation of
dh_installtex.

Another possibility would be to improve dh_installtex, so that it better
manages simple latex package. Perhaps new options to remove
update-updmap, update-language and/or update-fmtutil calls. And a scan
of the package to call mktexlsr only on directories present in the
package. Would you be interested by this kind of developments ?

  Best regards,
    Vincent



Reply to: