Harald, you might be interested in this example: https://arxiv.org/src/1306.6818v3/anc/X13.pdf
John Cremona On 19 March 2018 at 10:59, Emmanuel Charpentier < emanuel.charpent...@gmail.com> wrote: > > > Le dimanche 18 mars 2018 19:28:02 UTC+1, Harald Helfgott a écrit : >> >> it is possible to >> >> (a) display Sagetex code within TeX in a relatively "clean" fashion (one >> that can be sent to referees, say, rather than just to one's friends), >> > > That's what sageblock is supposed to do... > > If you want to refine the presentation of your code, you might use an > external file (possibly generated froM the \LaTeX code itself, see my > answer to my own ask.sagemath.org question > <https://ask.sagemath.org/question/36422/sagetex-how-to-capture-sageblock-output-for-future-use/>), > then using \lstinputlisting or \minted to your heart's content... > > (b) make variable names appear as footnotes to their values, when >> displayed via \sage (as opposed to \sageblock)? Again, the purpose would be >> debugging/refereeing. >> > > ??? Could you give us an example of what you want to do ? I have trouble > visualizing it... > > -- > Emmanuel Charpentier > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.