Bug 1171845 - Latex2png wont work: miss xelatex
Summary: Latex2png wont work: miss xelatex
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: latex2rtf
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1136065
TreeView+ depends on / blocked
 
Reported: 2014-12-08 18:26 UTC by Alexandre Moine
Modified: 2015-02-27 09:23 UTC (History)
1 user (show)

Fixed In Version: latex2rtf-2.3.8-4.fc21
Clone Of:
Environment:
Last Closed: 2015-02-27 09:23:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alexandre Moine 2014-12-08 18:26:01 UTC
Description of problem:
I tried to run the latex2png command, but it fail with this error:

/usr/bin/latex2png: line 151: xelatex : command not found
latex2png: error: pdflatex, xelatex and latex all failed to translate somefile.tex

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

How reproducible:
Ran "latex2png somefile.tex"

Additional info:
I can't find xelatex in the fedora repository... I missed somethig ?

Comment 1 Michael Schwendt 2014-12-09 09:54:32 UTC
Strangely, the package does not specify any TeX related dependencies despite the several texlive build requirements such as tex(latex).

# repoquery --whatprovides /usr/bin/xelatex
texlive-xetex-bin-4:svn30845.0-1.1.20140525_r34255.fc21.x86_64
# repoquery --whatprovides /usr/bin/latex
texlive-latex-bin-bin-4:svn14050.0-1.1.20140525_r34255.fc21.noarch

Comment 2 Fedora Update System 2015-02-18 13:57:38 UTC
latex2rtf-2.3.8-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/latex2rtf-2.3.8-3.fc21

Comment 3 Fedora Update System 2015-02-19 02:58:48 UTC
Package latex2rtf-2.3.8-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing latex2rtf-2.3.8-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2260/latex2rtf-2.3.8-3.fc21
then log in and leave karma (feedback).

Comment 4 Christopher Meng 2015-02-19 03:05:21 UTC
This package should depend on /usr/bin/latex ONLY, even if it doesn't work still, as users should install xelatex by themselves or this package will pull more deps onto user's computer by default and I don't want users to download lots of packages, the best is to await dnf/yum supporting Recommends/Suggests feature soon.

Since different users have different tex packages installed, if /usr/bin/latex failed to detect a sty file(often missing on the computer), it will terminate the process and latex2png will fail as well, then you will likely see the info like "/usr/bin/latex2png: line 151: xelatex : command not found" as latex2png will switch to xelatex as an alternative solution(as it couldn't find latex), but maybe users haven't installed xelatex as well, finally png won't be generated.

I'm gonna rewrite this script if I have time and ask upstream to accept it into upstream sources, to be more friendly to Fedora users. But I'd like to figure out how tex is pacakged as tex always breaks things...

Hence I added 4 deps to this package:

Requires:       texlive-collection-basic
Requires:       texlive-collection-latex
Requires:       texlive-collection-latexextra
Requires:       texlive-collection-latexrecommended

Please test the update to see if it works. I'm having problem with latex2html here.

Comment 5 Fedora Update System 2015-02-21 04:24:25 UTC
Package latex2rtf-2.3.8-4.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing latex2rtf-2.3.8-4.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2260/latex2rtf-2.3.8-4.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-02-27 09:23:21 UTC
latex2rtf-2.3.8-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.