[OS X TeX] I can't install the Perl library(ies) needed to run latexindent

Joe Heafner heafnerj at gmail.com
Sat Jul 18 03:01:42 CEST 2020


After over two hours of trying and googling, I finally got latexindent working. There were two problems. 1) Somehow the perl installation process (https://learn.perl.org/installing/osx.html) eventually appended the perl PATH to the *end* of my existing path and not prepended it to the beginning, so I always got Apple’s perl. 2) Once I fixed that, I finally stumbled onto this page 

https://tex.stackexchange.com/questions/445521/latexindent-cant-locate-log-log4perl-pm-in-inc-you-may-need-to-install-the-l

and followed the suggestion of installing the necessary modules from inside cpan, not from a command line. I have no idea why this is necessary, but after that I was running latexindent. Thanks for all who helped!

BTW, Is there a way to access latexindent from inside TeXShop?

Joe Heafner
Sent from one of my Macs


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list.