You are not logged in.

#1 2017-06-25 12:26:01

woodape
Member
Registered: 2015-03-25
Posts: 159

latexdiff-git for perl >= 5.26

EDIT: It looks like the latest version of texlive-core (2017.44918-1) solved the issue with perl. This package still provides the git version of latexdiff if needed.

Hopefully I've got the right subthread for this.

As of the recent upgrade of perl, latexdiff from the texlive-core package no longer works: git issue here. Fortunately, the maintainer of latexdiff has quickly updated the code to accomodate the latest version of perl. Unfortuantely, this will take a while to populate through to CTAN and then some more time to get through the Arch process. If you were in the middle of sending a final draft of a thesis to your supervisor and needed a redline copy like myself, this was a rude shock.

Hopefully this PKGBUILD will help whoever finds themselves in a similar predicament until CTAN and Arch catch up.

Please let me know if I can improve this in anyway, it's my first submission to the AUR.

Last edited by woodape (2017-08-02 07:55:14)

Offline

#2 2017-06-25 12:58:21

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: latexdiff-git for perl >= 5.26

Thank you very much!

However, it seems like perl-algorithm-diff should be a dependency. At least latexdiff-git stops working for me if I uninstall that package. Do you have perl-algorithm-diff installed on your system?

Offline

#3 2017-06-25 13:05:34

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: latexdiff-git for perl >= 5.26

I do, to be honest I made the thing in a panic and wasn't sure necessarily of the dependencies. I'll update the PKGBUILD now.

Offline

#4 2017-06-25 13:12:26

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: latexdiff-git for perl >= 5.26

Maybe you could test first, if it works without perl-algorithm-diff for you. The version of latexdiff in texlive-core does work without it. But when I started using the git version a few weeks ago (just launched from my home folder), it did not work until I installed that additional perl package.

Offline

#5 2017-06-25 13:24:44

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: latexdiff-git for perl >= 5.26

No it doesn't work for me without it. In the makefile of the source code there seems to be options to compile with UNIX-diff instead, but I'm not particularly familiar with perl, makefiles and whatnot so I had a horrible time trying to compile it. Additionally, the make file there are some commands that are no longer provided by the perl package, like pod2latex, so they'd have to be found and compiled themselves. I'm going to stick with the code as-is and add the perl-algorithm-diff as a dependency. Obviously I'm happy to change it if someone is able to modify the PKGBUILD to use the makefile.

Offline

#6 2017-06-25 14:05:12

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: latexdiff-git for perl >= 5.26

Thanks again. I am OK with the dependency solution. I'm just glad, that it's working now, and I can remove that latexdiff from my home folder.

Offline

#7 2017-06-25 15:01:07

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: latexdiff-git for perl >= 5.26

no prob, I'm glad someone else has a use for it smile

Offline

Board footer

Powered by FluxBB