0.0.9 • Published 9 years ago

md2pdf v0.0.9

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

md2pdf

This is an updated version of the script md2pdf.sh originally released by Claes Holmerson. It allows to generate pdf through xelatex and customize fonts and other aspects of the document very easily (just edit the variables in the md2pdf.sh).

Installation

You should have already installed both pandoc and xelatex. Then,

npm install -g md2pdf

Usage

md2pdf.sh markdown-file.md

Customization

The following variables can be customized by editing md2pdf:

  • paper (default: a4paper)
  • hmargin (default: 3cm)
  • vmargin (default: 3.5cm)
  • fontsize (default: 10pt)
  • mainfont (default: "Palatino Linotype")
  • sansfont (default: Corbel)
  • monofont (default: Consolas)
  • language (default: english)
  • nohyphenation (default: false)
  • columns (default: onecolumn)
  • geometry (default: portrait)
0.0.9

9 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago