Bug 1247187

Summary: Missing plot-svg support
Product: [Fedora] Fedora Reporter: Jonathan Underwood <jonathan.underwood>
Component: pstoeditAssignee: Jiri Popelka <jpopelka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jpopelka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-27 14:58:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1247182    
Attachments:
Description Flags
Patch from upstream tracker to correctly load plugins none

Description Jonathan Underwood 2015-07-27 14:10:54 UTC
Description of problem:
inkscape has a plugin to allow latex input to be rendered in svg files. This makes use of pstoedit to turn a ps file (produced from a latex fragment) into an svg. See file /usr/share/inkscape/extensions/eqtexsvg.py. The pstoedit command ran by this script looks like:

# pstoedit -f plot-svg -dt -ssp eq.ps eq.svg

which at the moment results in:

pstoedit: version 3.70 / DLL interface 108 (built: Jan  5 2015 - release build - g++ 4.9.2 20141217 (Red Hat 4.9.2-3) - 64-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz
Unsupported output format plot-svg
Available formats :
	psf:			.fps:	Flattened PostScript (no curves) 	(built-in)
-------------------------------------------
	ps:			.spsc:	Simplified PostScript with curves 	(built-in)
-------------------------------------------
	debug:			.dbg:	for test purposes 	(built-in)
-------------------------------------------
	dump:			.dbg:	for test purposes (same as debug) 	(built-in)
-------------------------------------------
	gs:			.gs:	any device that Ghostscript provides - use gs:format, e.g. gs:pdfwrite 	(built-in)
-------------------------------------------
	ps2ai:			.ai:	Adobe Illustrator via ps2ai.ps of Ghostscript 	(built-in)
-------------------------------------------

And so it seems that svg and plot-svg support has been lost somehow.

Version-Release number of selected component (if applicable):
pstoedit-3.70-1.fc22.x86_64

How reproducible:
Everytime

Comment 1 Jonathan Underwood 2015-07-27 14:17:24 UTC
There seems to be a patch in the upstream tracker for this:

http://sourceforge.net/p/pstoedit/bugs/19/

Comment 2 Jonathan Underwood 2015-07-27 14:19:21 UTC
Created attachment 1056592 [details]
Patch from upstream tracker to correctly load plugins

Comment 3 Jonathan Underwood 2015-07-27 14:58:59 UTC

*** This bug has been marked as a duplicate of bug 1183335 ***