9

To inlcude our self-written class we are currently using relative paths (\documentclass{../ourclass}), which triggers a warning (wrong class provided) and is rather ugly. The solution to this problem is discussed in these questions, for example:

But none of these questions discusses versioned multi-user/platform git repositories. The ideal situation would be that a new member or a member that got a new computer just checks out the repository and can build the documents as long as he has an up-to-date standard TeX distribution. So that the repository is fully self-containing and no tweaking of local PATH or texmf stuff is needed for each and every member/computer/operating system - all project-specific configuration should be defined within the git repository.

What are good approaches to such a situation? How to keep the user or per-computer configuration to a minimum and store all build configuration in a central repository?

Foo Bar
  • 13,247
  • Based on the answer given so far, I feel like some additional clarity requirements need to be added to the bounty qualification: – rpspringuel Dec 17 '16 at 19:09
  • documents to be built with the class are in the repository with the class, just in different folders. 2) Not all users are familiar with LaTeX and understand that it's okay to ignore some warnings. To them, warnings are bad and must be eliminated (and it's a bad program if you can't). 3) Some users are CLI-adverse so solutions should avoid it.
  • – rpspringuel Dec 17 '16 at 19:18