Skip to content

This pandoc directory shows how one markdown file can be used to generate all major computer science journal formats -- ACM, IEEE and LNCS

Notifications You must be signed in to change notification settings

BeauJoh/scientific-writing-with-pandoc

Repository files navigation

A quick demo to getting papers written quickly in markdown

Pandoc is an awesome tool! This is especially true once properly configured for scientific writing. Personally, I write all my papers in Markdown — or RMarkdown for the fancy stuff that requires generating figures — and leave pandoc to automatically produces pdfs and LaTeX output. In fact, all my builds are simultaneously generated for 3 separate versions — corresponding to the major style guides in computer science — ACM, IEEE and LNCS formatting. I get really distracted writing LaTeX directly -- it's really easy to lose track on what you want to say when writing when you could spend half the day type-setting and resizing figures. This is where writing in markdown really shines; it allow's you the flexibility of LaTeX -- since TeX can be embedded at any part of the document -- without you going down the long road of type-setting and losing your train of thought. Best of all, if you're about to submit the paper and need to finally focus on typesetting it's easy to generate a LaTeX output of your work and edit as you normally would using the classic TeX workflow.

Installation

This project uses Docker to facilitate reproducibility. As such, it has the following dependency:

  • Docker -- available here

To generate a docker image named workbook, run:

docker build -t workbook .

Run

To start the docker image run:

docker run -it --mount src=pwd,target=/workspace,type=bind -p 8888:8888 --net=host workbook

Building papers with docker and pandoc

Within the fresh shell running on the docker workspace instance run:

make

Building papers the hard way:

The version of pandoc that I started on involved a brittle tool-chain with very fragile haskel filters, as such, this method of running pandoc to build papers is not advised. Packages used to build the paper include:

Feel free to ask me questions via email about markdown/pandoc and R integration. The corresponding pdfs can be viewed here as ACM, IEEE and LNCS.

About

This pandoc directory shows how one markdown file can be used to generate all major computer science journal formats -- ACM, IEEE and LNCS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages