{revision-control} is about using revision-control software together with (La)TeX documents.

learn more… | top users | synonyms (1)

3
votes
0answers
40 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 ...
1
vote
1answer
32 views

Insert (and ref) uncompressed PDF literals in Latex document?

I'm having a document whose source files are kept in git, and I'd like something similar to Print subversion repo number on each page ... I've already managed to pull the information I need and show ...
0
votes
0answers
60 views

Why doesn't Version Control option under File menu work in LyX v2.1.1?

LyX for Windows. Any separate package required? I get the following error : Some problem occured while running the command: ci -q -u -i -t-"init" "Thesis.lyx"
6
votes
1answer
105 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
107 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 ...
8
votes
3answers
361 views

How can I add version control info (to footers say?)

I'd like to keep track of revisions to a document and I use version control software for basically everything (SVN by the way, monotonically increasing revision numbers are their own reward). I want ...
8
votes
3answers
105 views

Maintaining two similar versions without duplication

I have a long paper which I currently keep in two versions: one version for submission to a journal and another version for publication as a working paper. The working paper version is slightly longer ...
2
votes
0answers
158 views

Texmaker + User Command + Launching graphical editor

I'm trying to customize Texmaker to my needs. I use git to version my documents, so I would like to set a user command to git-commit. An editor should then be invoked to receive my commit message. ...
1
vote
0answers
125 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
141 views

Different line endings in JabRef on Windows and Linux [closed]

I'm working on a bib file using JabRef on Windows and Linux. The bib file is synchronized via a version control program. Unfortunately, JabRef seems to save the bib file with Windows line endings (CR ...
4
votes
0answers
98 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 ...
2
votes
1answer
132 views

Using latexdiff to highlight changes: alternatives for soul?

I am using latexdiff to create a pdf that highlights changes between two .tex along with hg diff latex, so as to use with Mercurial. However, the problem is that the the strikethrough formatting ...
7
votes
1answer
445 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 ...
26
votes
2answers
833 views

Create a “List of Effective Pages”

I am considering learning Latex in order to more easily maintain a bunch of manuals for my company. One of the requirements is to have a "List of Effective Pages" towards the beginning of the ...
2
votes
1answer
115 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: # ...
4
votes
2answers
57 views

Individually importing a common set of equations into multiple unique documents

Suppose I have a large mathematical model with many equations and equation descriptions in many sections. This model, in various forms, is used in other documents. For example, one document may just ...
18
votes
2answers
1k views

On-line LaTeX editor with Git or CVS support

Before I sign up to one of on-line LaTeX editors (writeLaTeX, ShareLaTeX, LaTeXLab) I was wondering if any of those support a real version control (CVS, SVN, Git, Mercurial etc). I saw that ShareLaTeX ...
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 ...
9
votes
2answers
182 views

Put all package options into one command

The title might not be perfect, but what I want to achieve is: Inside my own package mypackage.sty, I would like to have a command, say \allpackageoptions, which should have stored the entire package ...
13
votes
2answers
204 views

“!Missing $ inserted.” when using svn $Id$ keyword substitution

I'd like to to surface subversion revision numbers for use in the contents of my document. svninfo and svn packages rely on svn keyword substitution to accomplish this, but I get this error when I ...
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 ...
2
votes
1answer
202 views

Time stamping my TeX documents

I use Texmaker as my LaTeX editor. I prefer to split my input into multiple files and I would like to have a way where on top/bottom of each (tex) file there is an automatic time stamp, saying when ...
0
votes
0answers
49 views

Tools for editing? Redlining? (TeXShop) [duplicate]

As an editor, instructor, and collaborator, I would like to be able to make changes in TeX documents that are tracked so that the other person sees what changes were made. Word has the capacity to ...
2
votes
0answers
194 views

Is there a version management package/solution for latex? (non SVN etc) [closed]

I'm looking for a nice versioning system for LaTeX. At home I use SVN and it's great, but some of my fellow students have a hard time just coping with LaTeX. Is there a version management package or ...
7
votes
1answer
447 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
810 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
335 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 ...
15
votes
2answers
506 views

How to format source to take advantage of VCS?

Building on What are good working practices for VCS with LaTeX documents?, are there best practices for formatting (La)TeX source files to take advantage of version-control systems? I keep my résumé ...
8
votes
1answer
2k views

latexdiff + svn not working with multiple files (flatten)

Short question Seems like --flatten doesn't work properly with latexdiff-vc. How can I get this working, without reverting to my elaborated workflow described below? Context I track the history of ...
4
votes
3answers
291 views

Revision Control - Footers and markings

I'm fairly new to TeX and I've been looking around for ways to mark revisions as in this document. Each page has a footer showing when it was last changed (either by the text changing or being moved) ...
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 ...
3
votes
0answers
184 views

Generate revision history with rcs-multi [closed]

Is it possible to generate a page that collates all the revisions logs in multiple tex files with rcs-multi? And while trying to understand the example file, the line \rcsid{$Id: example.tex,v 1.2 ...
7
votes
1answer
125 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
0answers
369 views

As a professional LaTeX community, how can we promote proper version control? [closed]

This is a tricky question and I'm not sure how to go about being a proponent of forward thinking/change in a system that is a little over 30 years old (to most middle aged/older scientists). How can ...
7
votes
2answers
203 views

How can I automate “regression testing” for LaTeX documents, when updating packages?

I recently asked a related question about how often one should update LaTeX packages. Supposing that I update a bunch of packages in one go, or regularly update with only a few packages changing, how ...
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 ...
2
votes
0answers
158 views

TortoiseHg with word diffs and LaTeX [closed]

I am having a hard time figuring out how to configure TortoiseHg to do colored word diffs for my TeX and LaTeX documents. I found the following two threads How to use Mercurial for version control ...
24
votes
2answers
1k views

What are good working practices for VCS with LaTeX documents?

I am interested in using a VCS to track changes as I write short LaTeX documents in my daily research. Essentially, I use LaTeX as a whiteboard for developing ideas, and then I have documents to ...
1
vote
1answer
220 views

Is Tex/LaTex appropriate for my situation

Is TeX a good idea for my current situation? I'm currently maintaining documentation for a piece of software, so I came up with my own .doc template with the official company header/footer. Since ...
3
votes
1answer
2k views

How to work with SVN version control in Lyx?

In Lyx versions 1.6.8 and higher there is a version control toolbar. I successfully got RCS working but I cannot find any information on how to use SVN. However, there always is an "use SVN" button ...
5
votes
2answers
337 views

Format the date from vc bundle as \today

I'm using the vc bundle to feed \date with the date from the latest git commit. Is there a way to format this date in the same format as the output from \today? I know of the different date formats in ...
8
votes
1answer
179 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. ...
56
votes
4answers
4k views

Which auxiliary LaTeX files should be ignored by Version Control Software?

I'm about to start version controlling my LaTeX documents with Git but I haven't used either very much. I would like to version only the files needed to compile the document but I use different OS's ...
7
votes
2answers
434 views

svn for multiple files

Can someone explain how to use svn-multi in order to typeset the current revision (i.e., not the current file version)? I had to split a document into several .tex files. One file is the main, and ...
18
votes
5answers
1k views

How to manage LaTeX files in a directory?

I use LaTeX to generate all of the documents for my courses and as a result I have a lot of small documents in a given directory, which can then be hard to navigate due to all of the files generated ...
2
votes
2answers
264 views

Count words difference between newest and old .tex file on SVN commit

I use latex for writing papers and I would like to bring more control over my progress - in other words - count lines and words. But I always forget to check how many words I have before I start ...
5
votes
1answer
417 views

svn-multi: committed PDF always has an offset in revision number?

I'm using the svn-multi package to keep track of different versions of my PhD thesis. One problem (I did not find anything about it in the manual or in the web, but maybe I overlooked it): I have ...
20
votes
4answers
1k views

texdiff for multi-file documents in subversion

I've been looking for a convenient way to highlight changes between subversion revisions of my Latex document in the generated PDF. I am working on a reasonably complex document that pulls together ...
8
votes
4answers
521 views

Subversion keyword string inside LaTeX document

I put a subversion keyword string inside my LaTeX document. It looks like: $LastChangedDate: 2011-01-16 18:09:33 +0100 (nie) $ and it gets replaced (simple textual substitution) every time I make a ...
5
votes
1answer
521 views

adding vc to restricted write18 list

I want to use the vc bundle to add version information to my files. I'd like to go the "write18" route, rather than the makefile route, for now at least. I believe to make it work, I need to allow the ...