Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I just upgraded to Ubuntu 11.10 and was trying to get my custom styles/fonts and the like to work. As on all distributions before, I store them in $HOME/texmf, with a tree structure according to the main TEXMF-Folder.

I did run texhash but my system seems unable to find the files in $home/texmf (i.e. kpsewhich "anyfilenameinthatfolder" doesn't return anything). However, using kpsepath, it is apparently listed, e.g. for kpsepath tex it gives:

:!!/home/USERNAME/texmf/tex/

amongst others. kpsewhich -var-value TEXMFHOME returns:

 /home/USERNAME/texmf

So that appears to be correct, too. Finally, I thought that something in my .cnf file is wrong, so I opened /usr/share/texmf/web2c/texmf.cnf and found

TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}

which again seems to be correct. I have no clue what is wrong here, since it used to work fine. Any help would be highly appreciated.

share|improve this question
Dunno if this helps but I had problems getting the path to TeX Live's binaries recognized (e.g. tlmgr). The solution for me was to add the path to /etc/profiles by including PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH in it. Maybe you can do something similar but for TEXMFHOME? – N.N. Oct 20 '11 at 16:59
That might be the problem. I installed texlive straight from the repos, is tlmgr included in that distribution? I did also try to run texhash texmf and the resulting ls-R file lists all the files in the folder, however is not read by my system. The same happens when I put the files into usr/local/share/texmf - I ran sudo texhash, files aren't recognized altough listed in the respective ls-R. I did follow Herberts suggestions [link] (tex.stackexchange.com/questions/27922/…) - no success. Any ideas of what I should do? – David Oct 20 '11 at 17:28
The TeX Live from the repos is the 2009/Debian one and has not tlmgr. The problem might be in a ls-R file in ~/texmf: if one's there, changes to the tree will not be seen (and the file will not be regenerated by texhash). If it's there, delete it. – egreg Oct 20 '11 at 20:36
I tried it first without generating a ls-R file. Since it did not work, I used texhash ~/texmf to get a ls-R file in my texmf-folder. Did not work, too, so I deleted it, still the same problem. Tex does not seem to update its files when I ran texhash or mktexslr. Even files in usr/local/share/texmf are not found! – David Oct 20 '11 at 21:17
I seem to have the same problem on Ubuntu 11.10, TeXLive 2011. I cannot get LaTeX recognize the fonts in my ~/texmf folder. As a fairly non-geek user, I cannot offer any suggestions unfortunately. – mustail Oct 21 '11 at 17:15
show 4 more comments

1 Answer

A community wiki answer, based on the OP David's comments.

The solution, which worked for the OP and is recommended by him: don't use (deinstall) the older Ubuntu/Debian repository version and install an up-to-date version of TeX Live, which also works on Ubuntu/Debian. Additionally is has the advantage that you can use the TeX Live Manager tlmgr for installing the most recent updates.

Source for download and installation: http://www.tug.org/texlive/

share|improve this answer
note that the tug.org address (very properly) only gives you a loader; the loader takes its stuff from mirror.ctan.org, which is a distributed object and hence avoids all the load going to one site (terabytes/day tend to make one look around uneasily in case the accountants are looking over your shoulder). – wasteofspace Mar 4 '12 at 0:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.