# MacOSX-TeX Digest #262 - 03/13/02

TeX on Mac OS X Mailing List MacOSX-TeX at email.esm.psu.edu
Wed Mar 13 20:00:01 EST 2002

MacOSX-TeX Digest #262 - Wednesday, March 13, 2002

Re: [OS X TeX] How do I instal Mathtime fonts?
Re: [OS X TeX] How do I instal Mathtime fonts?
by "Takanori Uchiyama" <uchiyama at appi.keio.ac.jp>
xdvi won't stop generating fonts
by "William McCallum" <mccallumwilliam at qwest.net>
Re: [OS X TeX] xdvi won't stop generating fonts
by "Enrico Franconi" <franconi at yvain.cs.man.ac.uk>
How to crop a PDF to the BBox?
by "J.Huelsmann" <J.Huelsmann at tu-bs.de>
Reason: [OS X TeX] teTeX does not run on OS X
by "Gerben Wierda" <sherlock at rna.nl>
Re: [OS X TeX] How to crop a PDF to the BBox?
Re: [OS X TeX] iTeXMac icons and TeXShop
by "jerome LAURENS" <jerome.laurens at u-bourgogne.fr>
Re: [OS X TeX] iTeXMac icons and TeXShop
by "Bruce D'Arcus" <bdarcus at mac.com>
Re: [OS X TeX] xdvi won't stop generating fonts
by "William McCallum" <mccallumwilliam at qwest.net>
Re: praise --- and three humble fine-tuning suggestions
by "Joachim Kock" <kock at math.unice.fr>
Eps Graphi
by "Sam Broderick" <sbroderick at mac.com>
Re: [OS X TeX] Re: praise --- and three humble fine-tuning suggestions
by "Bruno Voisin" <Bruno.Voisin at hmg.inpg.fr>
Re: [OS X TeX] Eps Graphi
by "Gerben Wierda" <sherlock at rna.nl>

----------------------------------------------------------------------

Subject: Re: [OS X TeX] How do I instal Mathtime fonts?
Date: Wed, 13 Mar 2002 13:29:35 +1100

Tore---

A useful supplement to the very generous responses given here is the
book TeX Unbound, by Alan Honig (OUP, 1998)---an excellent book that
covers fonts *very* thoroughly and that I resorted to to solve my own

On Wednesday, March 13, 2002, at 09:05 AM, Tore Haug-Warberg wrote:

> Bruno and Michael:
>
> I am still confused (but much less so than 8 hours ago). PostScript
> fonts require two separate files, one outline file (.pfb) and one
> metrics file (.pfm), right? I assume that the .pfm can be converted to
> TeX metrics (.tfm), but what about .pfb? I expect it's here the real
> work is burried and consequently that .pfb files have a certain marked
> potential. Bruno mentioned CMacTeX as a possible source for .pfb files,
> but I'm a Mac newbie and have no previous Mac installation of TeX
> (could not find any PostScript fonts on my teTeX distribution either).
> Should I buy the .pfb files from Y&Y, or maybe Blue Sky Research, or is
> there a clone which can be downloaded? And since we are talking fonts:
>
> 1) It is PostScript 1 and not PostScript 3?
> 2) Is TrueType a viable option to PostScript fonts, or is PostScript
> "state-of-the-art".
> 3) Finally, I might consider converting to Lucida if that makes life
> easier (please convince me - it's not very hard).
>
> Yours, Tore.
>
> PS. I am responding to both of you in one single mail, please correct
> me if I am abusing the rules of this list.
>
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> -----------------------------------------------------------------

----------------------------------------------------------------------

Subject: Re: [OS X TeX] How do I instal Mathtime fonts?
From: "Takanori Uchiyama" <uchiyama at appi.keio.ac.jp>
Date: Wed, 13 Mar 2002 14:43:05 +0900 (JST)

Hi everybody

From: Peter Erwin <erwin at ll.iac.es>
Subject: Re: [OS X TeX] How do I instal Mathtime fonts?
Date: Tue, 12 Mar 2002 22:50:55 +0000

> (On the CTAN archive, you can find a set of Unix font utilities
> called t1utils, which
> will compile and run on MacOS X, if you have the Developer Tools
> installed.  But
> they have to be run via command-line in the Terminal, so that may not be what
> people want.   I imagine that the CMacTeX utilities are nice GUI
> versions of these.)

And Mac OS version fonts contain their data in their POST resouce.
Before you use t1utils, you have to covert the fonts to MacBinary or
something like that.  Very very long ago, we could use UnAdobe which
could extract font data from POST resources and convert them PFA/PFB
formats.  But the program can not run current version of Mac OS
because the program runs only 24 bit addressing mode (you need IIci or
same generation Macs).  I ported parts of t1utils for Mac OS 8-9 in
order to convert Mac fonts.  Im' sorry that their documents were
written in Japanese (sorry) but I think that the usage is no so
difficult.  Launch the apprication and then simply choose the target
fonts. If you want to try them, please get following URL.

ftp://macptex.appi.keio.ac.jp/pub/mac/tools
extpostsit.hqx   Exract POST resource and covert it PFA.
t1utils.sit.hqx  t1asm, t1disasm, t1ascii and t1binary.
--
Takanori

----------------------------------------------------------------------

Subject: xdvi won't stop generating fonts
From: "William McCallum" <mccallumwilliam at qwest.net>
Date: Tue, 12 Mar 2002 23:02:25 -0700

This may not be an xdvi problem, but I don't know. I can't get xdvi to
stop regenerating pk files. It calls mktexpk for every font every time I
view a file. If the pk file already exists it moves onto the next font,
but the process is still very slow, since it takes a while for mktexpk
to report that the file exists.

I have followed the instructions for xdvi you get from fink describe
xdvi and added the specified lines to the file texmf.cnf.  After that I
restarted. But I still have the same problem.

I am using
xdvi-22.51-2
system-tetex-20010808-5

Any help would be much appreciated.

Regards,
Bill McCallum

----------------------------------------------------------------------

Subject: Re: [OS X TeX] xdvi won't stop generating fonts
From: "Enrico Franconi" <franconi at yvain.cs.man.ac.uk>
Date: Wed, 13 Mar 2002 08:48:32 +0000

On March 12, William McCallum writes:
> This may not be an xdvi problem, but I don't know. I can't get xdvi
> to stop regenerating pk files. It calls mktexpk for every font every
> time I view a file. If the pk file already exists it moves onto the
> next font, but the process is still very slow, since it takes a
> while for mktexpk to report that the file exists.

I have the very same problem. If you do not have embedded postscript
(but I have many!), you can use the carbon MacDviX from Tom Kiffe,
which shares the same pk files with xdvi.

cheers
-- e.

Enrico Franconi                     - franconi at cs.man.ac.uk
University of Manchester            - http://www.cs.man.ac.uk/~franconi/
Department of Computer Science      - Phone: +44 (161) 275 6170
Manchester M13 9PL, UK              - Fax:   +44 (161) 275 6204

----------------------------------------------------------------------

Subject: How to crop a PDF to the BBox?
From: "J.Huelsmann" <J.Huelsmann at tu-bs.de>
Date: Wed, 13 Mar 2002 09:49:30 +0100

I often use the MacOS X printdialog to save pdf-files if an
Application can´t do so by itself. But the graphic I want to have is
'included' in the pagesize you choose to print e.g. A4.

My way to use only the real graphic in pdflatex is

a) go to terminal and look for the Bounding Box with gs -dNOPAUSE
-dBATCH -sDEVICE=bbox myfile.pdf

b) copy the bounding box values to the viewport flag of
\includegraphics (graphicx package)

So in the .tex file it looks like this:
\includegraphics[viewport=102 324 470 779]{myfile.pdf}
but this is not what I really want because to use myfile.pdf I always
have to know the corresponding bounding box data.

My question:
Is there a way/App to crop a pdf-file to the bounding box? Perhaps
ghostscript (but how)?
I tried pdf2ps then pstoepsi then epstopdf: the cropping was OK but
all fonts are bitmapped now :-(

any suggestions?

cheers, Jan

----------------------------------------------------------------------

Subject: Reason: [OS X TeX] teTeX does not run on OS X
From: "Gerben Wierda" <sherlock at rna.nl>
Date: Wed, 13 Mar 2002 10:33:31 +0100

The answer in at least one of the problems that has occurred is that
there used to be a file called nehyph2.tex, containing alternative
hyphenation patterns for Dutch. Older language.dat files used this
hyphenation patterns for Dutch.

For legal reasons, Thomas Esser has removed nehpyh2.tex from teTeX. The
new language.dat file reflects this change.

But older installations may still have a copy of language.dat in
/usr/local/teTeX/share/texmf.local or ~/Library/texmf which is found
first and which contains the ferenece to nehyph2.tex. This makes format
generation fail and that means that you get the newer binaries with
formats created by the older binaries (the 'stymied' situation).

Here are the commands from the command line to remedy the situation:

sudo rm -f
/usr/local/teTeX/share/texmf.local/tex/generic/config/language.dat

sudo rm -f /usr/local/teTeX/share/texmf/web2c/*.*fmt

sudo rm -f /usr/local/teTeX/share/texmf/web2c/*.log

sudo texconfig init

Mail.app wraps some of these around, maybe, but they all should be
entered on one line.

language.dat (which sets the hyphenation patterns available) and
fmtutil.cnf (which sets the formats available) will change their format
at my request to make automated parsing easier.

My upcoming new distribution will forcefully remove existing
language.dat end fmtutil.cnf files because the format will change. This
will solve the problems with outdated files, but it will imply that
restore the old versions!)

G

----------------------------------------------------------------------

Subject: Re: [OS X TeX] How to crop a PDF to the BBox?
Date: Wed, 13 Mar 2002 08:41:32 -0500

J.Huelsman said:
>I often use the MacOS X printdialog to save pdf-files if an
>Application can´t do so by itself. But the graphic I want to have is
>'included' in the pagesize you choose to print e.g. A4.

Set up a PostScript printer with a .ppd which allows custom page
sizes---not sure if Mac OS X has a UI for creating them yet or no, but
if not, you could just hand-edit the .ppd to have the desired sizes.

Or, use a graphics program like FreeHand which automagically will create
correct custom page sizes.

Alternately, the full version of Adobe Acrobat is able to crop .pdfs
visually / interactively, as are a number of the .pdf viewing programs
for NeXT/OPENstep (but none of them got ported 'cause Adobe Acrobat

William

--
ATLIS Graphics & Design / 717-731-6707 voice / 717-731-6708 fax
Sphinx of black quartz, judge my vow.
http://www.atlis.com

----------------------------------------------------------------------

Subject: Re: [OS X TeX] iTeXMac icons and TeXShop
From: "jerome LAURENS" <jerome.laurens at u-bourgogne.fr>
Date: Wed, 13 Mar 2002 15:02:02 +0100

Le mardi 12 mars 2002, à 12:03 AM, Bruce D'Arcus a écrit :

> I am going to SCREAM!!!  I thought your suggestion worked Michael, but
> it didn't.  I have tried everything, and nothing solves the problem
> (deleting the LS pref files not once, but like five times, and deleting
> every possible file associated with iTeXMac).
>
> Any suggestions on where the problem lies?  Is there something about
> how TeXShop writes files that would leave it prone to this?  I note
> that the files in question have the following creator codes:  TeXs 54
> 65 58 73.  The type code is TEXT 54 45 58 54.
>

Don't know if it helps but
iTeXMac creator code is iTMx, all files saved by iTeXMac have type TEXT
and no creator :???? with
unchanged other attributes.
Is iTeXMac listed in the list of applications in the information panel
of a .tex file? If it is the case, you might have left some iTeXMac file
somewhere or LS is buggy.

----------------------------------------------------------------------

Subject: Re: [OS X TeX] iTeXMac icons and TeXShop
From: "Bruce D'Arcus" <bdarcus at mac.com>
Date: Wed, 13 Mar 2002 09:25:07 -0500

On Wednesday, March 13, 2002, at 09:02  AM, jerome LAURENS wrote:

>
> Le mardi 12 mars 2002, à 12:03 AM, Bruce D'Arcus a écrit :
>
>> I am going to SCREAM!!!  I thought your suggestion worked Michael, but
>> it didn't.  I have tried everything, and nothing solves the problem
>> (deleting the LS pref files not once, but like five times, and
>> deleting every possible file associated with iTeXMac).
>>
>> Any suggestions on where the problem lies?  Is there something about
>> how TeXShop writes files that would leave it prone to this?  I note
>> that the files in question have the following creator codes:  TeXs 54
>> 65 58 73.  The type code is TEXT 54 45 58 54.
>>
>
> Don't know if it helps but
> iTeXMac creator code is iTMx, all files saved by iTeXMac have type TEXT
> and no creator :???? with
> unchanged other attributes.
> Is iTeXMac listed in the list of applications in the information panel
> of a .tex file? If it is the case, you might have left some iTeXMac
> file somewhere or LS is buggy.

Hi Jermone,

I did a search with Sherlock, and it's saying there are no files with
the iTMx creator code on my system.  Also, iTM does not show up in the
list of possible apps in the get info.

What's so incredibly strange is that the behavior continues even if I
delete the LS files, and even if I create a new user!!

I talked to someone who suggested deleting everything relating to TS or
iTM, and then reinstalling TS...

Bruce

----------------------------------------------------------------------

Subject: Re: [OS X TeX] xdvi won't stop generating fonts
From: "William McCallum" <mccallumwilliam at qwest.net>
Date: Wed, 13 Mar 2002 08:30:04 -0700

Thanks for the suggestion. Actually, I normally use OzTeX to view dvi
files. But the mathematical program pari-gp calls xdvi to view help
files, so I wanted to figure out how to make it go faster.

On Wednesday, March 13, 2002, at 01:48  AM, Enrico Franconi wrote:

> On March 12, William McCallum writes:
>> This may not be an xdvi problem, but I don't know. I can't get xdvi
>> to stop regenerating pk files. It calls mktexpk for every font every
>> time I view a file. If the pk file already exists it moves onto the
>> next font, but the process is still very slow, since it takes a
>> while for mktexpk to report that the file exists.
>
> I have the very same problem. If you do not have embedded postscript
> (but I have many!), you can use the carbon MacDviX from Tom Kiffe,
> which shares the same pk files with xdvi.
>
> cheers
> -- e.
>
> Enrico Franconi                     - franconi at cs.man.ac.uk
> University of Manchester            - http://www.cs.man.ac.uk/~franconi/
> Department of Computer Science      - Phone: +44 (161) 275 6170
> Manchester M13 9PL, UK              - Fax:   +44 (161) 275 6204
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> -----------------------------------------------------------------
>

----------------------------------------------------------------------

Subject: Re: praise --- and three humble fine-tuning suggestions
From: "Joachim Kock" <kock at math.unice.fr>
Date: Wed, 13 Mar 2002 17:41:14 +0100

Joachim:

>  >   1: when 'opening' a .tex file, TeXShop should tex it before showing its
>  >   pdf.  This seems logical: if the user chooses to open a tex file and not
>  >   the pdf file next to it, then the intention most probably is to have it
>  >   tex'ed, not to see an outdated pdf version of the document.  (Or worse: a
>  >   blank page.)

Paulo:

>No, no, no: when I open a .tex file, I want to open a .tex file, period.
>I don't want TeXshop to process it. If I want to open a pdf file, I open
>a pdf file. If I want to process a tex file, I press the LaTeX button in
>TeXshop. Please, no action behind my back. Right now, I am working on a
>1000 page book. I don't want TeXshop to process it each time I open the
>main .tex file.

If you read my post again, notice that I am talking strictly about the
situation where TeXShop is configured for external editor.  This means that
the source is not going to be shown in TeXShop at all --- the source is
typically already open in your favourite editor.  What we want is really to
have it tex'ed...

Abraço,
Joachim.

----------------------------------------------------------------------

Subject: Eps Graphi
From: "Sam Broderick" <sbroderick at mac.com>
Date: Wed, 13 Mar 2002 18:58:15 +0100

A file that worked last summer with the then current TeXShop and teTeX
distribution now seems to be broken (I'm using TeXShop 1.17 and teTeX
installer version 2002-01-24-21-04-29). The problem is inlcuding an eps
graphics file.

\usepackage[dvips]{graphicx}

in combination with

\begin{figure}[h!]
\centering
\includegraphics[scale=0.5]{SommerKlausur_Spule.eps}
\caption{Drei Spulenkonfigurationen}
\label{fig:}
\end{figure}

now compiles properly but just gives a blank where the picture should be.
Any idea what's wrong?

Best

Sam Broderick

----------------------------------------------------------------------

Subject: Re: [OS X TeX] Re: praise --- and three humble fine-tuning suggestions
From: "Bruno Voisin" <Bruno.Voisin at hmg.inpg.fr>
Date: Wed, 13 Mar 2002 19:11:59 +0100

Joachim Kock wrote:

> Paulo:
>
>> No, no, no: when I open a .tex file, I want to open a .tex file, period.
>> I don't want TeXshop to process it. If I want to open a pdf file, I open
>> a pdf file. If I want to process a tex file, I press the LaTeX button in
>> TeXshop. Please, no action behind my back. Right now, I am working on a
>> 1000 page book. I don't want TeXshop to process it each time I open the
>> main .tex file.
>
>
> If you read my post again, notice that I am talking strictly about the
> situation where TeXShop is configured for external editor.  This means that
> the source is not going to be shown in TeXShop at all --- the source is
> typically already open in your favourite editor.  What we want is really to
> have it tex'ed...

I rather agree with Paulo, softwares which take initiatives may be
appealing at first look, or when you only use them once in a while, but
tend to be a pain for everyday use.

That's one of the reasons I can't stand Word: it's always willing to
take initiatives, like selecting a whole word and the space after it
while I just want to select a few letters, or transforming into a list a
paragraph that starts with an hyphen and format this list in some
predefined way, etc. Most of the time I spend using Word (I sometimes
have to) is spent finding which preference controls this or that
initiative, and disactivating it.

Generally when I use a software I expect it to do exactly what I
explicitly ask it to do, no more, no less. (Assuming that I ask well,
which is another story.)

Sorry if that sounds aggressive, the original suggestion just struck a
nerve in me.

Bruno Voisin

----------------------------------------------------------------------

Subject: Re: [OS X TeX] Eps Graphi
From: "Gerben Wierda" <sherlock at rna.nl>
Date: Wed, 13 Mar 2002 21:17:31 +0100

On Wednesday, March 13, 2002, at 06:58 , Sam Broderick wrote:

Problem.

> teTeX
> installer version 2002-01-24-21-04-29)

Upgrade first. Or wait a few days, a new release is coming up.

G

----------------------------------------------------------------------
End of MacOSX-TeX Digest

-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------