Description of problem: latex2html shipped with Fedora 28 is incompatible with Perl in the same distro. Version-Release number of selected component (if applicable): latex2html-2017.2-4.fc28.noarch How reproducible: 100% Steps to Reproduce: $ cat >test.tex <<\EOF \documentclass[12pt]{report} \usepackage{color} \begin{document} {\color{Red}text} \end{document} EOF $ latex2html test.tex Actual results: ;.Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^color{ <-- HERE Red}/ at /usr/bin/latex2html line 4475. Expected results: No Perl errors. Additional info: The issue is resolved in latex2html 2018.2 Even "latex2html --version" elicits a Perl warning: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^([^{]*){ <-- HERE / at /usr/bin/latex2html line 1891. This is LaTeX2HTML Version 2017.2 (Released Jan 23, 2017) by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Created attachment 1441152 [details] Failing example
I've made a package using latex2html 2018.2. All patches in the package apply with minimal adjustments. It turns out the issue with \color is not resolved in 2018.2. There is just one commit after the v2018.2 tag, and it's not related to the Perl issues. So I opened another ticket with latex2html: https://github.com/latex2html/latex2html/issues/48 The issue in "latex2html --version" is actually fixed in 2018.2.
Great news! The issue with Perl compatibility has been fixed upstream (as well as another issue when the "xcolor" package is used instead of "color"). Please consider building a package from the git snapshot if the maintainers don't make a release soon.
Great to hear! We'll give upstream a little bit to put out a release and if they don't, we'll carry that patch in the Fedora package until the next release.
I've just checked the Fedora repository for the latex2html package. The current master branch (2018.2-4) resolves all my issues with the Perl errors. I made a package by running: fedpkg --release=f28 srpm rpmbuild --rebuild latex2html-2018.2-4.fc28.src.rpm No issues whatsoever, all the documents are processed correctly. Would it be possible to make official Fedora 28 packages and submit them to bodhi? I believe keeping packages compatible with each other is an important goal of a distribution. If there is a known incompatibility between Perl and latex2html in Fedora 28, it should be resolved by an update. Also, latex2html 2018.3 is available. That should take care of some local patches. https://github.com/latex2html/latex2html/releases
> I believe keeping packages compatible with each other is an important goal of a distribution. If there is a known incompatibility between Perl and latex2html in Fedora 28, it should be resolved by an update. That is a good argument. I'll put the patched version into F28 and the new upstream release into F29. I'll try to get to that either today or tomorrow.
latex2html-2017.2-5.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a39fbaf7ed
latex2html-2017.2-5.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a39fbaf7ed
latex2html-2017.2-5.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.