summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-29 22:25:00 +0000
committerKarl Berry <karl@freefriends.org>2017-04-29 22:25:00 +0000
commit5f17bfa386507c84cb59ea8e88caca62f0902881 (patch)
tree3f0833c16f0b62d4de1f1b7934c21056afe2d892 /Master/texmf-dist/doc/support/latexindent
parent85935959636bed572e9a4916d5373565cbcdc79b (diff)
latexindent (29apr17)
git-svn-id: svn://tug.org/texlive/trunk@44120 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexindent')
-rw-r--r--Master/texmf-dist/doc/support/latexindent/appendices.tex32
-rw-r--r--Master/texmf-dist/doc/support/latexindent/latexindent.pdfbin524530 -> 525320 bytes
-rw-r--r--Master/texmf-dist/doc/support/latexindent/latexindent.tex2
-rw-r--r--Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex2
4 files changed, 20 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/appendices.tex b/Master/texmf-dist/doc/support/latexindent/appendices.tex
index cc77004e45b..bd011ec388b 100644
--- a/Master/texmf-dist/doc/support/latexindent/appendices.tex
+++ b/Master/texmf-dist/doc/support/latexindent/appendices.tex
@@ -6,20 +6,24 @@
need to install the missing modules.
\begin{cmhlistings}[language=Perl]{\texttt{helloworld.pl}}{lst:helloworld}
- #!/usr/bin/perl
-
- use strict;
- use warnings;
- use FindBin;
- use YAML::Tiny;
- use File::Copy;
- use File::Basename;
- use File::HomeDir;
- use Getopt::Long;
- use Data::Dumper;
-
- print "hello world";
- exit;
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use utf8;
+use PerlIO::encoding;
+use Unicode::GCString;
+use open ':std', ':encoding(UTF-8)';
+use FindBin;
+use YAML::Tiny;
+use File::Copy;
+use File::Basename;
+use File::HomeDir;
+use Getopt::Long;
+use Data::Dumper;
+
+print "hello world";
+exit;
\end{cmhlistings}
My default installation on Ubuntu 12.04 did \emph{not} come
with all of these modules as standard, but Strawberry Perl for Windows \cite{strawberryperl}
diff --git a/Master/texmf-dist/doc/support/latexindent/latexindent.pdf b/Master/texmf-dist/doc/support/latexindent/latexindent.pdf
index 7c912e4b0fa..03ca111bc3a 100644
--- a/Master/texmf-dist/doc/support/latexindent/latexindent.pdf
+++ b/Master/texmf-dist/doc/support/latexindent/latexindent.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/latexindent/latexindent.tex b/Master/texmf-dist/doc/support/latexindent/latexindent.tex
index b31a22b7141..4a1a4163254 100644
--- a/Master/texmf-dist/doc/support/latexindent/latexindent.tex
+++ b/Master/texmf-dist/doc/support/latexindent/latexindent.tex
@@ -407,7 +407,7 @@
sharp corners,
enhanced,
overlay={\node[anchor=north east,outer sep=2pt] at ([xshift=3cm,yshift=4mm]frame.north east) {\includegraphics[width=3cm]{logo}}; }]
- \centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.0
+ \centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.0.1
\end{tcolorbox}
}
\author{Chris Hughes \thanks{and contributors! See \vref{sec:contributors}. For
diff --git a/Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex b/Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex
index 8e76e5d8fbf..90b6d8222c9 100644
--- a/Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex
+++ b/Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex
@@ -217,7 +217,7 @@ latexindent.pl myfile
\documentclass{article}
...
\end{cmhlistings}
-%(*@@*) arara: indent: { modifylinebreaks: yes }
+ %(*@@*) arara: indent: { modifylinebreaks: yes }
Hopefully the use of these rules is fairly self-explanatory, but for completeness
\cref{tab:orbsandswitches} shows the relationship between \texttt{arara} directive arguments and the