Skip to content

Commit

Permalink
Add repository URL and version information
Browse files Browse the repository at this point in the history
(We've lied about the author date on this commit so as to leave the
date as the last substantive textual change to SAMv1.tex.)
  • Loading branch information
jmarshall committed Jul 26, 2013
1 parent c8504ef commit 321f786
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions SAMv1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
\usepackage{framed}
\usepackage{enumitem}
\usepackage{longtable}
\usepackage[pdfborder={0 0 0}]{hyperref}

\addtolength{\textwidth}{3.4cm}
\addtolength{\hoffset}{-1.7cm}
Expand All @@ -12,11 +13,20 @@

\makeindex

\title{The SAM Format Specification (v1.5-r49)}
\author{The SAM Format Specification Working Group}
\begin{document}

\input{SAMv1.ver}
\title{Sequence Alignment/Map Format Specification}
\author{The SAM/BAM Format Specification Working Group}
\date{\headdate}
\maketitle
\begin{quote}\small
The master version of this document can be found at
\url{https://github.com/samtools/sam-spec}.
This printing is version~\commitdesc\ from that repository,
last modified on the date shown above.
\end{quote}
\vspace*{1em}


\section{The SAM Format Specification}
Expand Down

3 comments on commit 321f786

@peterjc
Copy link
Contributor

@peterjc peterjc commented on 321f786 Apr 8, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to see the SAMv1.ver file, which I deduce must look something like this:

\newcommand{\headdate}{some time}
\newcommand{\commitdesc}{some commit}

Was this deliberately not checked into git?

@jmarshall
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a generated file: see the rule in the Makefile, which was added in c8504ef.

@peterjc
Copy link
Contributor

@peterjc peterjc commented on 321f786 Apr 8, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - I'd not noticed the Makefile, that makes sense now :)

Please sign in to comment.