<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="">
I don’t know. I work from two computers, one at home and the other in my office, so for years I have used Dropbox to synchronize files that I might want to access on both. I had someone else set up things so that I had my macros in one place to use for both.
What puzzles me is the different behavior of this one file, when the setup has not (to my knowledge) changed. I don’t think I want to mess with it.<br 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 Aug 12, 2019, at 14:47, William Slough <<a href="mailto:wslough@gmail.com" class="">wslough@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Out of curiosity, it these .sty files, with the same folder organization, were to be stored directly on your computer and not Dropbox, would you get the same behavior?
<div class=""><br class="">
</div>
<div class="">--Bill Slough</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Aug 12, 2019 at 12:35 PM Nitecki, Zbigniew H. <<a href="mailto:Zbigniew.Nitecki@tufts.edu" class="">Zbigniew.Nitecki@tufts.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space" class="">Doesn’t work. I had already saved the file there, but I took it out of MyMacros, put it on my desktop, then copied the contents (control A control C) into a blank file in TeXShop, chose
sty in the save dialogue—changing the name to Math135HWMacros just to make sure my commands didn’t confuse it with the other, and put it in MyMacros. Still get the error “can’t find Math135HWMacros” (even though all the other .sty files in that folder do
get accessed when called from a .tex file in TeXShop. <br class="">
<div class=""><span class="gmail-m_-2820008300411313060Apple-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-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="gmail-m_-2820008300411313060Apple-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-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="word-wrap:break-word" class=""><span class="gmail-m_-2820008300411313060Apple-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-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="word-wrap:break-word" class="">
<div class="">
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class=""><br class="gmail-m_-2820008300411313060Apple-interchange-newline">
Zbigniew Nitecki</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Department of Mathematics</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Tufts University</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Medford, MA 02155</font></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Helvetica;min-height:14px;font-size:12px" class="">
<br class="">
</div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">telephones:</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Office<span class="gmail-m_-2820008300411313060Apple-converted-tab">
</span>(617)627-3843</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Dept.<span class="gmail-m_-2820008300411313060Apple-converted-tab">
</span>(617)627-3234</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Dept. fax<span class="gmail-m_-2820008300411313060Apple-converted-tab">
</span>(617)627-3966</font></div>
<span class="gmail-m_-2820008300411313060Apple-style-span" style="font-size:12px"><a href="http://www.tufts.edu/~znitecki/" target="_blank" class="">http://www.tufts.edu/~znitecki/</a></span></div>
</div>
</span><br class="gmail-m_-2820008300411313060Apple-interchange-newline">
</div>
</span><br class="gmail-m_-2820008300411313060Apple-interchange-newline">
</span><br class="gmail-m_-2820008300411313060Apple-interchange-newline">
</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Aug 12, 2019, at 13:18, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" target="_blank" class="">murrayeisenberg@gmail.com</a>> wrote:</div>
<br class="gmail-m_-2820008300411313060Apple-interchange-newline">
<div class="">
<div style="word-wrap:break-word;line-break:after-white-space" class="">When you first save the file in TeXShop, at the bottom of the Save dialog window, there’s a field “File Format”. Just select “sty" there instead of the default “TeX file”.
<div class=""><br class="">
</div>
<div class="">So of course now that you’ve already saved the file as something.sty.tex, open it, copy and past into a blank source window, then do the above.<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 12 Aug2019, at 12:56 PM, Nitecki, Zbigniew H. <<a href="mailto:Zbigniew.Nitecki@tufts.edu" target="_blank" class="">Zbigniew.Nitecki@tufts.edu</a>> wrote:</div>
<br class="gmail-m_-2820008300411313060Apple-interchange-newline">
<div class="">
<div style="word-wrap:break-word;line-break:after-white-space" class="">This is a system (OS10.14.6) question, rather than a TeX question per se.
<div class=""><br class="">
</div>
<div class="">I have been generating a set of TeXed homework assignments for a course (Math 135), trying to make it stand-alone so that others teaching the course could use my .tex files. I habitually use a lot of macros, and have several extensive files of
user-defined macros. So far, I have been copying individual </div>
<div class="">macro definitions into the .tex file for each assignment, but this has proliferated, and I have finally decided to create a dedicated macro file for this purpose (to include whenever I distribute the .tex files for these assignments), called 135HWMacros.sty.
I created this by copying the list of \newcommands from the latest assignment into a new file in TeXShop. When I tried to save it as 135HWMacros.sty, I was not allowed to (I was told to use 135HWMacros.sty.tex). Now, I have a folder in Dropbox called Macros,
with a subfolder called MyMacros, where I keep all of my older self-defined macro files.Things are configured so that when I compile a .tex file this folder (and subfolder) is searched first for macros. When I saved my new file there as 135HWMacros.sty.tex,
I would get an error saying “can’t find file 135HWMacros.sty. Of course—in fact, the icon for that file was different from those of the other style files there. So I renamed it 135HWMacros.sty (having saved it there earlier with the longer filename.) But
now I still get the same error message. What should I do (or have done) differently?<br class="">
<div class=""><span class="gmail-m_-2820008300411313060Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><span class="gmail-m_-2820008300411313060Apple-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-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="gmail-m_-2820008300411313060Apple-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-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word" class="">
<div class="">
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class=""><br class="gmail-m_-2820008300411313060Apple-interchange-newline">
Zbigniew Nitecki</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Department of Mathematics</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Tufts University</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Medford, MA 02155</font></div>
<div style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Helvetica;min-height:14px;font-size:12px" class="">
<br class="">
</div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">telephones:</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Office<span class="gmail-m_-2820008300411313060Apple-converted-tab">
</span>(617)627-3843</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Dept.<span class="gmail-m_-2820008300411313060Apple-converted-tab">
</span>(617)627-3234</font></div>
<div style="margin:0px;font-size:12px" class=""><font face="Helvetica" size="3" style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica" class="">Dept. fax<span class="gmail-m_-2820008300411313060Apple-converted-tab">
</span>(617)627-3966</font></div>
<span class="gmail-m_-2820008300411313060Apple-style-span" style="font-size:12px"><a href="http://www.tufts.edu/~znitecki/" target="_blank" class="">http://www.tufts.edu/~znitecki/</a></span></div>
</div>
</span><br class="gmail-m_-2820008300411313060Apple-interchange-newline">
</div>
</span><br class="gmail-m_-2820008300411313060Apple-interchange-newline">
</span><br class="gmail-m_-2820008300411313060Apple-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" target="_blank" class="">http://www.tex.ac.uk/faq</a><br class="">
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/tex/" target="_blank" class="">
https://sites.esm.psu.edu/~gray/tex/</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" target="_blank" class="">
http://dir.gmane.org/gmane.comp.tex.macosx</a><br class="">
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" target="_blank" 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/" target="_blank" class="">
http://mactex-wiki.tug.org/</a><br class="">
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" target="_blank" class="">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br class="">
</div>
</blockquote>
</div>
<br class="">
<div class="">---<br class="">
Murray Eisenberg<span class="gmail-m_-2820008300411313060Apple-tab-span" style="white-space:pre-wrap">
</span><a href="mailto:murrayeisenberg@gmail.com" target="_blank" class="">murrayeisenberg@gmail.com</a><br class="">
503 King Farm Blvd #101<span class="gmail-m_-2820008300411313060Apple-tab-span" style="white-space:pre-wrap">
</span>Home (240)-246-7240<br class="">
Rockville, MD 20850-6667<span class="gmail-m_-2820008300411313060Apple-tab-span" style="white-space:pre-wrap">
</span>Mobile (413)-427-5334<br class="">
<br class="">
</div>
<br class="">
</div>
</div>
----------- Please Consult the Following Before Posting -----------<br class="">
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank" class="">http://www.tex.ac.uk/faq</a><br class="">
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/tex/" target="_blank" class="">
https://sites.esm.psu.edu/~gray/tex/</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" target="_blank" class="">
http://dir.gmane.org/gmane.comp.tex.macosx</a><br class="">
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" target="_blank" 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/" target="_blank" class="">
http://mactex-wiki.tug.org/</a><br class="">
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" target="_blank" class="">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
----------- Please Consult the Following Before Posting -----------<br class="">
TeX FAQ: <a href="http://www.tex.ac.uk/faq" rel="noreferrer" target="_blank" class="">
http://www.tex.ac.uk/faq</a><br class="">
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/tex/" rel="noreferrer" target="_blank" class="">
https://sites.esm.psu.edu/~gray/tex/</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" rel="noreferrer" target="_blank" class="">
http://dir.gmane.org/gmane.comp.tex.macosx</a><br class="">
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" rel="noreferrer" target="_blank" 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/" rel="noreferrer" target="_blank" class="">
http://mactex-wiki.tug.org/</a><br class="">
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" rel="noreferrer" target="_blank" class="">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br class="">
</blockquote>
</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="">
</body>
</html>