mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-23 02:26:47 +08:00
initial attempt at pdf
This commit is contained in:
parent
70e3f938f2
commit
ea9c0bf953
44 changed files with 10 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,6 +1,7 @@
|
||||||
# Prerequisites
|
# Prerequisites
|
||||||
*.icloud
|
*.icloud
|
||||||
*.d
|
*.d
|
||||||
|
*.swp
|
||||||
|
|
||||||
temp
|
temp
|
||||||
.DS_*
|
.DS_*
|
||||||
|
|
|
||||||
BIN
LICENSE.pdf
Normal file
BIN
LICENSE.pdf
Normal file
Binary file not shown.
BIN
README.pdf
Normal file
BIN
README.pdf
Normal file
Binary file not shown.
BIN
more/apple_silicon/README.pdf
Normal file
BIN
more/apple_silicon/README.pdf
Normal file
Binary file not shown.
BIN
more/strlen_for_c/README.pdf
Normal file
BIN
more/strlen_for_c/README.pdf
Normal file
Binary file not shown.
BIN
more/system_calls/README.pdf
Normal file
BIN
more/system_calls/README.pdf
Normal file
Binary file not shown.
BIN
not_written_yet.pdf
Normal file
BIN
not_written_yet.pdf
Normal file
Binary file not shown.
BIN
projects/DIRENT/README.pdf
Normal file
BIN
projects/DIRENT/README.pdf
Normal file
Binary file not shown.
BIN
projects/PI/README.pdf
Normal file
BIN
projects/PI/README.pdf
Normal file
Binary file not shown.
BIN
projects/README.pdf
Normal file
BIN
projects/README.pdf
Normal file
Binary file not shown.
BIN
projects/first_project/README.pdf
Normal file
BIN
projects/first_project/README.pdf
Normal file
Binary file not shown.
BIN
projects/walkies/README.pdf
Normal file
BIN
projects/walkies/README.pdf
Normal file
Binary file not shown.
BIN
projects/walkies/single_star.pdf
Normal file
BIN
projects/walkies/single_star.pdf
Normal file
Binary file not shown.
BIN
section_1/const/README.pdf
Normal file
BIN
section_1/const/README.pdf
Normal file
Binary file not shown.
BIN
section_1/fizzbuzz/README.pdf
Normal file
BIN
section_1/fizzbuzz/README.pdf
Normal file
Binary file not shown.
BIN
section_1/for/README.pdf
Normal file
BIN
section_1/for/README.pdf
Normal file
Binary file not shown.
BIN
section_1/funcs/README.pdf
Normal file
BIN
section_1/funcs/README.pdf
Normal file
Binary file not shown.
BIN
section_1/funcs/README2.pdf
Normal file
BIN
section_1/funcs/README2.pdf
Normal file
Binary file not shown.
BIN
section_1/funcs/README3.pdf
Normal file
BIN
section_1/funcs/README3.pdf
Normal file
Binary file not shown.
BIN
section_1/hello_world/README.pdf
Normal file
BIN
section_1/hello_world/README.pdf
Normal file
Binary file not shown.
BIN
section_1/if/README.pdf
Normal file
BIN
section_1/if/README.pdf
Normal file
Binary file not shown.
BIN
section_1/jump_tables/README.pdf
Normal file
BIN
section_1/jump_tables/README.pdf
Normal file
Binary file not shown.
BIN
section_1/recursion/README.pdf
Normal file
BIN
section_1/recursion/README.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/README.pdf
Normal file
BIN
section_1/regs/README.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/backup.pdf
Normal file
BIN
section_1/regs/backup.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/ldr.pdf
Normal file
BIN
section_1/regs/ldr.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/ldr2.pdf
Normal file
BIN
section_1/regs/ldr2.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/regvar.pdf
Normal file
BIN
section_1/regs/regvar.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/spare.pdf
Normal file
BIN
section_1/regs/spare.pdf
Normal file
Binary file not shown.
BIN
section_1/regs/widths.pdf
Normal file
BIN
section_1/regs/widths.pdf
Normal file
Binary file not shown.
BIN
section_1/structs/alignment.pdf
Normal file
BIN
section_1/structs/alignment.pdf
Normal file
Binary file not shown.
BIN
section_1/structs/defining.pdf
Normal file
BIN
section_1/structs/defining.pdf
Normal file
Binary file not shown.
BIN
section_1/structs/using.pdf
Normal file
BIN
section_1/structs/using.pdf
Normal file
Binary file not shown.
BIN
section_1/while/README.pdf
Normal file
BIN
section_1/while/README.pdf
Normal file
Binary file not shown.
BIN
section_2/float/half.pdf
Normal file
BIN
section_2/float/half.pdf
Normal file
Binary file not shown.
BIN
section_2/float/literals.pdf
Normal file
BIN
section_2/float/literals.pdf
Normal file
Binary file not shown.
BIN
section_2/float/rounding.pdf
Normal file
BIN
section_2/float/rounding.pdf
Normal file
Binary file not shown.
BIN
section_2/float/what.pdf
Normal file
BIN
section_2/float/what.pdf
Normal file
Binary file not shown.
BIN
section_2/float/working.pdf
Normal file
BIN
section_2/float/working.pdf
Normal file
Binary file not shown.
BIN
section_3/bitfields/README.pdf
Normal file
BIN
section_3/bitfields/README.pdf
Normal file
Binary file not shown.
BIN
section_3/bitfields/review.pdf
Normal file
BIN
section_3/bitfields/review.pdf
Normal file
Binary file not shown.
BIN
section_3/bitfields/with.pdf
Normal file
BIN
section_3/bitfields/with.pdf
Normal file
Binary file not shown.
BIN
section_3/endian/README.pdf
Normal file
BIN
section_3/endian/README.pdf
Normal file
Binary file not shown.
12
test.bash
12
test.bash
|
|
@ -1,8 +1,14 @@
|
||||||
#!/bin/bash
|
#!/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
|
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
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue