[OS X TeX] TL-2007 missing .sty files

Gary L. Gray gray at engr.psu.edu
Tue Jan 23 19:36:18 EST 2007


On Jan 23, 2007, at 2:31 AM, Axel E. Retif wrote:

> On Jan 23, 2007, at 00:26, Gary L. Gray wrote:
>
>>
>> On Jan 23, 2007, at 12:22 AM, Axel E. Retif wrote:
>>
>>>> ~/Library/texmf/bibtex
>>>>                 doc
>>>>                 dvips
>>>>                 fonts
>>>>                 tex
>>>
>>> and within the tex directory a subdirectory `` latex '', where  
>>> you can put your manually installed *.sty files.
>>>
>>>>                 web2c
>>>
>>> You have the ---at least by me--- dreaded web2c directory! May I  
>>> ask you what do you have in there?
>>
>>
>> A format I use for a large manuscript.
>
> That explains it. I'm far from been able to create a format file  
> myself.

I bet you can do it. :-)

Just create a .tex file that you want to contain much of your  
preamble. For example:

\documentclass[11pt]{article}
\usepackage{...}
\input{...}
\dump

would create a format using article with as many packages and  
inputted files as you can list. The \dump command "dumps" the format  
to the current directory when the .tex file is typeset. If the .tex  
file was named books.tex, then the format file will be books.fmt.  
Move that .fmt file to the web2c directory mentioned above and then  
you can typeset a document with this format (with TeXShop) by putting:

%!TEX TS-program = books

at the top of the file you are typesetting.

I hope this helps.

All the best,
   Gary


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list