From 8630efbf5c49e794d4fe63146514e7b3c48eed23 Mon Sep 17 00:00:00 2001 From: JOLY Amaury Date: Tue, 7 Feb 2023 12:55:45 +0000 Subject: [PATCH] Draft: integration d'une pipeline pour le developement en latex --- .gitlab-ci.yml | 13 ++ docs/.gitignore | 316 ++++++++++++++++++++++++++ docs/centralisation/failles.tex | 1 + docs/centralisation/index.tex | 5 + docs/centralisation/sys_existants.tex | 1 + docs/decentralisation/etat_art.tex | 1 + docs/decentralisation/index.tex | 2 + docs/introduction/index.tex | 1 + docs/main.tex | 43 ++++ 9 files changed, 383 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 docs/.gitignore create mode 100644 docs/centralisation/failles.tex create mode 100644 docs/centralisation/index.tex create mode 100644 docs/centralisation/sys_existants.tex create mode 100644 docs/decentralisation/etat_art.tex create mode 100644 docs/decentralisation/index.tex create mode 100644 docs/introduction/index.tex create mode 100644 docs/main.tex diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..527b33c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: + name: texlive/texlive:latest + entrypoint: [ '/bin/bash', '-c', 'ln -snf /bin/bash /bin/sh && /bin/bash -c $0' ] + +build_and_deploy: + script: + - cd docs + - pdflatex main.tex + after_script: + - cat ./docs/main.log + artifacts: + paths: + - ./docs/main.pdf diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 0000000..07f5329 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,316 @@ +# Created by https://www.toptal.com/developers/gitignore/api/latex +# Edit at https://www.toptal.com/developers/gitignore?templates=latex + +### LaTeX ### +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 +.*.lb + +## Intermediate documents: +*.dvi +*.xdv +*-converted-to.* +# these rules might exclude image files for figures etc. +# *.ps +# *.eps +# *.pdf + +## Generated if empty string is given at "Please type another file name for output:" +.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.run.xml + +## Build tool auxiliary files: +*.fdb_latexmk +*.synctex +*.synctex(busy) +*.synctex.gz +*.synctex.gz(busy) +*.pdfsync + +## Build tool directories for auxiliary files +# latexrun +latex.out/ + +## Auxiliary and intermediate files from other packages: +# algorithms +*.alg +*.loa + +# achemso +acs-*.bib + +# amsthm +*.thm + +# beamer +*.nav +*.pre +*.snm +*.vrb + +# changes +*.soc + +# comment +*.cut + +# cprotect +*.cpt + +# elsarticle (documentclass of Elsevier journals) +*.spl + +# endnotes +*.ent + +# fixme +*.lox + +# feynmf/feynmp +*.mf +*.mp +*.t[1-9] +*.t[1-9][0-9] +*.tfm + +#(r)(e)ledmac/(r)(e)ledpar +*.end +*.?end +*.[1-9] +*.[1-9][0-9] +*.[1-9][0-9][0-9] +*.[1-9]R +*.[1-9][0-9]R +*.[1-9][0-9][0-9]R +*.eledsec[1-9] +*.eledsec[1-9]R +*.eledsec[1-9][0-9] +*.eledsec[1-9][0-9]R +*.eledsec[1-9][0-9][0-9] +*.eledsec[1-9][0-9][0-9]R + +# glossaries +*.acn +*.acr +*.glg +*.glo +*.gls +*.glsdefs +*.lzo +*.lzs +*.slg +*.slo +*.sls + +# uncomment this for glossaries-extra (will ignore makeindex's style files!) +# *.ist + +# gnuplot +*.gnuplot +*.table + +# gnuplottex +*-gnuplottex-* + +# gregoriotex +*.gaux +*.glog +*.gtex + +# htlatex +*.4ct +*.4tc +*.idv +*.lg +*.trc +*.xref + +# hyperref +*.brf + +# knitr +*-concordance.tex +# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files +# *.tikz +*-tikzDictionary + +# listings +*.lol + +# luatexja-ruby +*.ltjruby + +# makeidx +*.idx +*.ilg +*.ind + +# minitoc +*.maf +*.mlf +*.mlt +*.mtc[0-9]* +*.slf[0-9]* +*.slt[0-9]* +*.stc[0-9]* + +# minted +_minted* +*.pyg + +# morewrites +*.mw + +# newpax +*.newpax + +# nomencl +*.nlg +*.nlo +*.nls + +# pax +*.pax + +# pdfpcnotes +*.pdfpc + +# sagetex +*.sagetex.sage +*.sagetex.py +*.sagetex.scmd + +# scrwfile +*.wrt + +# svg +svg-inkscape/ + +# sympy +*.sout +*.sympy +sympy-plots-for-*.tex/ + +# pdfcomment +*.upa +*.upb + +# pythontex +*.pytxcode +pythontex-files-*/ + +# tcolorbox +*.listing + +# thmtools +*.loe + +# TikZ & PGF +*.dpth +*.md5 +*.auxlock + +# titletoc +*.ptc + +# todonotes +*.tdo + +# vhistory +*.hst +*.ver + +# easy-todo +*.lod + +# xcolor +*.xcp + +# xmpincl +*.xmpi + +# xindy +*.xdy + +# xypic precompiled matrices and outlines +*.xyc +*.xyd + +# endfloat +*.ttt +*.fff + +# Latexian +TSWLatexianTemp* + +## Editors: +# WinEdt +*.bak +*.sav + +# Texpad +.texpadtmp + +# LyX +*.lyx~ + +# Kile +*.backup + +# gummi +.*.swp + +# KBibTeX +*~[0-9]* + +# TeXnicCenter +*.tps + +# auto folder when using emacs and auctex +./auto/* +*.el + +# expex forward references with \gathertags +*-tags.tex + +# standalone packages +*.sta + +# Makeindex log files +*.lpz + +# xwatermark package +*.xwm + +# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib +# option is specified. Footnotes are the stored in a file with suffix Notes.bib. +# Uncomment the next line to have this generated file ignored. +#*Notes.bib + +### LaTeX Patch ### +# LIPIcs / OASIcs +*.vtc + +# glossaries +*.glstex + +# End of https://www.toptal.com/developers/gitignore/api/latex + +*.pdf \ No newline at end of file diff --git a/docs/centralisation/failles.tex b/docs/centralisation/failles.tex new file mode 100644 index 0000000..266dcee --- /dev/null +++ b/docs/centralisation/failles.tex @@ -0,0 +1 @@ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi finibus accumsan nisl. Pellentesque non libero efficitur, tincidunt tortor eu, interdum libero. Nam semper ultricies sem a hendrerit. Duis dapibus pulvinar dui, id ultricies diam viverra id. Morbi nibh mi, cursus et fermentum venenatis, porttitor sed odio. Cras vitae tortor nisl. Phasellus suscipit mollis eros, eu ullamcorper mauris tincidunt ut. Sed varius interdum vehicula. \ No newline at end of file diff --git a/docs/centralisation/index.tex b/docs/centralisation/index.tex new file mode 100644 index 0000000..a85effb --- /dev/null +++ b/docs/centralisation/index.tex @@ -0,0 +1,5 @@ +\section{Systèmes Existants} +\input{centralisation/sys_existants.tex} + +\section{Exemples de Failles} +\input{centralisation/failles.tex} \ No newline at end of file diff --git a/docs/centralisation/sys_existants.tex b/docs/centralisation/sys_existants.tex new file mode 100644 index 0000000..bacd262 --- /dev/null +++ b/docs/centralisation/sys_existants.tex @@ -0,0 +1 @@ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam pellentesque luctus pellentesque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras bibendum dui diam, vitae iaculis nulla dictum non. Nulla facilisi. Curabitur sagittis dui quis ullamcorper feugiat. Sed at ante non sem posuere placerat eget eget orci. Maecenas quis gravida elit. Vestibulum ultricies odio in diam sollicitudin sollicitudin. Donec ut congue elit. Curabitur non nisl mollis elit volutpat sodales ac id enim. Vestibulum tempus convallis leo, non lacinia quam euismod vel. \ No newline at end of file diff --git a/docs/decentralisation/etat_art.tex b/docs/decentralisation/etat_art.tex new file mode 100644 index 0000000..810befa --- /dev/null +++ b/docs/decentralisation/etat_art.tex @@ -0,0 +1 @@ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla feugiat felis id elementum ultricies. Pellentesque eros libero, convallis a dui at, pretium viverra odio. Sed aliquam eget eros eu imperdiet. In faucibus at ipsum a scelerisque. Vivamus convallis consectetur tellus id congue. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer rutrum sapien aliquam quam mollis, at ullamcorper lorem sagittis. Proin placerat neque nec maximus eleifend. Maecenas lobortis hendrerit mauris, quis vestibulum felis ornare nec. \ No newline at end of file diff --git a/docs/decentralisation/index.tex b/docs/decentralisation/index.tex new file mode 100644 index 0000000..851f37a --- /dev/null +++ b/docs/decentralisation/index.tex @@ -0,0 +1,2 @@ +\section{Etat de l'art} +\input{decentralisation/etat_art.tex} \ No newline at end of file diff --git a/docs/introduction/index.tex b/docs/introduction/index.tex new file mode 100644 index 0000000..7b1e762 --- /dev/null +++ b/docs/introduction/index.tex @@ -0,0 +1 @@ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam faucibus, velit a efficitur maximus, orci lorem dignissim ex, lobortis egestas ex dolor sit amet urna. Sed eu tincidunt ante. Vivamus eget volutpat dui. Etiam varius tempor pulvinar. Vestibulum vulputate velit vel ornare tincidunt. Suspendisse potenti. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Phasellus maximus mauris a accumsan vulputate. Curabitur quis arcu ipsum. Nam quis tempor elit. Phasellus sit amet placerat ipsum, in ornare metus. Sed id erat in risus vestibulum pellentesque non nec odio. Donec placerat ipsum in lacinia ultrices. Nam quis enim ut elit tincidunt tincidunt id quis nisl. \ No newline at end of file diff --git a/docs/main.tex b/docs/main.tex new file mode 100644 index 0000000..048c9ca --- /dev/null +++ b/docs/main.tex @@ -0,0 +1,43 @@ +\documentclass{article} + +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[french]{babel} +\usepackage[affil-it]{authblk} + + +\newenvironment*{remerciements}{% + \renewcommand*{\abstractname}{Remerciements} + \begin{abstract} +}{ + \end{abstract} +} + + +\begin{document} +\title{Etats de l'art des protocoles inter-blockchains} +\author{VOLPE Dorian, ROTONDO Eloïse, TESTUD Romain,\\DE CAMPOU Louis, JOLY Amaury} +\affil{M2 Informatique Option FSI,\\ Université Aix-Marseille} + + +\begin{titlepage} + \maketitle + \begin{remerciements} + Merci à M. TRAVERS Corentin et M. LABOUREL Aranaud pour la proposition de ce sujet et son encadrement. + \end{remerciements} + \begin{abstract} + abstract + \end{abstract} +\end{titlepage} + + +\tableofcontents + +\part{Introduction} +\input{introduction/index.tex} +\part{Systèmes Centralisés} +\input{centralisation/index.tex} +\part{Systèmes Décentralisés} +\input{decentralisation/index.tex} + +\end{document} \ No newline at end of file