<div dir="ltr"><div>Hi Mike,</div><div><br></div><div>If you wanted to integrate your numerical tools with your publication tools, the sane choice would be as you mentioned - have your CAS-powered notebook emit a LaTeX document as an export.</div><div><br></div><div>Sadly, that often turns out to be too "vanilla" for power users, so you may end up writing templates/customizations to the emitted LaTeX. I will go on a limb and state that the perfect system for the workflow you describe has not yet been created, though various interesting experiments are ongoing.</div><div><br></div><div>As one example, Google's "latexify" annotations for Python have been getting a positive reception recently:</div><div><a href="https://github.com/google/latexify_py">https://github.com/google/latexify_py</a></div><div><br></div><div>As to the article you used as an example, the TeX it was written in seems to already be friendly enough to do more than just PDF. Here's a sample:</div><div><br></div><div><a href="https://ar5iv.labs.arxiv.org/html/1810.11016">https://ar5iv.labs.arxiv.org/html/1810.11016</a></div><div><br></div><div>Greetings,</div><div>Deyan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 5, 2023 at 8:43 AM Mike Marchywka <<a href="mailto:marchywka@hotmail.com">marchywka@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I just ran into this, <br>
<br>
<a href="https://arxiv.org/pdf/1810.11016.pdf" rel="noreferrer" target="_blank">https://arxiv.org/pdf/1810.11016.pdf</a><br>
<br>
which seems to illustrate a lot of typical math.<br>
If you were authoring math oriented<br>
documents and wanted to integrate your analysis<br>
and publications, what would your source code<br>
be for equations like this? I would imagine<br>
you could do it in mathmatica or<br>
matlab and export latex but how does<br>
that integrate with high performance<br>
code that you may use for numerical <br>
solutions?<br>
<br>
Again, I'm not big on appearance and don't <br>
expect my latex code to be publication quality<br>
but just curious about maintaining consistency<br>
among pieces to avoid publication errors.<br>
And trying to figure out what software to work<br>
with :) My algebra has not gotten much better<br>
with age... <br>
<br>
"MikeMath" or my home brew mathmatica <br>
seems to be coming together- although<br>
an "on the fly" incremental math renderer<br>
may be better than latexmk. I'm trying to<br>
figure out what to do with some tensor<br>
and operator implementations as well as the<br>
bra/ket notations etc. <br>
<br>
Also finding bugs in "chromate" by TooBib<br>
and stand-alone file downloader that uses<br>
largely headless chrome. I should replace the<br>
nodejs wscat with a real websocket library<br>
and find a better way to serialize asynchronous<br>
events but as kluged as it is is seems to work<br>
pretty well for now. Hopefully as I encounter<br>
more websites I can learn more javascript<br>
for stuff to emulate. As this does not use<br>
puppeter, and talks directly to the chrome debug port,<br>
its interesting webtool lol. <br>
<br>
<br>
Thanks.<br>
<br>
<br>
-- <br>
<br>
mike marchywka<br>
306 charles cox<br>
canton GA 30115<br>
USA, Earth <br>
<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a><br>
404-788-1216<br>
ORCID: 0000-0001-9237-455X<br>
</blockquote></div>