[codestyle] renamed programmingstyle/ to codestyle/

This commit is contained in:
Jan Benda 2019-12-06 23:30:21 +01:00
parent 93f18143f1
commit f24c14e6f5
23 changed files with 22 additions and 23 deletions

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -1,4 +1,4 @@
BASENAME=programmingstyle
BASENAME=codestyle
all : pdf
@ -9,4 +9,4 @@ pdf : chapter
clean : cleanchapter
cleanall : clean cleanchapter
cleanall : cleanallchapter

View File

@ -14,7 +14,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\include{programmingstyle}
\include{codestyle}
\end{document}

View File

@ -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}

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -9,4 +9,4 @@ pdf : chapter
clean : cleanchapter
cleanall : clean cleanchapter
cleanall : cleanallchapter

View File

@ -9,5 +9,5 @@ pdf : chapter
clean : cleanchapter
cleanall : clean cleanchapter
cleanall : cleanallchapter

View File

@ -9,4 +9,4 @@ pdf : chapter
clean : cleanchapter
cleanall : clean cleanchapter
cleanall : cleanallchapter

View File

@ -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 :

View File

@ -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

View File

@ -1,7 +1,7 @@
%!PS-Adobe-2.0 EPSF-2.0
%%Title: pointprocessscetchB.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 237
%%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

View File

@ -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

View File

@ -9,4 +9,4 @@ pdf : chapter
clean : cleanchapter
cleanall : clean cleanchapter
cleanall : cleanallchapter

View File

@ -48,7 +48,7 @@
\includechapter{plotting}
\includechapter{programmingstyle}
\includechapter{codestyle}
\includechapter{designpattern}

View File

@ -9,4 +9,4 @@ pdf : chapter
clean : cleanchapter
cleanall : clean cleanchapter
cleanall : cleanallchapter