PCTeX Talk Forum Index PCTeX Talk
Discussions on TeX, LaTeX, fonts, and typesetting
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LaTeX error in simple document (Jens A. Griepentrog)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PCTeX Talk Forum Index -> MathTime Pro II Beta
View previous topic :: View next topic  
Author Message
PTIForAdmin



Joined: 06 Oct 2005
Posts: 84
Location: San Francisco, CA

PostPosted: Tue Mar 07, 2006 11:09 am    Post subject: LaTeX error in simple document (Jens A. Griepentrog) Reply with quote

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

Code:
\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:
---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.
(/Home/dios/griepent/share/texmf/tex/latex/amscls/amsart.cls
Document Class: amsart 2000/01/17 v2.03
(/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/Home/dios/griepent/share/texmf/tex/latex/amsmath/amstext.sty
(/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsgen.sty))
(/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsbsy.sty)
(/Home/dios/griepent/share/texmf/tex/latex/amsmath/amsopn.sty))
(/Home/dios/griepent/share/texmf/tex/latex/amsfonts/umsa.fd)
(/Home/dios/griepent/share/texmf/tex/latex/amsfonts/amsfonts.sty))
(/Home/dios/griepent/share/texmf/tex/generic/german/german.sty
v2.5e 1998-07-08) (/Home/dios/griepent/share/texmf/tex/latex/base/fontenc.sty
(/Home/dios/griepent/share/texmf/tex/latex/base/t1enc.def))
(/Home/dios/griepent/share/texmf/tex/latex/base/textcomp.sty
(/Home/dios/griepent/share/texmf/tex/latex/base/ts1enc.def))
(/Home/dios/griepent/share/texmf/tex/latex/mtpro2/mtpro2.sty
(/Home/dios/griepent/share/texmf/tex/latex/psnfss/t1ptm.fd)
! Missing number, treated as zero.
<to be read again>
                  ^^cb
l.1406 ...mbol{\downuparrows}{\mathrel}{AMSa}{"E0}
                                                ?
! LaTeX Error: Missing \begin{document}.

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


Putting \usepackage{german} at the end of the preamble

Code:
\documentclass[12pt]{amsart}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\renewcommand{\rmdefault}{ptm}
\usepackage[subscriptcorrection,mtphrd,mtpscr,mtpfrak]{mtpro2}
\usepackage{german}
%
\begin{document}
Wann gilt $S = 1$?
\end{document}


the latex compilation works flawlessly. By the way, the new signs
"\altS" and "\barint" are drawn very nicely, thank you for that!
Back to top
View user's profile Send private message Visit poster's website
WaS



Joined: 07 Feb 2006
Posts: 27
Location: Erlangen, Germany

PostPosted: Tue Mar 07, 2006 1:23 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PCTeX Talk Forum Index -> MathTime Pro II Beta All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group