aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile18
-rw-r--r--cite.py8
-rw-r--r--formatting.ms6
-rw-r--r--header.html15
-rw-r--r--paper.ms16
-rw-r--r--refer2
6 files changed, 37 insertions, 28 deletions
diff --git a/Makefile b/Makefile
index 6b64181..15d1c30 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,19 @@
default:
ls target || mkdir target
- cat formatting.ms paper.ms |\
+ cat paper.ms |\
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 |\
- groff -ket -Tpdf -ms -P-pa4 > target/paper.pdf
- wc paper.ms
- #python3 cite.py |\
-
+ refer -Ss -p refer > 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
+ echo "</pre>" >> target/paper.html
read:
zathura target/paper.pdf&
clean:
- rm -rf target
+ rm -rf targep
+install: default
+ cp target/paper.html /var/www/git-bin/epq
+ cp target/paper.pdf /var/www/git-bin/epq
diff --git a/cite.py b/cite.py
deleted file mode 100644
index 6b8110d..0000000
--- a/cite.py
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-
-a = sys.stdin.read()
-for l in a.split('\n'):
- l = l.replace("{", "\n.[\n")
- l = l.replace("} ", "\n.]\n")
- l = l.replace("}", "\n.]\n")
- print(l)
diff --git a/formatting.ms b/formatting.ms
index ea2536e..b28e460 100644
--- a/formatting.ms
+++ b/formatting.ms
@@ -1,7 +1,7 @@
.\" text width
.nr LL 5.25i
.\" left margin
-.nr PO 1.50i
+.nr PO 1.525i
.\" top margin
.nr HM 1.0i
.\" bottom margin
@@ -30,11 +30,9 @@
.nr GROWPS 2
.\" page numbers in footer, centered
.rm CH
+.ds CF %
.ds FAM Sabon
.fzoom CR 750
.fzoom CB 900
.rm CH
.nr HY 0
-.R1
-accumulate
-.R2
diff --git a/header.html b/header.html
new file mode 100644
index 0000000..cdf4442
--- /dev/null
+++ b/header.html
@@ -0,0 +1,15 @@
+<style>
+html {
+ line-height: 1.5;
+ font-family: monospace;
+ color: #1a1a1a;
+ background-color: #fdfdfd;
+}
+@media (prefers-color-scheme: dark){
+ body {color:white;background:black}
+ html {color:white;background:black}
+ a:link, a:visited { color: #aab9c1; }
+ a:hover, a:active { color: hotpink; } /* hotpink on hover */
+}
+</style>
+<pre>
diff --git a/paper.ms b/paper.ms
index 63572db..2179035 100644
--- a/paper.ms
+++ b/paper.ms
@@ -15,7 +15,7 @@ that book, which can be a difficult process. With the Internet,
however, information can exist in a more absolute state, separated
entirely from any physical media. Millions of people can download a
single book as easily as one person could, and the traditional
-limitations that lead us to `own' individual property no longer exist.
+limitations that lead us to 'own' individual property no longer exist.
In this way, the Internet eliminates the ownership of information in
whatever forms it perpetuated through the attachment of information
to media such as books or celluloid film, and the copying of
@@ -58,13 +58,13 @@ user-friendly software such as the Tails operating system or Telegram
(Graham citation 28), terrorists organisations have shown an ability
to make use of more obscure and complicated systems, as well as use
publicly available source code in order to construct software for
-operatives to use. Messaging technologies and their support for
-`end-to-end encryption' is a particularly significant issue.
-Introduction of end-to-end encryption being introduced by large
-companies such as Facebook has raised concern {conversation facebook}
-over the potential for usage by criminals and a lack of ability for
-Facebook or law enforcement to obtain conversation between criminals
-which may be vital in an investigation.
+operatives to use. Although the issue of popular messaging
+technologies and their support for `end-to-end encryption' is an often
+discussed issue. Introduction of end-to-end encryption being
+introduced by large companies such as Facebook has raised concern
+{conversation facebook} over the potential for usage by criminals and
+a lack of ability for Facebook or law enforcement to obtain
+conversation between criminals which may be vital in an investigation.
Concerns exist with digital technologies on at a hardware level. The
Intel Management Engine that exists {Intel Management}
diff --git a/refer b/refer
index b949f58..82ac6de 100644
--- a/refer
+++ b/refer
@@ -2,7 +2,7 @@
%A Anna Funder
%D 2003
%I Granta Books
-%G 9781783787340
+%G ISBN 9781783787340
%O https://granta.com/products/stasiland/"
%T Global digital population as of January 2021