Bug 114849

Summary: language selection broken
Product: [Fedora] Fedora Reporter: Ulrich Seidl <ulrich.seidl>
Component: transfigAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-30 21:38:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ulrich Seidl 2004-02-03 16:03:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Description of problem:
When selecting pstex as output language, transfig generates a makefile
for psfig languague. The problem is the different mapping of languages
in transfig.c (lname[]) and transfig.h (enum language).

Patch of transfig.c follows:

diff -ru transfig.3.2.4/transfig/transfig.c
transfig.3.2.4-pstex/transfig/transfig.c
--- transfig.3.2.4/transfig/transfig.c  2002-12-18 23:34:12.000000000
+0100
+++ transfig.3.2.4-pstex/transfig/transfig.c    2004-02-03
16:22:25.000000000 +0100
@@ -64,6 +64,7 @@
                "png",
                "ppm",
                "ps",
+               "psfig",
                "pstex",
                "ptk",
                "sld",


Version-Release number of selected component (if applicable):
3.2.4-5

How reproducible:
Always

Steps to Reproduce:
1. transfig -L pstex -M FIGmake xyz.fig
2. see FIGmake
3.
    

Additional info:

Comment 1 Than Ngo 2004-11-30 21:38:43 UTC
it's now fixed in 3.2.4-10 or newer. Thanks for your report.