You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
I suppose there's more than way to do this, and one could argue we can't give you a definitive "best" answer. By dynamic book, I am assuming you don't mean typesetting for a physical book, for which the answer to that question would likely be LaTeX. You mention creating a dynamic book, but what does that mean precisely? Are you envisioning something like an IPython notebook where you can dynamically execute Stata code and see the results? Or do you mean a book that is really just a collection of static webpages showing code fragments and outputs, so not really "dynamic" per se?
I do not have experience with books perse, but if you are using quarto, you could make "books" based on their formats.
And if you combine them with nbstata (unofficial Stata Kernel), you can make it dynamic in the sense of updating results and figures when rendering the whole document.
Im using that for my website, but have not tried much on papers, because it is not straight forward how to use scalars or values from Stata into Quarto environment. Tables and figures, however, would be easier to implement.
As an additional point, you can render it all into Latex, if that is also part of the requirements.
Thanks Jared, could you kindly share a template that includes the stata code block especially on generating graphs. I tried Statamarkdown which worked but could not generate graphs
Comment