-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aggiunto .devcontainer con i requirements per effettuare la build del documento. Cambiato template del documento con quello solito degli appunti e sistemati alcuni piccoli problemi.
- Loading branch information
Showing
75 changed files
with
1,200 additions
and
995 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...rale/Anno 1/Advanced and Distributed Algorithms/Pinotti/latex/.devcontainer/.dockerignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.dockerignore | ||
devcontainer.json | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
14 changes: 14 additions & 0 deletions
14
magistrale/Anno 1/Advanced and Distributed Algorithms/Pinotti/latex/.devcontainer/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM qmcgaw/latexdevcontainer | ||
|
||
# update del package manager | ||
RUN tlmgr update --self | ||
|
||
# installo pacchetti necessari | ||
RUN tlmgr install \ | ||
listings caption xcolor float wrapfig \ | ||
footmisc emoji fontspec emptypage pgf \ | ||
babel-italian etoolbox \ | ||
&& texhash | ||
|
||
# installo font emoji | ||
RUN apt install fonts-noto-color-emoji |
56 changes: 56 additions & 0 deletions
56
.../Anno 1/Advanced and Distributed Algorithms/Pinotti/latex/.devcontainer/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"name": "project-dev", | ||
"dockerComposeFile": [ | ||
"docker-compose.yml" | ||
], | ||
"service": "vscode", | ||
"runServices": [ | ||
"vscode" | ||
], | ||
"shutdownAction": "stopCompose", | ||
"workspaceFolder": "/workspace", | ||
"postCreateCommand": "if [ -f 'requirements.txt' ]; then tlmgr install `cat requirements.txt` && texhash; fi", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"james-yu.latex-workshop", | ||
// Git | ||
"eamodio.gitlens", | ||
// Other helpers | ||
"shardulm94.trailing-spaces", | ||
"stkb.rewrap", // rewrap comments after n characters on one line | ||
// Other | ||
"vscode-icons-team.vscode-icons", | ||
// spell checker | ||
"streetsidesoftware.code-spell-checker", | ||
"streetsidesoftware.code-spell-checker-italian" | ||
], | ||
"settings": { | ||
// General settings | ||
"files.eol": "\n", | ||
// vscode | ||
"editor.rulers": [ | ||
80, | ||
120 | ||
], | ||
// Latex settings | ||
"latex-workshop.chktex.enabled": true, | ||
"latex-workshop.latex.recipe.default": "latexmk (lualatex)", | ||
"latex-workshop.latex.clean.subfolder.enabled": true, | ||
"latex-workshop.latex.autoClean.run": "onBuilt", | ||
"editor.formatOnSave": true, | ||
"files.associations": { | ||
"*.tex": "latex" | ||
}, | ||
"latex-workshop.latexindent.path": "latexindent", | ||
"latex-workshop.latexindent.args": [ | ||
"-c", | ||
"%DIR%/", | ||
"%TMPFILE%", | ||
"-y=defaultIndent: '%INDENT%'" | ||
] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...Anno 1/Advanced and Distributed Algorithms/Pinotti/latex/.devcontainer/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: "3.2" | ||
|
||
services: | ||
vscode: | ||
build: . | ||
image: latexdevcontainer | ||
volumes: | ||
- ../:/workspace | ||
# Docker socket to access Docker server | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
# SSH directory | ||
# - ~/.ssh:/root/.ssh | ||
# For Windows without WSL, a copy will be made | ||
# from /tmp/.ssh to ~/.ssh to fix permissions | ||
# - ~/.ssh:/tmp/.ssh:ro | ||
# Shell history persistence | ||
# - ~/.zsh_history:/root/.zsh_history:z | ||
# Git config | ||
- ~/.gitconfig:/root/.gitconfig | ||
environment: | ||
- TZ= | ||
entrypoint: ["zsh", "-c", "while sleep 1000; do :; done"] | ||
|
276 changes: 276 additions & 0 deletions
276
magistrale/Anno 1/Advanced and Distributed Algorithms/Pinotti/latex/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
## 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 | ||
|
||
## Generated if empty string is given at "Please type another file name for output:" | ||
main.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 | ||
|
||
# uncomment this for glossaries-extra (will ignore makeindex's style files!) | ||
# *.ist | ||
|
||
# gnuplottex | ||
*-gnuplottex-* | ||
|
||
# gregoriotex | ||
*.gaux | ||
*.gtex | ||
|
||
# htlatex | ||
*.4ct | ||
*.4tc | ||
*.idv | ||
*.lg | ||
*.trc | ||
*.xref | ||
|
||
# hyperref | ||
*.brf | ||
|
||
# knitr | ||
*-concordance.tex | ||
# TODO Comment the next line if you want to keep your tikz graphics 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 | ||
|
||
# nomencl | ||
*.nlg | ||
*.nlo | ||
*.nls | ||
|
||
# pax | ||
*.pax | ||
|
||
# pdfpcnotes | ||
*.pdfpc | ||
|
||
# sagetex | ||
*.sagetex.sage | ||
*.sagetex.py | ||
*.sagetex.scmd | ||
|
||
# scrwfile | ||
*.wrt | ||
|
||
# sympy | ||
*.sout | ||
*.sympy | ||
sympy-plots-for-*.tex/ | ||
|
||
# pdfcomment | ||
*.upa | ||
*.upb | ||
|
||
# pythontex | ||
*.pytxcode | ||
pythontex-files-*/ | ||
|
||
# tcolorbox | ||
*.listing | ||
|
||
# thmtools | ||
*.loe | ||
|
||
# TikZ & PGF | ||
*.dpth | ||
*.md5 | ||
*.auxlock | ||
|
||
# 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 |
Oops, something went wrong.