LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2012, 10:48 PM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 627
Blog Entries: 1

Rep: Reputation: 48
ps2pdf broke


What is the root of this problem ?

Thanks for your attention.

Quote:

man -t man | ps2pdf - test.pdf

Error: /limitcheck in /findfont
Operand stack:
Times-Italic@0 --nostringval-- Times-Italic
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1820 3 4 %oparray_pop
Dictionary stack:
--dict:1151/1684(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)-- --dict:59/120(L)--
Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
 
Old 03-23-2012, 03:45 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 ?
 
Old 03-23-2012, 04:00 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

.
 
Old 03-23-2012, 07:35 AM   #4
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
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.

Last edited by centguy; 03-23-2012 at 07:37 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ps2pdf undefined r problem cristalp Linux - Software 1 08-30-2011 11:35 AM
Ps2pdf Fabio Brolesi Linux - Software 4 10-31-2007 10:46 AM
Where to download ps2pdf satimis *BSD 1 06-16-2007 11:22 AM
ps2pdf yar110 Linux - Enterprise 6 10-22-2006 07:07 AM
Samba & PS2PDF Slacktastic Linux - Newbie 0 05-20-2006 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration