TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed TexLive 2012 on a Linux CentOS 5.8 via the user root. The installation has been placed at /usr/local/texlive/2012; but for some reason, some pk fonts were placed at /root/.texlive2012/texmf-var/fonts/pk.

Now, when I run

dvips -Ppk input.tex

via the user root, everything is fine. However, when I run the same command from other user accounts (e.g user1) it issues missing fonts error since dvips is not able to find fonts in the directory /root/.texlive2012/texmf-var/fonts/pk.

I tried copying the contents of /root/.texlive2012/texmf-var/fonts/pk to various places like


and the I ran updmap, texhash to update the file name database, but it didn't work.

I tried also to add user1 to the group in the permissions of /root/.texlive2012/texmf-var/fonts/pk and its subfolders, but also it didn't work

Do you have any hint how to resolve this?

Note: I am a beginner in linux, so I am sorry if the question was simple.

share|improve this question

closed as too localized by Joseph Wright Jul 20 '12 at 7:59

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

With your CentOS, what is the result of the command kpsepath pk? – Paul Gaborit Jul 19 '12 at 7:18
@PolGab after adding the texlive bin directory to the path, the command you mentioned gives the following output: pastebin.com/v60rS62r ,thanks – M.A Jul 19 '12 at 12:22
I have not been precise enough. What is the result of the command kpsepath pk for a non-root user (like user1 for example)? – Paul Gaborit Jul 19 '12 at 13:31
interestingly, the problem has been resolved when I tried today. thanks for you interest and sorry for taking your time – M.A Jul 19 '12 at 20:21

Generated pk files are placed at either $TEXMFSYSVAR for system-wide use or at $TEXMFVAR for personal use. In your case they are placed at $TEXMFVAR. This should not be a problem for other users - they should get the files in their own $TEXMFVAR.

Can you post the output of texconfig conf from a non-root user somewhere?

PS: Don't work as root, use sudo.

share|improve this answer
interestingly, the problem has been resolved when I tried today. thanks for you interest and sorry for taking your time – M.A Jul 19 '12 at 20:21
@M.A: So, can we close your question? @MartinShcröder: how to close this question? Whenever I click close, I get the message Unable to load popup - please try again... – Paul Gaborit Jul 19 '12 at 20:44
@PolGab: I've flagged the moderators. – Martin Schröder Jul 20 '12 at 6:51

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