[OS X TeX] \input and Texroot

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Sat May 31 13:37:54 CEST 2014


I am experiencing a problem for which I don't know how to provide a minimal example, and have no idea even where to look for a cause.
I have been working on a book for some time, in which the individual sections are in separate files, named <section>.tex, and the accompanying exercises in files named <section>.ex.tex.  The master file, CalcThree.tex, calls them via \input{<section>}
(resp. \input{<section>.ex}).  Each of the individual files starts with
%!TEX root =  CalcThree.tex

All of these are in a single folder.
I had a fully functioning version of this book, but need to do a major rewrite/revision.  So I created a new folder, and am one-by-one duplicating the section files, moving it to the new folder, renaming the file <section>.tex copy (reps. <section>.ex.tex) as  <section>14.tex (resp. <section>14.ex.tex), changing the root to
%!TEX root =  CalcThree14.tex
changing my \input calls, and doing my revisions there.

All was going fine until I got to the exercises for the fourth section, originally in file dot.ex.tex.  I have the following weird situation: if I hit the "Typeset" tab from file dot14.ex.tex, the compiler works away on compiling the book until it gets to \input{dot14.ex} where it stops and gives me the error message: can't find file dot14.ex.  Same if I typeset from CalcThree14.tex.

What can possibly be going on, or more to the point, how can I work around this?  I've tried various versions of explicitly adding the .tex to calls, renaming the file, etc., all to no avail.


Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20140531/c7801043/attachment.html>


More information about the macostex-archives mailing list