summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rwxr-xr-xcompile.sh5
-rw-r--r--ending.tex7
-rw-r--r--formatting.tex18
-rw-r--r--opening.tex15
-rw-r--r--paper.docxbin11036 -> 0 bytes
-rw-r--r--paper.html170
-rw-r--r--paper.pdfbin12609 -> 0 bytes
-rw-r--r--paper.tex2
9 files changed, 21 insertions, 199 deletions
diff --git a/.gitignore b/.gitignore
index c671d85..0d1ef3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-/latex.out
+**/latex.out
+**/target
diff --git a/compile.sh b/compile.sh
index a63872c..c6a7a1f 100755
--- a/compile.sh
+++ b/compile.sh
@@ -1 +1,4 @@
-latexrun --latex-cmd xelatex paper.tex&
+ls -1 | grep target || mkdir target
+pandoc paper.tex -C --bibliography=reference.bib --pdf-engine=xelatex -H formatting.tex -V fontsize:12pt -o target/paper.pdf
+pandoc paper.tex -C --bibliography=reference.bib --css=https://mohit.uk/document.css -s -o target/paper.html
+#latexrun --latex-cmd xelatex paper.tex
diff --git a/ending.tex b/ending.tex
deleted file mode 100644
index c52665c..0000000
--- a/ending.tex
+++ /dev/null
@@ -1,7 +0,0 @@
-\nocite{*}
-
-\bibliographystyle{acm}
-
-\bibliography{reference}
-
-\end{document}
diff --git a/formatting.tex b/formatting.tex
index 11dbfe6..7f5dc1b 100644
--- a/formatting.tex
+++ b/formatting.tex
@@ -1,4 +1,4 @@
-\documentclass[12pt, oneside]{extarticle}
+%\documentclass[12pt, oneside]{extarticle}
\sloppy
@@ -43,6 +43,18 @@
\titleformat{\section}{\large\bfseries}{}{0em}{}
-\begin{document}
+\setlength{\droptitle}{-3cm}
+
+\pretitle{\begin{flushleft}\LARGE\itshape}
+\posttitle{\par\end{flushleft}}
+\preauthor{\begin{flushleft}\large}
+\postauthor{\end{flushleft}}
+\predate{\begin{flushleft}\vspace{-5pt}\large}
+\postdate{\par\end{flushleft}}
+
+\title{The Stasi and the nature of surveillance}
+\author{Mohit Agarwal}
+\date{June 2021}
+%\maketitle
+
-\input{opening.tex}
diff --git a/opening.tex b/opening.tex
deleted file mode 100644
index 98c7cd4..0000000
--- a/opening.tex
+++ /dev/null
@@ -1,15 +0,0 @@
-\setlength{\droptitle}{-3cm}
-
-\pretitle{\begin{flushleft}\LARGE\itshape}
-\posttitle{\par\end{flushleft}}
-\preauthor{\begin{flushleft}\vspace{-10pt}\large}
-\postauthor{\end{flushleft}}
-\predate{\begin{flushleft}\vspace{-5pt}\large}
-\postdate{\par\end{flushleft}}
-
-\title{The Stasi and the nature of surveillance}
-\author{Mohit Agarwal}
-\date{June 2021}
-\maketitle
-
-
diff --git a/paper.docx b/paper.docx
deleted file mode 100644
index a895e93..0000000
--- a/paper.docx
+++ /dev/null
Binary files differ
diff --git a/paper.html b/paper.html
deleted file mode 100644
index 67f5fe5..0000000
--- a/paper.html
+++ /dev/null
@@ -1,170 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
-<head>
- <meta charset="utf-8" />
- <meta name="generator" content="pandoc" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
- <meta name="author" content="Mohit Agarwal &lt;https://mohit.uk&gt;" />
- <title>The Stasi and the modern capacity for military intelligence</title>
- <style>
- html {
- line-height: 1.5;
- font-family: Georgia, serif;
- font-size: 20px;
- color: #1a1a1a;
- background-color: #fdfdfd;
- }
- body {
- margin: 0 auto;
- max-width: 36em;
- padding-left: 50px;
- padding-right: 50px;
- padding-top: 50px;
- padding-bottom: 50px;
- hyphens: auto;
- word-wrap: break-word;
- text-rendering: optimizeLegibility;
- font-kerning: normal;
- }
- @media (max-width: 600px) {
- body {
- font-size: 0.9em;
- padding: 1em;
- }
- }
- @media print {
- body {
- background-color: transparent;
- color: black;
- font-size: 12pt;
- }
- p, h2, h3 {
- orphans: 3;
- widows: 3;
- }
- h2, h3, h4 {
- page-break-after: avoid;
- }
- }
- p {
- margin: 1em 0;
- }
- a {
- color: #1a1a1a;
- }
- a:visited {
- color: #1a1a1a;
- }
- img {
- max-width: 100%;
- }
- h1, h2, h3, h4, h5, h6 {
- margin-top: 1.4em;
- }
- h1{
- font-size: 28px;
- }
- h5, h6 {
- font-size: 1em;
- font-style: italic;
- }
- h6 {
- font-weight: normal;
- }
- ol, ul {
- padding-left: 1.7em;
- margin-top: 1em;
- }
- li > ol, li > ul {
- margin-top: 0;
- }
- blockquote {
- margin: 1em 0 1em 1.7em;
- padding-left: 1em;
- border-left: 2px solid #e6e6e6;
- color: #606060;
- }
- code {
- font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
- font-size: 85%;
- margin: 0;
- }
- pre {
- margin: 1em 0;
- overflow: auto;
- }
- pre code {
- padding: 0;
- overflow: visible;
- }
- .sourceCode {
- background-color: transparent;
- overflow: visible;
- }
- hr {
- background-color: #1a1a1a;
- border: none;
- height: 1px;
- margin: 1em 0;
- }
- table {
- margin: 1em 0;
- border-collapse: collapse;
- width: 100%;
- overflow-x: auto;
- display: block;
- font-variant-numeric: lining-nums tabular-nums;
- }
- table caption {
- margin-bottom: 0.75em;
- }
- tbody {
- margin-top: 0.5em;
- border-top: 1px solid #1a1a1a;
- border-bottom: 1px solid #1a1a1a;
- }
- th {
- border-top: 1px solid #1a1a1a;
- padding: 0.25em 0.5em 0.25em 0.5em;
- }
- td {
- padding: 0.125em 0.5em 0.25em 0.5em;
- }
- header {
- margin-bottom: 4em;
- text-align: center;
- }
- #TOC li {
- list-style: none;
- }
- #TOC a:not(:hover) {
- text-decoration: none;
- }
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
- div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
- ul.task-list{list-style: none;}
- .display.math{display: block; text-align: center; margin: 0.5rem auto;}
- </style>
- <!--[if lt IE 9]>
- <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
- <![endif]-->
-</head>
-<body>
-<header id="title-block-header">
-<h1 class="title">The Stasi and the modern capacity for military intelligence</h1>
-<p class="author">Mohit Agarwal &lt;<a href="https://mohit.uk">https://mohit.uk</a>&gt;</p>
-<p class="date">June 2021</p>
-</header>
-<p>The role military intelligence has played both internationally and domestically has greatly increased following modern developments and continues to rapidly expand.</p>
-<h1 id="technology-enables-surveillance">Technology enables surveillance (?)</h1>
-<h1 id="the-stasi">The Stasi</h1>
-<h1 id="the-present-day">The present day</h1>
-<p>The traditional means by which enforcement authorities may investigate an individual or organisation is by obtaining permission to do so on the basis of adequate suspicion of illegal activity. Such a requirement prevents the unnecessary and ongoing violation of individual rights that may be considered highly present in societies around the world, enabled in part or in whole by modern technology.</p>
-<p>In a sense, modern technology could have been the ultimate enabler for privacy. The promise of modern encryption is such that a communication physically cannot be read by anyone other than the intended recipient, and the decentralised nature of the internet could mean an escape from central authorities in our communication such as a governmental postal service.</p>
-<h1 id="the-future">The future</h1>
-<h1 id="conclusions">Conclusions</h1>
-</body>
-</html>
diff --git a/paper.pdf b/paper.pdf
deleted file mode 100644
index 0cc2a92..0000000
--- a/paper.pdf
+++ /dev/null
Binary files differ
diff --git a/paper.tex b/paper.tex
index a2d3e52..ae2986d 100644
--- a/paper.tex
+++ b/paper.tex
@@ -41,5 +41,3 @@ service.
\section{The future}
\section{Conclusions}
-
-\input{ending.tex}