1 % \iffalse meta-comment
3 % Copyright (C) 2004 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 % \inputencoding in horizontal mode generated spaces. this test file
19 % Input the test macros for LaTeX2e
25 \documentclass{article}
27 \usepackage{inputenc} % We want to use several incodings
28 % in a one document, so we do not
29 % specify the encoding as an option
30 % (like \usepackage[cp437,cp850]{inputenc}).
31 % We will use commands \inputencoding{...}
32 % to select the desired encoding.
38 \setbox0=\hbox{\inputencoding{cp850}} % Switch to (say) cp866
39 % in a *horizontal* mode.
40 % The bug does not appear
43 \showbox0 % This produces a number of glue elements
44 % which came from end of line tokens
45 % while reading the cp850.def file.
47 \setbox0=\hbox{\inputencoding{latin2}} % Switch to (say) cp866
48 % in a *horizontal* mode.
49 % The bug does not appear
52 \showbox0 % This produces a number of glue elements
53 % which came from end of line tokens
54 % while reading the latin2.def file.
56 \setbox0=\hbox{\inputencoding{cp1250}} % Switch to (say) cp866
57 % in a *horizontal* mode.
58 % The bug does not appear
61 \showbox0 % This produces a number of glue elements
62 % which came from end of line tokens
63 % while reading the cp1250.def file.