From f24c14e6f509a5fa41eeb3bad2836643c0539719 Mon Sep 17 00:00:00 2001 From: Jan Benda Date: Fri, 6 Dec 2019 23:30:21 +0100 Subject: [PATCH] [codestyle] renamed programmingstyle/ to codestyle/ --- Makefile | 2 +- README.fonts | 4 +++- chapter.mk | 4 ++-- .../code/calculateSines.m | 0 .../lecture/Makefile | 4 ++-- .../lecture/beamercolorthemetuebingen.sty | 0 .../lecture/codestyle-chapter.tex | 2 +- .../lecture/codestyle.tex | 1 - .../lecture/codestyle_de.tex | 0 .../lecture/figures/program_organization.png | Bin .../lecture/figures/search_path.png | Bin debugging/lecture/Makefile | 2 +- designpattern/lecture/Makefile | 2 +- likelihood/lecture/Makefile | 2 +- pointprocesses/lecture/Makefile | 4 ++-- .../lecture/pointprocessscetchA.eps | 4 ++-- .../lecture/pointprocessscetchA.pdf | Bin 2786 -> 2786 bytes .../lecture/pointprocessscetchB.eps | 4 ++-- .../lecture/pointprocessscetchB.pdf | Bin 4694 -> 4694 bytes programming/lecture/Makefile | 4 +--- regression/lecture/Makefile | 2 +- scientificcomputing-script.tex | 2 +- statistics/lecture/Makefile | 2 +- 23 files changed, 22 insertions(+), 23 deletions(-) rename {programmingstyle => codestyle}/code/calculateSines.m (100%) rename {programmingstyle => codestyle}/lecture/Makefile (60%) rename {programmingstyle => codestyle}/lecture/beamercolorthemetuebingen.sty (100%) rename programmingstyle/lecture/programmingstyle-chapter.tex => codestyle/lecture/codestyle-chapter.tex (94%) rename programmingstyle/lecture/programmingstyle.tex => codestyle/lecture/codestyle.tex (99%) rename programmingstyle/lecture/programmingstyle_de.tex => codestyle/lecture/codestyle_de.tex (100%) rename {programmingstyle => codestyle}/lecture/figures/program_organization.png (100%) rename {programmingstyle => codestyle}/lecture/figures/search_path.png (100%) diff --git a/Makefile b/Makefile index eb38e46..a5054d5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BASENAME=scientificcomputing-script -SUBDIRS=programming debugging plotting programmingstyle statistics bootstrap regression likelihood pointprocesses designpattern +SUBDIRS=programming debugging plotting codestyle statistics bootstrap regression likelihood pointprocesses designpattern SUBTEXS=$(foreach subd, $(SUBDIRS), $(subd)/lecture/$(subd).tex) all : script chapters diff --git a/README.fonts b/README.fonts index 83bece0..ab7a941 100644 --- a/README.fonts +++ b/README.fonts @@ -17,7 +17,9 @@ Then we need to plot something to recreate the matplotlib font cache: make cleanplots make plots ``` -To give back the fonts to lyx we reinstall them + +You should better NOT reinstall ``` sudo apt-get install fonts-lyx ``` +to give back the fonts to lyx. \ No newline at end of file diff --git a/chapter.mk b/chapter.mk index d28642d..cd6fe56 100644 --- a/chapter.mk +++ b/chapter.mk @@ -44,8 +44,8 @@ watchchapter : cleantex: rm -f *~ - rm -f $(BASENAME).aux $(BASENAME).log - rm -f $(BASENAME)-chapter.aux $(BASENAME)-chapter.log $(BASENAME)-chapter.out $(BASENAME)-chapter.idx $(BASENAME)-solutions.tex $(BASENAME)-solutions.tex + rm -f $(BASENAME).aux $(BASENAME).log *.idx + rm -f $(BASENAME)-chapter.aux $(BASENAME)-chapter.log $(BASENAME)-chapter.out $(BASENAME)-chapter.idx $(BASENAME)-chapter-solutions.tex $(BASENAME)-solutions.tex cleanplots: cleanpythonplots cleangnuplots diff --git a/programmingstyle/code/calculateSines.m b/codestyle/code/calculateSines.m similarity index 100% rename from programmingstyle/code/calculateSines.m rename to codestyle/code/calculateSines.m diff --git a/programmingstyle/lecture/Makefile b/codestyle/lecture/Makefile similarity index 60% rename from programmingstyle/lecture/Makefile rename to codestyle/lecture/Makefile index 4c7aa7c..ef3704d 100644 --- a/programmingstyle/lecture/Makefile +++ b/codestyle/lecture/Makefile @@ -1,4 +1,4 @@ -BASENAME=programmingstyle +BASENAME=codestyle all : pdf @@ -9,4 +9,4 @@ pdf : chapter clean : cleanchapter -cleanall : clean cleanchapter +cleanall : cleanallchapter diff --git a/programmingstyle/lecture/beamercolorthemetuebingen.sty b/codestyle/lecture/beamercolorthemetuebingen.sty similarity index 100% rename from programmingstyle/lecture/beamercolorthemetuebingen.sty rename to codestyle/lecture/beamercolorthemetuebingen.sty diff --git a/programmingstyle/lecture/programmingstyle-chapter.tex b/codestyle/lecture/codestyle-chapter.tex similarity index 94% rename from programmingstyle/lecture/programmingstyle-chapter.tex rename to codestyle/lecture/codestyle-chapter.tex index 78243a6..87e2eac 100644 --- a/programmingstyle/lecture/programmingstyle-chapter.tex +++ b/codestyle/lecture/codestyle-chapter.tex @@ -14,7 +14,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} -\include{programmingstyle} +\include{codestyle} \end{document} diff --git a/programmingstyle/lecture/programmingstyle.tex b/codestyle/lecture/codestyle.tex similarity index 99% rename from programmingstyle/lecture/programmingstyle.tex rename to codestyle/lecture/codestyle.tex index bb24709..9811d2f 100644 --- a/programmingstyle/lecture/programmingstyle.tex +++ b/codestyle/lecture/codestyle.tex @@ -411,7 +411,6 @@ not of more global interest across projects consider to define it as \codeterm[function!local]{local function} or \codeterm[function!nested]{nested function}. Taking care to increase readability and comprehensibility pays off, even to the author! - \footnote{Reading tip: Robert C. Martin: \textit{Clean Code: A Handbook of Agile Software Craftmanship}, Prentice Hall} diff --git a/programmingstyle/lecture/programmingstyle_de.tex b/codestyle/lecture/codestyle_de.tex similarity index 100% rename from programmingstyle/lecture/programmingstyle_de.tex rename to codestyle/lecture/codestyle_de.tex diff --git a/programmingstyle/lecture/figures/program_organization.png b/codestyle/lecture/figures/program_organization.png similarity index 100% rename from programmingstyle/lecture/figures/program_organization.png rename to codestyle/lecture/figures/program_organization.png diff --git a/programmingstyle/lecture/figures/search_path.png b/codestyle/lecture/figures/search_path.png similarity index 100% rename from programmingstyle/lecture/figures/search_path.png rename to codestyle/lecture/figures/search_path.png diff --git a/debugging/lecture/Makefile b/debugging/lecture/Makefile index 8c88530..9ce003b 100644 --- a/debugging/lecture/Makefile +++ b/debugging/lecture/Makefile @@ -9,4 +9,4 @@ pdf : chapter clean : cleanchapter -cleanall : clean cleanchapter +cleanall : cleanallchapter diff --git a/designpattern/lecture/Makefile b/designpattern/lecture/Makefile index e7312a5..bb1416b 100644 --- a/designpattern/lecture/Makefile +++ b/designpattern/lecture/Makefile @@ -9,5 +9,5 @@ pdf : chapter clean : cleanchapter -cleanall : clean cleanchapter +cleanall : cleanallchapter diff --git a/likelihood/lecture/Makefile b/likelihood/lecture/Makefile index 17f92ae..d35f11b 100644 --- a/likelihood/lecture/Makefile +++ b/likelihood/lecture/Makefile @@ -9,4 +9,4 @@ pdf : chapter clean : cleanchapter -cleanall : clean cleanchapter +cleanall : cleanallchapter diff --git a/pointprocesses/lecture/Makefile b/pointprocesses/lecture/Makefile index e53a65d..07fda48 100644 --- a/pointprocesses/lecture/Makefile +++ b/pointprocesses/lecture/Makefile @@ -29,8 +29,8 @@ watchslides : clean : cleanchapter rm -f $(BASENAME)-slides.aux $(BASENAME)-slides.log $(BASENAME)-slides.out $(BASENAME)-slides.toc $(BASENAME)-slides.nav $(BASENAME)-slides.snm $(BASENAME)-slides.vrb -cleanall : clean cleanchapter - $(BASENAME)-slides.pdf $(BASENAME)-handout.pdf +cleanall : clean cleanallchapter + rm -f $(BASENAME)-slides.pdf $(BASENAME)-handout.pdf help : diff --git a/pointprocesses/lecture/pointprocessscetchA.eps b/pointprocesses/lecture/pointprocessscetchA.eps index 30d6da4..f2cc576 100644 --- a/pointprocesses/lecture/pointprocessscetchA.eps +++ b/pointprocesses/lecture/pointprocessscetchA.eps @@ -1,7 +1,7 @@ %!PS-Adobe-2.0 EPSF-2.0 %%Title: pointprocessscetchA.tex %%Creator: gnuplot 4.6 patchlevel 4 -%%CreationDate: Tue Dec 3 08:08:50 2019 +%%CreationDate: Fri Dec 6 23:29:10 2019 %%DocumentFonts: %%BoundingBox: 50 50 373 135 %%EndComments @@ -433,7 +433,7 @@ SDict begin [ /Author (jan) % /Producer (gnuplot) % /Keywords () - /CreationDate (Tue Dec 3 08:08:50 2019) + /CreationDate (Fri Dec 6 23:29:10 2019) /DOCINFO pdfmark end } ifelse diff --git a/pointprocesses/lecture/pointprocessscetchA.pdf b/pointprocesses/lecture/pointprocessscetchA.pdf index d064a3a00a75327b804866f9670e94f32d37489a..3210a19c2531b5e726e9d45593e1ce8f360c5da6 100644 GIT binary patch delta 304 zcmaDP`bc!cQD$D#G!v7=!OTj*$O1t}`=45E@W?<}W?(Ae>=w|9>XG2g$ESH@fS8+*VQAtHnY8sc3iLo)4s;aBM8y5gn CF-`>l delta 304 zcmaDP`bc!cQD$C~R8tFsR5L?elawTj$pLKglRq+NVG(U-vEeihF|e=#BGbudSTsdL zN>dedT~c+E6+#q@trQHbKys70SX;5^-py){Au2Iho=pW+baMb(8

pV3*Wn1qEXT zsC@K4Bc@UA`+7)^QvHo%5Q$mo6aNzGT0?GSwX>A z0cKx}fE1gtfrWvE>E;@NT1H1hBUeKgBU3k1LlakHXD4$P0~ZqmS0^_E6K8W*OE(KU M8v-gOTM5Yk0D1#KnE(I) diff --git a/programming/lecture/Makefile b/programming/lecture/Makefile index 41ff3c5..1c0f293 100644 --- a/programming/lecture/Makefile +++ b/programming/lecture/Makefile @@ -1,7 +1,5 @@ BASENAME=programming -#TEXFILES=boolean_logical_indexing.tex control_structures.tex data_structures.tex plotting.tex programming_basics.tex scripts_functions.tex sta_stc.tex variables_datatypes.tex vectors_matrices.tex - all : pdf include ../../chapter.mk @@ -11,4 +9,4 @@ pdf : chapter clean : cleanchapter -cleanall : clean cleanchapter +cleanall : cleanallchapter diff --git a/regression/lecture/Makefile b/regression/lecture/Makefile index 0347e31..371c85c 100644 --- a/regression/lecture/Makefile +++ b/regression/lecture/Makefile @@ -9,4 +9,4 @@ pdf : chapter clean : cleanchapter -cleanall : clean cleanchapter +cleanall : cleanallchapter diff --git a/scientificcomputing-script.tex b/scientificcomputing-script.tex index ce46b60..35d78fc 100644 --- a/scientificcomputing-script.tex +++ b/scientificcomputing-script.tex @@ -48,7 +48,7 @@ \includechapter{plotting} -\includechapter{programmingstyle} +\includechapter{codestyle} \includechapter{designpattern} diff --git a/statistics/lecture/Makefile b/statistics/lecture/Makefile index ab88f11..432de1b 100644 --- a/statistics/lecture/Makefile +++ b/statistics/lecture/Makefile @@ -9,4 +9,4 @@ pdf : chapter clean : cleanchapter -cleanall : clean cleanchapter +cleanall : cleanallchapter