Date: Tue, 6 Nov 2001 20:00:01 -0500
Subject: MacOSX-TeX Digest #146 - 11/06/01
From: "TeX on Mac OS X Mailing List" 
To: "TeX on Mac OS X Mailing List" 
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
Sender: 
Precedence: Bulk
List-Software: LetterRip Pro 3.0.7 by Fog City Software, Inc.
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 

MacOSX-TeX Digest #146 - Tuesday, November 6, 2001

  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "Michel Bovani" 
  Re: [Mac OS X TeX] Font question
          by "Daniel A. Steffen" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "Gerben Wierda" 
  Printout from TeXShop
          by "Travis Beals" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "William Adams" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by 
  Re: [Mac OS X TeX] Font question
          by "Cyrill R=FCttimann" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "Troy Goodson" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "William Adams" 
  TeXShop: icon in preview window titlebar
          by "Troy Goodson" 
  TeXShop: bug? page setup for printing
          by "Troy Goodson" 
  Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
          by "Troy Goodson" 
  OpenType
          by "Adrian Heathcote" 
  Re: [Mac OS X TeX] OpenType
          by "Nicholas Riley" 


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

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "Michel Bovani" 
Date: Tue, 6 Nov 2001 10:10:34 +0100

Le 5/11/01 =E0 13:09 -0500 William Adams a =E9crit :
>>  On Monday, November 5, 2001, at 03:36 , Troy Goodson wrote:
>>
>>  > Why not simply put support for Mac fonts into teTeX?  If all the
>>  > information is in the file, wouldn't it be better if teTeX itself knew
>>  > what to do with it?
>>
>
>Gerben then replied:
>
>>  I agree, this ia a better solution, also copyright-wise=2E If someone
>>  knowws how this can be done, I would be happy to make it part of my
>>  distribution=2E
>>
>
>I can merely point to instances where this sort of thing has been done
>in the past---notably Textures and TeX/GX=2E

Hmm=2E=2E=2E There are two ways of handling mac fonts :

1 - The tex driver uses mac fonts across the system mechanism=20
(generally requires ATM) and only across the system mechanism :=20
TeXtures, Macdvi (CMacTeX), OzTeX dvi-previewer, probably TeX/GX=2E

2 - The tex driver uses mac fonts or pfb fonts and these fonts may be=20
anywere (provided TeX can access to them) : pdftex, dvips, dvipdfm in=20
CMacTeX, dvips for OzTeX=2E

I think 2 is the good way=2E In first cases only mac fonts can be used=20
and bitmap suitcases are required (at least on OS9, but probably on=20
OSX too)=2E
--=20
Michel Bovani

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

Subject: Re: [Mac OS X TeX] Font question
From: "Daniel A. Steffen" 
Date: Tue, 6 Nov 2001 22:07:32 +1100

At 20:00 -0500 on 5/11/01, Michel Bovani wrote:

>In CMacTeX, there is a t1utils bianry that converts a mac font into 
>pfb format.

the t1utils off CTAN compile and work fine on OSX, this will get you 
up and running:

	wget 
http://www.ctan.org/tex-archive/fonts/utilities/t1utils/t1utils-1.23.tar.gz=

	tar zxvf t1utils-1.23.tar.gz
	cd t1utils-1.23
	./configure
	make
	sudo make install

now the following will transform your OS9 PS Courier into pfb:

	t1unmac -r /Mac\ OS\ 9/System\ Folder/Fonts/Couri/rsrc -b > pcrr8a.pfb

Cheers,

Daniel
-- 
** Daniel A. Steffen          **  "And now to something completely
** Department of Mathematics  **   different"    Monty Python
** Macquarie University       ** 
** NSW 2109 Australia         ** 

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

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "Gerben Wierda" 
Date: Tue, 6 Nov 2001 16:53:22 +0100

This is not what I meant. Bear with me, I am  not a specialist.

To integrate type1 fonts with TeX, I need .afm, .tfm and .pfb files as=20=

well as a map (for dvips and/or pdftex)

Example: hoekwater

[dumbledore:~/tmp] gerben% find /usr/local/teTeX/share/texmf/fonts -name=20=

contnav\*
/usr/local/teTeX/share/texmf/fonts/afm/hoekwater/context/contnav.afm
/usr/local/teTeX/share/texmf/fonts/tfm/hoekwater/context/contnav.tfm
/usr/local/teTeX/share/texmf/fonts/type1/hoekwater/context/contnav.pfb
[dumbledore:~/tmp] gerben% grep contnav=20
/usr/local/teTeX/share/texmf/dvips/config/*.map
/usr/local/teTeX/share/texmf/dvips/config/context.map:contnav =20
ContextNavigation   Le 5/11/01 =E0 13:09 -0500 William Adams a =E9crit :
>>>  On Monday, November 5, 2001, at 03:36 , Troy Goodson wrote:
>>>
>>>  > Why not simply put support for Mac fonts into teTeX?  If all the
>>>  > information is in the file, wouldn't it be better if teTeX itself=20=

>>> knew
>>>  > what to do with it?
>>>
>>
>> Gerben then replied:
>>
>>>  I agree, this ia a better solution, also copyright-wise. If someone
>>>  knowws how this can be done, I would be happy to make it part of my
>>>  distribution.
>>>
>>
>> I can merely point to instances where this sort of thing has been =
done
>> in the past---notably Textures and TeX/GX.
>
> Hmm... There are two ways of handling mac fonts :
>
> 1 - The tex driver uses mac fonts across the system mechanism=20
> (generally requires ATM) and only across the system mechanism :=20
> TeXtures, Macdvi (CMacTeX), OzTeX dvi-previewer, probably TeX/GX.
>
> 2 - The tex driver uses mac fonts or pfb fonts and these fonts may be=20=

> anywere (provided TeX can access to them) : pdftex, dvips, dvipdfm in=20=

> CMacTeX, dvips for OzTeX.
>
> I think 2 is the good way. In first cases only mac fonts can be used=20=

> and bitmap suitcases are required (at least on OS9, but probably on =
OSX=20
> too).
> -- Michel Bovani
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to  with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to  with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
>


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

Subject: Printout from TeXShop
From: "Travis Beals" 
Date: Tue, 6 Nov 2001 08:12:43 -0800

Hello folks,

I've been lurking on the list for a while, but this is my first actual 
post.  My apologies if the same question was asked and answered a while 
ago--I recently migrated to a new PB G4, and not all of my mail archives 
made it over.

I produced a short (2 page) document in TeXShop, and then generated a 
PDF file using the usual method.  The file looked fine on-screen in 
TeXShop's previewer, but, when I printed it from the previewer, the 
bottom component of the square root signs and integral signs is 
truncated.  If I print the same PDF from Adobe Acrobat 5.0, everything 
looks fine.

Anybody know what the problem is? I'm running OS X 10.1, and a pretty 
recent version of TeXShop (version info below):

This is pdfTeX, Version 3.14159-1.00a-pretest-20010806 (Web2C 7.3.3.1)
(./nov2.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>


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

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "William Adams" 
Date: Tue, 06 Nov 2001 11:24:03 -0500

Gerben asked:
>So, for the Mac OS X fonts, I need to know:

>1. Where is the .pfb content? (resource fork? special format?)

There aren't any .pfbs, or Type 1 fonts bundled with Mac OS X (We don't
even get Tecton Plus :(---it's all TrueType, some in the new .dfont
(data fork font), others in Classic Mac OS 9- style suitcases (which
stores the TrueType font data in the resource fork).

The Apple fonts (Apple Chancery, Geneva, etc.) are also munged by the
_removal_ of non-Apple encoding vectors/tables so as to preclude easy
conversion to other platforms. If you want Geneva in .ttf format you've
got to purchase FileMaker (I guess it still bundles it)

>2. Where is the .afm content?

There aren't any, see above :(

>3. How do I get a map file

This'd have to be written up especial. Apple also hasn't encoded a lot
of the characters which are in the fonts, or has munged access to them
(e.g. Zapfino has 1,285 characters, but only a couple-hundred can be
gotten at with TextEdit.app, or even TeX/GX, Herculanum has Adrian
Frutiger's nice alternates, but they're assigned to cap slots (although
duplicates of them with sensible names, e.g. A-alternate are included
too---that from the dept. of redundancy dept.)

William
(who wrestled with this for his mangled presentation at TUG2001 :(

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



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

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: 
Date: Tue, 6 Nov 2001 17:47:12 +0100 (CET)

Dear Folks
I just joined this email list this afternoon. Incidentally I recently
succeeded in getting a number of Type 1 fonts, some bought from Adobe,
others manufactured myself, and others from Y&Y, working in 
TeTeX / CMacTeX / TeXShop.
There are free utilities for converting between pfa, pfb and lwfn.
There are free utilities for generating a new afm from a pfb and of 
course for converting afm to tfm. The .map files are not very difficult
to understand. Occasionally one needs to reencode a font, with a .enc
file which is just a table of "from" -> "to" (or vice versa).
I'll try to collect the information I have and will post it, if it would
be relevant to the question.
Yours
Richard Gill.

--
mailto:richard.gill@math.uu.nl
mobile: +31 6 224 27 127                                 0__
http://www.math.uu.nl/people/gill                       c/ /'_
snailmail: math.inst, uu, box 80010, 3508 ta utrecht___(+)_\(+)__

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

Subject: Re: [Mac OS X TeX] Font question
From: "Cyrill R=FCttimann" 
Date: Tue, 6 Nov 2001 17:59:33 +0100

Hi all,

Thanks for all informations.
>
>> In CMacTeX, there is a t1utils bianry that converts a mac font into 
>> pfb format.
>
> the t1utils off CTAN compile and work fine on OSX, this will get you up 
> and running:
>
> 	wget http://www.ctan.org/tex-
> archive/fonts/utilities/t1utils/t1utils-1.23.tar.gz
> 	tar zxvf t1utils-1.23.tar.gz
> 	cd t1utils-1.23
> 	./configure
> 	make
> 	sudo make install
>
> now the following will transform your OS9 PS Courier into pfb:
>
> 	t1unmac -r /Mac\ OS\ 9/System\ Folder/Fonts/Couri/rsrc -b > pcrr8a.pfb
>

I have choosen that way ... works without any problems.

Regards,

Cyrill


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

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "Troy Goodson" 
Date: Tue, 6 Nov 2001 09:44:46 -0800

At 11:24 AM -0500 11/6/01, William Adams wrote:
>Gerben asked:
>  >So, for the Mac OS X fonts, I need to know:
>  >1. Where is the .pfb content? (resource fork? special format?)
>
>There aren't any .pfbs, or Type 1 fonts bundled with Mac OS X (We don't
>
>  >2. Where is the .afm content?
>
>There aren't any, see above :(
>

I admit ignorance on many font issues, so I'm a little lost here. 
Are you saying that there is information that TeX needs to know about 
a font but is not included in Mac OS X fonts?

If so: why does teTeX need info that OS X doesn't?
If not: there must be some way of getting teTeX to support OS X fonts

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

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "William Adams" 
Date: Tue, 06 Nov 2001 13:52:22 -0500

(NB: this is cross-posted betwixt the pdftex and Mac OS X TeX mailing
lists)

Troy Goodson asked:
>Are you saying that there is information that TeX needs to know about
>a font but is not included in Mac OS X fonts?

Not merely that, but Mac OS X's bundled fonts are in weird, proprietary
formats (.dfont---``data fork'' font format which is a normal Mac
suitcase-style font flopped from the resource fork where it normally
resides).

In addition, the original core Mac OS fonts (the city-named ones and
those which hearken back to the era of QuickDraw/GX) have had font
encoding vectors / tables _removed_ so as to preclude their conversion.

>If so: why does teTeX need info that OS X doesn't?

teTeX needs the font metric information in a format which it can
parse---this'd need to be a .tfm which would normally be made from a
..afm (but that's a PostScript thing, so not an option), or from a .ttf
(ttf2tfm as included with the FreeType package I think it is, but that's
not an option since the TrueType fonts aren't .ttf but the funky Mac
proprietary format).

>If not: there must be some way of getting teTeX to support OS X fonts

Depends---how do you feel about circumventing Apple's license?

As I've said before, one must:

 - flop .dfont fonts to standard Mac suitcases (Apple had a utility for
this, ``ForkSwitcher'' but has since pulled it)
 - convert Mac Suitcase TrueType fonts to .ttf (ttfclerk, TT FontConvert
FAT, TTConverter)
 - restore any missing encoding vectors
 - get .tfms somehow
 - tell pdftex where the fonts are and how they're encoded

The alternative is for someone to develop a tool which parses the Mac
font format(s), write an encoding vector and program the required
support.

William


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



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

Subject: TeXShop: icon in preview window titlebar
From: "Troy Goodson" 
Date: Tue, 6 Nov 2001 10:56:34 -0800

Shouldn't there be an icon in the PDF preview window titlebar?  I'm 
looking for a little icon that I can drag to another application, 
like Preview.app or Acrobat Reader 5.  The .tex editor window has 
such an icon.

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

Subject: TeXShop: bug? page setup for printing
From: "Troy Goodson" 
Date: Tue, 6 Nov 2001 10:58:16 -0800

When I make slides with the code below, I need to change a setting in 
the Page Setup dialog to get landscape printing correct.  I can't 
access this dialog in TeXShop.  This is a bug, right?

%-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
\documentclass[landscape]{slides}

\AtBeginDocument{%
   \pdfpageheight =3D \paperheight
   \pdfpagewidth =3D \paperwidth
}

\begin{document}
\begin{slide}
\begin{center}
     A sample slide
\end{center}
\end{slide}
\end{document}

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

Subject: Re: teTeX mod for Mac fonts (was Re: [Mac OS X TeX] Font question)
From: "Troy Goodson" 
Date: Tue, 6 Nov 2001 12:15:05 -0800

At 1:52 PM -0500 11/6/01, William Adams wrote:
>The alternative is for someone to develop a tool which parses the Mac
>font format(s), write an encoding vector and program the required
>support.

I guess this is the solution I'm asking about.  You give me the 
impression that this is difficult, but not Herculean.

I haven't heard anyone say that the Mac font file format is 
undocumented, but I wouldn't be surprised to hear that there are 
problems lying in wait there, too.

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

Subject: OpenType
From: "Adrian Heathcote" 
Date: Wed, 7 Nov 2001 11:33:31 +1100

Query to William Adams, or anyone else who might know---

Apropos this question of fonts in OS X, what has happened to Apple's 
plans to support OpenType? After some initial talk we hear no more about 
it. If it were known what Apple intends to do here, it might help in 
knowing what is possible for TeX.

Adrian Heathcote


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

Subject: Re: [Mac OS X TeX] OpenType
From: "Nicholas Riley" 
Date: Tue, 6 Nov 2001 18:54:03 -0600

On Wed, Nov 07, 2001 at 11:33:31AM +1100, Adrian Heathcote wrote:
> Query to William Adams, or anyone else who might know---
> 
> Apropos this question of fonts in OS X, what has happened to Apple's 
> plans to support OpenType? After some initial talk we hear no more about =

> it. If it were known what Apple intends to do here, it might help in 
> knowing what is possible for TeX.

OS X does support OpenType...



What this means for TeX, I don't know.  I would sure like to be able
to have some native font support, but if it just means PostScript
fonts, that'd be fine for me.

-- 
=3DNicholas Riley  | =

        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign

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

-----------------------------------------------------------------
To UNSUBSCRIBE, send email to  with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to  with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------