3 ms·
The title suggests you can write Python and get LaTeX, but it's "converting ordinary expressions into mathTeX". I was expecting something like this: def se
by lucb1e 9y ago
The title suggests you can write Python and get LaTeX, but it's "converting ordinary expressions into mathTeX". I was expecting something like this:
def section(name='Abstract'):
print('We present a novel new way...')
fig(path='my.png', width='90%')
Anyway, still a cool project! I might make use of this in the future. Just remarking that the title hints at something else -- at least to me.
- cyphar 9y agoI feel that (as much as I personally don't like them) IPython notebooks would solve this niche pretty well (though currently you still need a separate LaTeX document).
- thearn4 9y agoI do feel like there is a middle ground somewhere there between the "format all content to fit A4 paper" idiom of Word/TeX, and the more interactive markdown + simulation environment of Jupyter. The latter is really growing on me, but conferences really still want their paper articles and pdf/pptx slide decks.
- joshuamorton 9y agoI believe its possible to export ipynbs as markdown/tex.
- Rick_Sullivan 9y agoPyLaTeX does that: with doc.create(Section('A section')): doc.append('Some regular text and some ') doc.append(italic('italic text. ')) https://github.com/JelteF/PyLaTeX https://github.com/JelteF/PyLaTeX