]> gitweb.michael.orlitzky.com - mjotex.git/blob - README
Ship a style file that makes it easy to include "everything."
[mjotex.git] / README
1 == What ==
2
3 My personal library of LaTeX functions, macros, operators, whatever.
4
5 == How ==
6
7 In the makefile of your project, you should list out the pieces of
8 mjotex that you use. For example,
9
10 MJOTEX = mjo-fonts mjo-theorems
11
12 The absolute paths to those libraries, on your system, can be found
13 using "kpsewhich" from the kpathsea suite:
14
15 MJOTEXPATHS = $(shell kpsewhich $(MJOTEX))
16
17 Now add those as dependencies of your document:
18
19 example.pdf: example.tex example.bbl ... $(MJOTEXPATHS)
20
21 If you're planning on publishing your document, then you probably also
22 want to create a "dist" target that will bundle all of your
23 nonstandard TeX libraries along with the code for your document.
24
25 A full makefile example is provided in the repository.
26
27 If you're not planning on publishing your document, then you can save
28 yourself some trouble and just \usepackage{mjotex}. That will ignore
29 any changes to the mjotex library, but hey, YOLO.