Move a tag
[latex2e.git] / latex2e-20160201 / required / babel / testfiles / tlb-showkeys.lvt
blobbc7f498e9c1fa8a701b2ad0152fcc48a1c320d8f
1 \iffalse
3 Tests that the showkeys package and babel with option francais
4 can work together
5 \fi
7 \errorcontextlines=20
8 %\documentclass{amsart}
9 \input{test2e}
11 \documentclass{article}
13 \START
14 \AUTHOR{J.L.Braams}
15 \CLASS{article}
16 \FORMAT{LaTeX2e<1998/12/01>}
17 \PACKAGE{showkeys}
18 \PACKAGE[francais]{babel}
19 \showboxbreadth=50
20 \showboxdepth=50
21 \def\testit#1{%
22   \setbox0=\vbox{#1}\showbox0}
24 \OMIT
26 \usepackage{showkeys}
27 \usepackage[francais]{babel}
29 \makeatletter
30 \def\mytag#1{\def\@currentlabel{\protect#1}}
32 \begin{document}
33 \parindent=0pt
34 \TIMO
36 \section{Test}\label{test:1}
38 \testit{First test~\ref{test:1}}
40 Other test\mytag{\ref{test:1}$'$}\label{test:2}
42 \testit{\noindent Second test~\ref{test:2}}
44 \end{document}