initial attempt at pdf

This commit is contained in:
Perry Kivolowitz 2023-01-16 17:32:53 -06:00
parent 70e3f938f2
commit ea9c0bf953
44 changed files with 10 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
# Prerequisites
*.icloud
*.d
*.swp
temp
.DS_*

BIN
LICENSE.pdf Normal file

Binary file not shown.

BIN
README.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
not_written_yet.pdf Normal file

Binary file not shown.

BIN
projects/DIRENT/README.pdf Normal file

Binary file not shown.

BIN
projects/PI/README.pdf Normal file

Binary file not shown.

BIN
projects/README.pdf Normal file

Binary file not shown.

Binary file not shown.

BIN
projects/walkies/README.pdf Normal file

Binary file not shown.

Binary file not shown.

BIN
section_1/const/README.pdf Normal file

Binary file not shown.

Binary file not shown.

BIN
section_1/for/README.pdf Normal file

Binary file not shown.

BIN
section_1/funcs/README.pdf Normal file

Binary file not shown.

BIN
section_1/funcs/README2.pdf Normal file

Binary file not shown.

BIN
section_1/funcs/README3.pdf Normal file

Binary file not shown.

Binary file not shown.

BIN
section_1/if/README.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
section_1/regs/README.pdf Normal file

Binary file not shown.

BIN
section_1/regs/backup.pdf Normal file

Binary file not shown.

BIN
section_1/regs/ldr.pdf Normal file

Binary file not shown.

BIN
section_1/regs/ldr2.pdf Normal file

Binary file not shown.

BIN
section_1/regs/regvar.pdf Normal file

Binary file not shown.

BIN
section_1/regs/spare.pdf Normal file

Binary file not shown.

BIN
section_1/regs/widths.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
section_1/structs/using.pdf Normal file

Binary file not shown.

BIN
section_1/while/README.pdf Normal file

Binary file not shown.

BIN
section_2/float/half.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
section_2/float/what.pdf Normal file

Binary file not shown.

BIN
section_2/float/working.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
section_3/endian/README.pdf Normal file

Binary file not shown.

View file

@ -1,8 +1,14 @@
#!/bin/bash
file_list=`git diff --name-only main | grep -i ".md"`
#file_list=`git diff --name-only main | grep -i ".md"`
file_list=`find . -print | grep -i ".md"`
for element in "${file_list[@]}"
for element in $file_list
do
echo "input: " $element ${element::-2}.pdf
dir=`dirname ${element}`
cd $dir
echo `pwd`
fname=`basename ${element}`
pandoc $fname -o ${fname::-2}pdf
cd -
done