2023-09-20 12:56:52 +00:00
|
|
|
# list all options
|
|
|
|
default:
|
|
|
|
just --list --unsorted
|
|
|
|
|
|
|
|
# build without images
|
|
|
|
dev:
|
2023-09-21 02:31:32 +00:00
|
|
|
groff -Tpdf -ms -p -t -R vumpire.ms > vumpire.pdf
|
2023-09-20 12:56:52 +00:00
|
|
|
|
|
|
|
# groff 2 pdf
|
|
|
|
build:
|
2023-10-03 00:28:50 +00:00
|
|
|
pdfroff -ms -p -t -R vumpire.ms > vumpire.pdf && just metadata
|
|
|
|
|
|
|
|
# add EXIF data to pdf
|
|
|
|
metadata:
|
|
|
|
exiftool -Author="dozens" -Title="Vumpire\!" vumpire.pdf
|
|
|
|
|
2023-09-20 12:56:52 +00:00
|
|
|
|
2023-09-27 13:01:48 +00:00
|
|
|
# groff 2 text
|
|
|
|
text:
|
|
|
|
groff -Tutf8 -R -p -t -ms vumpire.ms | sed -e 's/\x1b\[[0-9;]*m//g' > vumpire.txt
|
|
|
|
|
2023-09-20 12:56:52 +00:00
|
|
|
# watch for changes
|
|
|
|
watch:
|
|
|
|
ls vumpire.ms | entr just dev
|
2023-09-20 16:53:53 +00:00
|
|
|
|
|
|
|
# build bibliography file
|
|
|
|
bib:
|
|
|
|
recsel refer.rec | recfmt -f refer.recfmt > refer.bib
|
2023-09-21 02:31:32 +00:00
|
|
|
|
|
|
|
# upload to town
|
|
|
|
up:
|
|
|
|
scp vumpire.* tilde:public_html
|