[OS X TeX] repetition in compiling

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Mon Aug 2 15:24:14 EDT 2021


I am experiencing a strange phenomenon which I am not sure I can replicate in a minimal example.  Has anyone else experienced this?

I am working on a book-length project using the memoir documentclass and using a master file with \input statements for different sections, which are in separate files.
Today, I had written a brief \subsection, compiled the whole book with that, decided to change it, made changes and wrote a subsequent subsection, and compiled again.
The intial subsection showed up twice—in the proper place, and followed by (one copy of) the subsequent subsection.
I commented out all that material in the source file (there is only one copy of either subsection there) and compiled twice, hoping to shut off whatever was leading to the
loop that repeats the subsection.  As desired, neither subsection appeared.
So then I uncommented the two subsections, and compiled.  Again, I got two copies of (only) the initial section.
Then I copied the previously uncommented material into a new file, modified my master file to input the new file in place of the (whole chapter) file where this material had
appeared.  This time the initial subsection showed up three times (again followed by the succeeding section, in a single copy).
Then I went back to my original setup (ie, took out the \input for the test file, but replaced the \input for the whole chapter.
Now that also compiles with three copies of the offending subsection.

Needless to say, I will erase the two subsections and retype everything from scratch, but I am curious about what could possibly be causing what is clearly some kind of
“do loop” that the compiler is getting from my source file.

I experienced a similar issue several years ago with another book project, but did my workaround without pursuing an investigation of why it happened.



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: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20210802/56d3a907/attachment.htm>


More information about the MacOSX-TeX mailing list