# MacOSX-TeX Digest #263 - 03/14/02

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

MacOSX-TeX Digest #263 - Thursday, March 14, 2002

Lucida Fonts - how to invoke use once installed
by "Gary L. Gray" <gray at engr.psu.edu>
Re: [OS X TeX] Lucida Fonts - how to invoke use once installed
by "Michael Murray" <mmurray at maths.adelaide.edu.au>
Re: [OS X TeX] iTeXMac icons and TeXShop
by "jerome LAURENS" <jerome.laurens at u-bourgogne.fr>
Re: [OS X TeX] Lucida Fonts - how to invoke use once installed
by "Bruno Voisin" <Bruno.Voisin at hmg.inpg.fr>
Re: praise --- and three humble fine-tuning suggestions
by "Paulo Abreu" <paulotex at yahoo.com>
Re: [OS X TeX] Fonts in Slides
by "Hemant Bhargava" <hkb at mac.com>
Re: [OS X TeX] Problems with Babel package.
by "Piet van Oostrum" <piet at cs.uu.nl>
Re: [OS X TeX] Problems with Babel package.
by "Maarten Sneep" <sneep at nat.vu.nl>
Re: [OS X TeX] How to Insert Graphics Using TeXShop?
by "Piet van Oostrum" <piet at cs.uu.nl>
Re: [OS X TeX] How to Insert Graphics Using TeXShop?
by "Piet van Oostrum" <piet at cs.uu.nl>
Different TeX platforms
by "Andy Doller" <andy at sabine.acs.psu.edu>
Re: [OS X TeX] How do I instal Mathtime fonts?
by "Piet van Oostrum" <piet at cs.uu.nl>
Re: [OS X TeX] Different TeX platforms
by "Gerben Wierda" <sherlock at rna.nl>
Re: [OS X TeX] Different TeX platforms
by "Gerben Wierda" <sherlock at rna.nl>
Re: [OS X TeX] Different TeX platforms
by "Andy Doller" <andy at sabine.acs.psu.edu>

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

Subject: Lucida Fonts - how to invoke use once installed
From: "Gary L. Gray" <gray at engr.psu.edu>
Date: Thu, 14 Mar 2002 00:16:04 -0500

On 3/12/02 7:18 AM, "Michael Murray" <mmurray at maths.adelaide.edu.au> wrote:

> In my documents I use
>
> \usepackage[LY1]{fontenc}    % specify text font encoding
> \usepackage[LY1]{lucidabr}    % switch text and math fonts
> \usepackage{bm}               % switch text and math fonts
>
> which works fine.

I just converted and installed the Lucida Bright fonts (expert, math,
everything) that I used to use with Textures (if anyone has trouble, I can
now provide excruciating detail on how to do it). It all works wonderfully,
but I only had to use:

\usepackage[expert]{lucidabr}

to get what I wanted. I include the "expert" option to get bold math fonts.

[1] Do I need to specify the encoding?

[2] What does the "bm" package do that I can't get with "amsmath"?

In addition, I noticed that when I use:

\documentclass[12pt]{article}
\usepackage[expert]{lucidabr}
\usepackage{amsmath}

I get different versions of the AMS symbols when compared to using:

\documentclass[12pt]{article}
\usepackage[expert]{lucidabr}
\usepackage{amsmath}
\usepackage{amssymb}

It appears that in the former, I am getting the Lucida versions and in the
latter the Computer Modern/AMS versions. Is this the proper behavior?

Thank you,

-- Gary

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

Subject: Re: [OS X TeX] Lucida Fonts - how to invoke use once installed
From: "Michael Murray" <mmurray at maths.adelaide.edu.au>
Date: Thu, 14 Mar 2002 16:22:38 +1030

Hi Gary,

>but I only had to use:
>
>\usepackage[expert]{lucidabr}
>
>to get what I wanted. I include the "expert" option to get bold math fonts.
>
>[1] Do I need to specify the encoding?

>[2] What does the "bm" package do that I can't get with "amsmath"?

I don't know the answer to these I have just been doing this
for a few years !

\usepackage[expert]{lucidabr}
\usepackage{amsthm, amsmath}

and it seemed to work just as well so I will stick with it.

>
>
>It appears that in the former, I am getting the Lucida versions and in the
>latter the Computer Modern/AMS versions. Is this the proper behavior?

I am not sure if it is proper but I get the same behavious as you. In the
second of those two options the CM AMS fonts come back.

However it I do

\usepackage{amssymb}
\usepackage[expert]{lucidabr}
\usepackage{amsthm, amsmath}

I don't get the ams fonts. I guess the last thing to load wins :-)

Thanks - Michael
--
_________________________________________________________
Assoc/Prof Michael Murray
Department of Pure Mathematics       Fax: 61+ 8 8303
3696
University of Adelaide             Phone: 61+ 8 8303 4174
Australia  5005      Email: mmurray at maths.adelaide.edu.au
PGP public key:
_________________________________________________________

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

Subject: Re: [OS X TeX] iTeXMac icons and TeXShop
From: "jerome LAURENS" <jerome.laurens at u-bourgogne.fr>
Date: Thu, 14 Mar 2002 09:39:14 +0100

Le mercredi 13 mars 2002, à 03:25 PM, Bruce D'Arcus a écrit :

>
> 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!!

IMHO, this means that the finder caches the icons somewhere and does not
update the cache as expected

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

I also suggest you to delete the LS's and reinstall TS, what will take
half a second.

Maybe you can change the name to say "TeXShop 1.17" just in case Mac OS
X caches info to force an update. Then associate the .tex files to this
new named app as default app. If it works you can revert to the standard
name

well, if it does no work, save your work, format your disk, reinstall
mac os x, reinstall your work...
and don't forget to scream...

Launch services are strange, i had similar problems with some apple
developper apps

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

Subject: Re: [OS X TeX] Lucida Fonts - how to invoke use once installed
From: "Bruno Voisin" <Bruno.Voisin at hmg.inpg.fr>
Date: Thu, 14 Mar 2002 10:30:24 +0100

> I just converted and installed the Lucida Bright fonts (expert, math,
> everything) that I used to use with Textures (if anyone has trouble, I can
> now provide excruciating detail on how to do it). It all works wonderfully,
> but I only had to use:
>
> \usepackage[expert]{lucidabr}
>
> to get what I wanted. I include the "expert" option to get bold math fonts.
>
> [1] Do I need to specify the encoding?
>
> [2] What does the "bm" package do that I can't get with "amsmath"?

[1] I don't think the encoding needs to be specified, this means you
will use OT1 metrics like:

/usr/local/teTeX/share/texmf/fonts/tfm/bh/lubright/hlhr7t.tfm

However if you're concerned, like me, by using features of 8-bit fonts
(like hyphenation of words with accented characters, as allowed by the
babel package), then yes, you need to specify the encoding, either as:

\usepackage[T1]{fontenc}
\usepackage[expert]{lucidabr}

which means you will use T1 metrics like:

/usr/local/teTeX/share/texmf/fonts/tfm/bh/lubright/hlhr8t.tfm

or as:

\usepackage[LY1]{fontenc}
\usepackage[expert]{lucidabr}

which means you will use LY1 metrics like:

/usr/local/teTeX/share/texmf/fonts/tfm/yandy/lubright/lbr.tfm

I tend to favour the third solution, since this means using the original
metrics from the designers of the fonts themselves, and in my experience
T1 metrics for PostScript fonts tend to produce overcrowded lines with
too many hyphenations (at least, more than with LY1 metrics). In French
we tend to get more hyphenations than in English, I think.

[2] I didn't compare the relative performances of \bm from the bm
package and \boldsymbol from the amsmath package, but every source I saw
which mentions them (including compuscript instructions from journal
editors) says more or less that \boldsymbol is deprecated and \bm its
"official" replacement. One reason I think is that the bm package is now
part of official LaTeX.

> In addition, I noticed that when I use:
>
> \documentclass[12pt]{article}
> \usepackage[expert]{lucidabr}
> \usepackage{amsmath}
>
> I get different versions of the AMS symbols when compared to using:
>
> \documentclass[12pt]{article}
> \usepackage[expert]{lucidabr}
> \usepackage{amsmath}
> \usepackage{amssymb}
>
> It appears that in the former, I am getting the Lucida versions and in the
> latter the Computer Modern/AMS versions. Is this the proper behavior?
> /usr/local/teTeX/share/texmf/fonts/tfm/yandy/lubright/lbr.tfm

The lucidabr package defines the control sequences for AMS symbols to
use replacement characters from the Lucida Math fonts, while the amssymb
package defines these sequences to use the original characters from the
AMS Math fonts, so yes I guess that the last loaded package has
precedence over the first.

I have used Lucida fonts for about a year now with TeXShop, and it's
really cool!

Bruno Voisin

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

Subject: Re: praise --- and three humble fine-tuning suggestions
From: "Paulo Abreu" <paulotex at yahoo.com>
Date: Thu, 14 Mar 2002 11:22:48 +0000

>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.

Sorry, it seems I missed that part.

Sabes falar português, então? Um abraço para ti também!

Paulo

_________________________________________________________
Do You Yahoo!?

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

Subject: Re: [OS X TeX] Fonts in Slides
From: "Hemant Bhargava" <hkb at mac.com>
Date: Thu, 14 Mar 2002 09:48:03 -0500

Hi -

I don't know much about fonts and such, and would like to get some
advice: am I doing an ok thing, or something terribly wrong (or is there
a better alternative that can be implemented easily?).

I want to prepare slides (for display in PDF), I use the seminar class :

\documentclass[slidesonly]{seminar}

I want to get sans-serif fonts :

\renewcommand{\familydefault}{cmss}
(This is probably straight out of Goosen's book)

And, I found that the equations in my slides were not projecting very
well, so I wanted to get bold face math fonts (without having to say bf
in every equation) :

\DeclareSymbolFont{operators}{OT1}{cmr}{b}{n}
\DeclareSymbolFont{letters}{OML}{cmm}{b}{n}
\DeclareSymbolFont{symbols}{OMS}{cmsy}{b}{n}
\DeclareSymbolFont{largesymbols}{OMX}{cmex}{b}{n}
(I found some code somewhere on the Web, and adapted it to get what I
want. The second line, I think, takes the cmm fonts and makes them bold
face.)

I'm quite happy with the results now. But do others have any advice on
this? Is there a good reference to understand the above?

- Hemant

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

Subject: Re: [OS X TeX] Problems with Babel package.
From: "Piet van Oostrum" <piet at cs.uu.nl>
Date: 14 Mar 2002 16:10:07 +0100

>>>>> Bruno Voisin <Bruno.Voisin at hmg.inpg.fr> (BV) writes:

BV> 2) Rather than modifying any of these files (I'm not even sure you can
BV> actually modify them - apart from by logging in as administrator in a
BV> terminal window -, since they are in a read-only directory), it would be
BV> simpler to copy
BV> /usr/local/teTeX/share/texmf.local/tex/generic/config/language.dat to
BV> ~/Library/texmf/tex/generic/config/language.dat, and modify this copy. Any
BV> file inside ~/Library/texmf is read before those in the teTeX distribution.

BV> Then you need to recompile your LaTeX format. I'm not sure how to do it
BV> from the command line, but running Gerben's teTeX installer should perform
BV> this I think.

Bruno is right. Once you have this modified language.dat installed in your
own directory, each time you install a new teTeX from Gerben you get your
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl

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

Subject: Re: [OS X TeX] Problems with Babel package.
From: "Maarten Sneep" <sneep at nat.vu.nl>
Date: Thu, 14 Mar 2002 16:17:18 +0100 (CET)

On 14-Mar-02 Piet van Oostrum wrote:
#  Bruno is right. Once you have this modified language.dat installed in your
#  own directory, each time you install a new teTeX from Gerben you get your
#  languages automatically in your TeX.

Yes, but with one problem (I got bitten by it, so I know). nehyph2.tex was
removed from the distribution recently and the hyphenation patterns couldn't be
created because nehyph2.tex wasn't found. The newly created language.dat
contained the correct reference, but my local copy (which wasn't touched by the
installer) was outdated.

How do you solve something like this in a local config? (apart from checking
every time that you install that everything went as planned and if not:
figuring out what to do...)

I understand that Gerben is working on a solution (an easier to parse format
for language.dat and presumably a user-interface upon installing, but I may get

Maarten Sneep

>>>-----------------------------------------------------------------------
Murphy's Law, supplemental:
Never sleep with anyone crazier than yourself.
>>>-----------------------------------------------------------------------
Maarten Sneep
Atomic- and Laser Physics group
vrije Universiteit, amsterdam
The Netherlands

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

Subject: Re: [OS X TeX] How to Insert Graphics Using TeXShop?
From: "Piet van Oostrum" <piet at cs.uu.nl>
Date: 14 Mar 2002 16:30:16 +0100

>>>>> Berndt Farwer <farwer at informatik.uni-hamburg.de> (BF) writes:

BF> To force the placement of figures to the [h] position you can include
BF> \usepackage{here} in your header and then use the placement option [H].
BF> This workes for me ...

\usepackage{here} isn't recommended. It is a latex2.09 style file, and may
give improper results with latex 2e. Use the float package, See
http://www.cs.uu.nl/~piet/floats for mor einfo about float placement.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl

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

Subject: Re: [OS X TeX] How to Insert Graphics Using TeXShop?
From: "Piet van Oostrum" <piet at cs.uu.nl>
Date: 14 Mar 2002 16:32:08 +0100

>>>>> "Gary L. Gray" <gray at engr.psu.edu> (GLG) writes:

GLG> I wish I could find the example in which this occurred, but I have had
GLG> \ref commands give me the wrong figure number (off by one -- I don't
GLG> remember in which direction) when the \label was outside and after the
GLG> \caption command.

That should not happen. If it happens you must have loaded a buggy package
or macro definition.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl

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

Subject: Different TeX platforms
From: "Andy Doller" <andy at sabine.acs.psu.edu>
Date: Thu, 14 Mar 2002 10:53:42 -0500 (EST)

As a recent convert to the world of Mac by the powers of OSX, I have
just experienced what Mac users have experienced for a long time - a
disparity between windows and mac software features/versions.  Except,
to my surprise, the disparity was in reverse.

When typing 'pdftex' at a windows prompt with the latest version of
MiKTeX(2.1) installed, I see that the pdftex is version 1.00a-200010813;
an older version than what is included in the TeXLive-teTeX from the
TeXShop site (1.00b-pretest-20020211).  A few questions result: What
concerns should I have when collaborating with people between these two
versions?  Are the revisions just to keep instep with the development
of OSX pdf/tex applications?  What other TeX-Live-teTeX packages need to
be updated to use this later version on the windows machine? How would
one do that? An aside, is this really platform independence when
versions are platform dependent?

Andy Doller

unwritten dissertation

_________________________________________________________________________

On Wed, 13 Mar 2002, Gerben Wierda wrote:

> Date: Wed, 13 Mar 2002 21:17:31 +0100
> From: Gerben Wierda <sherlock at rna.nl>
> Reply-To: TeX on Mac OS X Mailing List <MacOSX-TeX at email.esm.psu.edu>
> To: TeX on Mac OS X Mailing List <MacOSX-TeX at email.esm.psu.edu>
> Subject: Re: [OS X TeX] Eps Graphi
>
> 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
>
>
> -----------------------------------------------------------------
> 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: "Piet van Oostrum" <piet at cs.uu.nl>
Date: 14 Mar 2002 17:03:01 +0100

>>>>> Tore Haug-Warberg <haugwarb at chembio.ntnu.no> (TH) writes:

TH> Bruno and Michael:
TH> I am still confused (but much less so than 8 hours ago). PostScript fonts
TH> require two separate files, one outline file (.pfb) and one metrics file
TH> (.pfm), right?
No. pfm is a Microsoft invention. A Type 1 font should come with a .afm
file which contains metric information. Of course for TeX you need a .tfm
file, you don't need the .afm file except to make the .tfm file. For many
fonts the .tfm files can be found on CTAN, however.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl

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

Subject: Re: [OS X TeX] Different TeX platforms
Date: Thu, 14 Mar 2002 10:57:50 -0500

An e-mail was just posted to the pdftex mailing list noting that there
were up-dated binaries for Win32 and source for Linux either just made, or

If you're concerned 'bout staying up-to-date with pdftex on any platform,
you should subscribe to the pdftex mailing list.

William

--
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com

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

From: "Gerben Wierda" <sherlock at rna.nl>
Date: Thu, 14 Mar 2002 18:15:09 +0100

On Thursday, March 14, 2002, at 04:17 , Maarten Sneep wrote:

> Yes, but with one problem (I got bitten by it, so I know). nehyph2.tex
> was
> removed from the distribution recently and the hyphenation patterns
> couldn't be
> created because nehyph2.tex wasn't found. The newly created language.dat
> contained the correct reference, but my local copy (which wasn't
> touched by the
> installer) was outdated.
>
> How do you solve something like this in a local config? (apart from
> checking
> every time that you install that everything went as planned and if not:
> figuring out what to do...)

In my case, the next release will forcefully remove language.dat from
texmf.local, but it wil leave ~/Library/texmf alone.

In general: since language.dat and the cnf files like fmtutil.cnf
infliuence the availability of formats in texmf.local it is a very bad
idea to put language.dat and .cnf files in ~/Library/texmf. Formats and
stuff are system wide and their creation should not differ depending on
which user runs the configuration commands.

The place to put your modified stuff (and also the place where texconfig
puts it) is texmf.local. I never change anything in that subtree, unless
it is really necessary to keep stuff working (nehyph2.tex is a good
example).

~/Library/texmf is a good place for your personal stuff, but not for the
stuff that influences formats which are system-wide.

> I understand that Gerben is working on a solution (an easier to parse
> format
> for language.dat and presumably a user-interface upon installing, but I
> may get

A bit, yes. But there will be a nice solution and I hope this month. And
it will use texmf.local, and not be ~/Library/texmf-aware.

G

PS. Anybody willing to create a new app icon for me (it's the one
important thing for an app where I do not have the tools, nor the
talent)?

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

Subject: Re: [OS X TeX] Different TeX platforms
From: "Gerben Wierda" <sherlock at rna.nl>
Date: Thu, 14 Mar 2002 18:57:29 +0100

On Thursday, March 14, 2002, at 04:57 , William Adams wrote:

> If you're concerned 'bout staying up-to-date with pdftex on any
> platform, you should subscribe to the pdftex mailing list.

No, no, no. If you're concerned 'bout staying up-to-date with (pdf)TeX
you should change to Mac OS X ;-) ;-) ;-)

(Sorry, couldn't resist).

G

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

Subject: Re: [OS X TeX] Different TeX platforms
From: "Andy Doller" <andy at sabine.acs.psu.edu>
Date: Thu, 14 Mar 2002 19:02:20 -0500 (EST)

On Thu, 14 Mar 2002, Gerben Wierda wrote:

> > If you're concerned 'bout staying up-to-date with pdftex on any
> > platform, you should subscribe to the pdftex mailing list.
>
> No, no, no. If you're concerned 'bout staying up-to-date with (pdf)TeX
> you should change to Mac OS X ;-) ;-) ;-)

Upon reading as much as I could of the PDFtex archives, I have found
much much confusion about the pre-test releases of pdftex of (version
1.00a and 1.00b) since August 2001 across the various platforms.  I
would like to thank the folks that make the .dmg files of TeXShop and
TeTeX for keeping this confusion from the rest of us, continually
providing a great product especially since it is 'bleeding edge,' all
with the drag and drop simplicity of OSX.

Only my last question seem to apply here now.  With all of these
different versions of pdftex floating around, how can one claim device
independence, when code my code may or may not work on other default
installations. Also, it is alot of work to keep software at the
bleeding-edge level and you risk discovering bugs when you need a
publication out the door. I see that the success/ease of use/etc. of
pdftex on OSX could cause its own schism between itself in the rest of
the tex'ing community.  I am having a difficult time convincing others
(especially on windows machines) to switch to pdftex due its lack of
progress that is available to them by default? I just abandoned Texsis
because of the small community and waining support and from my
experience it is best to have a local community that all run the same
environment. Can someone convince me that I am not jumping from the
frying pan into the fire before I get to deep into writing my thesis?

Thanks,
Andy Doller

----------------------------------------------------------------------
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.
-----------------------------------------------------------------