[pstricks] problem when updated the packages

Vo Duc Hoang Vu vu at vnp.edu.vn
Sun Mar 18 12:07:13 CET 2007


Hi all,

I have updated the packages as Herbert suggested, but when I compile the 
code, the error has occured as following:

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

This is Herbert's suggestion:
Herbert's 
suggest:-------------------------------------------------------------------------
> > Package: pstricks 2004/05/12 v0.2l LaTeX wrapper for `PSTricks'
> (RN,HV)
> >   
> current version is 0.32
> 
> 
> > (C:\texmf\tex\generic\pstricks\pstricks.tex
> > `PSTricks' v1.07  <2005/05/06> (tvz)
> >   
> current one is 1.15  and
> pstricks.pro is 1.01
> 
> 
> > (C:\texmf\tex\latex\xcolor\xcolor.sty
> > Package: xcolor 2005/06/06 v2.03 LaTeX color extensions (UK)
> >   
> current one is 2.10
> 
> Herbert
> 
> 
> ------------------------------

My code:
-------------------------------------
\documentclass[12pt, a4paper]{book}
\usepackage[Glenn]{fncychap}
%\usepackage[utf8]{vietnam}
\usepackage[vietnam]{babel}
\usepackage[viscii]{inputenc}
%\usepackage[T5]{fontenc}
\usepackage{hyperref}
%\usepackage{amssymb,amsmath,amstext}
\usepackage{graphicx}
\usepackage{fancyvrb}
\usepackage{makeidx}
\usepackage{pstricks-add, pst-func,pst-math}
\usepackage{pst-plot}
\usepackage{subfigure}
\usepackage{anysize}
\papersize{29.5cm}{20.7cm}
\marginsize{1.5cm}{1.5cm}{1.5cm}{1.5cm} 
\linespread{1.3}
\usepackage{pst-infixplot}
\author{Nguyn Hoàng Bäo \and Võ ÐÑc Hoàng Vû}
\title{\Huge Dñ Báo Kinh Tª}
\font\ngar=wncyr10
\font\vnu=vnu10
\headsep=1cm
\ChNameVar{\Large}
\ChTitleVar{\Large}
\ChRuleWidth{1pt}
\ChNumVar{\Huge}
\def\tdx#1{{\bf\itshape{#1}}}
\def\tdxs#1{{\small\bf\itshape{#1}}}
\setlength{\hyphenpenalty}{10000}
\def\gl{\textbackslash}
\font\vns=vnss10
\def\tco#1#2{\textcolor{#1}{#2}}
\def\tcov#1#2{\textcolor{#1}{{\vns #2}}}
\def\hoa#1{\MakeUppercase{#1}}
\def\Mtp{\Rightarrow}
\def\vto#1{$\overrightarrow{#1}$}
\makeindex
\begin{document}
......
------
......
\end{document}
end of the code-------------------------------------------------------------


I tried with the other codes and face the same problem as above. Any 
suggestion? Thank you.

Vu


--------------
Vietnam - Netherlands Programme for MA in Development Economics
<a href="http://www.vnp.edu.vn">http://www.vnp.edu.vn</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070318/b76f53b6/attachment.html 


More information about the PSTricks mailing list