LaTeX error in simple document (Jens A. Griepentrog)

For feedback and discussion for testers of the MathTime Professional II fonts.

Moderators: PTIForAdmin, WaS, Michael Spivak

PTIForAdmin
Posts: 84
Joined: Thu Oct 06, 2005 10:08 pm
Location: San Francisco, CA
Contact:

LaTeX error in simple document (Jens A. Griepentrog)

Post by PTIForAdmin »

Compared to "mtpro + mtpams + mptb" there is some strange behaviour which
arises in the following simple example

Code: Select all

\documentclass[12pt]{amsart}
\usepackage{german}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\renewcommand{\rmdefault}{ptm}
\usepackage[subscriptcorrection,mtphrd,mtpscr,mtpfrak]{mtpro2}
%
\begin{document}
Wann gilt $S = 1$?
\end{document}
The latex compilation gives the following messages

Code: Select all

---START---
This is TeX, Version 3.14159 (Web2C 7.3.1)
(test.tex
LaTeX2e <1999/12/01> patch level 1
Babel <v3.6Z> and hyphenation patterns for american, french, german, ngerman, r
ussian, nohyphenation, loaded.
&#40;/Home/dios/griepent/share/texmf/tex/latex/amscls/amsart.cls
Document Class&#58; amsart 2000/01/17 v2.03
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsmath/amstext.sty
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsgen.sty&#41;&#41;
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsbsy.sty&#41;
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsopn.sty&#41;&#41;
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsfonts/umsa.fd&#41;
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsfonts/amsfonts.sty&#41;&#41;
&#40;/Home/dios/griepent/share/texmf/tex/generic/german/german.sty
v2.5e 1998-07-08&#41; &#40;/Home/dios/griepent/share/texmf/tex/latex/base/fontenc.sty
&#40;/Home/dios/griepent/share/texmf/tex/latex/base/t1enc.def&#41;&#41;
&#40;/Home/dios/griepent/share/texmf/tex/latex/base/textcomp.sty
&#40;/Home/dios/griepent/share/texmf/tex/latex/base/ts1enc.def&#41;&#41;
&#40;/Home/dios/griepent/share/texmf/tex/latex/mtpro2/mtpro2.sty
&#40;/Home/dios/griepent/share/texmf/tex/latex/psnfss/t1ptm.fd&#41;
! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1406 ...mbol&#123;\downuparrows&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E0&#125;
                                                ?
! LaTeX Error&#58; Missing \begin&#123;document&#125;.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...                                                                                             l.1406 ...mbol&#123;\downuparrows&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E0&#125;
                                                ? ! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1407 ...ol&#123;\updownharpoons&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E1&#125;
                                                ? ! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1408 ...ol&#123;\downupharpoons&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E2&#125;
                                                ? ! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1409 ...mbol&#123;\upupharpoons&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E3&#125;
                                                ? ! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1410 ...&#123;\downdownharpoons&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E4&#125;
                                                ? ! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1411 ...ndercurvearrowleft&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E5&#125;
                                                ? ! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1412 ...dercurvearrowright&#125;&#123;\mathrel&#125;&#123;AMSa&#125;&#123;"E6&#125;
                                                ? &#41; &#40;test.aux&#41; &#40;/Home/dios/griepent/share/texmf/tex/latex/base/ts1cmr.fd&#41;
&#40;/Home/dios/griepent/share/texmf/tex/latex/amsfonts/umsb.fd&#41;
Overfull \hbox &#40;149.22466pt too wide&#41; in paragraph at lines 1406--11
&#91;&#93;\T1/ptm/m/n/12 ^^cb0 ^^cb1 ^^cb2 ^^cb3 ^^cb4 ^^cb5 ^^cb6                                                                                                 
                                                          Wann
&#91;1&#93; &#40;test.aux&#41; &#41;
Output written on test.dvi &#40;1 page, 424 bytes&#41;.
Transcript written on test.log.
---END---
Putting \usepackage{german} at the end of the preamble

Code: Select all

\documentclass&#91;12pt&#93;&#123;amsart&#125;
\usepackage&#123;amsmath&#125;
\usepackage&#91;T1&#93;&#123;fontenc&#125;
\usepackage&#123;textcomp&#125;
\renewcommand&#123;\rmdefault&#125;&#123;ptm&#125;
\usepackage&#91;subscriptcorrection,mtphrd,mtpscr,mtpfrak&#93;&#123;mtpro2&#125;
\usepackage&#123;german&#125;
%
\begin&#123;document&#125;
Wann gilt $S = 1$?
\end&#123;document&#125;
the latex compilation works flawlessly. By the way, the new signs
"\altS" and "\barint" are drawn very nicely, thank you for that!
WaS
Posts: 27
Joined: Tue Feb 07, 2006 7:13 pm
Location: Erlangen, Germany
Contact:

Post by WaS »

Oops, I'm sorry... I know what I did wrong.

This will be fixed with the next test release of mtpro2, which I'm going to provide
next week. For the time being, load (n)german.sty only after mtpro2.
Locked