Skip to content

Contains a simple template for meeting notes handled by PANDOC

Notifications You must be signed in to change notification settings

smangels/pandoc-meeting-notes

Repository files navigation


title: Project Readme subtitle: Pandoc Meeting Notes Project author:

  • Sebastian K. Mangelsen
  • Max Mustermann attendee:
  • Max Mustermann
  • Thomas Sjöfelt absentee:
  • Petter Petersson
  • Styrbjörn reviewer:
  • Max Musterman date: 2015-12-20 version: 1.0 ...

pandoc-meeting-notes

This repository contains a simple template for meeting notes handled by PANDOC.

Supported Themes

  • Default
  • Volvo
    • HTML: Document Header is added
    • Volvos color theme is applied
    • HTML: Source Code is framed
  • Vetekornet

Software Requirements

  • make
  • Pandoc (version 1.15.2)
  • latex (TeX Live 2015)

New Project

In order to start writing a new project one has to run the following commands.

git init ./
git submodule add [email protected]:smangels/pandoc-meeting-notes.git

Create a Makefile with the following content.


PLUGIN_DIR = ./pandoc-meeting-notes

ifeq ($(THEME),)
    include theme-pandoc.cfg
endif

include $(PLUGIN_DIR)/Makefile

Command Line Examples

Generate an ePub Document

Provide a Title Page

Within an epub the title page can be set. In order to do so, place a file called cover.jpg or cover.png in the folder img. The script will pick them up when building an epub document.

Usually the format should be 150dpi and the longest side should not increase 1000px.

make epub

Generate an HTML page

The following command generates a self-contained HTML document for each markdown document that is found on in the root folder. Self contained means that the images are included as binary data.

Note that this Make target does support themes. Ensure that for each theme name used the Makefile expects the files html/<theme>.css and html/<theme>.template.html in the HTML folder.

make html THEME=volvo

Generate an PDF document

The following command generates an PDF document for each markdown document found at root level.

make pdf

Generate a book

The tools folder contains a BASH script that generates a number of numbered template files.

tools/generate_chapters.sh -n 10

Once the files are in place one could run the following command in order to produce a PDF document containing the concatenated content of all markdown files whos name starts with book_*.md.

make book

Feel free to add additional markdown files following the same naming scheme (i.e. book_chapter_11.md).