summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy-old/make-rules/inputenc/make-testidx.pl
blob: 07a9512c1a7a97dd888af8c4fcffe37011c05c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env 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