TeX Live and MacTeX ⇒ invoking latexindent on Texlive 2014 (Windows)
invoking latexindent on Texlive 2014 (Windows)
I am wondering if others who used the automatic installation of Texlive are able to use the latexindent.exe program.
On my Win7 64 bit installation I receive error messages indicating that perl dependencies are missing.
Steps to reproduce:
1. Open the command prompt from info tray menu.
2. ...
C:\Temp>latexindent foo.tex
Can't locate File/HomeDir.pm in @INC (you may need to install the File::HomeDir
module) (@INC contains: C:/texlive/2014/tlpkg/tlperl/lib c:/texlive/2014/tlpkg/t
lperl/lib .) at c:/texlive/2014/texmf-dist/scripts/latexindent/latexindent.pl li
ne 25.
BEGIN failed--compilation aborted at c:/texlive/2014/texmf-dist/scripts/latexind
ent/latexindent.pl line 25.
C:\texlive\2014\bin\win32\runscript.tlu:652: command failed with exit code 2:
perl.exe c:/texlive/2014/texmf-dist/scripts/latexindent/latexindent.pl foo.tex
Initially I got the same message for yaml::mini perl module which I installed manually by copying it into the given perl include path.
Now it looks as if a whole chain of dependencies are missing.
Any hints?
TIA, Pummelo
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: invoking latexindent on Texlive 2014 (Windows)

Chris (cmhughes, author of latexindent)