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

learn more… | top users | synonyms

3
votes
1answer
156 views

Alternatives to git for sharing latex projects?

I am trying to set up a collaborative LaTeX project - something better than sending emails back and forth. Some sort of version control system: git or mercurial - seems popular, but it means learning ...
1
vote
0answers
43 views

Is it worth switching from Dropbox to a “real” versioning system? [duplicate]

I currently use Dropbox for storing my TeX projects, but have been tempted to switch to a "real" revision control system, like Mercurial or Git, lately. If it is worthwhile to switch, what would be ...
1
vote
0answers
40 views

What is the best way to handle pdf output in private git repositories? [closed]

We use private bitbucket repositories for writing papers in LuaLaTeX. While some of the co-authors use git quite extensively, others just check for the latest version of the paper. For them, it is ...
4
votes
2answers
163 views

LaTeX + Git: Bibliography

Let's say I have one and only one bibliography file on my computer, in which I write every piece of literature I read and that I import in every paper I write or on what my PhD thesis will be at the ...
5
votes
2answers
150 views

Is there a clean way to create offset branches in gitdags?

Julien Cretel created the elegant gitdags package for easily generating educational git graphs, which I'm currently using to create educational and reference materials for my team. When discussing ...
5
votes
1answer
342 views

Embed Github readme.md in Latex

During my thesis I have created multiple Git-Repositories which are documented using the readme.md which GitHub uses as repository explanation. Now I would like to include those documentations into ...
5
votes
1answer
134 views

Setup: Versions of a draft and git

I'm using git to store my project files including the tex files. Now I'm thinking about starting to write up a first draft. What's a good project structure for combining latex and the git technology? ...
6
votes
2answers
137 views

How can a Git tag be aligned with the formatted PDF using gitinfo2?

I think I do not understand the workflow of the gitinfo2 package correctly. The documentation says (shortend): Edit and format abc.tex until ready for release Commit the release version of abc.tex ...
3
votes
1answer
94 views

How to display Git console logs(==colored text) beautifully in LaTeX?

I basically want a similar output in a direct LaTeX format, like the picture below. The Background color is not important, but e.g. the different colors of the commit hashs, the commit message and the ...
0
votes
2answers
45 views

compiled pdf +git : Check and update generated pdf on a git repository

(SOLVED) Good morning, I browsed the web in order to search if there is a way to check and commit an updated version of .pdf file compiled through LaTeX. But I don't find any solution. This seems ...
0
votes
1answer
52 views

get git metadata (using gitinfo2) of input file directory rather than current directory

I have one git repository that I'm calling my book directory. Within that I have a tex file that calls a bunch of chapters or sections that are in their own git directories. My goal is to the get ...
2
votes
1answer
50 views

accessing bash to get git information in TeX macro

I'm not sure if this is possible, but my goal is to include some information about the current point of my LaTex file in its git source history in the PDF output of my file. What I want to be able ...
3
votes
1answer
56 views

Strategies for providing packages as version control repositories

I'm working on experimental packages (say my-package-1 and my-package-2). Their changes are tracked thanks to a version control system (git in fact), the corresponding repositories being as follows: ...
30
votes
3answers
872 views

LaTeX + GIT - mark differences since specific commit

I store LaTeX document in local GIT repository. Once I accomplish appropriate part of document I compile it to PDF and send it to my supervisor who is not familiar with LaTeX nor GIT. However, he ...
5
votes
1answer
1k views

Using TeXstudio and git to automatically commit using the current date

Following up on Easy LaTeX Editor with SVN or GIT connection and auto-update, I am trying to set up a way to automatically commit my latest changes with the current date and time (e.g. -m "autosave on ...
1
vote
0answers
53 views

Texlipse and git - two repositories [closed]

I'd like to use texlipse and git. I managed to create a project (/data/workspace/proj) and and a repository (/data/git/proj). Texlipse or git moved all files from workspace/git to git/proj which seems ...
7
votes
1answer
288 views

Reference manager and version control

Let us assume you are working on a document with a small group. Each member uses his/her favorite reference manager. You share the document and the bibtex file with a version control system (say git). ...
1
vote
1answer
96 views

How expensive is it to add pdfs in git? [closed]

I'm thinking to use git for my latex projects, and I'm wondering whether I should add the pdf output to the repositories, or leave it out. It would be sort of convenient to have it in there, but I'm ...
3
votes
2answers
2k views

Install Fira Sans Font using Texlive 2012

I would like to create slides using this theme for Beamer but am having trouble getting it to work. I just copied the .sty files into /home/gthomson/texmf/tex/latex/mtheme. However the theme ...
4
votes
0answers
119 views

View specific pdf version from git repository with linux application

Are there any Linux programs that can open specific versions of a pdf file under revision control with git. I have been using subversion for version control with my latex documents, but I am giving ...
4
votes
1answer
496 views

How do I share a style file which is used by multiple git repositories?

I am working with multiple LaTeX projects at any given point in time, each of which is stored in a separate git repository. I have also accumulated a set of commands and environments which I am ...
3
votes
1answer
384 views

diff against the working directory with git-latexdiff

I use git for my latex document and I want to diff against the working directory. MWE: \documentclass{article} \begin{document} a \end{document} add git-latexdiff to $PATH in .bashrc PATH=$PATH:~...
6
votes
1answer
132 views

LaTeX3's \GetIdInfo: how is its argument automatically populated?

The l3bootstrap's documentation says \GetIdInfo extracts all information from a SVN field. But I have no idea where this field comes from. So I'd like to know how \GetIdInfo does work and if it is ...
15
votes
1answer
548 views

How often do you commit when you use a version control system for your own LaTeX documents? Why? [closed]

I'd like learn about your practices and why you commit the way you do. Whether the practice is just "good" or "better" than another one is of course debatable but this topic could be really helpful ...
6
votes
1answer
228 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
186 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 ...
2
votes
1answer
221 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 ...
2
votes
2answers
147 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 mostly)....
1
vote
1answer
465 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 ...
13
votes
1answer
433 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 ...
7
votes
2answers
3k 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 ...
1
vote
0answers
301 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 ...
8
votes
1answer
262 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 ...
10
votes
1answer
748 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
0answers
225 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 ...
34
votes
3answers
2k views

How can I produce the history graph of a Git repository 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
3
votes
1answer
205 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: # ...
12
votes
2answers
1k 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.
29
votes
4answers
8k 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
193 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.
25
votes
4answers
3k 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 ...
5
votes
1answer
678 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
77 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
144 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 ...
9
votes
1answer
638 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 ...
22
votes
3answers
1k 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
703 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
532 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
349 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? I'...
12
votes
4answers
2k 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 GIT....