Typos
[latex2e.git] / trunk / required / babel / testfiles / tlb3266.lvt
blobe8af5ac5e61e72105b611df9713057cb61d64e51
1 \iffalse
2 >Number:         3266
3 >Synopsis:       [3.7] Primes fail with activeacute deactivated
4 >Arrival-Date:   Mon Oct  2 15:01:03 2000
5 >Originator:     jbezos@wanadoo.es (Javier Bezos)
6 >Release:        LaTeX2e <1998/12/01>
7 >Environment:
8  Hyphenation: standard
9  \@TeXversion: undefined (Standard setting for TeX3.141 and later)
10  \@currdir: macro:->:
11  \input@path: undefined (Standard setting)
12 >Description:
13 Description of bug:
14 If we load a language using the activeacute option, and we
15 switch to a language where acutes are not "active", an
16 error is raised. The problem is in the definition of
17 \@initiate@active@char
19 %    \def\@initiate@active@char##1{%
20 %      \ifcat\noexpand##1\noexpand~\relax
21 %        \@ifundefined{normal@char\string##1}{%
22 %          \expandafter\let\csname normal@char\string##1\endcsname##1%
23 %          \expandafter\gdef
24 %            \expandafter##1%
25 %            \expandafter{%
26 %              \expandafter\active@prefix\expandafter##1%
27 %              \csname normal@char\string##1\endcsname}}{}
28 %      \else
29 %        \@activated{##1}%
30 %        \@namedef{normal@char\string##1}{##1}%
31 %        \ifx##1'%
32 %          \let\prim@s\bbl@prim@s
33 %          \@namedef{normal@char\string##1}{%
34 %            \ifmmode ^\bgroup\prim@s\else##1\fi}%
35 %            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 %It should be
38 %            \textormath{##1}{^\bgroup\prim@s}}%
40 \fi
41 \input{test2e}
42 \documentclass{book}
43 \START
44 \FORMAT{LaTeX2e<2000/06/01>}
45 \CLASS{book}
46 \AUTHOR{jbezos@wanadoo.es (Javier Bezos)}
47 \PACKAGE[activeacute,english,catalan]{babel}
49 \OMIT
50 \usepackage[activeacute,english,catalan]{babel}
52 \showboxbreadth=50
53 \showboxdepth=50
54 \def\testit#1{%
55   \setbox0=\hbox{#1}\showbox0}
56 \nofiles
58 \begin{document}
59 \TIMO
60 \testit{$a''$}
62 \begin{otherlanguage}{english}
64 \testit{$a''$}
66 \end{otherlanguage}
68 \end{document}