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

learn more… | top users | synonyms (1)

1
vote
0answers
30 views

How to give versions name in the filename [duplicate]

I am using TexStudio to write in latex. Each time when I compile the document I want to have a version number with the pdf document that is generated. Something like filename_v0.1.pdf and filename_v0....
2
votes
0answers
23 views

Semantic linefeeds and problem with space before footnote mark [duplicate]

I have started to use semantic linefeeds for the purposes of version control, as suggested by e.g. Brandon Rhodes, which I found through the answer: How to format source to take advantage of VCS? It ...
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
1answer
102 views

How to produce a pdf with modifications visible with Overleaf?

I know (and appreciate) how to compare two version of the same document by using "versions" and "compare" in Overleaf. But I would like to produce a PDF showing these modifications and their authors,...
3
votes
2answers
215 views

Include Build Number inside PDF

I need to automatically include a build number in PDF which increases automatically when it is complied again. E.g. Version 1.0.1 for the first build. Then after the second build, it should be 1....
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: ...
3
votes
2answers
101 views

Tex macro needed to display mercurial keywords

I have mercurial keywords in a latex doc which I wish to process. \documentclass[12pt]{article} % This macro is an example based on the UK Tex FAQ: % http://www.tex.ac.uk/cgi-bin/texfaq2html?label=...
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 ...
2
votes
1answer
116 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 ...
6
votes
1answer
227 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 ...
8
votes
3answers
589 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 ...
9
votes
3answers
173 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
367 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
297 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
209 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 ...
8
votes
1answer
259 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
283 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 (...
10
votes
1answer
742 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 ...
27
votes
2answers
1k 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 ...
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: # ...
4
votes
2answers
64 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 ...
24
votes
3answers
3k 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 ...
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 ...
9
votes
2answers
273 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
268 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 ...
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 ...
2
votes
1answer
255 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
52 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
230 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 ...
8
votes
1answer
635 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
701 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 ...
17
votes
2answers
632 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é ...
13
votes
2answers
4k 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 ...
5
votes
3answers
375 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) ...
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....
3
votes
0answers
191 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
150 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
421 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
240 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
340 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 ...
3
votes
0answers
185 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 ...
28
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
239 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
358 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
191 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
4answers
6k 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
603 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 ...