Docear export to latex

Docear is a very nice concept that unfortunately is quite broken because of lack of support. Export to Latex supposes to be a killer feature but as of 2018 it really does not run out of the box. A workaround is described here. Basically, a best solution is to use Saxon rather than using the export function inside Docear.

  1. Simply copy mm2latexinput_c-et-d.xsl out from the resources/xslt folder
  2. Change <xsl:stylesheet xmlns:xsl=””
    version=”1.0″> in mm2latexinput_c-et-d.xsl from 1.0 to 2.0
  3. Install Saxon. For ubuntu, simply apt get install saxonb-xslt
  4. Convert using the following command
saxonb-xslt -ext:on -s:"" -xsl:"mm2latexinput_c-et-d.xsl" output-base="my_paper_out"

Btw, the output tex file does not have \documentclass and \begin{document}/\end{document}. Moreover, you probably will need to add back the lines for \bibliographystyle and \bibliography to show the reference as intended.

Leave a Reply

Your email address will not be published.