# [OS X TeX] Where to put .sty .map .fd files?

Alain Schremmer schremmer.alain at gmail.com
Tue Sep 29 00:52:59 CEST 2015

On , at 2015 Sep 28,6:07 PM, BELLAICHE André wrote:

> Hi!
>
> Does there exits a mean to open all the files needed to typeset some source file from this very source file, if they are all in some directory. This source file uses special fonts, so as files needed, I mean not only the .sty files, but also all the .map, .fd, .pfb, .tfm files.
>
> I know I can put everything in texmf-local in the appropriate places and type some commands in the Terminal. Alternatively, I can put everything in the same directory as my source file.
>
> What I am looking for is something similar to \graphicspath.

Not sure what you are asking but you might want to look at the file architecture I am using:

<http://freemathtexts.org/AncillariesManagement/AncillariesManagementSystem.zip>

For instance, for a chapter, the control file would be:

\documentclass[11pt]{book}
%ssssssssssssssssssssssssssssssssBegin PREAMBLE
\usepackage{../StyleSheets/Preamble}
\usepackage{../StyleSheets/GraphicsPaths}
% sssssssssssssssssssssssssssssssss End PREAMBLE
\begin{document}
% sssssssssssss Begin ADJUSTMENTS to DOCUMENT

\addtocounter{page}{0}

\addtocounter{chapter}{\jobname-1}
% sssssssssssssss End ADJUSTMENTS to DOCUMENT

\include{../Text-contents/\jobname}
\end{document}

while the control file for a quiz would start with:

\documentclass[11pt]{book}
% Begin Preamble $$\usepackage{../StyleSheets/Preamble} \usepackage{../StyleSheets/AssessmentDocumentConstruction} \usepackage{../StyleSheets/QuizConstructionParameters} \usepackage{../StyleSheets/GraphicsPaths} % End Preamble$$\$
\begin{document}

Hope it helps
--schremmer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20150928/c95198aa/attachment.html>


More information about the macostex-archives mailing list