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

Bug#380323: tex-common: please add comment to run 'texconfig init' in texmf.conf



On Sat, Jul 29, 2006 at 11:27 +0200, Wolf Wiegand wrote:
> I tried to adjust the parameter 'pool size' in /etc/texmf/texmf.cnf. I
> modified /etc/texmf/texmf.d/95NonPath.cnf and ran update-texmf to achieve
> this. However, I also had to run 'texconfig init' before the new setting
> was used.
> 
> The comments in /etc/texmf/texmf.cnf should be extended with an advice
> to run 'texconfig init' after modifications to the files in
> /etc/texmf/texmf.d.

For various reasons I don't think this is the right thing to do:

1) Changing files in /etc/texmf/texmf.d changes the global
   configuration. Hence you ought to use texconfig-sys as root.
   texconfig makes user specific changes. See also '2.1.1. System-wide
   versus user-specific configuration' in tetex-bin's README.Debian.

2) It actually is documented:

,----[ /etc/texmf/texmf.d/95NonPath.cnf, Part 3 ]
| % If a change here appears to be ignored, try redumping the format file.
`----

  This is also the right place to document it, since redumping the
  formats, which is what 'texconfig init' basically does, is only needd
  for changes to settings in this part.

3) Actually 'texconfig-sys init' does more than what's needed here, eg,
   it also calls updmap, which is pretty slow. 'fmtuitl-sys --all' would
   be more appropriate, since it only redumps the formats.

One could imagine extending the above quoted coment, but I am not sure
if that is really necessary.

cheerio
ralf



Reply to: