[OS X TeX] How use git with TeXShop projects?
Murray Eisenberg
murrayeisenberg at gmail.com
Mon Oct 19 18:34:05 EDT 2020
Have you used the vc package at all? I tried it on a document in TeXShop, inserting the lines
\immediate\write18{sh ./vc}
\input{vc}
at the top of the document. And I put the files vc and vc-git.awk in the document’s directory.
On running latex (with TeXShop’s Typeset menu item), I get error:
(./vc
./vc:1: You can't use `macro parameter character #' in vertical mode.
l.1 #
!/bin/sh
What am I doing wrong?
> On 19 Oct2020, at 2:12 PM, Robert Love <rblove_lists at comcast.net> wrote:
>
> I think you can discount RCS. Git & Mecurial are the distributed source control tools and Subversion is the older one.
>
> 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.
>
>> On Oct 7, 2020, at 4:54 PM, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>>
>> 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.
>>
>> Considerations:
>>
>> - Except for having downloaded many archives from github, I’ve never used a revision control system before
>>
>> - I’m agnostic with respect to the particular revison control system. I suppose Subversion and GIT are the chief contenders today. Or RCS?
>>
>> - I’m aware of http://www.tug.org/pracjourn/2007-3/scharrer/scharrer.pdf <http://www.tug.org/pracjourn/2007-3/scharrer/scharrer.pdf>, but that’s a bit old (and Windows oriented)
>>
>> - Are there any hooks in TeXShop for facilitating use of a revision control system directly within it?
>>
>> 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.
>>
>> ---
>> Murray Eisenberg murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
>> 503 King Farm Blvd #101 Home (240)-246-7240
>> Rockville, MD 20850-6667 Mobile (413)-427-5334
>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
>> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/ <https://sites.esm.psu.edu/~gray/tex/>
>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>> https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
> https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20201019/59914c99/attachment.htm>
More information about the MacOSX-TeX
mailing list