[OS X TeX] \input and Texroot
Claus Gerhardt
claus.gerhardt at uni-heidelberg.de
Sat May 31 11:48:27 EDT 2014
I recommend to duplicate the original folder, highlight the folder and hit command-d, then rename the duplicated folder to your liking but leave its contents unchanged. Then you should have a working set up.
Claus
On May 31, 2014, at 13:37, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
> 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/
>
>
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20140531/fe5c0a59/attachment.html>
More information about the MacOSX-TeX
mailing list