more clean-ups and addition of a latexinden.pl configuration file

This commit is contained in:
czurnieden 2019-10-25 02:44:42 +02:00 committed by Steffen Jaeckel
parent 3947ffda95
commit 2efbdd543c
No known key found for this signature in database
GPG Key ID: AF0CB17621EDAD72
3 changed files with 936 additions and 654 deletions

View File

@ -1 +1,35 @@
defaultIndent: " " # 2 spaces
defaultIndent: " "
# verbatim environments- environments specified
# in this hash table will not be changed at all!
verbatimEnvironments:
verbatim: 1
alltt: 1
# verbatim commands such as \verb! body !, \lstinline$something else$
verbatimCommands:
verb: 1
# no indent blocks (not necessarily verbatim
# environments) which are marked as %\begin{noindent}
# or anything else that the user puts in this hash
# table
noIndentBlock:
noindent: 1
# remove trailing whitespace from all lines
removeTrailingWhitespace:
beforeProcessing: 0
afterProcessing: 1
indentAfterItems:
itemize: 1
enumerate: 1
description: 1
list: 1
onlyOneBackUp: 1
modifyLineBreaks:
textWrapOptions:
columns: 100

1547
doc/bn.tex

File diff suppressed because it is too large Load Diff

View File

@ -38,5 +38,12 @@ manual: mandvi
mv bn.bak bn.tex mv bn.bak bn.tex
rm -f bn.aux bn.dvi bn.log bn.idx bn.lof bn.out bn.toc rm -f bn.aux bn.dvi bn.log bn.idx bn.lof bn.out bn.toc
# The file latexindent.pl is in several LaTeX distributions, if not:
# https://ctan.org/pkg/latexindent
# Its configuraion is well documented
# http://mirrors.ctan.org/support/latexindent/documentation/latexindent.pdf
pretty:
latexindent -w -m -l=.latexindent.yaml bn.tex
clean: clean:
rm -f *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log tommath.tex rm -f *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log tommath.tex