From 50e0c2cff46f0b9440b2a318cef764897c91ed84 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 11 Feb 2022 22:09:06 +0000 Subject: Document compliation changes. --- Makefile | 26 ++++++++++++++++---------- header.html | 18 ++++++++---------- paper.ms | 11 ++++++++++- refer | 8 +++----- 4 files changed, 37 insertions(+), 26 deletions(-) diff --git a/Makefile b/Makefile index 85dca22..ca86885 100644 --- a/Makefile +++ b/Makefile @@ -1,29 +1,35 @@ default: pdf build: - ls -1 | grep target || mkdir target - wc paper.ms - cat paper.ms|\ + @ls -1 | grep target || mkdir target + @wc 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 -C -Ss -p refer |\ tr "^" " "> target/temp - #sed -E "s|([^\"\'\>=])(http[s]?://[^[:space:]]*)|\1\n.pdfhref W -D \"\2\" -A -- \2\n|g" |\ - #sed -E "s|([^\"\'\>=])(http[s]?://[^[:space:]]*)|\1\n.pdfhref W \2\n|g" |\ - + #sed -E "s|([^\"\'\>=])(http[s]?://[^[:space:]]*)|\1\n.pdfhref W -D \"\2\" -A -- \2\n|g" |\ + #sed -E "s|([^\"\'\>=])(http[s]?://[^[:space:]]*)|\1\n.pdfhref W \2\n|g" pdf: build - cat formatting.ms target/temp |\ - groff -ket -Tpdf -ms -P-pa4 > target/paper.pdf -html: build + @cat formatting.ms target/temp |\ + groff -Eket -Tpdf -ms -P-pa4 > target/paper.pdf +html2: build cat header.html > target/paper.html cat formatting.ms target/temp| sed "s/.nr LL*/.nr LL 6i/g" |\ groff -Tascii -c -ms |\ sed "1,2d" | ansi2html -piml >> target/paper.html echo "" >> target/paper.html +html: build + @groff -E -Thtml -ms target/temp |\ + sed -E "s|([^\"\'\>=])(http[s]?://[^[:space:]]*)|\1\2|g" |\ + sed -E "s|^(http[s]?://[^[:space:]]*)|\1|g" |\ + sed "1,6d" > target/temp2 + @cat header.html target/temp2 |\ + sed -E '34 i See this as a pdf
'> target/paper.html read: zathura target/paper.pdf& clean: rm -rf target -install: pdf html + install: pdf html cp target/paper.html /var/www/git-bin/epq cp target/paper.pdf /var/www/git-bin/epq diff --git a/header.html b/header.html index cdf2d74..79887d6 100644 --- a/header.html +++ b/header.html @@ -2,19 +2,17 @@ -Title -
-               Mohit Agarwal
-               See this as a pdf
diff --git a/paper.ms b/paper.ms
index ce6b01f..38a797f 100644
--- a/paper.ms
+++ b/paper.ms
@@ -253,7 +253,16 @@ Government
     https://web.archive.org/web/20131223121638/http://blogs.rsa.com/news-media-2/rsa-response/
     https://www.technologyreview.com/2012/04/04/186902/how-china-blocks-the-tor-anonymity-network/
     https://www.nytimes.com/2016/09/03/technology/nso-group-how-spy-tech-firms-let-governments-see-everything-on-a-smartphone.html
-
     Leahy Law
+    DeadHand and MonsterMind
+
+Terror
+    September 2001
+    2001 Anthrax attacks
+
+Privacy
+    Apple and App Tracking Transparency
+    https://www.flurry.com/blog/ios-14-5-opt-in-rate-att-restricted-app-tracking-transparency-worldwide-us-daily-latest-update/
+    https://www.bloomberg.com/news/articles/2021-07-14/facebook-fb-advertisers-impacted-by-apple-aapl-privacy-ios-14-changes
 
 {firewall}
diff --git a/refer b/refer
index e05666d..547413f 100644
--- a/refer
+++ b/refer
@@ -3,7 +3,6 @@
 %D 2003
 %I Granta Books
 %G ISBN 9781783787340
-%O https://granta.com/products/stasiland/"
 
 %T Global digital population as of January 2021
 %A Joseph Johnson
@@ -69,7 +68,7 @@
 %A Konrad Jarausch
 %D 2014
 %J Bulletin of the German Historical Institute
-%C "German Historical Institute Washington DC
+%C German Historical Institute Washington DC
 %O https://www.ghi-dc.org/fileadmin/publications/Bulletin_Supplement/Supplement_9/supp9.pdf
 (Accessed 3rd January 2022)
 
@@ -77,7 +76,7 @@
 %A Gary Bruce
 %D 2014
 %J Bulletin of the German Historical Institute
-%C "German Historical Institute Washington DC
+%C German Historical Institute Washington DC
 %O https://www.ghi-dc.org/fileadmin/publications/Bulletin_Supplement/Supplement_9/supp9.pdf
 (Accessed 3rd January 2022)
 
@@ -115,8 +114,7 @@
 %J The Register 
 %A Thomas Claburn
 %D Aug 2017
-%O https://www.theregister.com/2017/08/29/intel_management_engine_can_be_disabled/
-(Accessed 6th February 2022)
+%O Accessed online on 6th February 2022
 
 %T Researchers Find a Way to Disable Much-Hated Intel ME Component Courtesy of the NSA
 %A Catalin Cimpanu
-- 
cgit v1.2.3