<html>#2330: include date of build and git hash in documentation
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>pdftex actually does have a pipe option: <a data-is-external-link="true" href="https://tex.stackexchange.com/a/20566" rel="nofollow">https://tex.stackexchange.com/a/20566</a> which would significantly simplify things:</p>
<div class="codehilite language-tex"><pre><span></span><span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span>

<span class="k">\begingroup</span>
<span class="k">\catcode</span>`<span class="k">\%</span>=11 <span class="k">\input</span>|&quot;git log --format=<span class="c">%ad --date=format:%Y-%m-%d -n 1 HEAD&quot;</span>
<span class="k">\endgroup</span>

<span class="c">% foo bar</span>

<span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span>
</pre></div>


<p>but this syntax is also not known to htlatex (and also requires the <code>-enable-write18</code> command line option)</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2330/include-date-of-build-and-git-hash-in'>https://bitbucket.org/einsteintoolkit/tickets/issues/2330/include-date-of-build-and-git-hash-in</a></p>
</html>