<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
It’s several years since I wrote that macro, so I can’t specifically remember why \ignorespaces is there,
<div class="">but I suspect that it was because when I first started using that scheme, sometimes the spellchecker in the editor</div>
<div class="">would insert a space before or after the colon (remember, the scheme was: a label reads, say \label{sec:intro}</div>
<div class="">and the call to that is \refer{thm}{intro} so a space inserted when typing the label would render the reference unknown).</div>
<div class=""><br class="">
</div>
<div class="">In any case, (1) I had no trouble using this in many projects, some involving hyperref, including a couple of books</div>
<div class="">(2) I did discover recently that the same pdf works fine if I view it either in Adobe Acrobat or in Preview, so long as I am feeding</div>
<div class="">the pdf to those viewers from outside TeXShop;  the problem seems to be solely when I have typeset the pdf in TeXShop and then</div>
<div class="">(still in TeXShop) go to the pdf and start to search.</div>
<div class=""><br class="">
</div>
<div class="">Personally, having discovered (2) above, I regard this particular issue resolved (for me).  </div>
<div class=""><br class="">
</div>
<div class="">My more serious problems are with not being able to </div>
<div class="">typeset source code I used to be able to typeset before switching from TeXLive 2017 to MacTex 2020—first, the error messages that I get which</div>
<div class="">seem to occur (judging by the console) before the compiler even gets to my source code;  they refer to lines in the pst files—and second, my subsequent</div>
<div class="">inability to re-compile the code even when I switch back to TeXLive 2017: now my pstricks code seems to cause problems which they didn’t before.</div>
<div class="">Granted, my extensive use of the pst-ode package is at the bottom of this particular problem, and I should find a different way of generating my </div>
<div class="">pictures (something which I may find the time to learn how to do once a COVID 19 vaccine is found and I am not scrambling to learn the technology for doing online teaching)—but to not even be able to go back to the old ways!!…ok, I’m showing my
 age :-)</div>
<div class="">In any case, I have simply had to put that project on the back burner for now.<br class="">
<div class="">
<div class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -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; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -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>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jun 27, 2020, at 10:33, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div class="BodyFragment"><font size="2" class=""><span style="font-size:11pt;" class="">
<div class="PlainText">> On Jun 23, 2020, at 8:50 AM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:<br class="">
> <br class="">
> Howdy,<br class="">
> <br class="">
> Hmmm... I just added a line to Section 1 before Sub-Section 1 and empty lines before and after the \newpage. I compiled using the xelatexmk engine (move it from ~/Library/TeXShop/Engines/Inactive/Latexmk up to ~/Library/TeXShop/Engines) and the problem disappeared.<br class="">
> <br class="">
> <TestofHyperref.tex><TestofHyperref.pdf><formatmacros.sty><refmacros.sty><br class="">
> <br class="">
> Good Luck,<br class="">
> <br class="">
> Herb Schulz<br class="">
> (herbs at wideopenwest dot com)<br class="">
> <br class="">
<br class="">
Howdy,<br class="">
<br class="">
Sigh... I thought it worked but it seems to sometimes work and sometimes not!<br class="">
<br class="">
I've had better luck if I comment out the \ignorespaces command in the definition of the \refer macro in refmacros.sty (why is it there?).<br class="">
<br class="">
</div>
</span></font></div>
<div class="BodyFragment"><font size="2" class=""><span style="font-size:11pt;" class="">
<div class="PlainText"><br class="">
<br class="">
Good Luck,<br class="">
<br class="">
Herb Schulz<br class="">
(herbs at wideopenwest dot com)<br class="">
<br class="">
</div>
</span></font></div>
<div class="BodyFragment"><font size="2" class=""><span style="font-size:11pt;" class="">
<div class="PlainText">----------- 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>
</span></font></div>
</div>
<span id="cid:55E50B90785F284BAC37D93F20B571BC@namprd05.prod.outlook.com"><TestofHyperref.tex></span><span id="cid:96E6489F220CF04CB19846BFBE190542@namprd05.prod.outlook.com"><refmacros.sty></span><span id="cid:100FBBCFBF396240A50F3A944F41FA50@namprd05.prod.outlook.com"><formatmacros.sty></span></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>