Add dependencies locally

This commit is contained in:
Ahrimdon
2024-02-27 03:09:30 -05:00
parent 1679ef60cc
commit 70e8a8502b
5698 changed files with 2770161 additions and 12 deletions

35
deps/libtommath/doc/.latexindent.yaml vendored Normal file
View File

@ -0,0 +1,35 @@
# 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

2755
deps/libtommath/doc/bn.tex vendored Normal file

File diff suppressed because it is too large Load Diff

49
deps/libtommath/doc/makefile vendored Normal file
View File

@ -0,0 +1,49 @@
ifeq ($V,1)
silent_stdout=
else
silent_stdout= > /dev/null
endif
PLATFORM := $(shell uname | sed -e 's/_.*//')
ifeq ($(PLATFORM), Darwin)
err:
$(error Docs can't be built on Mac)
docs mandvi manual: err
endif
docs: manual
#LTM user manual
mandvi: bn.tex
cp bn.tex bn.bak
touch --reference=bn.tex bn.bak
(printf "%s" "\def\fixedpdfdate{"; date +'D:%Y%m%d%H%M%S%:z' -d @$$(stat --format=%Y bn.tex) | sed "s/:\([0-9][0-9]\)$$/'\1'}/g") > bn-deterministic.tex
printf "%s\n" "\pdfinfo{" >> bn-deterministic.tex
printf "%s\n" " /CreationDate (\fixedpdfdate)" >> bn-deterministic.tex
printf "%s\n}\n" " /ModDate (\fixedpdfdate)" >> bn-deterministic.tex
cat bn.tex >> bn-deterministic.tex
mv bn-deterministic.tex bn.tex
touch --reference=bn.bak bn.tex
echo "hello" > bn.ind
latex bn ${silent_stdout}
latex bn ${silent_stdout}
makeindex bn
latex bn ${silent_stdout}
#LTM user manual [pdf]
manual: mandvi
pdflatex bn >/dev/null
sed -b -i 's,^/ID \[.*\]$$,/ID [<0> <0>],g' bn.pdf
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 configuration is well documented
# http://mirrors.ctan.org/support/latexindent/documentation/latexindent.pdf
pretty:
latexindent -s -w -m -l=.latexindent.yaml bn.tex
clean:
rm -f *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log tommath.tex

1744
deps/libtommath/doc/tommath.3 vendored Normal file

File diff suppressed because it is too large Load Diff