I am authoring a LaTeX document with a co-author. The document is a single, monolithic one. We are working on two separate copies of the same document. Once one of us is done with his section, we are merging it together and updating out local copies. It has become a headache. Is there a better way to collaborate authoring LaTeX document?

  • Are you using a version control system such as git? – cmhughes Oct 10 '14 at 8:02
  • Online via sharelatex.com comes to mind, or use a version contaol system like subversion or git. – daleif Oct 10 '14 at 8:02
  • Well there are on-line services such as WriteLaTeX or ShareLaTeX that can be useful for this cases. You can use also a cvs such as Git for that (take a look to GitHub) or a service in the cloud like Dropbox, Copy, etc. That's what I use in cases like this. – Aradnix Oct 10 '14 at 8:03
  • If I use SVN, would it be fine while merging the documents considering that no two authors have changed the same line? – Holmes.Sherlock Oct 10 '14 at 8:04
  • SVN will let you know if there are any conflicts (for example if you've both edited the same line). See the Resolve Any Conflicts section of the svn book for further details. – Nicola Talbot Oct 10 '14 at 8:08

Browse other questions tagged or ask your own question.