diff options
| author | root <root@turin.home> | 2022-02-11 22:09:06 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-02-11 22:09:06 +0000 |
| commit | 50e0c2cff46f0b9440b2a318cef764897c91ed84 (patch) | |
| tree | 221b669917521db230fdda688425196ebae8713a | |
| parent | 505a542168c42964d8ad47d227cb5d0bf6e4a2d4 (diff) | |
Document compliation changes.
| -rw-r--r-- | Makefile | 26 | ||||
| -rw-r--r-- | header.html | 18 | ||||
| -rw-r--r-- | paper.ms | 11 | ||||
| -rw-r--r-- | refer | 8 |
4 files changed, 37 insertions, 26 deletions
@@ -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 "</pre>" >> target/paper.html +html: build + @groff -E -Thtml -ms target/temp |\ + sed -E "s|([^\"\'\>=])(http[s]?://[^[:space:]]*)|\1<a href=\2>\2</a>|g" |\ + sed -E "s|^(http[s]?://[^[:space:]]*)|<a href=\1>\1</a>|g" |\ + sed "1,6d" > target/temp2 + @cat header.html target/temp2 |\ + sed -E '34 i <a href="./paper.pdf">See this as a pdf</a><br>'> 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 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <style> html { - line-height: 1.6; - font-family: monospace; - color: #1a1a1a; - background-color: #fdfdfd; + line-height: 1.5; + font-family: serif; + color: #1a1a1a; + background-color: #fdfdfd; + max-width: 70ch; + margin: auto; } @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 */ + a:link, a:visited {color: #aab9c1;} + a:hover, a:active {color: hotpink;} } </style> -<title>Title</title> -<pre> - <a href="/">Mohit Agarwal</a> - <a href="./paper.pdf">See this as a pdf</a> @@ -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} @@ -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 |
