aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 00:08:51 +0000
committerroot <root@turin.home>2022-01-30 00:08:51 +0000
commit8b37c99b44de06d947ac44c1df3156f005f51bcd (patch)
tree8bc77ef0d0a6230ba2005c499d124684212d5922 /Makefile
parent9fbbc8575ab726f106bb1a46c1c57f3aed374664 (diff)
840 words
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 15d1c30..d1facf2 100644
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,12 @@ default:
sed "s/^{/.[\n/g" |\
sed "s/}{/\n.]\n.[\n/g" |\
sed "s/{/\n.[\n/g" | sed "s/\}\ /\n.]\n/g" | sed "s/\}/\n.]\n/g" |\
- refer -Ss -p refer > target/temp
+ refer -Ss -p refer | tr "_" " "> target/temp
cat formatting.ms target/temp | groff -ket -Tpdf -ms -P-pa4 > target/paper.pdf
cat header.html > target/paper.html
cat formatting.ms target/temp| sed "s/.nr LL*/.nr LL 7i/g" |\
- groff -Tascii -c -ms | ansi2html -piml >> target/paper.html
+ groff -Tascii -c -ms |\
+ sed "1,2d" | ansi2html -piml >> target/paper.html
echo "</pre>" >> target/paper.html
read:
zathura target/paper.pdf&