I've recently created a new document class that implements all the stylistic standards and requirements for documentation at my company. Now I'm trying to find the best way that this style file and required images can be used by others in the company. (and the company alone)
I want a solution where the company_style.cls is:
- version controlled in it's own repository
- easily available for others to use in their documents
- easy for existing documents to update to newer versions of company_style.cls
- is not in a sub repository.
The current solution that I have is as followes:
- the company_style.cls and required images are in a mercurial repository.
- our CI server stores versions of the style
- users can download and extract the style artifact from the CI server next to the root .tex file so that they can specify
\documentclass[numbered]{style/company_style} - compile and enjoy
Other notes:
- The "required images" are things like company logo, and footer images. I don't want to make people download these separately.
tlmgr init-usertree --usertree <path/to/shared/folder>. The network folder can be a version controlled repository. This way everyone would use the same version of the files at any given time, and if one needs a specific version, one could clone a specific commit into the projects folder. – Skillmon Apr 05 '19 at 09:58