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
Post Reply
pummelo
Posts: 1
Joined: Sat Aug 23, 2014 4:48 pm

invoking latexindent on Texlive 2014 (Windows)

Post by pummelo »

Hello,
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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
smr01cmh
Posts: 14
Joined: Thu May 13, 2010 1:23 am

Re: invoking latexindent on Texlive 2014 (Windows)

Post by smr01cmh »

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)
Post Reply