[Mac OS X TeX] Switching to TeXShop

Gerben Wierda sherlock at rna.nl
Fri Oct 12 03:59:28 EDT 2001



<x-flowed>On Friday, October 12, 2001, at 12:27 , Hemant K. Bhargava wrote:

> Hi -
>
> I'm an Alpha-OzTeX user, have installed TeXShop/teTeX, and am 
> considering
> switching (or at least trying it out). I've begun trying it out, but 
> have
> some concerns, and I'd like to know if there are easy (easy enough)
> solutions.
>
> 1. Ease in customizing and extending installation.
>
> Mainly an issue with Packages: In my OzTeX installation, I've added 
> several
> packages (most frequently used ones being:
> 	color, harvard, hyperref, psfrag, seminar, shading, XYpic
>
> I keep all the package files in a separate area, and declare the path to
> OzTeX. (I want to keep them separate from the base installation; that 
> way
> moving to a new machine, or a new version of the program, is easy.) 
> What is
> the analog in TeXShop?

This is in the teTeX.dmg readme. But in short:
/usr/local/teTeX/share/texmf is teTeX's base package, though a bit has 
been updated by me for support for the latest pdfTeX
/usr/local/teTeX/share/texmf.macosx is the tree where I put the stuff I 
add/change
/usr/local/teTeX/share/texmf.local is the tree where you can put stuff 
that will be available for all users on your machine
~/Library/texmf is the tree where each user can have his or her own stuff

These are searched in the reverse order I have put them here.

Note: these trees are not searched entirely for all programs. For 
packages, sty etc, it is best to put them under a subdirectory called 
'tex', so in you case I would use 
/usr/local/teTeX/share/texmf.local/tex/ as the directory to put stuff in.

Note: if you put stuff in the first three, you have to run the texhash 
command after you have added the files.

Note: currently, ~/Library/texmf also gets texhashed, this will change 
in the future and then you can add stuff to you own ~/Library/texmf tree 
and have it available without running texhash.

Note: An up-to-date hyperref is already part of my teTeX distribution.

> (I think many of these packages are already in the teTeX base 
> installation,
> but then there will always be many more available outside. )
> 2. Maintaining user files and avoiding redundancy
>
> a. I have many file types that have "multiple use" e.g., my .bib files,
> .eps files, are used in multiple documents. So I store them in a 
> separate
> area (so I have only one instance of each), rather than adjacent to the
> associated .tex files.
>
> In OzTeX I know how to set paths and tell OzTeX to look for the 
> files ...
> is there a similar command for TeXshop/teTeX?

For each type, you can find out where teTeX looks for files with the 
'kpsewhich' command. For .eps files, I get:

[dumbledore:~] gerben% kpsewhich -show-path=.eps
.:/Users/gerben/Library/texmf/tex/generic//:!!/usr/local/teTeX/share/texmf.
local/tex/generic//:!!/usr/local/teTeX/share/texmf.os/tex/generic//:!!/usr/
local/teTeX/share/texmf/tex/generic//:/Users/gerben/Library/texmf/tex///:!!/usr/
local/teTeX/share/texmf.local/tex///:!!/usr/local/teTeX/share/texmf.os/tex/
//:!!/usr/local/teTeX/share/texmf/tex///

As you can see, ~/Library/texmf/tex/generic is a good place for your 
personal .eps files

[dumbledore:~] gerben% kpsewhich -show-path=.bib
.:/Users/gerben/Library/texmf/bibtex/bib//:!!/usr/local/teTeX/share/texmf.
local/bibtex/bib//:!!/usr/local/teTeX/share/texmf.os/bibtex/bib//:!!/usr/local/
teTeX/share/texmf/bibtex/bib//:/Users/gerben/Library/texmf/bibtex///:!!/usr/
local/teTeX/share/texmf.local/bibtex///:!!/usr/local/teTeX/share/texmf.os/
bibtex///:!!/usr/local/teTeX/share/texmf/bibtex///

And ~/Library/texmf/bibtex/bib is a good place for personal .bib files.

I *strongly* advise (and will not support due to the complexities) 
against changing teTeX paths. You can do that, but you will be on your 
own. teTeX has a very complex and rich path mechanism which works pretty 
good 'as is'.

>
> b. A similar thing occurs for many macro definition files, and I put 
> these
> in a separate area. Same question as (a)

~/Library/texmf/tex

>
> 3. Generating PDF with *automatic-link generation*
> I use the hyperref package, and the resulting PDF file has hyperlinks
> corresponding to all the internal LaTeX cross-references. I can add
> additional links via hyperef's commands.
>
> In TeXshop, I notice that my PDF file does not have hyperlinks.

I think incomplete Apple PDF support is to blame for this one. I noticed 
that links (url.sty) do work in Acrobat, but not in Apple Cocoa apps.

Gerben


-----------------------------------------------------------------
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.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------
</x-flowed>




More information about the MacOSX-TeX mailing list