1 % \iffalse meta-comment
3 % Copyright (C) 1998 Frank Mittelbach.
6 % This file is part of the validate package.
10 % You are not allowed to change this file. In case of error
11 % write to the email address mentioned in the file readme.val.
15 % Test file for LaTeX2e bug report #2529.
17 % Input the test macros for LaTeX2e
21 \PACKAGE[ascii]{inputenc}
23 \documentclass{article}
25 \usepackage[ascii]{inputenc} % any inputenc will do since we override
28 \DeclareTextSymbol{\TESTA}{OT1}{"4B} % letter K
29 \DeclareTextSymbol{\TESTB}{OT1}{"4F} % letter O
30 \DeclareTextSymbol{\testa}{OT1}{"6B} % letter k
31 \DeclareTextSymbol{\testb}{OT1}{"6F} % letter o
33 \DeclareInputText{"80}{\TESTA}
34 \DeclareInputText{"81}{\TESTB}
35 \DeclareInputText{"82}{\testa}
36 \DeclareInputText{"83}{\testb}
39 \expandafter\def\expandafter\@uclclist\expandafter{\@uclclist
40 \testa\TESTA\testb\TESTB}
47 \setbox0=\hbox{^^80^^81}
49 % the next command shows that no kerning does happen.
50 % Reason: \MakeUppercase{^^82^^83} expands into
52 % \uppercase{\protect\IeC{\TESTA}\protect\IeC{\TESTB}}
54 % but at this time the \protect is \let to \relax which is a bug!
55 \setbox0=\hbox{\MakeUppercase{^^82^^83}}