Commit e2f8df335842f0b9657b00dd311324c720de002b

Steffen Jaeckel 2019-10-27T21:19:37

fix doc [skip ci] + ignore bak files generated by latexindent + silence latexindent

diff --git a/.gitignore b/.gitignore
index 7cd346f..f1c0a05 100644
--- a/.gitignore
+++ b/.gitignore
@@ -95,5 +95,6 @@ test_*.txt
 *.zip
 
 doc/pics/*.ps
+doc/*.bak*
 
 callgraph.txt
diff --git a/doc/bn.tex b/doc/bn.tex
index 5bdd874..c655848 100644
--- a/doc/bn.tex
+++ b/doc/bn.tex
@@ -444,8 +444,7 @@ libtommath.a).	There is no library initialization required and the entire librar
 \section{Return Codes}
 There are five possible return codes a function may return.
 
-\index{MP\_OKAY}\index{MP\_VAL}\index{MP\_MEM}\index{MP\_ITER}\index{M
-  P\_BUF}
+\index{MP\_OKAY}\index{MP\_VAL}\index{MP\_MEM}\index{MP\_ITER}\index{MP\_BUF}
 \begin{figure}[h!]
   \begin{center}
     \begin{small}
diff --git a/doc/makefile b/doc/makefile
index 124859e..84c48e4 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -43,7 +43,7 @@ manual:	mandvi
 # Its configuraion is well documented
 # http://mirrors.ctan.org/support/latexindent/documentation/latexindent.pdf
 pretty:
-	latexindent -w -m -l=.latexindent.yaml bn.tex
+	latexindent -s -w -m -l=.latexindent.yaml bn.tex
 
 clean:
 	rm -f *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log tommath.tex