Take the 2-minute tour ×
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.

After reading XeTeX can't find font I executed

sudo cp $(kpsewhich --var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
sudo fc-cache -fsv

I am now trying out MathJax and I find that I need to remove the TeX fonts that were made system-wide so that I can test meaningfully. Is there any way to reverse the above process using the CLI?

FYI, I am on a Ubuntu 11.10 64-bit system running TeX Live 2011.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Well, your code seems to have copied texlive-fontconfig.conf to /etc/fonts/conf.d/. You might simply want to delete that file from there.

sudo rm /etc/fonts/conf.d/09-texlive.conf
sudo fc-cache -fsv 
share|improve this answer
    
In Ubuntu you can try this: ubuntugeek.com/… –  NVaughan Apr 13 '12 at 14:28
    
Or you can manually edit your ~/.fonts or ~/fonts.conf (I don't remember which one, as I no more use Linux.) –  NVaughan Apr 13 '12 at 14:29
1  
I am looking to reverse my steps automatically. I made them system-wide with two commands and am looking for one or two commands to disable them in the same way. To disable them one by one by hand using font management utilities means that one must recognize them, and then remove them, possibly one at a time, and not miss any. I will try that only as a last resort. –  chandra Apr 13 '12 at 15:45
    
Well, your code seems to have copied texlive-fontconfig.conf to /etc/fonts/conf.d/. You might simply want to delete that file from there. –  NVaughan Apr 13 '12 at 16:42
1  
sudo rm /etc/fonts/conf.d/09-texlive.conf and then again sudo fc-cache -fsv –  NVaughan Apr 13 '12 at 16:43
show 1 more comment

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.