]> Git — Sourcephile - julm/rezine-rfcs.git/blob - scripts/pdf.sh
p1: publish early
[julm/rezine-rfcs.git] / scripts / pdf.sh
1 #!/usr/bin/env bash
2 # Usage: scripts/pdf.sh rfcs/p1
3 # SPDX-FileCopyrightText: 2024 Julien Moutinho (adh14) <julm+rezine@autogeree.net>
4 # SPDX-License-Identifier: AGPL-3.0-or-later
5 set -eu
6 . "${0%/*}"/lib.sh
7 set -x
8
9 # FIXME: PDF rendition is unreliable
10 # - footnotes are messed up
11 # - tboxes are messed up
12
13 for rfcDir in "$@"; do
14 rfcDirMetadata
15 rfcRevision
16 rfcPDF -o "$rfcDir/$rfcRepo-$rfcBranch".pdf
17 done