welcome to the board!
I agree with Juanjo. MiKTeX 2.7 is the most recent version, see miktex.org.
Further it seems that you try to use pdf features without pdflatex, that would cause a conflict. The warning "Package graphics Warning: pdftex option does not work with standard TeX." and the error "Undefined control sequence ... pdfliteral" are showing the use of pdftex, but the first line of the log says that standard TeX is used.
Either remove the option pdftex from every package (graphicx for instance) or compile with pdflatex.
oh i see.
then t will get the miktex 2.7.
In order to install miktex 2.7, should i remove miktex 2.2 ?
i afraid that the previous work will delete.
What is the better way for installation.
you could make a copy of your previous work to be safe. I recommend to make backups frequently.
I would remove 2.2 bevor installation of 2.7, but I think 2.7 would also work if you just install it over.
I don't open another thread, because I'm getting a similar error message: "undefined control sequences", which I can't fix... I'm still learning LaTex!
! Undefined control sequence.
l.138 \@inifulldiagram
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
\bao@inifulldiagram and \@inifulldiagram are different names. \bao@inifulldiagram is defined and can be called, \@inifulldiagram is not defined, you cannot call that.
I guess you want to call \bao@inifulldiagram in the last line, because similar code of go.sty shows:
Stefan_K wrote:\bao@inifulldiagram and \@inifulldiagram are different names. \bao@inifulldiagram is defined and can be called, \@inifulldiagram is not defined, you cannot call that.
I guess you want to call \bao@inifulldiagram in the last line, because similar code of go.sty shows:
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.337 \bao@inifulldiagram
% initialization
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.