[OS X TeX] repetition in compiling: ignore

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Mon Aug 2 15:32:37 EDT 2021


I found a typo which seems to have caused the problem.  In the \section command for the section where these subsections occurred, I closed the name of the section
with either | or !—either way, when I changed it to } as it should be, things (so far) are compiling properly.

On Aug 2, 2021, at 15:24, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu<mailto:Zbigniew.Nitecki at tufts.edu>> wrote:

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/




----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
               https://email.esm.psu.edu/pipermail/macosx-tex/
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/20210802/469d63dd/attachment.htm>


More information about the MacOSX-TeX mailing list