LaTeX forum ⇒ TeX Live and MacTeXinvoking latexindent on Texlive 2014 (Windows)

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Posts: 1
Joined: Sat Aug 23, 2014 4:48 pm

invoking latexindent on Texlive 2014 (Windows)

Postby pummelo » Sat Aug 23, 2014 5:05 pm

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/ 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/ li
ne 25.
BEGIN failed--compilation aborted at c:/texlive/2014/texmf-dist/scripts/latexind
ent/ 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/ 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

Posts: 14
Joined: Thu May 13, 2010 1:23 am

Postby smr01cmh » Mon Jul 06, 2015 5:36 pm

There was a problem locating defaultSettings.yaml with the older versions of latexindent.exe in TeXlive; as of version 2.1R, which is included in TeXLive 2015, it is resolved. Apologies for any inconvenience :)

Chris (cmhughes, author of latexindent)

Return to “TeX Live and MacTeX”

Who is online

Users browsing this forum: No registered users and 1 guest