-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from d120/refactor/kotlin
Update slides from Python to Kotlin
- Loading branch information
Showing
116 changed files
with
2,242 additions
and
1,632 deletions.
There are no files selected for viewing
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,94 @@ | ||
{ | ||
"name": "latex", | ||
"image": "ghcr.io/tudalgo/algotex:latest", | ||
"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", | ||
"draivin.hsnips" | ||
], | ||
"settings": { | ||
// General settings | ||
"files.eol": "\n", | ||
// Latex settings | ||
"latex-workshop.linting.chktex.enabled": true, | ||
"latex-workshop.linting.chktex.exec.path": "chktex", | ||
"latex-workshop.latex.clean.subfolder.enabled": true, | ||
"latex-workshop.latex.autoClean.run": "onBuilt", | ||
"editor.formatOnSave": true, | ||
"files.associations": { | ||
"*.tex": "latex", | ||
"*.sty": "latex-expl3", | ||
"*.cls": "latex-expl3", | ||
"*.def": "latex", | ||
"*.aux": "latex", | ||
"*.toc": "latex", | ||
"*.pygstyle": "latex", | ||
"*.pygtex": "latex" | ||
}, | ||
"latex-workshop.latexindent.path": "latexindent", | ||
"latex-workshop.latexindent.args": [ | ||
"-c", | ||
"%DIR%/", | ||
"%TMPFILE%", | ||
"-y=defaultIndent: '%INDENT%'" | ||
], | ||
"latex-workshop.latex.tools": [ | ||
{ | ||
"name": "latexmk", | ||
"command": "latexmk", | ||
"args": [ | ||
"--shell-escape", | ||
"-synctex=1", | ||
"-interaction=nonstopmode", | ||
"-file-line-error", | ||
"-lualatex", | ||
//"-pdflatex", | ||
"-outdir=%OUTDIR%", | ||
"%DOC%" | ||
], | ||
"env": { | ||
//"DARK_MODE": "1" | ||
} | ||
}, | ||
{ | ||
"name": "pdflatex", | ||
"command": "pdflatex", | ||
"args": [ | ||
"--shell-escape", | ||
"-synctex=1", | ||
"-interaction=nonstopmode", | ||
"-file-line-error", | ||
"%DOC%" | ||
] | ||
}, | ||
{ | ||
"name": "lualatex", | ||
"command": "lualatex", | ||
"args": [ | ||
"-synctex=1", | ||
"-interaction=nonstopmode", | ||
"-file-line-error", | ||
"-luatex", | ||
"%DOC%" | ||
] | ||
}, | ||
{ | ||
"name": "bibtex", | ||
"command": "bibtex", | ||
"args": [ | ||
"%DOCFILE%" | ||
] | ||
} | ||
], | ||
} | ||
} | ||
} | ||
} |
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
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,45 @@ | ||
|
||
OUT_DIR := pdfout/ | ||
# find all makefiles in subdirectories | ||
MAKEFILES := $(shell find . -mindepth 2 -name 'Makefile' -not -path './.git/*' -not -path './.devcontainer') | ||
|
||
$(MAKEFILES:Makefile=Makefile.all): | ||
$(eval MAKEFILE := $(patsubst %.all,%,$@)) | ||
@$(MAKE) -C $(dir $(MAKEFILE)) -f $(notdir $(MAKEFILE)) all | ||
@mkdir -p $(OUT_DIR) | ||
@cp $(dir $(MAKEFILE))/$(OUT_DIR)/*.pdf $(OUT_DIR) | ||
|
||
$(MAKEFILES:Makefile=Makefile.compile): | ||
$(eval MAKEFILE := $(patsubst %.compile,%,$@)) | ||
$(MAKE) -C $(dir $(MAKEFILE)) -f $(notdir $(MAKEFILE)) compile | ||
@mkdir -p $(OUT_DIR) | ||
@cp $(dir $(MAKEFILE))/$(OUT_DIR)/*.pdf $(OUT_DIR) | ||
|
||
$(MAKEFILES:Makefile=Makefile.clean): | ||
$(eval MAKEFILE := $(patsubst %.clean,%,$@)) | ||
$(MAKE) -C $(dir $(MAKEFILE)) -f $(notdir $(MAKEFILE)) clean | ||
|
||
# $(MAKEFILES:Makefile=Makefile.cleanBuild): | ||
# $(eval MAKEFILE := $(patsubst %.cleanBuild,%,$@)) | ||
# @$(MAKE) -C $(dir $(MAKEFILE)) -f $(notdir $(MAKEFILE)) cleanBuild | ||
|
||
$(MAKEFILES:Makefile=Makefile.cleanAll): | ||
$(eval MAKEFILE := $(patsubst %.cleanAll,%,$@)) | ||
@$(MAKE) -C $(dir $(MAKEFILE)) -f $(notdir $(MAKEFILE)) cleanAll | ||
|
||
all: $(MAKEFILES:Makefile=Makefile.all) | ||
@echo -e "\e[1;42mAll Done. PDFs can be found in $(OUT_DIR)\e[0m" | ||
|
||
compile: $(MAKEFILES:Makefile=Makefile.compile) | ||
@echo -e "\e[1;42mAll Done. PDFs can be found in $(OUT_DIR)\e[0m" | ||
|
||
clean: $(MAKEFILES:Makefile=Makefile.clean) | ||
@echo -e "\e[1;44mCleaned up all subdirectories.\e[0m" | ||
|
||
cleanBuild: | ||
@echo -e "\e[1;34mCleaning up build directory...$<\e[0m" | ||
@rm -rf $(OUT_DIR) | ||
@echo -e "\e[1;44mDone cleaning up build directory.$<\e[0m" | ||
|
||
cleanAll: $(MAKEFILES:Makefile=Makefile.cleanAll) cleanBuild | ||
@echo -e "\e[1;44mCleaned up all subdirectories + build dirs.\e[0m" |
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
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
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
Oops, something went wrong.