LaTeX forum ⇒ TeX Live and MacTeXSpeed Issue with custom "TEXMFLOCAL"

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
ihowarth
Posts: 1
Joined: Tue Aug 27, 2013 2:25 pm

Speed Issue with custom "TEXMFLOCAL"

Postby ihowarth » Tue Aug 27, 2013 2:48 pm

Having recently upgraded my linux install from Mageia2 to Mageia3 (including TeXLive), I found that pdflatex had slowed to an intolerable degree. I have traced this empirically to my use of custom class files, which are located in
/mydir/myTeX/tex

I had previously defined a custom
TEXMFLOCAL = /mydir/myTeX
in my texmf.cnf (followed by "texhash"). If I replace this with the standard
TEXMFLOCAL = /usr/share/texmf-local
(which, incidentally, is empty) everything becomes super zippy again. This loses me my local class files, so I now put a soft link in for TEXMFHOME:
  1. cd /home/user/texmf ; ln -s /mydir/myTeX/tex

and run texhash again.

This puts the class files in my LaTeX path, *and* gives me fast response, which proves (I think) that there's nothing obviously funny about /mydir/myTeX/tex or its contents.

So, all is well - except that I have no idea why changing TEXMFLOCAL, which has served me well for many years, is now broke.

Note. incidentally, that the pdflatex issue is reflected by (and may be linked to) kpsewhich behaviour - in the "slow" configuration of a custom TEXMFLOCAL, commands such as
  1. kpsewhich -var-value=TEXMFHOME

are also excrutiatingly slow.

Any ideas? Bug, feature, or (most probably) user error?

Tags:

vsnyder
Posts: 1
Joined: Tue Mar 15, 2016 3:28 am

Postby vsnyder » Tue Mar 15, 2016 3:31 am

I have a similar problem that might or might not be related.

When I launch xdvi, it uses kpathsea to check seventeen fonts, and discovers they already exist.

xdvi used to be blindingly fast to load or switch between documents. Now it takes over a minute. What's happened to it?


Return to “TeX Live and MacTeX”

Who is online

Users browsing this forum: No registered users and 3 guests