![]() ![]() ![]() Here’s the first one: pandoc-chem-struct. In the next few posts, I’ll outline a few examples of short little filters I’ve recently put together to smooth the path for writing chemistry in pandoc. In pandoc, a lot of similar functionality can be added through short filters that are applied when the files are processed. I like to use LaTeX for Supporting Info files and these sorts of packages are very useful. In LaTeX, these are taken care of with different packages, like mhchem. There are, I’ve realized, some real idiosyncrasies to our writing (for example, our insistence on having at least two and sometimes three different categories of figures that are numbered separately). However, there are many other filters available, and they are fairly easy to write if you’re passingly familiar with any one of a number of different programming languages (although Haskell-pandoc’s native language-and Python appear to be most common).Īs a chemist, this sort of extensibility is both tremendously useful and sometimes very necessary. The best example of this is pandoc-citeproc, which is how references are processed in the native pandoc syntax. One of the great things about pandoc is that it is very extensible through the use of filters. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |