summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/appendices.tex
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/appendices.tex
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/appendices.tex')
-rw-r--r--Master/texmf-dist/doc/support/latexindent/appendices.tex32
1 files changed, 18 insertions, 14 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}