<div dir="ltr">Sorry: "if", not "it!"</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 12, 2019 at 1:47 PM William Slough <<a href="mailto:wslough@gmail.com">wslough@gmail.com</a>> wrote:<br></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 dir="ltr">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><br></div><div>--Bill Slough</div></div><br><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" target="_blank">Zbigniew.Nitecki@tufts.edu</a>> wrote:<br></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">
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>
<div><span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);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_-8066199663219165897gmail-m_-2820008300411313060Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);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">
<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);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">
<div>
<div style="margin:0px;font-size:12px">
<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"><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
Zbigniew Nitecki</font></div>
<div style="margin:0px;font-size:12px">
<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">Department of Mathematics</font></div>
<div style="margin:0px;font-size:12px">
<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">Tufts University</font></div>
<div style="margin:0px;font-size:12px">
<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">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">
<br>
</div>
<div style="margin:0px;font-size:12px">
<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">telephones:</font></div>
<div style="margin:0px;font-size:12px">
<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">Office<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-converted-tab"> </span>(617)627-3843</font></div>
<div style="margin:0px;font-size:12px">
<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">Dept.<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-converted-tab"> </span>(617)627-3234</font></div>
<div style="margin:0px;font-size:12px">
<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">Dept. fax<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-converted-tab"> </span>(617)627-3966</font></div>
<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-style-span" style="font-size:12px"><a href="http://www.tufts.edu/~znitecki/" target="_blank">http://www.tufts.edu/~znitecki/</a></span></div>
</div>
</span><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
</div>
</span><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
</span><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
</div>
<div><br>
<blockquote type="cite">
<div>On Aug 12, 2019, at 13:18, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" target="_blank">murrayeisenberg@gmail.com</a>> wrote:</div>
<br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
<div>
<div style="word-wrap:break-word;line-break:after-white-space">
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><br>
</div>
<div>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>
<div><br>
<blockquote type="cite">
<div>On 12 Aug2019, at 12:56 PM, Nitecki, Zbigniew H. <<a href="mailto:Zbigniew.Nitecki@tufts.edu" target="_blank">Zbigniew.Nitecki@tufts.edu</a>> wrote:</div>
<br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
<div>
<div style="word-wrap:break-word;line-break:after-white-space">
This is a system (OS10.14.6) question, rather than a TeX question per se.
<div><br>
</div>
<div>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>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>
<div><span class="gmail-m_-8066199663219165897gmail-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_-8066199663219165897gmail-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">
<span class="gmail-m_-8066199663219165897gmail-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">
<div>
<div style="margin:0px;font-size:12px">
<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"><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
Zbigniew Nitecki</font></div>
<div style="margin:0px;font-size:12px">
<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">Department of Mathematics</font></div>
<div style="margin:0px;font-size:12px">
<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">Tufts University</font></div>
<div style="margin:0px;font-size:12px">
<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">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">
<br>
</div>
<div style="margin:0px;font-size:12px">
<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">telephones:</font></div>
<div style="margin:0px;font-size:12px">
<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">Office<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-converted-tab"> </span>(617)627-3843</font></div>
<div style="margin:0px;font-size:12px">
<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">Dept.<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-converted-tab"> </span>(617)627-3234</font></div>
<div style="margin:0px;font-size:12px">
<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">Dept. fax<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-converted-tab"> </span>(617)627-3966</font></div>
<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-style-span" style="font-size:12px"><a href="http://www.tufts.edu/~znitecki/" target="_blank">http://www.tufts.edu/~znitecki/</a></span></div>
</div>
</span><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
</div>
</span><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
</span><br class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-interchange-newline">
</div>
<br>
</div>
</div>
----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/tex/" target="_blank">
https://sites.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" target="_blank">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
</div>
</blockquote>
</div>
<br>
<div>---<br>
Murray Eisenberg<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-tab-span" style="white-space:pre-wrap"> </span><a href="mailto:murrayeisenberg@gmail.com" target="_blank">murrayeisenberg@gmail.com</a><br>
503 King Farm Blvd #101<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-tab-span" style="white-space:pre-wrap"> </span>
Home (240)-246-7240<br>
Rockville, MD 20850-6667<span class="gmail-m_-8066199663219165897gmail-m_-2820008300411313060Apple-tab-span" style="white-space:pre-wrap"> </span>
Mobile (413)-427-5334<br>
<br>
</div>
<br>
</div>
</div>
----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/tex/" target="_blank">
https://sites.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" target="_blank">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
</div>
</blockquote>
</div>
<br>
</div>
----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" rel="noreferrer" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/tex/" rel="noreferrer" target="_blank">https://sites.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" rel="noreferrer" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" rel="noreferrer" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
</blockquote></div>
</blockquote></div>