From 4fe2b59f30a887589564a53860a4517299f47a02 Mon Sep 17 00:00:00 2001 From: Manos Katsomallos Date: Sat, 17 Jul 2021 18:48:05 +0200 Subject: [PATCH] Put text in separate directory --- .gitignore | 151 +++++++++++++++++- abstract.tex => text/abstract.tex | 0 .../acknowledgements.tex | 0 bibliography.bib => text/bibliography.bib | 0 conclusion.tex => text/conclusion.tex | 0 introduction.tex => text/introduction.tex | 0 main.tex => text/main.tex | 4 +- micro.tex => text/micro.tex | 2 +- preliminaries.tex => text/preliminaries.tex | 0 related.tex => text/related.tex | 0 statistical.tex => text/statistical.tex | 2 +- titlepage.tex => text/titlepage.tex | 0 12 files changed, 155 insertions(+), 4 deletions(-) rename abstract.tex => text/abstract.tex (100%) rename acknowledgements.tex => text/acknowledgements.tex (100%) rename bibliography.bib => text/bibliography.bib (100%) rename conclusion.tex => text/conclusion.tex (100%) rename introduction.tex => text/introduction.tex (100%) rename main.tex => text/main.tex (95%) rename micro.tex => text/micro.tex (99%) rename preliminaries.tex => text/preliminaries.tex (100%) rename related.tex => text/related.tex (100%) rename statistical.tex => text/statistical.tex (99%) rename titlepage.tex => text/titlepage.tex (100%) diff --git a/.gitignore b/.gitignore index 8669a03..f70a404 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# Latex + ## Core latex/pdflatex auxiliary files: *.aux *.lof @@ -229,6 +231,153 @@ TSWLatexianTemp* build # ignore pdf files in root folder -/*.pdf +/text/*.pdf + +# Python + +# Byte-compiled / optimized / DLL files +__pycache__ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + + +# Misc .DS_Store +*.class +*.vscode +.gradle diff --git a/abstract.tex b/text/abstract.tex similarity index 100% rename from abstract.tex rename to text/abstract.tex diff --git a/acknowledgements.tex b/text/acknowledgements.tex similarity index 100% rename from acknowledgements.tex rename to text/acknowledgements.tex diff --git a/bibliography.bib b/text/bibliography.bib similarity index 100% rename from bibliography.bib rename to text/bibliography.bib diff --git a/conclusion.tex b/text/conclusion.tex similarity index 100% rename from conclusion.tex rename to text/conclusion.tex diff --git a/introduction.tex b/text/introduction.tex similarity index 100% rename from introduction.tex rename to text/introduction.tex diff --git a/main.tex b/text/main.tex similarity index 95% rename from main.tex rename to text/main.tex index ca9be37..656aad1 100644 --- a/main.tex +++ b/text/main.tex @@ -33,7 +33,7 @@ \setlength{\emergencystretch}{3em} \hbadness=99999 -\graphicspath{{graphics/}} +\graphicspath{{../graphics/}} \DeclareGraphicsExtensions{.pdf, .png} \definecolor{material_red}{HTML}{d50000} @@ -51,6 +51,8 @@ \newcommand{\thethings}{\thething s} \newcommand{\Thethings}{\Thething s} +\newcommand*\includetable[1]{\input{../tables/#1.tex}} + \newtheorem{definition}{Definition} \newtheorem{example}{Example}[section] \newtheorem{proposition}{Proposition} diff --git a/micro.tex b/text/micro.tex similarity index 99% rename from micro.tex rename to text/micro.tex index 8882e52..8ecc8a0 100644 --- a/micro.tex +++ b/text/micro.tex @@ -9,7 +9,7 @@ of the following works assume that data sets are privacy-protected \emph{indepen On the other side, algorithms that are based on differential privacy are not concerned with so specific attacks as, by definition, differential privacy considers that the adversary may possess any kind of background knowledge. Later on, data dependencies were also considered for differential privacy algorithms, to account for the extra privacy loss entailed by them. -\input{tables/table-micro} +\includetable{table-micro} \subsection{Finite observation} diff --git a/preliminaries.tex b/text/preliminaries.tex similarity index 100% rename from preliminaries.tex rename to text/preliminaries.tex diff --git a/related.tex b/text/related.tex similarity index 100% rename from related.tex rename to text/related.tex diff --git a/statistical.tex b/text/statistical.tex similarity index 99% rename from statistical.tex rename to text/statistical.tex index b9ef2f1..d38ba2d 100644 --- a/statistical.tex +++ b/text/statistical.tex @@ -5,7 +5,7 @@ When continuously publishing statistical data, usually in the form of counts, th In theory differential privacy makes no assumptions about the background knowledge available to the adversary. In practice, as we observe in Table~\ref{tab:statistical}, data dependencies (e.g.,~correlations) arising in the continuous publication setting are frequently (but without it being the rule) considered as attacks in the proposed algorithms. -\input{tables/table-statistical} +\includetable{table-statistical} \subsection{Finite observation} diff --git a/titlepage.tex b/text/titlepage.tex similarity index 100% rename from titlepage.tex rename to text/titlepage.tex