Package Details: perl-latexml 0.8.6-1

Git Clone URL: https://aur.archlinux.org/perl-latexml.git (read-only, click to copy)
Package Base: perl-latexml
Description: LaTeX to XML converter
Upstream URL: http://dlmf.nist.gov/LaTeXML/
Licenses: custom
Submitter: denisfalqueto
Maintainer: haawda
Last Packager: haawda
Votes: 25
Popularity: 0.000256
First Submitted: 2010-04-08 00:27 (UTC)
Last Updated: 2021-10-01 04:27 (UTC)

Latest Comments

haawda commented on 2020-06-29 20:28 (UTC)

Confirmed and fixed, thanks.

friedrichr commented on 2020-06-29 17:13 (UTC)

Recently I found my latexml broken ($ latexml --help):

Can't locate Pod/Find.pm in @INC (you may need to install the Pod::Find module) (@INC contains: /usr/bin/../lib /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/LaTeXML/Common/Config.pm line 19.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LaTeXML/Common/Config.pm line 19.
Compilation failed in require at /usr/share/perl5/vendor_perl/LaTeXML.pm line 23.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LaTeXML.pm line 23.
Compilation failed in require at /usr/bin/latexml line 20.
BEGIN failed--compilation aborted at /usr/bin/latexml line 20.

Googling lead me to https://metacpan.org/pod/Pod::Find. I inspected the problem and found that the upgrade of perl from perl-5.30.3-1 to perl-5.32.0-1 is the culprit:

$ pacman -Ql --file perl-5.30.3-1-x86_64.pkg.tar.zst | grep Pod/Find.pm
perl /usr/share/perl5/core_perl/Pod/Find.pm

$ pacman -Ql --file perl-5.32.0-1-x86_64.pkg.tar.zst | grep Pod/Find.pm
(empty output)

Installing perl-pod-parser from the community repo solves the problem (for me), latexml --help returns to producing useful output.

Notice also that perl-5.32.0-1 has been built Sun 21 Jun 2020 11:19:43 CEST and perl-pod-parser-1.63-1 has been built Sun 21 Jun 2020 14:22:03 CEST, although the upstream package (https://metacpan.org/release/Pod-Parser) dates to 10 Feb 2015. Apparently the contents of the perl-pod-parser package have been removed from "standard" perl, and are provided now by perl-pod-parser.

Possibly perl-pod-parser should be added to latexml's list of dependencies.

lucas156 commented on 2018-07-11 17:34 (UTC)

When I run perl Makefile.PL, I get a warning about JSON::XS. It goes away when I installed the package perl-json-xs

denisfalqueto commented on 2018-04-02 12:59 (UTC)

I've orphaned this package, because I really don't use it anymore. So, feel free to grab and fix it!

j605 commented on 2018-03-31 11:05 (UTC)

Can you fix the package. If not it is good to orphan the package so others and pick it up :)

Felixoid commented on 2017-04-20 21:59 (UTC)

Hi! There is missing dependence perl-text-unidecode for package: /tmp/ThinkJava >±> latexml --dest=thinkjava.xml thinkjava.tex Can't locate Text/Unidecode.pm in @INC (you may need to install the Text::Unidecode module) (@INC contains: /usr/bin/../lib /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/LaTeXML/Package.pm line 50. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LaTeXML/Package.pm line 50. Compilation failed in require at /usr/share/perl5/vendor_perl/LaTeXML/Core.pm line 28. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LaTeXML/Core.pm line 28. Compilation failed in require at /usr/bin/latexml line 19. BEGIN failed--compilation aborted at /usr/bin/latexml line 19. And after installing https://aur.archlinux.org/packages/perl-text-unidecode/ all works properly

denisfalqueto commented on 2016-06-30 01:48 (UTC)

@john_schaf, thanks for the suggestion. Now I've built the package in a clean chroot, following Arch's wiki.

john_schaf commented on 2015-09-19 19:32 (UTC)

Hello, I needed to install 'perl-libwww' 'perl-io-string' 'perl-archive-zip' which were missing in the "depends" array of the PKGBUILD.

denisfalqueto commented on 2015-04-24 15:32 (UTC)

@Pank, thanks for the heads up! It's updated now.

Pank commented on 2015-04-23 08:37 (UTC)

This seems to be a missing dependency: extra/perl-file-which thanks

denisfalqueto commented on 2014-09-19 00:07 (UTC)

@xico I've updated the package. But I don't use it anymore (in fact, I don't remember exactly why I used in the first place :)), So, if you want to adopt it, please ask and I'll orphan it. Thanks for the tips.

xico commented on 2014-09-18 21:52 (UTC)

@denisfalqueto: Great! But seems to require perl-image-size now. % /usr/bin/latexmlmath Can't locate Image/Size.pm in @INC (you may need to install the Image::Size module)

denisfalqueto commented on 2014-09-17 13:53 (UTC)

Updated. Thanks @xico

xico commented on 2014-09-17 00:21 (UTC)

0.8 is out

denisfalqueto commented on 2013-07-28 14:37 (UTC)

Updated. Thanks zorun!

zorun commented on 2013-07-28 10:33 (UTC)

The files are installed at the wrong location (e.g. /usr/bin/vendor_perl/ for binaries). Here is an updated PKGBUILD fixing these issues: http://paste.aliens-lyon.fr/Kvu