A
Bash script
creates a PDF
document
from MDSH
source
(in this case
container/content)
with LaTeX
as intermediary format.
Base functionalities include markdown formatting, footnotes
and bibliographical references.
The functional range may be extended through macro-style
Bash Actions.
Triggered via makefile
.
Pretty much proof of concept. Needs to be refined.
% INCLUDE:
Includes another MDSH
document.
% EXTENDFUNCTIONS:
Add more functions from within your MDSH
document.
% TREATCAMELCASE:
Attaches a LaTeX style to all CamelCase words.
% EMPTYPAGE:
Injects LaTeX Macro to inserts an empty page.
% USEPACKAGE:
Adds \usepackage
to LaTeX preamble.
% FRONTCOVER:
Creates 2 PDF pages from an Inkscape SVG and adds them to the document
% BACKCOVER:
Creates 2 PDF pages from an Inkscape SVG and adds them to the document.
Inserts a LaTeX Macro
to make sure the full amount of pages is dividable by 4 by inserting empty pages if necessary.