Questions tagged [latexindent]

latexindent is a Perl script that aims to beautify .tex files. It is customizable through its YAML-based interfaced, described in the documentation. It is also available as a .exe file The project is hosted at https://github.com/cmhughes/latexindent.pl/ which is the appropriate place for bug reports.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

how to remove redundant space in the .tex file using latexindent

\begin{align} a + b = c \end{align} [more spaces here] <= I am using the latexindent to format my tex file. However, each time, I format the file, it will create more space after some blocks, ...
2
votes
1answer
92 views

Automatic indentation done for subfiles with arara and latexindent not working

I am learning with latexindent. I would like to follow up this question: How is automatic indentation done for subfiles with arara and latexindent? and ask for clarification: Is there required any ...
1
vote
1answer
36 views

Latexindent with Homebrew Perl and Sublime Text

I'm trying to get the package BeautifyLatex working on Sublime Text 3. My initial attempts revealed that certain Perl modules were missing which prevented latexindent from working. Instead of fiddling ...
1
vote
1answer
512 views

latexindent texlive and texstudio

I am using TeXStudio with texlive on Windows 10 computer. I would like TeXStudio to automatically handle my indentation in my tex-files. My question is: How to install latexindent in texstudio when ...
12
votes
1answer
3k views

latexindent: Can't locate Log/Log4perl.pm in @INC (you may need to install the Log::Log4perl module)

I have Strawberry Perl and MiKTeX v2.9 installed on Windows 10 with the latexindent package installed via the MiKTeX console. However, running latexindent.pl in the command prompt results in the ...
2
votes
1answer
706 views

Missing latexindent from TeXLive full installation

Even after sudo apt-get install texlive-full on Linux I'm apparently missing latexindent. I can't configure any command with this application within TeXstudio because I get the following, as an ...
2
votes
0answers
219 views

latexindent with arara produces error message [closed]

I try to get my files indented automatically with arara, latexindent and texmaker. I have the TexLive Distribution, so both programs should be installed correctly (or am I wrong?). At least when I ...
7
votes
2answers
3k views

How can I install latexindent on macOS?

I'm using the basicTeX distribution, rather than the MacTeX distribution. I prefer it this way, but there is one problem. I does not come with the tool latexindent which MacTeX does. I can't figure ...
4
votes
1answer
2k views

How to use latexindentation in TeXStudio on Windows?

I am using TeXStudio with MiKTeX on my Windows 10 computer. I would like TeXStudio to automatically handle the code's indentation in my tex-files, so I enabled Indentation mode under the Editor ...
3
votes
1answer
1k views

Using latexindent on Windows

I discovered latexindent and want to use it on my Windows machine. I am using MiKTeX and Strawberry Perl. MiKTeX has a package manager which lists latexindent. For some reason I cannot install or ...
2
votes
2answers
1k views

Use latexindent.pl with `BeautifyLatex` in sublime text

I was trying to use latexindent.pl with the package BeautifyLatex in SublimeText 3 on OS X El Capitan . When I tried to save tex file, there was an error: Error: can't specify None for path argument ...
4
votes
1answer
298 views

latexindent: it does the work, but emits these messages

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*\\begin{ <-- HERE document}/ at /opt/texbin/latexindent line 677. Unescaped left brace in regex ...
3
votes
1answer
773 views

Arara with latexindent

I've been trying to install arara and latexindent to get automatic indentation in TeXstudio. I've managed to install arara, and latexindent seems to be working fine. But I can't figure out how to run ...
4
votes
1answer
2k views

How to configure TexLive 2015 to use latexindent.pl script with Kile

I would like to autoindent my code under Kile using latexindent. I have TeXLive 2015 installed and I run arara on my tex file. I tried to follow the manual instructions (p.5) for latexindent where ...
4
votes
1answer
428 views

Workaround for latexindent bug [closed]

Running latexindent I get the following error message: YAML::Tiny found a duplicate key 'pmatrix' in line '1' at /usr/local/texlive/2014/bin/x86_64-linux/latexindent line 171. The bug resists: ...
4
votes
1answer
552 views

arara with indent.yaml works in command line but not in TeXmaker

I am running Windows 7 and a recent (Dec 2014) distribution of TeX Live and a recent version of TeXmaker. When invoking arara myFile.tex in the command line it returns "indent SUCCESS" and when ...
5
votes
2answers
1k views

How to Use Arara in TexStudio

I'm trying to use latexindent to clean up my code in TexStudio and I can't get it to work. I've installed latexindent and arara in Tex Live Utility I've added a User Command to TexStudio of: /usr/...
1
vote
0answers
2k views

Arara and latexindent with texmaker [closed]

I am new to latex and I try to auto indent my latex file using arara and latex indent. I use texmaker as IDE. I installed arara exactly as: How to install arara with MiKTeX / Windows? and tested it. ...
2
votes
1answer
311 views

Using latexindent from vi?

I would like to use latexindent from the vi editor. Ideally, I would use it just like one uses fmt. Recall that in vi you can filter any portion of your text through an external filter. So, one could ...
8
votes
1answer
423 views

Indent LaTeX code NOT in an environment using latexindent

I really like how latexindent does a good job indenting most parts of my code in a document. However, there are a few instances where latexindent doesn't do what I want it to do. These instances ...
1
vote
1answer
506 views

Output latexindent auxiliary files to a different directory

I just started using Notepad++ and SumatraPDF for my LaTeX stuff. When compiling a .tex file using pdflatex, one can specify an option -output-directory=<folder> to save all the auxiliary ...
10
votes
1answer
896 views

How is automatic indentation done for subfiles with arara and latexindent?

I guess that I have overlooked something, but I can't find a solution to run arara on my subfiles when processing my main file. I would like to autoindent my code but only succeed for the main.tex. I ...