Typo
[latex2e.git] / latex2e-20150101 / required / babel / testfiles / tlb3851.lvt
blobe700528351684a2a19e8a679e6b43e9e391886da
1 \iffalse
2 >Number:         3851
3 >Category:       babel
4 >Synopsis:       \shorthandon changes the lccode of ~
5 >Arrival-Date:   Tue Mar 07 14:41:01 +0100 2006
6 >Originator:     oberdiek@uni-freiburg.de (Heiko Oberdiek)
7 >Release:        LaTeX2e <2003/12/01>
8 Description of bug:
9 \shorthandon is not side effect free. The lccode of ~ is changed,
10 >How-To-Repeat:
11 Sample file which indicates the problem:
12 ========================================
13 \fi
14 \input{test2e}
15 \documentclass{article}
17 \START
18 \FORMAT{LaTeX2e<2003/12/01>}
19 \AUTHOR{Heiko Oberdiek <oberdiek@uni-freiburg.de>}
20 \CLASS{article}
21 \PACKAGE[ngerman]{babel}
23 \showboxbreadth=100
24 \showboxdepth=100
25 \def\testit#1{%
26   \setbox0=\vbox{#1}\showbox0}
27 \OMIT
29 \usepackage[ngerman]{babel}
30 \begin{document}
31 \TIMO
33 \testit{\tableofcontents}
35 \typeout{* lccode of \string~: \the\lccode`\~}
36 \shorthandoff{"}
37 \shorthandon{"}
38 \typeout{* lccode of \string~: \the\lccode`\~}
40 \testit{\MakeLowercase{\protect\section{Hello~World}}}
41 \end{document}