Package Details: pplatex-git 20210523.gba8191a-1

Git Clone URL: https://aur.archlinux.org/pplatex-git.git (read-only, click to copy)
Package Base: pplatex-git
Description: Pretty-Print LaTeX: A tool to reformat the output of latex and friends into readable messages
Upstream URL: https://github.com/stefanhepp/pplatex
Licenses: GPL3
Submitter: quartic
Maintainer: quartic
Last Packager: quartic
Votes: 7
Popularity: 0.000000
First Submitted: 2012-11-05 13:16 (UTC)
Last Updated: 2021-11-06 12:16 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

schaetzc commented on 2019-09-03 16:01 (UTC) (edited on 2019-10-12 10:17 (UTC) by schaetzc)

I had the same problem as reedjosh. It's a bug in the scons build process of pplatex as pointed out on the project page: https://github.com/stefanhepp/pplatex/issues/13.

Solution 1 You can build the fork https://github.com/neingeist/pplatex instead. In PKGBUILD edit url=… and source=… such that they point to neingeist's fork.

Solution 2 Alternatively, you can use the cmake build process also provided with the original project. Replace the build() function inside PKGBUILD by build() { cd "$srcdir/$_pkgname"; cmake .; make; }.
Since the cmake build process writes its binaries to src/ you also have to adapt the package() function. Replace all install … bin/pplatex … with install … src/pplatex ….

quartic commented on 2019-02-23 14:55 (UTC)

@andrejr pplatex and ppdflatex are exact copies of each other. The ln saves some disk space.

I have updated the PKGBUILD to add the ppluatex wrapper script.

andrejr commented on 2019-01-24 13:21 (UTC) (edited on 2019-01-24 13:21 (UTC) by andrejr)

What does the ln at the end of package() in the PKGBUILD do?

Anyway, you should expose all of the supplied executables (explained in the github repo readme), so that the package will effortlessly work with lualatex.

You can do so by appending this to the package() function:

install -Dm755 bin/ppdflatex "$pkgdir/usr/bin/ppdflatex"
install -Dm755 bin/ppluatex "$pkgdir/usr/bin/ppluatex"

I find that the program works great even without that symlink.

reedjosh commented on 2017-10-13 01:20 (UTC)

I've been getting the below error. It seems as though this is a problem with the actual software though. I tried changing the tabs to spaces, but the file seems to be auto generated during build. Any thoughts? *** Error loading site_init file './site_scons/site_init.py': File "/home/jreed/tmp/yaourt-tmp-jreed/aur-pplatex-git/src/pplatex/site_scons/envhelper.py", line 7 return "64" ^ TabError: inconsistent use of tabs and spaces in indentation Thanks!

quartic commented on 2017-03-10 18:14 (UTC)

@eduardosm: Good idea, done.

eduardosm commented on 2017-03-10 13:38 (UTC)

Could you change the repository link from "git://" to "git+https://"? "git://" links are blocked on some networks.