{"id":180,"date":"2018-03-28T12:48:15","date_gmt":"2018-03-28T10:48:15","guid":{"rendered":"https:\/\/www.benscoat.eu\/?p=180"},"modified":"2020-11-27T12:48:46","modified_gmt":"2020-11-27T11:48:46","slug":"latex-then-pandoc","status":"publish","type":"post","link":"https:\/\/www.benscoat.eu\/index.php\/2018\/03\/28\/latex-then-pandoc\/","title":{"rendered":"LaTeX, then pandoc"},"content":{"rendered":"\n<p>I write manuscripts with LaTeX. Yes, it might old-fashioned, compared to Markdown\u2014which I also use\u2014but it fits my needs. I appreciate its handling of references (I mean, from the literature), and of the cross-references. Figure 1 always means figure 1! Unfortunately, I am a bit of an outlier in my discipline, biology, to keep it general. All my colleagues I&#8217;m supposed to write manuscripts with rely and the good old Word.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Recently, a friend told me about <a href=\"https:\/\/pandoc.org\">pandoc<\/a>. The website presents pandoc as a &#8220;universal document converter&#8221;. And it is! I tried it at first on a simple LaTeX document, with a bit of text, one figure, one table, one reference, and one cross-reference. It did a perfect job. I was not worried and I kept writing my manuscript. I should have actually checked regularly if pandoc was still able to digest my manuscript, as it was getting bigger and bigger, and more complex. I realised that after adding the final point, and then I got worried&#8230;<\/p>\n\n\n\n<p>I ran pandoc again, with the exact same settings that worked three weeks earlier on the very simple document, and I was waiting for the fatal crash&#8230; But no. Everything went fine. I felt a mixture of surprise, shock and joy.<\/p>\n\n\n\n<p>So if you need to convert document from one format to another, check if pandoc can do it. And thank you pandoc!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I write manuscripts with LaTeX. Yes, it might old-fashioned, compared to Markdown\u2014which I also use\u2014but it fits my needs. I appreciate its handling of references (I mean, from the literature), and of the cross-references. Figure 1 always means figure 1! Unfortunately, I am a bit of an outlier in my discipline, biology, to keep itContinue reading &rarr;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/posts\/180"}],"collection":[{"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":1,"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":181,"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions\/181"}],"wp:attachment":[{"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benscoat.eu\/index.php\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}