[final report] Bugfix: Fix errors in latex

This commit is contained in:
Starbeamrainbowlabs 2019-09-02 12:46:47 +01:00
parent 4631152782
commit 7c487a932f

16
build
View file

@ -41,11 +41,12 @@ if [[ "$#" -lt 1 ]]; then
echo -e " ${CACTION}server${RS} - Start a temporary web server for the web interface."; echo -e " ${CACTION}server${RS} - Start a temporary web server for the web interface.";
echo -e " ${CACTION}server-stop${RS} - Stop a temporary web server."; echo -e " ${CACTION}server-stop${RS} - Stop a temporary web server.";
echo -e ""; echo -e "";
echo -e "${CSECTION}Extra development actions${RS}"; echo -e "${CSECTION}${LC}Extra development actions${RS}${LC}";
echo -e " ${CACTION}client${RS} - Build the client-side code."; echo -e " ${CACTION}client${RS}${LC} - Build the client-side code.";
echo -e " ${CACTION}client-watch${RS} - Auto-rebuild the client-side code on modification."; echo -e " ${CACTION}client-watch${RS}${LC} - Auto-rebuild the client-side code on modification.";
echo -e " ${CACTION}render${RS} - Render the report"; echo -e " ${CACTION}render-initial${RS}${LC} - Render the initial report";
echo -e " ${CACTION}geojson-debug${RS} - Generate some GeoJSON from the raw readings for debugging purposes (paste into geojson.io)"; echo -e " ${CACTION}render-final${RS}${LC} - Render the final report";
echo -e " ${CACTION}geojson-debug${RS}${LC} - Generate some GeoJSON from the raw readings for debugging purposes (paste into geojson.io)";
echo -e ""; echo -e "";
exit 1; exit 1;
@ -237,9 +238,12 @@ task_geojson-debug() {
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ██ ██ ███████ ██ ██████ ██ ██ ██ ███████ # ██ ██ ███████ ██ ██████ ██ ██ ██ ███████
task_render() { task_render-initial() {
_render-latex-pdf "Reports/Initial-Report/Initial-Report.tex"; _render-latex-pdf "Reports/Initial-Report/Initial-Report.tex";
} }
task_render-final() {
_render-latex-pdf "Reports/Final-Report/Final-Report.tex";
}
# $1 - Location of top-level LaTeX file # $1 - Location of top-level LaTeX file
_render-latex-pdf() { _render-latex-pdf() {