FS#31346 - [latex2rtf] latex2rtf is built with the wrong CFGDIR

Attached to Project: Arch Linux
Opened by Sami B. (spider-mario) - Thursday, 30 August 2012, 23:10 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 18 November 2012, 03:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Description: when running latex2rtf without parameter on a .tex file, the following output is obtained:

(Not set):1 Cannot open the latex2rtf config file 'direct.cfg'
(Not set):1 Locate the directory containing the .cfg files and
(Not set):1 (1) define the environment variable RTFPATH, *or*
(Not set):1 (2) use command line path option "-P /path/to/cfg/file", *or*
(Not set):1 (3) recompile latex2rtf with CFGDIR defined properly
(Not set):1 Current RTFPATH: (null)
(Not set):1 Current CFGDIR: /usr/local/share/latex2rtf/cfg
(Not set):1 Error! Giving up. Please don't hate me.

It can be seen that CFGDIR is /usr/local/share/latex2rtf/cfg instead of the correct path /usr/share/latex2rtf/cfg.

Additional info:
* package version: 2.2.1c-1

I’m attaching a patch but src/ seems to have to be removed from the directory containing the PKGBUILD for the package to be rebuilt correctly.
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 18 November 2012, 03:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  latex2rtf-2.2.1c-2