Skip to content

Commit 0b30e58

Browse files
committed
Embed version in LaTeX source
This avoids bug with some LaTeX compilers which have trouble using \input for files without extension. Resolves #15.
1 parent 24fdba3 commit 0b30e58

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

stat-cookbook.tex

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,15 @@
2929
\usepackage{url}
3030
\usepackage{xspace}
3131

32-
% Define document version.
33-
\newcommand{\version}{\input{VERSION}}
32+
% Document version, MAJOR.MINOR.PATCH. Please change with any modification
33+
% according to semantic versioning practices:
34+
% - The major version changes when adding a new section or topic, or making a
35+
% substantial content change.
36+
% - The minor version changes for non-trivial fixes, corrections, or
37+
% improvements.
38+
% - The patch version changes for trivial fixes, such as typos in text or
39+
% formulas.
40+
\newcommand{\version}{0.2}
3441

3542
% Probability and Statistics LaTeX shortcuts.
3643
\input{probstat}

0 commit comments

Comments
 (0)