Skip to content

Commit

Permalink
compiled Windows executable and updated documentation for version 2.1R
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhughes committed Apr 18, 2015
1 parent aea41f6 commit a7ef9cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Binary file modified documentation/manual.pdf
Binary file not shown.
8 changes: 7 additions & 1 deletion documentation/manual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
% !arara: bibtex
% !arara: pdflatex
% !arara: pdflatex
% !arara: pdflatex
% !arara: indent: {overwrite: no, trace: yes, localSettings: yes, silent: yes}
% http://tex.stackexchange.com/questions/122135/how-to-add-a-png-icon-on-the-right-side-of-a-tcolorbox-title
\begin{filecontents}{mybib.bib}
Expand Down Expand Up @@ -163,7 +164,7 @@

% \begin{noindent}
\title{\lstinline[basicstyle=\huge\ttfamily]!latexindent.pl!\\[1cm]
Version 2.0R}
Version 2.1R}
% \end{noindent}
\author{Chris Hughes \footnote{smr01cmh AT users.sourceforge.net}}
\maketitle
Expand Down Expand Up @@ -1169,6 +1170,11 @@ \section{Required \lstinline!Perl! modules}\label{sec:requiredmodules}
Strawberry Perl users on Windows might use
\lstinline!CPAN client!. All of the modules are readily available on CPAN \cite{cpan}.
As of Version 2.1R, \lstinline!indent.log! will contain details of the location
of the Perl modules on your system. \lstinline!latexindent.exe! is a standalone
executable for Windows (and therefore does not require a Perl distribution) and caches copies of the Perl modules onto your system; if you
wish to see where they are cached, use the \lstinline!trace! option, e.g \lstinline!latexindent.exe -t myfile.tex!.
\section{The \lstinline!arara! rule}
The \lstinline!arara! rule (\lstinline!indent.yaml!) contains lines such as those
given in \cref{lst:arararule}. With this setup, the user \emph{always} has
Expand Down
Binary file modified latexindent.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions latexindent.pl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
);

# version number
my $versionNumber = "2.0R";
my $versionNumber = "2.1R";

# Check the number of input arguments- if it is 0 then simply
# display the list of options (like a manual)
Expand Down Expand Up @@ -220,7 +220,7 @@
if(!$defaultSettings)
{
$defaultSettings = YAML::Tiny->read( "$FindBin::RealBin/../../texmf-dist/scripts/latexindent/defaultSettings.yaml");
print $logfile "$FindBin::RealBin/../../texmf-dist/scripts/latexindent/defaultSettings.yaml\n\n" if($defaultSettings);
print $logfile "Reading defaultSettings.yaml (2nd attempt, TeXLive, Windows) from $FindBin::RealBin/../../texmf-dist/scripts/latexindent/defaultSettings.yaml\n\n" if($defaultSettings);
}

# if both of the above attempts have failed, we need to exit
Expand Down Expand Up @@ -296,7 +296,7 @@

if ( -e $indentconfig and !$onlyDefault )
{
print $logfile "Reading path information from ",File::HomeDir->my_home,"$indentconfig\n";
print $logfile "Reading path information from $indentconfig\n";
# if both indentconfig.yaml and .indentconfig.yaml exist
if ( -e File::HomeDir->my_home . "/indentconfig.yaml" and -e File::HomeDir->my_home . "/.indentconfig.yaml")
{
Expand Down

0 comments on commit a7ef9cf

Please sign in to comment.