6
votes
1answer
71 views

Put the last date of the file versioned with Git

I have many TeX files for to get their PDFs versions and I put a date in each of them like as last updated data. \usepackage[yyyymmdd]{datetime} updated \today But this is tricky, because every ...
10
votes
1answer
88 views

`\input`ting contents of a file into a `hyperref`'s `pdfkeywords`

I use git to manage the development of my LaTeX documents, and I have a makefile I use to build a PDF from the LaTeX source. For the sake of provenance, I would like to embed the most recent git ...
1
vote
0answers
105 views

Where to put GitInfo hooks on Mac

Where and how does one put the post-checkout and post-commit hooks for using the gitinfo package with latex on a Mac? Example working directory:/Volumes/Boxcryptor Classic/Git/randomproject On ...
4
votes
0answers
80 views

How to include part of an external git hash as text inside a document?

This is my first time asking a question on a site like this. Please tell me if I should do something differently, thanks! I want to include a short version of the latest commit hash from git as a ...
6
votes
1answer
368 views

configure git to work with latex (i.e. use dots instead of lines as reference points)

Normally git is great, but if I use it for a written type of document (report/novel) and do a correction reading, it has to rewrite almost the entire document, because most paragraphs are likely to ...
2
votes
1answer
90 views

Can gitHeadInfo.gin be safely added to .gitignore (without interfering with gitinfo's proper functioning)?

Can gitHeadInfo.gin be safely added to .gitignore without interfering with gitinfo's proper functioning ? I'm asking this, cuz currently (using gitinfo) git's working directory is never clean: # ...
10
votes
2answers
3k views

TexStudio / TexMaker and Github

I was wondering if anyone has used Github as a version control system, when writing a large document via TexStudio or TexMaker? Rstudio for example has a plugin that allows R projects to be pushed ...
19
votes
4answers
2k views

git LaTeX and branches workflow

I'm getting more and more comfortable with git, and I'm learning how to use it with my LaTeX documents. However, I'm not at all a git wizard and thus I'm looking for further advices. One can find many ...
7
votes
1answer
397 views

Automatic branching for versions and git

I am writing my PhD thesis and as I am not the least chaotic guy I also add notes for future reference. Surely, this means it is not production grade, or how you would like to call it. There is a ...
17
votes
2answers
708 views

Inserting git commit date without hooks

Is there a way to insert the last git commit date into a document without having to add git hooks (like the gitinfo package does it)? I'm not 100% sure how LaTeX packages work, but if they can access ...
8
votes
1answer
296 views

Can you put git revision information in a multifile document?

I have my PhD thesis under revision control (git), with a master file (~/Thesis/thesis.tex) using the \include command to include the chapters (~/Thesis/tex/chapter1.tex, etc). Is there a way to ...
11
votes
4answers
1k views

Version Control with GIT for Tex / Latex Files in One repository or split to sep. repos

I am looking up at setting up version control for my latex documents. I was wondering people's typical setup for this. Do they set it up in there top folder or individual projects. I will be using ...
7
votes
1answer
121 views

Is it safe to place part of texmf-local under git?

Are there any problems with placing parts (or all) of texmf-local under Git source control? Git places a hidden directory in the folders it manages. Are there issues caused by doing this; would doing ...
8
votes
1answer
313 views

How to collaborate on a TeX project using VCS with a collaborator who is not using VCS?

Pretty self-explanatory; I'm thinking of @AndrewStacey's answer, in particular the part about working with collaborators who do not use VCS. I'm hoping for a more detailed explanation / step-by-step ...
8
votes
1answer
176 views

Managing TDS Trees for Multiple Manuals In GIT Source Controlled Environment

We use LaTeX for our all of our documentation, which includes multiple product lines with multiple manuals. These manuals are built right along with our installers using our automated build server. ...
70
votes
6answers
8k views

Using latexdiff with git

I'd like to be able to use latexdiff with git. At the moment I have an alias in my .gitconfig file for a word-based diff: [alias] wdiff = diff --color-words but is it possible to make an alias ...