Skip to content

Commit

Permalink
Reworked boilerplate and spike for pdf-ication (WIP)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Hagen <stefan@hagen.link>
  • Loading branch information
sthagen committed Nov 23, 2024
1 parent b01a0a7 commit bbfd44e
Show file tree
Hide file tree
Showing 31 changed files with 1,651 additions and 531 deletions.
11 changes: 10 additions & 1 deletion csaf_2.1/prose/edit/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
.DEFAULT_GOAL := build
.PHONY: build
.PHONY: build pdf
build:
bin/volatile.py
cp -a build/tmp.md ../share/csaf-v2.1-draft.md
pandoc -f gfm+definition_lists -t html build/tmp.md --columns=345 --css style/base.css --css style/skin.css --standalone -o build/tmp.html
bin/toccata.py
timeout 2 tidy -config etc/tidy-config.txt build/injected.html -ashtml | sed 's/<!\[CDATA\[//g; s/\]\]>//g;' > ../share/csaf-v2.1-draft.html
git status

pdf:
bin/lapidify.py
mkdir -p build/render/pdf
cp -a build/bookmatter.tex.in build/render/pdf/
cp -a build/driver.tex.in build/render/pdf/
cp -a build/metadata.tex.in build/render/pdf/
cp -a build/setup.tex.in build/render/pdf/
cd build/render/pdf && liitos render ../../ -t csaf -f pdf -p -l "etiketti -e" && open this.pdf && cd -
Loading

0 comments on commit bbfd44e

Please sign in to comment.