tweak project proposal #1
4 changed files with 9 additions and 5 deletions
|
@ -7,5 +7,8 @@ Build a PDF:
|
||||||
> It will take a while to download dependencies!
|
> It will take a while to download dependencies!
|
||||||
|
|
||||||
|
|||||||
```bash
|
```bash
|
||||||
nix-build -A pdf
|
pandoc ./architecture.md -o ./architecture.html --css default.css
|
||||||
|
pandoc ./fediversity.md -o ./fediversity.html --css default.css
|
||||||
|
pandoc ./architecture.md -o ./architecture.pdf --css default.css
|
||||||
|
pandoc ./fediversity.md -o ./fediversity.pdf --css default.css
|
||||||
```
|
```
|
||||||
|
|
3
default.css
Normal file
3
default.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
* {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
|
@ -20,7 +20,7 @@
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
pandoc ${./architecture.md} -o $out/architecture.pdf
|
pandoc ${./architecture.md} -o $out/architecture.pdf --css default.css
|
||||||
pandoc ${./fediversity.md} -o $out/fediversity.pdf
|
pandoc ${./fediversity.md} -o $out/fediversity.pdf --css default.css
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
<style>* {font-family: sans-serif;}</style>
|
|
||||||
|
|
||||||
<title>Fediversity</title>
|
<title>Fediversity</title>
|
||||||
|
|
||||||
# Index
|
# Index
|
||||||
|
|
Loading…
Add table
Reference in a new issue
Seems like the
nix-build -A pdf
thing got lost in cherry- and nit-picks?was it ever tested? on my end it just errored out on images requiring network access, at which point i considered it not usable as-is
note that the script is present still, at present it's just undocumented