diff options
| author | Mohit Agarwal <mohit.agarwal@sky.com> | 2021-07-14 21:00:12 +0100 |
|---|---|---|
| committer | Mohit Agarwal <mohit.agarwal@sky.com> | 2021-07-14 21:00:12 +0100 |
| commit | 6edf1f66f23ae63581d926ba40c76d5b1c29323f (patch) | |
| tree | dfaba9764a787a6713016de68040efe390e77c81 | |
| parent | 0c899387cf3e3df1c432290368eaef0c92ea221b (diff) | |
Change to pandoc
| -rw-r--r-- | .gitignore | 3 | ||||
| -rwxr-xr-x | compile.sh | 5 | ||||
| -rw-r--r-- | ending.tex | 7 | ||||
| -rw-r--r-- | formatting.tex | 18 | ||||
| -rw-r--r-- | opening.tex | 15 | ||||
| -rw-r--r-- | paper.docx | bin | 11036 -> 0 bytes | |||
| -rw-r--r-- | paper.html | 170 | ||||
| -rw-r--r-- | paper.pdf | bin | 12609 -> 0 bytes | |||
| -rw-r--r-- | paper.tex | 2 |
9 files changed, 21 insertions, 199 deletions
@@ -1 +1,2 @@ -/latex.out +**/latex.out +**/target @@ -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 Binary files differdeleted file mode 100644 index a895e93..0000000 --- a/paper.docx +++ /dev/null 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 <https://mohit.uk>" /> - <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 <<a href="https://mohit.uk">https://mohit.uk</a>></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 Binary files differdeleted file mode 100644 index 0cc2a92..0000000 --- a/paper.pdf +++ /dev/null @@ -41,5 +41,3 @@ service. \section{The future} \section{Conclusions} - -\input{ending.tex} |
