TexLive doesn't read my ~/texmf after the upgrading to 2016
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
TexLive doesn't read my ~/texmf after the upgrading to 2016
Hey all,
I'm kind of lost here. I upgraded TexLive to the 2016 version from SlackBuilds. Now it refuses to read my custom .sty and .cls files in ~/texmf/tex/latex.
I checked my environment: $TEXMFHOME isn't set and therefor should default to ~/texmf. I also tried to explicitly set $TEXMFHOME, which didn't solve the problem.
Further I tried to copy the .cls and .sty files to /usr/share/texmf-local, running rehash and compiling the document. No change here.
Any ideas what I'm missing here. These are the environment variables that are relevant to TeX. I didn't set TEXMFCACHE but unsetting it doesn't help.
Whenever I try to compile a Latex-File using a custom class or style file, I get the following error:
Code:
! LaTeX Error: File `<mycustomfile>.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
I already tried this, it doesn't help. With TexLive 2015 it wasn't even required to run texhash over TEXMFHOME as long as you kept the files in the correct folders. I wasn't able to find any info that this changed in the 2016 version.
I already tried this, it doesn't help. With TexLive 2015 it wasn't even required to run texhash over TEXMFHOME as long as you kept the files in the correct folders. I wasn't able to find any info that this changed in the 2016 version.
I'm having similar problems. TexLive now refuses to recognize a font I had installed several years ago and it is in my systemwide $TEXMFLOCAL path (/usr/share/texmf-local/). THis is even despite I ran texhash several times.
@franzen by the way, running the command you suggest in my system gaves the output ~/texmf/. I have my local user-specific config in ~/.texmf/. How could I fix this?
Even more: texlive does not read the contents of the $TEXMFLOCAL directory.
I even went as far as manually editing /usr/share/texmf-dist/web2c/updmap.cfg and add the relevant font map. At the next updmap-sys run, it generated an error message:
Code:
root:/home/eduardo]# updmap-sys
updmap will read the following updmap.cfg files (in precedence order):
/usr/share/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/usr/share/texmf-config/web2c/updmap.cfg
dvips output dir: "/usr/share/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/usr/share/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/usr/share/texmf-var/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: myfontfile.map (in /usr/share/texmf-dist/web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?
You can disable non-existent map entries using the option
--syncwithtrees.
The problem is, that .map file is on $TEXMFLOCAL, and I did run mktexlsr several times. Even more: the relevant directory where the .map file is stored has its relevant ls-R file with a timestamp of today.
If you could give any help in fixing this I'd be very grateful.
I'm having similar problems. TexLive now refuses to recognize a font I had installed several years ago and it is in my systemwide $TEXMFLOCAL path (/usr/share/texmf-local/).
What do you mean with "now"? Did it work with texlive2016 before the last update?
Quote:
@franzen by the way, running the command you suggest in my system gaves the output ~/texmf/. I have my local user-specific config in ~/.texmf/. How could I fix this?
The global runtime path configuration file for kpathsea is
/usr/share/texmf-dist/web2c/texmf.cnf
Put your changes -- and only your changes, not an entire copy! -- in
/usr/share/texmf.cnf
What do you mean with "now"? Did it work with texlive2016 before the last update?
I'm not certain about the last update, but IIRC it worked with at least the next to last. (that is, I think it was the last one you offered directly via LQ).
The global runtime path configuration file for kpathsea is
/usr/share/texmf-dist/web2c/texmf.cnf
Now, this is odd.
in the global /usr/share/texmf-dist/web2c/texmf.cnf is this:
Code:
TEXMFROOT = $SELFAUTODIR/share
[snip]
% The main tree of distributed packages and programs:
TEXMFDIST = $TEXMFROOT/texmf-dist
[snip]
% Local additions to the distribution trees.
TEXMFLOCAL = $TEXMFROOT/texmf-local
All the variables are OK; they have the values expected from them. However, this one:
Code:
TEXMFLOCAL = $TEXMFROOT/texmf-local
is directly not honored by TeX; and maybe other paths aren't, either.
I don't have any custom texmf.cnf files anywhere.
Last edited by sombragris; 12-05-2016 at 04:19 PM.
To be more specific: my map file is correctly located at /usr/share/texmf-local/fonts/map/dvips (i.e., $TEXMFLOCAL/fonts/map/dvips) but it is not picked up by updmap-sys.
I also see that the ls-R corresponding to the $TEXMFLOCAL directory correctly picks my map file. But somehow updmap fails to pick it.
Last edited by sombragris; 12-05-2016 at 05:36 PM.
Reason: updates for clarification
I'm really lost here as it worked with the previous version. Maybe I should try to downgrade. Is there a way to access previous versions of Slackbuilds?
I'm really lost here as it worked with the previous version. Maybe I should try to downgrade. Is there a way to access previous versions of Slackbuilds?
There's no official support to downgrade, you may go through slackbuild.org's cgit.
texlive2015 was never part of SBo, texlive2014 was there before.
I'll create a testcase to reproduce your issue, but i don't know if i find time today ...
There's no official support to downgrade, you may go through slackbuild.org's cgit.
texlive2015 was never part of SBo, texlive2014 was there before.
I'll create a testcase to reproduce your issue, but i don't know if i find time today ...
Honestly, I'm not sure whether you'll be able to reproduce my problem. I've got two more or less identical Slackware 14.2 installs and it only happens on one box. I couldn't figure out the difference yet.
Honestly, I'm not sure whether you'll be able to reproduce my problem. I've got two more or less identical Slackware 14.2 installs and it only happens on one box. I couldn't figure out the difference yet.
Maybe the arch-wiki about texlive can help.
If nothing helps, i suggest to save you texlive-config/styles/whatever, then
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.