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