|||

Custom build system for compiling rmarkdown files in plantuml in sublime-text 3

Here is my custom build system for compiling markdown files including plantuml chunks in sublime-text 3 on Linux.

{ 
    "cmd": ["/home/steve/.cabal/bin/pandoc","--filter","/home/steve/.cabal/bin/pandoc-plantuml-filter","--filter","/home/steve/.cabal/bin/pandoc-citeproc", "-s","--toc","--bibliography=/home/steve/bibtexOK.bib","--template=/home/steve/template.tex","-o", "$file_base_name.pdf", "$file"],
    "selector": "text.pdf.markdown"
}

Obviously you will have to replace the /home/steve parts with your own path which has to include your pandoc installation path, otherwise pandoc will fail when you call it from Sublime Text. Took me a while to figure that out.

This assumes you have a cabal installation of a plantuml filter.

Plantuml makes it really easy to do nice graphics like this:

Alt textAlt text

Up next Custom build system for compiling rmarkdown files in sublime-text 3 Here is my custom build system for compiling rmarkdown files in sublime-text 3 on Linux. Obviously you will have to replace the /home/steve parts nvpy on Android Wherever possible, I use plain text files for everything - note-taking, coding, writing, etc. My operating system of choice is ubuntu, so I use the
Latest posts Making notes on PDFs without computer or paper Publications causal-map Causal Map intro Causal Mapping - an earlier guide The walk to school in Sarajevo Glitches Draft blog post for AEA365 Theory Maker! Inventory & analysis of small conservation grants, C&W Africa - Powell & Mesbach! Lots of charts! Answering the “why” question: piecing together multiple pieces of causal information rbind.fill for 1-dimensional tables in r yED graph editor Examples of trivial graph format Using attr labels for ggplot An evaluation puzzle: “Talent show” An evaluation puzzle: “Mobile first” An evaluation puzzle: “Many hands” An evaluation puzzle: Loaves and fishes An evaluation puzzle: “Freak weather” An evaluation puzzle: “Billionaire” Using Dropbox for syncing Shiny app data on Amazon EC2 Progress on the Causal Map app Articles and presentations related to Causal Maps and Theorymaker Better ways to present country-level data on a world map: equal-area cartograms A starter kit for reproducible research with R A reproducible workflow for evaluation reports Welcome to the Wiggle Room Realtime comments on a Theory of Change Responses to open questions shown as tooltips in a chart A panel on visualising Theories of Change for EES 2018?