Skip to content

Commit

Permalink
#964: updates to doc and pdf generation
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Sep 2, 2018
1 parent 86d8980 commit df6b5aa
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 41 deletions.
Binary file added Tools/MSTG_tpl.docx
Binary file not shown.
41 changes: 1 addition & 40 deletions Tools/generate_document.sh
Expand Up @@ -2,46 +2,7 @@
type pandoc >/dev/null 2>&1 || { echo >&2 "I require pandoc but it's not installed. Aborting."; exit 1; }
# How to generate Docx
cd ../Document
pandoc -f markdown_github --columns 10000 -t docx -o ../Generated/MSTG.docx \
0x00-Header.md \
Foreword.md \
0x02-Frontispiece.md \
0x03-Overview.md \
0x04-General-Testing-Guide.md \
0x04a-Mobile-App-Taxonomy.md \
0x04b-Mobile-App-Security-Testing.md \
0x04c-Tampering-and-Reverse-Engineering.md \
0x04e-Testing-Authentication-and-Session-Management.md \
0x04f-Testing-Network-Communication.md \
0x04g-Testing-Cryptography.md \
0x04h-Testing-Code-Quality.md \
0x05-Android-Testing-Guide.md \
0x05a-Platform-Overview.md \
0x05b-Basic-Security_Testing.md \
0x05d-Testing-Data-Storage.md \
0x05e-Testing-Cryptography.md \
0x05f-Testing-Local-Authentication.md \
0x05g-Testing-Network-Communication.md \
0x05h-Testing-Platform-Interaction.md \
0x05i-Testing-Code-Quality-and-Build-Settings.md \
0x05c-Reverse-Engineering-and-Tampering.md \
0x05j-Testing-Resiliency-Against-Reverse-Engineering.md \
0x06-iOS-Testing-Guide.md \
0x06a-Platform-Overview.md \
0x06b-Basic-Security-Testing.md \
0x06d-Testing-Data-Storage.md \
0x06e-Testing-Cryptography.md \
0x06f-Testing-Local-Authentication.md \
0x06g-Testing-Network-Communication.md \
0x06h-Testing-Platform-Interaction.md \
0x06i-Testing-Code-Quality-and-Build-Settings.md \
0x06c-Reverse-Engineering-and-Tampering.md \
0x06j-Testing-Resiliency-Against-Reverse-Engineering.md \
0x07-Appendix.md \
0x08-Testing-Tools.md \
0x09-Suggested-Reading.md
# How to generate pdf
pandoc -f markdown_github --columns 10000 --pdf-engine=xelatex -o ../Generated/MSTG.pdf \
pandoc -f markdown_github --toc -N --columns 10000 --reference-doc ../Tools/MSTG_tpl.docx -t docx -o ../Generated/MSTG.docx \
0x00-Header.md \
Foreword.md \
0x02-Frontispiece.md \
Expand Down
2 changes: 1 addition & 1 deletion Tools/genpdf.js
Expand Up @@ -94,7 +94,7 @@ function runPDF() {
lang+"0x08-Testing-Tools.md",
lang+"0x09-Suggested-Reading.md"
],
bookPath = "./test.pdf";
bookPath = "./../generated/MSTG.pdf";
// todo:
// 1. fix new page after before h1 starts
// 2. fix/add TOC
Expand Down
Empty file added Tools/running.js
Empty file.

0 comments on commit df6b5aa

Please sign in to comment.