From fef8a7b6251c7eaf555b6db1271b3f3eaa094986 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Sun, 1 Mar 2020 22:57:21 +0100 Subject: [PATCH] Remove documentation and makefiles --- documentation/makefile.org | 4 ---- documentation/unix-commands.org | 42 --------------------------------- makefiles/mf_latex | 33 -------------------------- 3 files changed, 79 deletions(-) delete mode 100644 documentation/makefile.org delete mode 100644 documentation/unix-commands.org delete mode 100644 makefiles/mf_latex diff --git a/documentation/makefile.org b/documentation/makefile.org deleted file mode 100644 index d55fc07..0000000 --- a/documentation/makefile.org +++ /dev/null @@ -1,4 +0,0 @@ -#+TITLE: Makefiles - -- http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/ -- https://swcarpentry.github.io/make-novice/02-makefiles/ diff --git a/documentation/unix-commands.org b/documentation/unix-commands.org deleted file mode 100644 index a3ed4e2..0000000 --- a/documentation/unix-commands.org +++ /dev/null @@ -1,42 +0,0 @@ -#+TITLE: Unix Commands - -* Navigation -- =pwd= Print Working Directory -- =ls= List Segments: list files - - =-a= All - show hidden files - - =-l= Long - - =-t= Time - in order of modification time -- =cd= Change Directory -- =mkdir= Make Directory - -* Manipulation -- =cp= : copies files -- =mv= : moves and rename files -- =rm= : remove files -- =rm -r= : remove directories (-r : Recursive) - -* Redirection -- =>= : redirects output of a command to a file, overwriting previous content -- =>>= : redirects output of a command to a file, appending new content to previous content -- =<= : redirects standard input to a command -- =|= : redirects standard output of a command to another command -- =sort= : sort lines of text alphabetically -- =uniq= : filters duplicate, adjacent lines of text -- =grep= : searches for a text pattern and outputs it -- =sed= : searches for a text pattern, modifies it, and outputs it - -* Environnement -- =~= (alt+n) : user’s home directory -- =nano= : line text editor -- =\.bash_profile= : is where environment settings are stored - - ~export VARIABLE='Value'~ - - =USER= : the name of the current user - - =HOME= : home directory (not to customize) - - =env= : return a list of environment variables - -* Grep -=grep texte nomfichier= -- =-i= : ne pas tenir compte de la casse (majuscules / minuscules) -- =-n= : connaître les numéros des lignes -- =-v= : inverser la recherche : ignorer un mot -- =-r= : rechercher dans tous les fichiers et sous-dossiers diff --git a/makefiles/mf_latex b/makefiles/mf_latex deleted file mode 100644 index 7270126..0000000 --- a/makefiles/mf_latex +++ /dev/null @@ -1,33 +0,0 @@ -# File adapted from this stackoverflow question: https://tex.stackexchange.com/questions/40738/how-to-properly-make-a-latex-project - -# The first rule in a Makefile is the one executed by default ("make"). It -# should always be the "all" rule, so that "make" and "make all" are identical. -all: main.pdf - -# MAIN LATEXMK RULE - -# -pdf tells latexmk to generate a PDF instead of DVI. -# -pdflatex="" tells latexmk to call a specific backend with specific options. -# -use-make tells latexmk to call make for generating missing files. -# -interaction=nonstopmode keeps the pdflatex backend from stopping at a -# missing file reference and interactively asking you for an alternative. -# -synctex=1 is required to jump between the source PDF and the text editor. -# -pvc (preview continuously) watches the directory for changes. -# -quiet suppresses most status messages (https://tex.stackexchange.com/questions/40783/can-i-make-latexmk-quieter). -main.pdf: main.tex - latexmk -quiet -bibtex $(PREVIEW_CONTINUOUSLY) -f -pdf -pdflatex="pdflatex -synctex=1 -interaction=nonstopmode" -use-make main.tex - -# The .PHONY rule keeps make from processing a file named "watch" or "clean". -.PHONY: watch -# Set the PREVIEW_CONTINUOUSLY variable to -pvc to switch latexmk into the preview continuously mode -watch: PREVIEW_CONTINUOUSLY=-pvc -watch: main.pdf - -.PHONY: clean -# -bibtex also removes the .bbl files (http://tex.stackexchange.com/a/83384/79184). - -clean: - latexmk -CA -bibtex - -open: - open main.pdf