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

Gary L. Gray gray at engr.psu.edu
Wed Jan 24 02:12:57 CET 2007

```On Jan 23, 2007, at 8:11 PM, Roussanka Loukanova wrote:

>> 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.
>
> Yes, it is very clear and attractive for using. can one put
> definitions like \newcommand{...}{...}?

Sure. You can put anything you would put in the preamble.

All the best,
Gary