{git} is an extremely fast, efficient, distributed version control system ideal for the collaborative development of TeX documents

learn more… | top users | synonyms

2
votes
1answer
88 views

gitinfo (xstring): tag info does not work because of “tag:” before version number

I'm making the switch from subversion to git, and I'm quite happy with the gitinfo package. The only thing I cannot get to work is to show a version number from the tag. I have identified the ...
1
vote
1answer
37 views

How to manage bibliography files with a VCS while they're used by an external program?

I use Mendeley to organise citations. It exports a .bib file automatically to a folder on my Mac. I also have another .bib file that I use for other citations not stored in Mendeley (websites ...
1
vote
1answer
79 views

Should one Share their Latex Documents on GitHub [closed]

I am not sure if this question exactly fits here, but this is the best to my judgement. I understand GitHub is mainly for posting hobby (or commercial) programming projects . I was wondering, does it ...
11
votes
1answer
201 views

How do you perform version control on TeX-related files that are used in multiple projects?

I'm an avid TeX user for quite some time now. I use LaTeX for most of my lecture notes and my assignments. That's why I'm usually working on about half a dozen LaTeX projects at a time. Over the time ...
2
votes
2answers
106 views

Easy LaTeX Editor with SVN or GIT connection and auto-update

I've had problems with my current LaTeX editor( Texmaker). It hasn't got an autosave option and overwrites the file every time I save them manually . Is there an editor which has an auto update/save ...
0
votes
0answers
71 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 ...
3
votes
0answers
55 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
290 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 ...
1
vote
0answers
93 views

How do I combine the vc-bundle, Arara, and Sublime Text 2's build methods?

Note: This question is about getting Arara and the vc-bundle to work with a Sublime Text 2 build method. I write my papers with Sublime Text 2, and I use Git for version control. I use the vc-bundle ...
12
votes
1answer
286 views

Git History Graph in LaTeX

Is there a relatively simple way to produce the history graph of a git repository in LaTeX? I'm looking for something nicer-looking than the verbatim output of git log --graph --oneline.
1
vote
1answer
68 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: # ...
9
votes
1answer
258 views

Is there any advantage in keeping track of aux bbl blg files in a git repository

As question says, I am just interested to know the pros and cons of keeping track of auxiliary files of a LaTeX project in every commit of git repository.
9
votes
2answers
2k 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 ...
2
votes
0answers
171 views

LaTeX IDE with git [duplicate]

I currently use Texmaker when working with LaTeX. I often use Git as well with LaTeX. I was wondering if there is an IDE similar to Texmaker which supports Git. Thanks. P.S. I use Ubuntu.
16
votes
4answers
1k 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 ...
4
votes
1answer
414 views

How to tell LyX to put every sentence on its own line?

I'm planning to write my master thesis using LyX. In order to keep track of recent changes, I want to export the LyX source files to normal LaTeX source files and put these in a Git repository. In the ...
0
votes
0answers
71 views

Compare revisions of pdf [duplicate]

Possible Duplicate: How to track changes between PDFs? I use git to keep track of my LaTeX sourcefiles so I can compare and restore any state of my document. My supervisor has given me an ...
7
votes
1answer
117 views

Branching or duplication in source control?

I'm writing a thesis, using latex, and git. I'm using \include for chapters. I also want to turn it into a journal article. I also have to give 2 or 3 presentations, which are for slightly different ...
7
votes
1answer
364 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 ...
16
votes
2answers
630 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 ...
7
votes
1answer
267 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 ...
8
votes
2answers
309 views

Check if pdf is up to date for git pre-commit hook?

It'd be really nice to do a git commit -m "some stupid broken commit" and get back a refusal from git, because the latest version of the document hasn't been successfully compiled yet (ie. changes ...
6
votes
2answers
218 views

Import source code from URL

I have code snippets on my github account and I'd like to import the code from them directly into my LaTeX document via something like: \importtext{https://gist.github.com/xxxx} Is this possible? ...
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
116 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 ...
6
votes
2answers
345 views

Post-commit service hook for GitHub repository containing LaTeX?

This question is related to Compiling documents online. I store my LaTeX documents in a git repository on GitHub. Is there a web service which offers a post-commit hook for GitHub which automatically ...
8
votes
1answer
308 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 ...
9
votes
2answers
262 views

Is there a collaboration system on the web that I can use to write book together with others?

If this question is out of topic, I will remove as soon as possible. I have used neither Subversion nor GIT nor any collaboration system to write any document together with others. I am looking for ...
8
votes
1answer
173 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. ...
63
votes
6answers
7k 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 ...