# Error in display Vietnamese word in title

I got a problem with displaying my mother language in one title of my paper. Here is the code i use

\documentclass[12pt,a4paper]{amsart}

%% Packages that could be used

\usepackage{amscd,amssymb,amsthm}
\usepackage[utf8]{vietnam}
\usepackage{graphicx}
\usepackage{jipam}

\usepackage[utf8]{inputenc}
\usepackage[vietnam]{babel}

%\DeclareInputText

%% My definition
\newcommand{\mvec}[1]{\mbox{\bfseries\itshape #1}}

\title[Triangle inequality]{2 bất đẳng thức liên quan đến góc Brocard}
\author{Nguyen Duy Khanh}
\email{nguyenduykhanh@toanly.org}

%\author{Author 2}
%\email{person2@inst.com}

%\keywords{Triangle,Inequality,Brocard angle}
%\subjclass[2000]{26D15}

\begin{document}

\begin{abstract}
Tiếng việt trong tiêu đề không hiển thị chính xác-The Vietnamese did not display correctly in the title.
\end{abstract}
\maketitle
\end{document}


The title should be 2 bất đẳng thức liên quan đến góc Brocard but it appeared as 2 BT NG THC LIN QUAN N GÂC BROCARD

My question is, what is the missing package that can help me to display the correct words? Please help me solve my problem. I really need it for writing my paper. Thank you very much!

-
Does this document actually compile without errors on your system? It doesn't on mine. –  Alan Munn May 12 '12 at 20:33
May be there are some packages in my computer that your system does not have :| –  Knumber10 May 12 '12 at 20:59
Actually not. If you compare your document with egreg's answer, there are some problems with your document. Perhaps your editor forces through all the errors. –  Alan Munn May 12 '12 at 21:39
Dear @AlanMunn, I use Texmaker as my LaTex editor. –  Knumber10 May 15 '12 at 17:35

There's a bad interaction when amsart tries to capitalize the title. Fixing it seems to be quite hard, I'm afraid. But you can resort to a trick: defining the capitalized title in a macro and using that one in \title

\documentclass[12pt,a4paper]{amsart}

\usepackage[utf8]{vietnam}

%% Packages that could be used
\usepackage{amscd,amssymb,amsthm}
\usepackage{graphicx}
%\usepackage{jipam}

%% My definition
\newcommand{\mvec}[1]{\mbox{\bfseries\itshape #1}}

\newcommand{\mytitle}{2 BẤT ĐẲNG THỨC LIÊN QUAN ĐẾN GÓC BROCARD}

\begin{document}

\title[Triangle inequality]{\mytitle}
\author{Nguyen Duy Khanh}
\email{nguyenduykhanh@toanly.org}

%\author{Author 2}
%\email{person2@inst.com}

%\keywords{Triangle,Inequality,Brocard angle}
%\subjclass[2000]{26D15}

\begin{abstract}
Tiếng việt trong tiêu đề không hiển thị chính xác.
Now the Vietnamese is displayed correctly in the title.
\end{abstract}
\maketitle

\end{document}


Don't load both vietnam and babel.

-
Thanks egreg. It works. Jipam.sty and amsart is simply so beautiful and that is why i want to use it for writing my paper. –  Knumber10 May 12 '12 at 20:56