makefile pandoc magic

This commit is contained in:
Ben Harris 2019-09-23 10:21:43 -04:00
parent 3a57074dc6
commit 9b3a705d4b
6 changed files with 27 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pdf

19
Makefile Normal file
View File

@ -0,0 +1,19 @@
ISSUES != find issues -type d
DEST_PDF_FILES := $(ISSUES:issues/%=issue-%.pdf)
PANDOC != command -v pandoc 2> /dev/null
all: $(DEST_PDF_FILES)
issue-%.pdf: issues/%
$(PANDOC) \
--file-scope \
--from markdown \
--to latex \
--pdf-engine xelatex \
--table-of-contents \
--variable title:"tildeverse zine $@" \
--standalone \
--output $@ \
$</*.md

View File

@ -1,5 +1,7 @@
# Diving Into the Depths Of the Tildeverse
author: ubergeek
## Intro
There's a whole lot going on with the tildeverse, and lots of little projects, many of which take some discovering. Here's I'll dive into some of them, which I've since discovered.

1
issues/1/metadata.yml Normal file
View File

@ -0,0 +1 @@
title: tildeverse zine issue 1

View File

@ -1,5 +1,7 @@
# Being Social With Git
author: ubergeek
## Intro
One underrated social aspect in the tildeverse is collaborating via code or document creation. Many people consider that to be "loner work", when in reality, it can be much, much more!

View File

@ -1,5 +1,7 @@
# So, You Wanna Make A Tilde?
author: ubergeek
So, you want to make a Tilde server (aka a pubnix server)? You've got time on your hands. You want to make a new and cool thing, right? Awesome! This article is going to step you through some of the pitfalls, so you can try to ensure it's going to be fun.
## Why?