Convert markdown to modern slide show or a4paper book. Combining the very light weight markdown language with all the power of LaTeX.
About The Project • Getting Started • License • Literature
Table of Contents
Formulating everything you need in markdown is very light weight and efficient. This can be an enormous productivity bust for oneself. Nevertheless one would miss the power of LaTeX with its unique ecosystem which is perfect for writing scientific content (paper, books, presentation). This project is using the amazing pandoc library which is the exact right tool to combine both worlds.
You can immediately get started an use my customized templates for generating nice
looking books, papers or presentations. I provide detailed steps how to use it and
how to reproduce everything. The main environment is containerized thanks to Docker.
Therefore everything can much simpler be reproduced.
What is nicer than writing in pure, simple markdown?
No worries about latex but with all the power of it!
Feature | Implement Status |
---|---|
Docker image, make everything reproducible | ✔️ |
LaTeX templates | ✔️ |
Comprehensive python scripts | ✔️ |
This enumeration also includes submodules.
For my beamer latex project I use the following latex templates:
-
beamerthemeawesome theme from LukasPietzschmann as a starting point and customized it for my needs.
-
smile theme from LukasPietzschmann as a starting point and customized it for my needs.
-
Roboto font just a very nice font
For building my docker image I use sth. like this:
docker build . -t pandoc_all
cd mdToPdf
docker run -it --rm -v ${PWD}/md2pdfLib:/md2pdfLib -v ${PWD}/data:/data --name mypandoc -h mypandoc pandoc_all
Tested on ubuntu. Fedora etc. might have little differences. Idk
cd mdToPdf
docker run -it --rm -v ${pwd}/md2pdfLib:/md2pdfLib -v ${pwd}/data:/data --name mypandoc -h mypandoc pandoc_all
Place all .md files in the data/presentation/chapters/ folder
python3 md2pdfLib/presentation/scripts/md2beamerpdf.py 2>&1 | tee data/out/beamer.log
python3 md2pdfLib/book/scripts/md2pdf.py 2>&1 | tee data/out/book.log
cd data/cv
lualatex cv.tex
- Clone the repo
git clone --recurse-submodules git@github.com:Kataglyphis/mdToPdf.git
This project aims to provide an unique style for the pdf layouts. Therefore I had to produce my own pandoc template.latex file. The following steps are guiding you through the customization steps so you can reproduce everything:
I assume you already cloned the repo and the terminal points to the directory.
- export standart .latex file used by pandoc:
pandoc -D latex > md2pdfLib/presentation/pandoc/custom.tex
- Delete ignorenonframetext out of the \documentclass options.
- Add custom colors right before \usetheme (in my case my favorite \definecolor{myGreenAccent}{RGB}{105, 240, 174})
Upcoming :)
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Jonas Heinle - @Cataglyphis_ - jonasheinle@googlemail.com
Project Link: https://github.com/Kataglyphis/...
Huge shoutout to Lukas Pietzschmann for his latex template.
Some very helpful literature, tutorials, etc.
LaTeX
Pandoc