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 

bad \sim in subscript, mtp2 beta 0.991

 
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
murray



Joined: 07 Feb 2006
Posts: 47
Location: Amherst, MA, USA

PostPosted: Thu Mar 30, 2006 9:21 pm    Post subject: bad \sim in subscript, mtp2 beta 0.991 Reply with quote

As a subscript, the \sim character is neither printing clearly nor previewing clearly in MiKTeX. In the source LaTeX below, this is in the SUBSCRIPT to the \sim in item 1 of the Theorem.

After copying the entire new distribution into localtexmf, I did, of course, run mkfntmap and referesh the filename database in MiKTeX before trying this.

On the other hand, this symbol is OK in PCTeX.

%%%%%

\documentclass{book}
\usepackage{amsmath,amsthm}
\usepackage[scaled=0.92]{helvet}
\renewcommand{\rmdefault}{ptm}
\usepackage[subscriptcorrection,slantedGreek,nofontinfo,mtpbb,eucal,boldalphabet]{mtpro2}

\newtheorem{theorem}{Theorem}[section]

\DeclareMathOperator{\partsim}{\sim_{\!\mathcal{A}}}
\newcommand{\quotset}[1]{{#1}/\!\sim}
\newcommand{\subquotset}[1]{{#1}/\!\mspace{3mu}\sim}

\begin{document}

\begin{theorem}
Let $X$ be a set. Then:
\begin{enumerate}
\item For each equivalence relation $\sim$ on $X$,
\[
\sim_{\!\mspace{4mu}(\subquotset{X})}\,\,=\,\,\sim .
\]
\item For each partition $\mathcal{A}$ of $X$,
\[
\quotset{\left(\partsim\right)}\,\,=\mathcal{A} .
\]
\end{enumerate}
\end{theorem}
\end{document}
Back to top
View user's profile Send private message Visit poster's website
kolchin



Joined: 27 Oct 2005
Posts: 15
Location: Moscow, Russia

PostPosted: Fri Mar 31, 2006 9:28 am    Post subject: Ok under teTeX Reply with quote

Your example yields perfect output under teTeX
(TeX (Web2C 7.3.1) 3.14159,
xdvi version 22.84.10 (@(#)Motif Version 2.1.30, runtime version 2.1)
Back to top
View user's profile Send private message Visit poster's website
Michael Spivak



Joined: 10 Oct 2005
Posts: 52

PostPosted: Fri Mar 31, 2006 2:20 pm    Post subject: Reply with quote

I suspect that this is a problem with MikTeX; the character in question has two points that are extremely close together, and possibly this creates some problems. I have emailed you a new version where those pairs are simply replaced by a single point. See if it helps.
Back to top
View user's profile Send private message Send e-mail
WaS



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

PostPosted: Fri Mar 31, 2006 4:23 pm    Post subject: Re: bad \sim in subscript, mtp2 beta 0.991 Reply with quote

murray wrote:
As a subscript, the \sim character is neither printing clearly nor previewing clearly in MiKTeX. [...]
On the other hand, this symbol is OK in PCTeX.

What do you mean by "MikTex" vs "PCTeX"?
Did you create Postscipt or PDF output?
Which Postscript or PDF viewer are you using?
Are you using different viewers in both environments?
Does the result depend on the way the output was created,
or does it depend on the previewing program used?

Walter
Back to top
View user's profile Send private message Visit poster's website
murray



Joined: 07 Feb 2006
Posts: 47
Location: Amherst, MA, USA

PostPosted: Fri Mar 31, 2006 6:14 pm    Post subject: Re: bad \sim in subscript, mtp2 beta 0.991 Reply with quote

WaS wrote:
murray wrote:
As a subscript, the \sim character is neither printing clearly nor previewing clearly in MiKTeX. [...]
On the other hand, this symbol is OK in PCTeX.

What do you mean by "MikTex" vs "PCTeX"?
Did you create Postscipt or PDF output?
Which Postscript or PDF viewer are you using?
Are you using different viewers in both environments?
Does the result depend on the way the output was created,
or does it depend on the previewing program used?

Walter

With PCTeX, I'm using PCTeX's own previewer. With MiKTeX, I'm using the Yap previewer that comes with MiKTeX. I'm viewing directly on-screen the dvi in each case that is created by running that TeX system's latex command.
Back to top
View user's profile Send private message Visit poster's website
zedler



Joined: 03 Mar 2006
Posts: 15

PostPosted: Mon Apr 03, 2006 7:07 am    Post subject: Re: bad \sim in subscript, mtp2 beta 0.991 Reply with quote

With the first beta version of MTPro2 I can reproduce the error with Miktex (Fontlab also showed an erraneous glyph), with the current beta everything is fine.

Michael
Back to top
View user's profile Send private message
WaS



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

PostPosted: Tue Apr 04, 2006 6:41 am    Post subject: Reply with quote

@murray:

Yes, there was a bug concerning \sim, but it should have been fixed
in the meantime. Please, make sure to use the latest version of the fonts,
both on Y&Y-TeX and on MikTeX. It seems as if you had erroneaoul y
installed wrong tfm and/or pfb files on MikTeX.
Back to top
View user's profile Send private message Visit poster's website
murray



Joined: 07 Feb 2006
Posts: 47
Location: Amherst, MA, USA

PostPosted: Tue Apr 04, 2006 8:12 pm    Post subject: Bug fixed in \sim for MiKTeX? Reply with quote

WaS wrote:
@murray:

Yes, there was a bug concerning \sim, but it should have been fixed
in the meantime. Please, make sure to use the latest version of the fonts,
both on Y&Y-TeX and on MikTeX. It seems as if you had erroneaoul y
installed wrong tfm and/or pfb files on MikTeX.


I'll check this Wednesday.
Back to top
View user's profile Send private message Visit poster's website
murray



Joined: 07 Feb 2006
Posts: 47
Location: Amherst, MA, USA

PostPosted: Thu Apr 06, 2006 9:11 am    Post subject: bad subscript \sim persists in MiKTeX Reply with quote

WaS wrote:
@murray:

Yes, there was a bug concerning \sim, but it should have been fixed
in the meantime. Please, make sure to use the latest version of the fonts,
both on Y&Y-TeX and on MikTeX. It seems as if you had erroneaoul y
installed wrong tfm and/or pfb files on MikTeX.


I just checked this again after replacing from mtp2fonts.zip.tpm dated 3/25/2006 all the files that go into localtexmf, executing again command mkfntmap, and refreshing MiKTeX's file database. (I even replaced with the 3/25/2006 versions all the pfb's and pfm's that go into the separate location where Adobe Type Manager Deluxe 4.2 expects to find them and re-activated them in ATM.)

Still a _subscript_ \sim does not preview correctly in Yap nor print properly from Yap: The left and right ends of the character are very thick.

NOTE: This happens ONLY at the default size of 10pt for the document class. If I use option [11pt] or [10pt], on the other hand, the subscript \sim is normal!

Here's the (now simplified) source file:

\documentclass{article}

\usepackage[subscriptcorrection,slantedGreek,nofontinfo,mtpbb,
eucal,boldalphabet]{mtpro2}

\begin{document}
$\sim X_{\sim}$
\end{document}
Back to top
View user's profile Send private message Visit poster's website
zedler



Joined: 03 Mar 2006
Posts: 15

PostPosted: Fri Apr 07, 2006 5:18 am    Post subject: Re: bad subscript \sim persists in MiKTeX Reply with quote

Quote:
Still a _subscript_ \sim does not preview correctly in Yap nor print properly from Yap: The left and right ends of the character are very thick.

You need to delete the old mtpro2-related pk files.

Michael
Back to top
View user's profile Send private message
murray



Joined: 07 Feb 2006
Posts: 47
Location: Amherst, MA, USA

PostPosted: Fri Apr 07, 2006 7:42 pm    Post subject: Re: bad subscript \sim persists in MiKTeX; FIXED! Reply with quote

zedler wrote:
Quote:
Still a _subscript_ \sim does not preview correctly in Yap nor print properly from Yap: The left and right ends of the character are very thick.

You need to delete the old mtpro2-related pk files.

Michael


Aha! That fixes the problem. I thank you. And I think Michael Spivak will be happy to see that this problem has gone away.
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