<HTML><BODY>
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have updated the packages as Herbert suggested, but when I compile 
the code, the error has occured as following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Error ---------------------------------</DIV>
<DIV>This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) (preloaded 
format=latex 2007.3.18)&nbsp; 18 MAR 2007 18:00<BR>entering extended mode<BR>
**mohinhkinhteluong.tex<BR>(mohinhkinhteluong.tex<BR>LaTeX2e 
&lt;2003/12/01&gt;<BR>Babel &lt;v3.8g&gt; and hyphenation patterns for 
english, french, german, ngerman, du<BR>mylang, nohyphenation, loaded.<BR>
(C:\texmf\tex\latex\base\book.cls<BR>Document Class: book 2004/02/16 v1.4f 
Standard LaTeX document class<BR>(C:\texmf\tex\latex\base\bk12.clo<BR>File: 
bk12.clo 2004/02/16 v1.4f Standard LaTeX file (size option)<BR>)<BR>
\c@part=\count79<BR>\c@chapter=\count80<BR>\c@section=\count81<BR>
\c@subsection=\count82<BR>\c@subsubsection=\count83<BR>
\c@paragraph=\count84<BR>\c@subparagraph=\count85<BR>\c@figure=\count86<BR>
\c@table=\count87<BR>\abovecaptionskip=\skip41<BR>
\belowcaptionskip=\skip42<BR>\bibindent=\dimen102<BR>) 
(C:\texmf\tex\latex\fncychap\fncychap.sty<BR>Package: fncychap 2004/09/20 
v1.3 LaTeX package (Revised chapters)<BR>\RW=\skip43<BR>\mylen=\skip44<BR>
\myhi=\skip45<BR>\px=\skip46<BR>\py=\skip47<BR>\pyy=\skip48<BR>
\pxx=\skip49<BR>\backskip=\skip50<BR>)<BR>
(C:\texmf\tex\generic\babel\babel.sty<BR>Package: babel 2005/05/21 v3.8g The 
Babel package<BR>&nbsp;(C:\texmf\tex\latex\vietnam\vietnam.ldf<BR>Language: 
vietnam 2001/05/26 v1.1 Vietnamese support from the babel system</DIV>
<DIV>(C:\texmf\tex\generic\babel\babel.def<BR>File: babel.def 2005/05/21 
v3.8g Babel common definitions<BR>\babel@savecnt=\count88<BR>
\U@D=\dimen103<BR>)<BR>\l@vietnam = a dialect from \language0</DIV>
<DIV>Loading definitions for the Vietnamese font encoding<BR>
(C:\texmf\tex\latex\vietnam\t5enc.def<BR>File: t5enc.def 2001/09/21 v1.1 
Vietnamese T5 encoding<BR>)</DIV>
<DIV>Package babel Warning: No input encoding specified for Vietnamese on 
input line<BR>&nbsp;32.</DIV>
<DIV>(C:\texmf\tex\latex\vietnam\vncaps.tex))) 
(C:\texmf\tex\latex\base\inputenc.sty<BR>Package: inputenc 2004/02/05 v1.0d 
Input encoding file<BR>(C:\texmf\tex\latex\vietnam\viscii.def<BR>File: 
viscii.def 2000/01/28 v1.0 VISCII Vietnamese input encoding<BR>))<BR>
(C:\texmf\tex\latex\hyperref\hyperref.sty<BR>Package: hyperref 2003/11/30 
v6.74m Hypertext links for LaTeX</DIV>
<DIV>(C:\texmf\tex\latex\graphics\keyval.sty<BR>Package: keyval 1999/03/16 
v1.13 key=value parser (DPC)<BR>\KV@toks@=\toks14<BR>)<BR>
\@linkdim=\dimen104<BR>\Hy@linkcounter=\count89<BR>
\Hy@pagecounter=\count90</DIV>
<DIV>(C:\texmf\tex\latex\hyperref\pd1enc.def<BR>File: pd1enc.def 2003/11/30 
v6.74m Hyperref: PDFDocEncoding definition (HO)<BR>)<BR>
(C:\texmf\tex\latex\00miktex\hyperref.cfg<BR>File: hyperref.cfg 2003/03/08 
v1.0 MiKTeX 'hyperref' configuration<BR>)<BR>Package hyperref Info: Hyper 
figures OFF on input line 1880.<BR>Package hyperref Info: Link nesting OFF 
on input line 1885.<BR>Package hyperref Info: Hyper index ON on input line 
1888.<BR>Package hyperref Info: Plain pages ON on input line 1893.<BR>
Package hyperref Info: Backreferencing OFF on input line 1900.</DIV>
<DIV>Implicit mode ON; LaTeX internals redefined<BR>Package hyperref Info: 
Bookmarks ON on input line 2004.<BR>(C:\texmf\tex\latex\ltxmisc\url.sty<BR>
\Urlmuskip=\muskip10<BR>Package: url 2004/03/15&nbsp; ver 3.1&nbsp; Verb 
mode for urls, etc.<BR>)<BR>LaTeX Info: Redefining \url on input line 
2143.<BR>\Fld@menulength=\count91<BR>\Field@Width=\dimen105<BR>
\Fld@charsize=\dimen106<BR>\Choice@toks=\toks15<BR>\Field@toks=\toks16<BR>
Package hyperref Info: Hyper figures OFF on input line 2618.<BR>Package 
hyperref Info: Link nesting OFF on input line 2623.<BR>Package hyperref 
Info: Hyper index ON on input line 2626.<BR>Package hyperref Info: 
backreferencing OFF on input line 2633.<BR>Package hyperref Info: Link 
coloring OFF on input line 2638.<BR>\c@Item=\count92<BR>
\c@Hfootnote=\count93<BR>)<BR>*hyperref using default driver hypertex*<BR>
(C:\texmf\tex\latex\hyperref\hypertex.def<BR>File: hypertex.def 2003/11/30 
v6.74m Hyperref driver for HyperTeX specials<BR>)<BR>
(C:\texmf\tex\latex\graphics\graphicx.sty<BR>Package: graphicx 1999/02/16 
v1.0f Enhanced LaTeX Graphics (DPC,SPQR)</DIV>
<DIV>(C:\texmf\tex\latex\graphics\graphics.sty<BR>Package: graphics 
2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)<BR>
&nbsp;(C:\texmf\tex\latex\graphics\trig.sty<BR>Package: trig 1999/03/16 
v1.09 sin cos tan (DPC)<BR>) (C:\texmf\tex\latex\00miktex\graphics.cfg<BR>
File: graphics.cfg 2003/03/12 v1.1 MiKTeX 'graphics' configuration<BR>)<BR>
Package graphics Info: Driver file: dvips.def on input line 80.</DIV>
<DIV>(C:\texmf\tex\latex\graphics\dvips.def<BR>File: dvips.def 1999/02/16 
v3.0i Driver-dependant file (DPC,SPQR)<BR>))<BR>\Gin@req@height=\dimen107<BR>
\Gin@req@width=\dimen108<BR>)<BR>
(C:\texmf\tex\latex\fancyvrb\fancyvrb.sty<BR>Package: fancyvrb 
1998/07/17</DIV>
<DIV>Style option: `fancyvrb' v2.6, with DG/SPQR fixes &lt;1998/07/17&gt; 
(tvz)<BR>\FV@CodeLineNo=\count94<BR>\FV@InFile=\read1<BR>
\FV@TabBox=\box26<BR>\c@FancyVerbLine=\count95<BR>\FV@StepNumber=\count96<BR>
\FV@OutFile=\write3</DIV>
<DIV>No file fancyvrb.cfg.<BR>) (C:\texmf\tex\latex\base\makeidx.sty<BR>
Package: makeidx 2000/03/29 v1.0m Standard LaTeX package<BR>)<BR>
(C:\texmf\tex\latex\pstricks-add\pstricks-add.sty<BR>
(C:\texmf\tex\latex\pstricks\pstricks.sty<BR>Package: pstricks 2006/08/10 
v0.32 LaTeX wrapper for `PSTricks' (RN,HV)</DIV>
<DIV>(C:\texmf\tex\generic\pstricks\pstricks.tex</DIV>
<DIV>! LaTeX Error: Missing \begin{document}.</DIV>
<DIV>See the LaTeX manual or LaTeX Companion for explanation.<BR>Type&nbsp; 
H &lt;return&gt;&nbsp; for immediate help.<BR>
&nbsp;...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>l.1 &lt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; ?xml version='1.0' 
encoding="UTF-8"?&gt;<BR>? </DIV>
<DIV>end of log ---------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>This is Herbert's suggestion:</DIV>
<DIV>Herbert's 
suggest:-------------------------------------------------------------------------</DIV>

<DIV>&gt; &gt; Package: pstricks 2004/05/12 v0.2l LaTeX wrapper for 
`PSTricks'<BR>&gt; (RN,HV)<BR>&gt; &gt; &nbsp; <BR>&gt; current version is 
0.32<BR>&gt; <BR>&gt; <BR>&gt; &gt; 
(C:\texmf\tex\generic\pstricks\pstricks.tex<BR>&gt; &gt; `PSTricks' v1.07 
&nbsp;&lt;2005/05/06&gt; (tvz)<BR>&gt; &gt; &nbsp; <BR>&gt; current one is 
1.15 &nbsp;and<BR>&gt; pstricks.pro is 1.01<BR>&gt; <BR>&gt; <BR>&gt; &gt; 
(C:\texmf\tex\latex\xcolor\xcolor.sty<BR>&gt; &gt; Package: xcolor 
2005/06/06 v2.03 LaTeX color extensions (UK)<BR>&gt; &gt; &nbsp; <BR>&gt; 
current one is 2.10<BR>&gt; <BR>&gt; Herbert<BR>&gt; <BR>&gt; <BR>&gt; 
------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>My code:</DIV>
<DIV>-------------------------------------</DIV><FONT size=2>
<DIV>\documentclass[12pt, a4paper]{book}</DIV>
<DIV>\usepackage[Glenn]{fncychap}</DIV>
<DIV>%\usepackage[utf8]{vietnam}</DIV>
<DIV>\usepackage[vietnam]{babel}</DIV>
<DIV>\usepackage[viscii]{inputenc}</DIV>
<DIV>%\usepackage[T5]{fontenc}</DIV>
<DIV>\usepackage{hyperref}</DIV>
<DIV>%\usepackage{amssymb,amsmath,amstext}</DIV>
<DIV>\usepackage{graphicx}</DIV>
<DIV>\usepackage{fancyvrb}</DIV>
<DIV>\usepackage{makeidx}</DIV>
<DIV>\usepackage{pstricks-add, pst-func,pst-math}</DIV>
<DIV>\usepackage{pst-plot}</DIV>
<DIV>\usepackage{subfigure}</DIV>
<DIV>\usepackage{anysize}</DIV>
<DIV>\papersize{29.5cm}{20.7cm}</DIV>
<DIV>\marginsize{1.5cm}{1.5cm}{1.5cm}{1.5cm} </DIV>
<DIV>\linespread{1.3}</DIV>
<DIV>\usepackage{pst-infixplot}</DIV>
<DIV>\author{Nguyn Hoàng Bäo \and Võ ÐÑc Hoàng Vû}</DIV>
<DIV>\title{\Huge Dñ Báo Kinh Tª}</DIV>
<DIV>\font\ngar=wncyr10</DIV>
<DIV>\font\vnu=vnu10</DIV>
<DIV>\headsep=1cm</DIV>
<DIV>\ChNameVar{\Large}</DIV>
<DIV>\ChTitleVar{\Large}</DIV>
<DIV>\ChRuleWidth{1pt}</DIV>
<DIV>\ChNumVar{\Huge}</DIV>
<DIV>\def\tdx#1{{\bf\itshape{#1}}}</DIV>
<DIV>\def\tdxs#1{{\small\bf\itshape{#1}}}</DIV>
<DIV>\setlength{\hyphenpenalty}{10000}</DIV>
<DIV>\def\gl{\textbackslash}</DIV>
<DIV>\font\vns=vnss10</DIV>
<DIV>\def\tco#1#2{\textcolor{#1}{#2}}</DIV>
<DIV>\def\tcov#1#2{\textcolor{#1}{{\vns #2}}}</DIV>
<DIV>\def\hoa#1{\MakeUppercase{#1}}</DIV>
<DIV>\def\Mtp{\Rightarrow}</DIV>
<DIV>\def\vto#1{$\overrightarrow{#1}$}</DIV>
<DIV>\makeindex</DIV>
<DIV>\begin{document}</DIV></FONT>
<DIV>......</DIV>
<DIV>------</DIV>
<DIV>......</DIV>
<DIV>\end{document}</DIV>
<DIV>end of the 
code-------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried with the other codes and face the same problem as above. Any 
suggestion? Thank you.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Vu</DIV>
<br>--------------<br>
Vietnam - Netherlands Programme for MA in Development Economics<br>
<a href="http://www.vnp.edu.vn">http://www.vnp.edu.vn</a><br>
</body></HTML>