You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conversion of mathematical model definition document to online environment
I made some research into this, here are my findings:
It is not possible to include directly latex source code into rst files (it is possible, but only in math mode), so that is off the table
I tried converting .tex files into .rst files through pandoc. The output is generally quite decent (see screenshot attached), but the main problems arise with references (both citations of the bibliography and in-text references to sections, tables, equations, etc…). Since references are quite important in such a document, it seems that this solution is not what we are looking for. Possible fixes (but in my opinion they would both require too much time):
Parsing the converted document and replacing labels/citations
Build a filter for pandoc through panflute, as suggested by this post, to do the same
Alternatively, I found a latex2html tool that allows to convert latex files directly to html pages. From what they claim, it sounds quite advanced, but I have to do some more research into it. I ran it but it is not working, I am checking if I have all the required packages installed. Another option is LaTeXML, as suggested by @transferorbit.
The text was updated successfully, but these errors were encountered:
Conversion of mathematical model definition document to online environment
I made some research into this, here are my findings:
The text was updated successfully, but these errors were encountered: