Commit c917f3c39121100dac22a182d7587f12d7ebc05c

Steffen Jaeckel 2019-10-20T18:27:56

also remove poster

diff --git a/doc/makefile b/doc/makefile
index 7eeb1f9..2c7978f 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -9,26 +9,10 @@ ifeq ($(PLATFORM), Darwin)
 err:
 	$(error Docs can't be built on Mac)
 
-poster docs mandvi manual: err
+docs mandvi manual: err
 endif
 
-docs: poster manual
-
-# poster, makes the single page PDF poster
-poster: poster.tex
-	cp poster.tex poster.bak
-	touch --reference=poster.tex poster.bak
-	(printf "%s" "\def\fixedpdfdate{"; date +'D:%Y%m%d%H%M%S%:z' -d @$$(stat --format=%Y poster.tex) | sed "s/:\([0-9][0-9]\)$$/'\1'}/g") > poster-deterministic.tex
-	printf "%s\n" "\pdfinfo{" >> poster-deterministic.tex
-	printf "%s\n" "  /CreationDate (\fixedpdfdate)" >> poster-deterministic.tex
-	printf "%s\n}\n" "  /ModDate (\fixedpdfdate)" >> poster-deterministic.tex
-	cat poster.tex >> poster-deterministic.tex
-	mv poster-deterministic.tex poster.tex
-	touch --reference=poster.bak poster.tex
-	pdflatex poster
-	sed -b -i 's,^/ID \[.*\]$$,/ID [<0> <0>],g' poster.pdf
-	mv poster.bak poster.tex
-	rm -f poster.aux poster.log poster.out
+docs: manual
 
 #LTM user manual
 mandvi: bn.tex
diff --git a/doc/pics/design_process.sxd b/doc/pics/design_process.sxd
deleted file mode 100644
index 7414dbb..0000000
Binary files a/doc/pics/design_process.sxd and /dev/null differ
diff --git a/doc/pics/design_process.tif b/doc/pics/design_process.tif
deleted file mode 100644
index 4a0c012..0000000
Binary files a/doc/pics/design_process.tif and /dev/null differ
diff --git a/doc/pics/expt_state.sxd b/doc/pics/expt_state.sxd
deleted file mode 100644
index 6518404..0000000
Binary files a/doc/pics/expt_state.sxd and /dev/null differ
diff --git a/doc/pics/expt_state.tif b/doc/pics/expt_state.tif
deleted file mode 100644
index cb06e8e..0000000
Binary files a/doc/pics/expt_state.tif and /dev/null differ
diff --git a/doc/pics/makefile b/doc/pics/makefile
deleted file mode 100644
index 3ecb02f..0000000
--- a/doc/pics/makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# makes the images... yeah
-
-default:  pses
-
-design_process.ps: design_process.tif
-	tiff2ps -s -e design_process.tif > design_process.ps
-
-sliding_window.ps: sliding_window.tif
-	tiff2ps -s -e sliding_window.tif > sliding_window.ps
-	
-expt_state.ps: expt_state.tif
-	tiff2ps -s -e expt_state.tif > expt_state.ps
-
-primality.ps: primality.tif
-	tiff2ps -s -e primality.tif > primality.ps
-
-design_process.pdf: design_process.ps
-	epstopdf design_process.ps
-
-sliding_window.pdf: sliding_window.ps
-	epstopdf sliding_window.ps
-	
-expt_state.pdf: expt_state.ps
-	epstopdf expt_state.ps
-
-primality.pdf: primality.ps
-	epstopdf primality.ps
-
-
-pses: sliding_window.ps expt_state.ps primality.ps design_process.ps
-pdfes: sliding_window.pdf expt_state.pdf primality.pdf design_process.pdf
-
-clean:
-	rm -rf *.ps *.pdf .xvpics
-   
\ No newline at end of file
diff --git a/doc/pics/primality.tif b/doc/pics/primality.tif
deleted file mode 100644
index 76d6be3..0000000
Binary files a/doc/pics/primality.tif and /dev/null differ
diff --git a/doc/pics/radix.sxd b/doc/pics/radix.sxd
deleted file mode 100644
index b9eb9a0..0000000
Binary files a/doc/pics/radix.sxd and /dev/null differ
diff --git a/doc/pics/sliding_window.sxd b/doc/pics/sliding_window.sxd
deleted file mode 100644
index 91e7c0d..0000000
Binary files a/doc/pics/sliding_window.sxd and /dev/null differ
diff --git a/doc/pics/sliding_window.tif b/doc/pics/sliding_window.tif
deleted file mode 100644
index bb4cb96..0000000
Binary files a/doc/pics/sliding_window.tif and /dev/null differ
diff --git a/doc/poster.tex b/doc/poster.tex
deleted file mode 100644
index e7388f4..0000000
--- a/doc/poster.tex
+++ /dev/null
@@ -1,35 +0,0 @@
-\documentclass[landscape,11pt]{article}
-\usepackage{amsmath, amssymb}
-\usepackage{hyperref}
-\begin{document}
-\hspace*{-3in}
-\begin{tabular}{llllll}
-$c = a + b$  & {\tt mp\_add(\&a, \&b, \&c)} & $b = 2a$  & {\tt mp\_mul\_2(\&a, \&b)} & \\
-$c = a - b$  & {\tt mp\_sub(\&a, \&b, \&c)} & $b = a/2$ & {\tt mp\_div\_2(\&a, \&b)} & \\
-$c = ab $   & {\tt mp\_mul(\&a, \&b, \&c)}  & $c = 2^ba$  & {\tt mp\_mul\_2d(\&a, b, \&c)}  \\
-$b = a^2 $  & {\tt mp\_sqr(\&a, \&b)}       & $c = a/2^b, d = a \mod 2^b$ & {\tt mp\_div\_2d(\&a, b, \&c, \&d)} \\
-$c = \lfloor a/b \rfloor, d = a \mod b$ & {\tt mp\_div(\&a, \&b, \&c, \&d)} & $c = a \mod 2^b $  & {\tt mp\_mod\_2d(\&a, b, \&c)}  \\
- && \\
-$a = b $  & {\tt mp\_set\_int(\&a, b)}  & $c = a \vee b$  & {\tt mp\_or(\&a, \&b, \&c)}  \\
-$b = a $  & {\tt mp\_copy(\&a, \&b)} & $c = a \wedge b$  & {\tt mp\_and(\&a, \&b, \&c)}  \\
- && $c = a \oplus b$  & {\tt mp\_xor(\&a, \&b, \&c)}  \\
- & \\
-$b = -a $  & {\tt mp\_neg(\&a, \&b)}  & $d = a + b \mod c$  & {\tt mp\_addmod(\&a, \&b, \&c, \&d)}  \\
-$b = |a| $  & {\tt mp\_abs(\&a, \&b)} & $d = a - b \mod c$  & {\tt mp\_submod(\&a, \&b, \&c, \&d)}  \\
- && $d = ab \mod c$  & {\tt mp\_mulmod(\&a, \&b, \&c, \&d)}  \\
-Compare $a$ and $b$ & {\tt mp\_cmp(\&a, \&b)} & $c = a^2 \mod b$  & {\tt mp\_sqrmod(\&a, \&b, \&c)}  \\
-Is Zero? & {\tt mp\_iszero(\&a)} & $c = a^{-1} \mod b$  & {\tt mp\_invmod(\&a, \&b, \&c)} \\
-Is Even? & {\tt mp\_iseven(\&a)} & $d = a^b \mod c$ & {\tt mp\_exptmod(\&a, \&b, \&c, \&d)} \\
-Is Odd ? & {\tt mp\_isodd(\&a)} \\
-&\\
-$\vert \vert a \vert \vert$ & {\tt mp\_unsigned\_bin\_size(\&a)} & $res$ = 1 if $a$ prime to $t$ rounds? & {\tt mp\_prime\_is\_prime(\&a, t, \&res)} \\
-$buf \leftarrow a$          & {\tt mp\_to\_unsigned\_bin(\&a, buf)} & Next prime after $a$ to $t$ rounds. & {\tt mp\_prime\_next\_prime(\&a, t, bbs\_style)} \\
-$a \leftarrow buf[0..len-1]$          & {\tt mp\_read\_unsigned\_bin(\&a, buf, len)} \\
-&\\
-$b = \sqrt{a}$ & {\tt mp\_sqrt(\&a, \&b)}  & $c = \mbox{gcd}(a, b)$ & {\tt mp\_gcd(\&a, \&b, \&c)} \\
-$c = a^{1/b}$ & {\tt mp\_n\_root(\&a, b, \&c)} & $c = \mbox{lcm}(a, b)$ & {\tt mp\_lcm(\&a, \&b, \&c)} \\
-&\\
-Greater Than & MP\_GT & Equal To & MP\_EQ \\
-Less Than & MP\_LT & Bits per digit & DIGIT\_BIT \\
-\end{tabular}
-\end{document}
diff --git a/makefile b/makefile
index aa104c6..82d278d 100644
--- a/makefile
+++ b/makefile
@@ -123,7 +123,7 @@ tune: $(LIBNAME)
 coveralls: lcov
 	coveralls-lcov
 
-poster docs manual:
+docs manual:
 	$(MAKE) -C doc/ $@ V=$(V)
 
 .PHONY: pre_gen