more clean-ups and addition of a latexinden.pl configuration file
This commit is contained in:
parent
3947ffda95
commit
2efbdd543c
@ -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
1547
doc/bn.tex
File diff suppressed because it is too large
Load Diff
@ -38,5 +38,12 @@ manual: mandvi
|
||||
mv bn.bak bn.tex
|
||||
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:
|
||||
rm -f *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log tommath.tex
|
||||
|
Loading…
Reference in New Issue
Block a user