<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="">Have you used the vc package at all? I tried it on a document in TeXShop, inserting the lines <div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">      </span>\immediate\write18{sh ./vc}<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span class="Apple-tab-span" style="white-space: pre;">       </span>\input{vc}</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">at the top of the document. And I put the files vc and vc-git.awk in the document’s directory.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">On running latex (with TeXShop’s Typeset menu item), I get error:</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">(./vc</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">./vc:1: You can't use `macro parameter character #' in vertical mode.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">l.1 #</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">     !/bin/sh</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">What am I doing wrong?</div></div><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Oct2020, at 2:12 PM, Robert Love <<a href="mailto:rblove_lists@comcast.net" class="">rblove_lists@comcast.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I think you can discount RCS.   Git & Mecurial are the distributed source control tools and Subversion is the older one.<div class=""><br class=""></div><div class="">There is a LaTeX package vc to help with marking the version number in the document.   I need to figure out how modify my latexmk to use it.<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 7, 2020, at 4:54 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’d like direct advice and pointers to documentation on using a revision control system with both a local repository and a repository in the cloud for projects done in TeXShop.<div class=""><br class=""></div><div class="">Considerations:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>- Except for having downloaded many archives from github, I’ve never used a revision control system before</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>- I’m agnostic with respect to the particular revison control system. I suppose Subversion and GIT are the chief contenders today.  Or RCS?<br class=""><div class=""><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>- I’m aware of <a href="http://www.tug.org/pracjourn/2007-3/scharrer/scharrer.pdf" class="">http://www.tug.org/pracjourn/2007-3/scharrer/scharrer.pdf</a>, but that’s a bit old (and Windows oriented)</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>- Are there any hooks in TeXShop for facilitating use of a revision control system directly within it?</div><div class=""><br class=""></div><div class="">Although I’m engaged in a single-author project, my understanding is that using a revision control system would be a lot safer than my current, “manual” system of (i) having the Mac utility app Forever Save 2 automatically save each TeX file each time it’s saved within TeXShop; (ii) daily backing up the current files in the project into a .tar via a little shell script; and (ii) of course the usual local backup to TimeMachine and remote backup to a cloud-based system such as AWS S3/Glacier.</div><div class=""><br class=""><div class="">---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                  </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>

<br class=""></div></div></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>----------- 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 class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>
<br class=""></div></body></html>