4 \FORMAT{LaTeX2e<2000/06/01>}
6 \AUTHOR{Johannes Braams <j.l.braams@cistron.nl>}
7 \PACKAGE[activeacute,activegrave,english,catalan]{babel}
14 \usepackage[activeacute,activegrave,english,catalan]{babel}
16 \setbox0=\hbox{#1}\showbox0}
21 % Testing that the quote ligatures still work
22 \setbox0=\vbox{\section{``Hola''}}
25 % Using option activegrave led to errors from with \end{document}
26 % because \catcode``=12 doesn't work when ` has catcode 13 and is
27 % looking for an argument.
31 %\tracingmacros=3\tracingonline=1
33 % This error was not obvious, and in a first sight I couldn't guess
34 % why it arised. When making tests in spanish I discovered the
35 % problem: en extra level of braces is added on the fly by babel
36 % around the argument of shorthands, ie, `" becomes `{"}.
37 % The spanish.dtx file says $12$'$34$, which
38 % worked so far but now it is converted to $12$'{$}34$. IIRC,
39 % a version 3.6 (m, n, o, p, I don't remember) introduced this
40 % bug but it was fixed later. spanish.dtx now gives an error with
41 % $f(1,2)=12.34.$ too. Another problematic code would be something
44 % The following should now produce a math-a with double accent.
47 % The following should show a math-a with single accent
50 %\tracingmacros=0\tracingonline=0
51 % And a math-a with superscript math-a with accent.
55 \testit{Catalan: 'a {a'{}} $a'$}
57 \selectlanguage{english}
58 \testit{English: 'a {a'} $a'$}