MasWag / pandoc-satysfi-template

A pandoc custom writer and template for SATySFi
MIT License
9 stars 1 forks source link
markdown-converter pandoc pandoc-writer satysfi satysfi-typesetting

pandoc-satysfi-template

Build License: MIT

A pandoc custom writer and template for SATySFi. You can convert any files supported by pandoc to SATySFi or PDF. You can generate the SATySFi and PDF versions of this README by make in the root directory.

Remark

This pandoc writer is incomplete i.e., it is unimplemented for some elements. Your contribution is highly appreciated!!

Requirements

Options

You can use the following options by giving -V <option_name> to pandoc

show-title : If -V show-title is given, satysfi generates the title.

toc : If -V toc is given, satysfi generates the TOC (table of contents).

Note

The template file template.satysfi is for a .saty file not for a .satyh file. If you want to convert to a .satyh file, you need to write a template by yourself. It is easy.

Example

    pandoc -t ./satysfi.lua --template ./template.satysfi -s README.md -o README.saty -V show-title