diff options
Diffstat (limited to 'Build/source/utils/xindy/make-rules/inputenc/make-testidx.pl')
-rwxr-xr-x | Build/source/utils/xindy/make-rules/inputenc/make-testidx.pl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/utils/xindy/make-rules/inputenc/make-testidx.pl b/Build/source/utils/xindy/make-rules/inputenc/make-testidx.pl new file mode 100755 index 00000000000..5faf3beed9e --- /dev/null +++ b/Build/source/utils/xindy/make-rules/inputenc/make-testidx.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl + +print <<"EOF"; +\\documentclass{article} +% this file was generated by make-testidx.pl +\\usepackage[@ARGV[0]]{fontenc} +\\usepackage[@ARGV[1]]{inputenc} +\\makeindex +\\begin{document} +% test of index writing with inputenc +. +EOF + +for ($i = 128; $i < 256; $i++) { + printf("\\index{%c--%2x}\n", $i, $i); +} + +print <<"EOF"; +\\end{document} +EOF |