A lot of work on the presentation

The shell auto-image now runs code and turns the output into an image
that is embedded into the document

The prompt is configurable in /bin/prompt

The first draft is done up until the references section
This commit is contained in:
Jonathan Hodgson 2020-06-11 17:31:21 +01:00
parent 63c02e13f9
commit 22ef5f581d
15 changed files with 584 additions and 61 deletions

14
bin/tidy Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
fixAnsiReset(){
FIND="$(echo -e "\033[m")"
REPLACE="$(echo -e "\033[0m")"
#sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g"
cat - | sed -r 's/\x1B\[m/\x1B\[0m/g'
}
fixTab(){
cat - | sed 's/\t/ /g'
}
cat - | fixAnsiReset | fixTab