[OS X TeX] A bit of everything (2/4)
Bruno Voisin
bvoisin at me.com
Tue Mar 22 22:13:10 CET 2011
Lucida and MathTime
===================
Up-to-date versions of the Lucida and MathTime fonts can be purchased for the first from TUG and PCTeX
http://www.tug.org/store/lucida/
http://www.pctex.com/Lucida_Fonts.html
and from the second from PCTeX alone
http://www.pctex.com/mtpro2.html
The font support files for Lucida come from CTAN at
http://www.ctan.org/tex-archive/fonts/psfonts/bh/lucida/
The LaTeX support package for Lucida is lucidabr in the TUG distribution and is taken from CTAN at
http://www.ctan.org/tex-archive/macros/latex/contrib/psnfssx/lucidabr/
In the PC TeX distribution it is lucimatx and can be downloaded for free without the fonts from the Lucida purchase page
http://www.pctex.com/fonts.html#Lucida_Fonts
The packages install in TeX Live exactly as described in their installation instructions, no specific adaptation is required. If you're willing to use the original font names lbr etc. (for example if you're using the plain TeX macro file lcdplain.tex from the original Y&Y or Blue Sky Research distribution of the fonts), you just have to create symlinks as indicated in section 4 of my old message <http://tug.org/pipermail/macostex-archives/2007-January/027878.html> then make sure to add
\input texnansi
in your plain TeX files.
Textures metrics for the LW35 fonts
===================================
Some of you may have old documents prepared with Textures and using its original metrics for the LaserWriter 35 fonts, namely
AvantGarde
AvantGardeB
AvantGardeBI
AvantGardeI
Bookman
BookmanB
BookmanBI
BookmanI
Chancery
Courier
CourierB
CourierBI
CourierI
Dingbats
Helvetica
HelveticaB
HelveticaBI
HelveticaI
HelveticaN
HelveticaNB
HelveticaNBI
HelveticaNI
HelveticaO
Palatino
PalatinoB
PalatinoBI
PalatinoI
Schoolbook
SchoolbookB
SchoolbookBI
SchoolbookI
Symbol
Times
TimesB
TimesBI
TimesI
The meaning of these names is obvious, save for HelveticaO which is an outline font (in the sense that the "body" of the characters is empty, only their outline is drawn).
In addition, there was a nice textures-psfonts LaTeX package by Vincent Jalby in two places on the Textures 2.1 CD:
CD Extras/Extra fonts & metrics/textures-psfonts ƒ
Useful Files/textures-psfonts ƒ
This package emulated the behaviour of the PSNFSS package based on the above metrics, and contained a suitcase "LW SmallCaps VF Metrics" of virtual small caps metrics:
AvantGardeBSC
AvantGardeSC
BookmanBSC
BookmanSC
CourierBSC
CourierSC
HelveticaBSC
HelveticaNBSC
HelveticaNSC
HelveticaSC
PalatinoBSC
PalatinoSC
SchoolbookBSC
SchoolbookSC
TimesBSC
TimesSC
The metrics suitcase for the MathTime fonts also contained an oblique Times metrics and a variable-spacing Courier font:
CourierVSP
TimesO
In case you're interested in reusing these old documents with TeX Live, the adaptation is possible but far from trivial. You need EdMetrics which is available at <ftp://ftp.bluesky.com/utilities/EdMetrics.sea.hqx>. EdMetrics is a Mac OS Classic application, meaning you need either a working Classic setup or a SheepShaver installation <http://www.emaculation.com/doku.php/sheepshaver_mac_os_x_setup>. Getting SheepShaver to work is quite an experience, and took me two or three days at least. Beware too that it is pretty unstable: you can use it, but don't move the mouse too fast, don't open too many windows, don't breathe too heavily, that sort of things... Otherwise it will just crash. All things being relative, the 25-10-2009 build appears more reliable than the 06-11-2010 build.
First, in case you have Textures 2.1 and below, open it in Edmetrics, you'll see directly the metrics it contains. In case you have Textures 2.2 (ie the beta OS X version), Ctrl-Click or Right-Click on it, select "Show Package Contents" and navigate to Textures.app/Contents/Resources/Metrics/, then select "TeX Metrics", open it in EdMetrics, like this:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EdMetrics.png
Type: image/png
Size: 13998 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20110322/43d6f2b4/attachment.png>
-------------- next part --------------
For each metrics, press the "Make VPL" button. This will save the metrics to a PL file.
Do the same with the suitcases "LW SmallCaps VF Metrics" and "MathTime metrics". This will save each virtual metrics to a VPL file. If you're planning to use CourierVSP.vpl, you'll need to edit it by converting CMTT10 in
(MAPFONT D 1
(FONTNAME CMTT10)
to lowercase, yielding
(MAPFONT D 1
(FONTNAME cmtt10)
Then put all these files into a directory, cd into it in Terminal and run
apply vptovf *.vpl
apply pltotf *.pl
This converts all the metrics to TFM and VF files.
For TimesO, it is safer to recreate the metrics with afm2tfm (and create an accompanying TimesBO while you're at it). The AFM files ptmr8a.afm and ptmb8a.afm from TeX Live will be used.
But first another matter must be settled: the encodings used by Textures must be translated into ENC files, that dvips, pdfTeX and dvipdfm can use. Y&Y did most of the work, by creating VEC files reproducing these encodings. Namely,
http://code.google.com/p/yytex/source/browse/trunk/fonts/vec/texmac.vec
http://code.google.com/p/yytex/source/browse/trunk/fonts/vec/texmax.vec
reproduce respectively the effects of setting, in EdMetrics,
PostScript map -> Roman->MacintoshStandard
PostScript encoding -> MacintoshStandard
and
PostScript map -> Typewriter->MacintoshStandard
PostScript encoding -> MacintoshStandard
The first encoding is called LM1 by Y&Y (and LT1 by textures-psfonts), see <http://www.tug.org/yandy/ly1faq.htm>, and the second LM2. The first VEC file is already available as an ENC file
http://code.google.com/p/yytex/source/browse/trunk/fonts/vec/texmac.enc
For the second I've similarly prepared a texmax.enc.
Now you can create TimesO and TimesBO. The "obvious"
afm2tfm ptmr8a -s .167 -p texmac TimesO
afm2tfm ptmb8a -s .167 -p texmac TimesBO
doesn't work, because the resulting metrics don't contain any ligature. Use instead
afm2tfm ptmr8a -s .167 -u -p 8r -t texmac -v TimesO ptmro8r
vptovf TimesO
afm2tfm ptmb8a -s .167 -u -p 8r -t texmac -v TimesBO ptmbo8r
vptovf TimesBO
This creates TimesO and TimesBO as virtual re-encodings of ptmro8r and ptmbo8r to texmac.enc, respectively.
All these metrics have the usual ligatures but not the less standard ones, namely the French <<, the german ,, and so forth. I don't know whether that's an inherent limitation of the Textures encoding, or some error in the above procedure.
Now you "just" have to write a map file associating the metrics with the URW clones of the LaserWriter 35 fonts in TeX Live. Namely:
AvantGarde URWGothicL-Book "Textures ReEncodeFont" <texmac.enc <uagk8a.pfb
AvantGardeB URWGothicL-Demi "Textures ReEncodeFont" <texmac.enc <uagd8a.pfb
AvantGardeBI URWGothicL-DemiObli "Textures ReEncodeFont" <texmac.enc <uagdo8a.pfb
AvantGardeI URWGothicL-BookObli "Textures ReEncodeFont" <texmac.enc <uagko8a.pfb
Bookman URWBookmanL-Ligh "Textures ReEncodeFont" <texmac.enc <ubkl8a.pfb
BookmanB URWBookmanL-DemiBold "Textures ReEncodeFont" <texmac.enc <ubkd8a.pfb
BookmanBI URWBookmanL-DemiBoldItal "Textures ReEncodeFont" <texmac.enc <ubkdi8a.pfb
BookmanI URWBookmanL-LighItal "Textures ReEncodeFont" <texmac.enc <ubkli8a.pfb
Chancery URWChanceryL-MediItal "Textures ReEncodeFont" <texmac.enc <uzcmi8a.pfb
Courier NimbusMonL-Regu "TexturesTypewriter ReEncodeFont" <texmax.enc <ucrr8a.pfb
CourierB NimbusMonL-Bold "TexturesTypewriter ReEncodeFont" <texmax.enc <ucrb8a.pfb
CourierBI NimbusMonL-BoldObli "TexturesTypewriter ReEncodeFont" <texmax.enc <ucrbo8a.pfb
CourierI NimbusMonL-ReguObli "TexturesTypewriter ReEncodeFont" <texmax.enc <ucrro8a.pfb
Dingbats Dingbats <uzdr.pfb
Helvetica NimbusSanL-Regu "Textures ReEncodeFont" <texmac.enc <uhvr8a.pfb
HelveticaB NimbusSanL-Bold "Textures ReEncodeFont" <texmac.enc <uhvb8a.pfb
HelveticaBI NimbusSanL-BoldItal "Textures ReEncodeFont" <texmac.enc <uhvbo8a.pfb
HelveticaI NimbusSanL-ReguItal "Textures ReEncodeFont " <texmac.enc <uhvro8a.pfb
HelveticaN NimbusSanL-ReguCond "Textures ReEncodeFont" <texmac.enc <uhvr8ac.pfb
HelveticaNB NimbusSanL-BoldCond "Textures ReEncodeFont" <texmac.enc <uhvb8ac.pfb
HelveticaNBI NimbusSanL-BoldCondItal "Textures ReEncodeFont" <texmac.enc <uhvbo8ac.pfb
HelveticaNI NimbusSanL-ReguCondItal "Textures ReEncodeFont " <texmac.enc <uhvro8ac.pfb
HelveticaO NimbusSanL-Regu "/PaintType 2 store Textures ReEncodeFont" <texmac.enc <uhvr8a.pfb
Palatino URWPalladioL-Roma "Textures ReEncodeFont" <texmac.enc <uplr8a.pfb
PalatinoB URWPalladioL-Bold "Textures ReEncodeFont" <texmac.enc <uplb8a.pfb
PalatinoBI URWPalladioL-BoldItal "Textures ReEncodeFont" <texmac.enc <uplbi8a.pfb
PalatinoI URWPalladioL-Ital "Textures ReEncodeFont" <texmac.enc <uplri8a.pfb
Schoolbook CenturySchL-Roma "Textures ReEncodeFont" <texmac.enc <uncr8a.pfb
SchoolbookB CenturySchL-Bold "Textures ReEncodeFont" <texmac.enc <uncb8a.pfb
SchoolbookBI CenturySchL-BoldItal "Textures ReEncodeFont" <texmac.enc <uncbi8a.pfb
SchoolbookI CenturySchL-Ital "Textures ReEncodeFont" <texmac.enc <uncri8a.pfb
Symbol StandardSymL <usyr.pfb
Times NimbusRomNo9L-Regu "Textures ReEncodeFont" <texmac.enc <utmr8a.pfb
TimesB NimbusRomNo9L-Medi "Textures ReEncodeFont" <texmac.enc <utmb8a.pfb
TimesBI NimbusRomNo9L-MediItal "Textures ReEncodeFont" <texmac.enc <utmbi8a.pfb
TimesI NimbusRomNo9L-ReguItal "Textures ReEncodeFont" <texmac.enc <utmri8a.pfb
Attached is an archive containing the MAP and ENC files plus TimesO and TimesBO, but not the other PL, VPL, TFM and VF files which I imagine can be considered part of the Textures application and hence cannot be redistributed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: textures.zip
Type: application/zip
Size: 13822 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20110322/43d6f2b4/attachment.zip>
More information about the macostex-archives
mailing list