<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF">
<div>Hello Zibby,<br>
<br>
</div>
<div><br>
On 03/08/2021, at 5:33, "Nitecki, Zbigniew H." <<a href="mailto:Zbigniew.Nitecki@tufts.edu">Zbigniew.Nitecki@tufts.edu</a>> wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>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
<div class="">with either | or !—either way, when I changed it to } as it should be, things (so far) are compiling properly.<br class="">
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Yes. The argument of \section is used multiply, for a bookmark and running headers, as well as the title itself.</div>
<div>It's remarkable that the processing did not go wrong causing an explicit error somewhere else.</div>
<div><br>
</div>
<div>Hope this helps.</div>
<div><br>
</div>
<div><br>
</div>
<div> Ross</div>
<div><br>
</div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Aug 2, 2021, at 15:24, Nitecki, Zbigniew H. <<a href="mailto:Zbigniew.Nitecki@tufts.edu" class="">Zbigniew.Nitecki@tufts.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I am experiencing a strange phenomenon which I am not sure I can replicate in a minimal example. Has anyone else experienced this?
<div class=""><br class="">
<div class="">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.</div>
<div class="">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.</div>
<div class="">The intial subsection showed up <i class="">twice</i>—in the proper place, and followed by (one copy of) the subsequent subsection.</div>
<div class="">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</div>
<div class="">loop that repeats the subsection. As desired, neither subsection appeared.</div>
<div class="">So then I uncommented the two subsections, and compiled. Again, I got two copies of (only) the initial section.</div>
<div class="">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 </div>
<div class="">appeared. This time the initial subsection showed up <i class="">three times</i><span style="font-style: normal;" class=""> (again followed by the succeeding section, in a single copy).</span></div>
<div class=""><span style="font-style: normal;" class="">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.</span></div>
<div class=""><span style="font-style: normal;" class="">Now </span><i class="">that also</i><span style="font-style: normal;" class=""> compiles with three copies of the offending </span>subsection.</div>
<div class=""><br class="">
</div>
<div class="">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 </div>
<div class="">“do loop” that the compiler is getting from my source file.</div>
<div class=""><br class="">
</div>
<div class="">I experienced a similar issue several years ago with another book project, but did my workaround without pursuing an investigation of why it happened.</div>
<br class="">
<br class="">
<div class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class="">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class=""><br class="Apple-interchange-newline">
Zbigniew Nitecki</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">Department of Mathematics</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">Tufts University</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">Medford, MA 02155</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; font-size: 12px; " class="">
<br class="">
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">telephones:</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">Office<span class="Apple-converted-tab"> </span>(617)627-3843</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">Dept.<span class="Apple-converted-tab"> </span>(617)627-3234</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; " class="">
<font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">Dept. fax<span class="Apple-converted-tab"> </span>(617)627-3966</font></div>
<span class="Apple-style-span" style="font-size: 12px; "><a href="http://www.tufts.edu/~znitecki/" class="">http://www.tufts.edu/~znitecki/</a></span></div>
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</div>
----------- Please Consult the Following Before Posting -----------<br class="">
TeX FAQ: <a href="http://www.tex.ac.uk/faq" class="">
http://www.tex.ac.uk/faq</a><br class="">
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/TeX/" class="">
https://sites.esm.psu.edu/~gray/TeX/</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" class="">
http://dir.gmane.org/gmane.comp.tex.macosx</a><br class="">
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" class="">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br class="">
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" class="">
http://mactex-wiki.tug.org/</a><br class="">
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" class="">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>----------- Please Consult the Following Before Posting -----------</span><br>
<span>TeX FAQ: <a href="http://www.tex.ac.uk/faq">
https://protect-au.mimecast.com/s/fVwpCBNqgBC1pED7i6u2Ku?domain=tex.ac.uk</a></span><br>
<span>List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/TeX/">
https://protect-au.mimecast.com/s/cArBCD1vRkC1Ngo5iARwLa?domain=sites.esm.psu.edu/</a></span><br>
<span>List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx">
https://protect-au.mimecast.com/s/VaK_CE8wlRCmVRl3fP0USy?domain=dir.gmane.org</a></span><br>
<span> <a href="https://email.esm.psu.edu/pipermail/macosx-tex/">https://email.esm.psu.edu/pipermail/macosx-tex/</a></span><br>
<span>TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/">
https://protect-au.mimecast.com/s/82cpCJyBZ6tR30BquOr9zG?domain=mactex-wiki.tug.org/</a></span><br>
<span>List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex">
https://protect-au.mimecast.com/s/AM6TCK1DOrClz3D2uo2ZIv?domain=email.esm.psu.edu</a></span><br>
</div>
</blockquote>
</body>
</html>