Remove documentation and makefiles
This commit is contained in:
parent
9d92507b7f
commit
fef8a7b625
@ -1,4 +0,0 @@
|
|||||||
#+TITLE: Makefiles
|
|
||||||
|
|
||||||
- http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/
|
|
||||||
- https://swcarpentry.github.io/make-novice/02-makefiles/
|
|
@ -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
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user