From 6edf1f66f23ae63581d926ba40c76d5b1c29323f Mon Sep 17 00:00:00 2001 From: Mohit Agarwal Date: Wed, 14 Jul 2021 21:00:12 +0100 Subject: Change to pandoc --- .gitignore | 3 +- compile.sh | 5 +- ending.tex | 7 --- formatting.tex | 18 +++++- opening.tex | 15 ----- paper.docx | Bin 11036 -> 0 bytes paper.html | 170 --------------------------------------------------------- paper.pdf | Bin 12609 -> 0 bytes paper.tex | 2 - 9 files changed, 21 insertions(+), 199 deletions(-) delete mode 100644 ending.tex delete mode 100644 opening.tex delete mode 100644 paper.docx delete mode 100644 paper.html delete mode 100644 paper.pdf 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 Binary files a/paper.docx and /dev/null 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 @@ - - - - - - - - The Stasi and the modern capacity for military intelligence - - - - -
-

The Stasi and the modern capacity for military intelligence

-

Mohit Agarwal <https://mohit.uk>

-

June 2021

-
-

The role military intelligence has played both internationally and domestically has greatly increased following modern developments and continues to rapidly expand.

-

Technology enables surveillance (?)

-

The Stasi

-

The present day

-

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.

-

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.

-

The future

-

Conclusions

- - diff --git a/paper.pdf b/paper.pdf deleted file mode 100644 index 0cc2a92..0000000 Binary files a/paper.pdf and /dev/null 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} -- cgit v1.2.3