ps2pdf broke
What is the root of this problem ?
Thanks for your attention. Quote:
|
1)what OS is this ?
cent 5 or cent 6 2) what repos are on ,or have been on ? " yum repolist all" that is do you have incompatible repos running on Cent5 are you running that command as root or a user ? |
CentOS 5 and CentOS 6 : 'ps2pdf' works OK on both ...
'man -t man | ps2pdf - test.pdf' : The file test.pdf is created. 'ps2pdf any-file.ps out.pdf' : No errors, out.pdf is created. Solution ? Probably reinstall ghostscript, ghostscript-fonts : # yum reinstall ghostscript ghostscript-fonts . |
Thanks for the response. I solved the problem. But I will share my experience.
Towards the end of 2011, I was excited to know the OOoLatex in openoffice and I was able to include OOoLatex through Tool -> Extension -> Add -> Browse to local disk -> OOoLatex-4.0.0-beta-2-linux.oxt Then I could create nice Latex equation in openoffice presentation. But to get a high quality equation, I need to put the bakoma font in the system. Back then in 2011 when I was still using CentOS 5.2 or so, I need to wget http://mirror.ctan.org/fonts/cm/ps-type1/bakoma.zip unzip it, and then mv bakoma /usr/share/fonts It worked on 5.x CentOS, but I must admit I did not test it thoroughly because soon after that (early 2012) I switched to CentOS 6.1. Recently, I repeated the above steps in CentOS 6.1 and move bakoma to /usr/share/fonts and apparently this breaks ps2pdf, xdvi in rending eps files, ... By removing /usr/share/fonts/bakoma then the problem goes away. One thing I notice is that the OOoLatex on CentOS 6.1 renders equations EMF perfectly even without having me to install bakoma! So I guess CentOS 6.1 is really up to date that I can skip bakoma. I have learned that installing new fonts in the system can break things big time ! Thanks if you are still following me. |
All times are GMT -5. The time now is 08:32 PM. |