<html>#2747: Inclusion of sgrid importer in Einstein Toolkit
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Samuel Cupp</td></tr>
<tr><td style='text-align:right'> Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2023_11</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>EinsteinToolkit thorn</td></tr>
</table>
<p>Comment (by Roland Haas):</p>
<p>It's in the Cactus flesh repo, <code>repos/flesh/doc/latex/cactus.sty</code> . However, when writing Cactus documentation in the <code>doc</code> directory of a thorn, usually you can put in (well you should not have to put in anything assuming you start from either the template generated by <code>make newthorn</code> or copy and pasted an existing <code>documentation.tex</code> file [and you are doing that aren’t you?]):</p>
<div class="codehilite"><pre><span></span><span>\usepackage{../../../../doc/latex/cactus}</span>
</pre></div>
<p>The unusual case where this fails if when the directory structure does not match the expected one, usually b/c your repository structure is not <code>REPO_ROOT/Thorn/doc/documentation.tex</code> but eg instead <code>REPO_ROOT/CactusCode/Thorn/doc/documentation.tex</code> (eg done by RePrimAnd). Even in <em>that</em> case you should still put in the path shown above, even if this makes running:</p>
<div class="codehilite"><pre><span></span><span>cd repos/foo/docs</span>
<span>pdflatex documentation.tex</span>
</pre></div>
<p>fail. Reason being that in fact you are not expected to run pdflatex yourself, but instead run <code>make FOO-ThornDoc</code> which will need that path (and will fail otherwise and thus the web-documtentaion will fail and your thorn won’t be seen be anyone).</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2747/inclusion-of-sgrid-importer-in-einstein'>https://bitbucket.org/einsteintoolkit/tickets/issues/2747/inclusion-of-sgrid-importer-in-einstein</a></p>
</html>