{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
0answers
34 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 ...
3
votes
1answer
51 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 ...
1
vote
0answers
44 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} setup git: git init; git add .; git commit -m ...
6
votes
1answer
79 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
387 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
98 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
104 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
134 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
1answer
62 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
149 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 ...
12
votes
1answer
276 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
224 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
121 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
90 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
427 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
132 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 ...
25
votes
2answers
604 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
2
votes
1answer
110 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
1answer
434 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.
12
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 ...
2
votes
0answers
176 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.
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 ...
5
votes
1answer
493 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
75 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
131 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
441 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 ...
19
votes
2answers
781 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
326 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
359 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
252 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
124 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 ...
9
votes
3answers
450 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
315 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
271 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
178 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. ...
71
votes
6answers
9k 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 ...