1 \documentclass{article} 2 3 \usepackage[english,french,austrian,german]{babel} 4 %\usepackage{babel} 5 6 \usepackage{makeidx} 7 8 \makeindex 9 \title{Babel} 10 \author{XYZ} 11 12 %\newcommand{\DQ}[1]{\dq#1~~"#1} 13 14 \begin{document} 15 The initial language is : 16 \iflanguage{german}{german}{bonga} 17 \\ 18 \today\\ 19 \newcommand{\DQ}[1]{\dq#1~~\"#1} 20 21 \maketitle 22 23 \selectlanguage{french} 24 \'a\'e\'i\'b\'o\'u\\ 25 \`a\`e\`i\`b\`o\`u\\ 26 \^a\^e\^i\^b\^o\^u\\ 27 \'A\'E\'I\'B\'O\'U\\ 28 \`A\`E\`I\`B\`O\`U\\ 29 \^A\^E\^I\^B\^O\^U\\ 30 This checks current language (?) : %\current@language 31 \iflanguage{french}{french}{bonga}\\ 32 \today\\ 33 \tableofcontents 34 35 \selectlanguage{german} 36 This checks current language (?) : %\current@language 37 \iflanguage{german}{german}{bonga}\\ 38 \today\\ 39 \begin{abstract} 40 This is the abstract. 41 \end{abstract} 42 43 \section{Correspondences in German} 44 \index{Correspondances in German} 45 \DQ{s}\\ 46 \DQ{S}\\ 47 \DQ{a}\\ 48 \DQ{A}\\ 49 \DQ{e}\\ 50 \iflanguage{german}{german}{bonga}~before entering ``table'' 51 \begin{table} 52 \selectlanguage{french} 53 \caption{NOTABLE} 54 \iflanguage{french}{french}{bonga}~declared for the ``table'' 55 \end{table} 56 The language now is (german? french?) : \iflanguage{german}{german}{bonga} 57 ~when you get out outside the ``table''\\ 58 \DQ{E}\\ 59 \DQ{i}\\ 60 \DQ{I}\\ 61 \DQ{o}\\ 62 \DQ{O}\\ 63 \DQ{u}\\ 64 \DQ{U} 65 66 \section{Quotes} 67 \index{Quotes} 68 \noindent 69 Trying out the quotation mark itself : \dq\\ 70 \glqq Trying out quotes \grqq\\ 71 \glq Trying out single quotes \grq\\ 72 \flqq Trying out French quotes \frqq\\ 73 \flq Trying out french single quotes \frq\\ 74 %\"<\\ 75 %\">\\ 76 %\"`\\ 77 %\"' 78 79 \selectlanguage{english}\\ 80 \today\\ 81 The language is : \iflanguage{english}{english}{bonga} 82 83 \section{Correspondences in French} 84 \index{Correspondences in French} 85 \selectlanguage{french} 86 The language is : \iflanguage{french}{french}{bonga}\\ 87 \today\\ 88 \newcommand{\LS}[1]{`#1~~\`#1} 89 \newcommand{\RS}[1]{'#1~~\'#1} 90 \newcommand{\HAT}[1]{$\wedge$#1~~\^#1} 91 92 \LS{a}\\ 93 \RS{e}\\ 94 \HAT{u}\\ 95 96 \selectlanguage{austrian}\\ 97 \today\\ 98 The language is : \iflanguage{austrian}{austrian}{bonga} 99 100 \appendix 101 102 \section{Bonga} 103 ahh .. this works as well !! 104 105 \printindex 106 107 \end{document}