Typos
[latex2e.git] / trunk / required / babel / testfiles / tlb3720.lvt
blobe8b62085630cc5ff3676efaee71d2b8c9bac51e4
1 \iffalse
2 >Number:         3720
3 >Synopsis:       \selectlanguage{hungarian} leaves a space
4 >Arrival-Date:   Thu Sep 16 20:11:00 CEST 2004
5 >Originator:     gotty@freemail.hu (Zoltan Gotthardt)
6 >Release:        LaTeX2e <2003/12/01>
7 >Environment:
8  Hyphenation: Babel <v3.8a> and hyphenation patterns for english, french,
9 german, ngerman, hungarian, dumylang, nohyphenation, loaded.
10 >Description:
11 Description of bug:
12 \selectlanguage{hungarian} leaves a space
13 in the text between two regular characters,
14 while other languages does not do so.
15 "XXX\selectlanguage{hungarian}XXX" produces
16 "XXX XXX", and not "XXXXXX" as expected.
18 \fi
19 \input{test2e}
20 \documentclass{article}
21 \nofiles
22 \START
23 \FORMAT{LaTeX2e<2003/12/01>}
24 \AUTHOR{gotty@freemail.hu (Zoltan Gotthardt)}
25 \CLASS{article}
27 \PACKAGE[british,hungarian]{babel}
28 \showboxbreadth=50
29 \showboxdepth=50
30 \def\testit#1{%
31   % \setbox0=\vbox{#1}\showbox0}
32   % Bases test on the width, to avoid \setlanguage's
33   \setbox0=\hbox{#1}\showthe\wd0}
34 \OMIT
35 \usepackage[british,hungarian]{babel}
36 \begin{document}
37 \TIMO
39 \testit{XXX\selectlanguage{british}XXX\selectlanguage{hungarian}XXX\selectlanguage{british}XXX}
41 \end{document}