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

Josep M. Font jmfont at inicia.es
Wed Jan 24 18:17:04 EST 2007

El 24/01/2007, a las 1:36, Gary L. Gray escribió:

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

This doesn't work for me. How should one typeset the file ? If I
typeset it in TeXShop, with LaTeX, I get a warning in the .log window
saying that \dump is only usable by INITEX. And no .fmt file is
produced. Both with pdflatex and with dvips...

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

It would be nice that it is so simple...

JMaF