<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Neighbors,</p>
    <p>I’ve got a project with a few books in a series, with some common
      files across all books. The directory structure looks something
      like this:</p>
    <p><tt>├─ series.cls<br>
        ├─ myfont12.clo<br>
        ├─ common-file.tex<br>
        ├┬ book1/<br>
        │├ book1.tex<br>
        │├ chapter-1.tex<br>
        │├ …<br>
        │└ chapter-n.tex<br>
        └┬ book2/<br>
         ├ …</tt></p>
    <p>I could use relative paths in `\documentclass` and `\input`
      commands, but the .clo file (used for custom fonts with Memoir)
      seems to need to be in the same directory as the main file. I also
      could move book-n.tex into the root directory and use `\subimport`
      from <a class="moz-txt-link-rfc2396E" href="https://ctan.org/pkg/import"><https://ctan.org/pkg/import></a>.</p>
    <p>But I’m hoping to keep the root directory cleaner and I was
      wondering whether there might just be an option in one of the `%
      !TEX` magic comments to add a directory to the TEXINPUTS
      environment variable.<br>
    </p>
    <p class="moz-signature">—Joel C. Salomon</p>
  </body>
</html>