From 70b1d30330ecc20c46911cdebcff2ad5c70c65d9 Mon Sep 17 00:00:00 2001 From: talbpw Date: Tue, 23 Jul 2024 15:29:27 -0600 Subject: [PATCH 1/2] manual creation script for Windows --- doc/user_manual/make_win.sh | 39 +++++++++++++++++++++++ doc/user_manual/src/HERON_user_manual.tex | 1 + 2 files changed, 40 insertions(+) create mode 100644 doc/user_manual/make_win.sh diff --git a/doc/user_manual/make_win.sh b/doc/user_manual/make_win.sh new file mode 100644 index 00000000..42c9c58e --- /dev/null +++ b/doc/user_manual/make_win.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +declare -a files=(heron_user_manual) + +clean_files() { + rm -rf build pdf +} + +gen_files () { + ./script/copy_tex.sh + python script/generate_user_manual.py + cd build + for file in "${files[@]}" + do + pdflatex -interaction=nonstopmode $file.tex + pdflatex -interaction=nonstopmode $file.tex + pdflatex -interaction=nonstopmode $file.tex + done + cd ../ + cp -f build/HERON_user_manual.pdf pdf/ + + + # git log -1 --format="%H %an %aD" .. > ../version.tex + # python ../../scripts/library_handler.py manual > libraries.tex + # bash.exe ./create_command.sh + # bash.exe ./create_pip_commands.sh + # for file in "${files[@]}" + # do + # # Generate files. + # pdflatex -interaction=nonstopmode $file.tex + # bibtex $file + # pdflatex -interaction=nonstopmode $file.tex + # pdflatex -interaction=nonstopmode $file.tex + + # done +} + +clean_files +gen_files diff --git a/doc/user_manual/src/HERON_user_manual.tex b/doc/user_manual/src/HERON_user_manual.tex index d3bb7280..f7667c24 100644 --- a/doc/user_manual/src/HERON_user_manual.tex +++ b/doc/user_manual/src/HERON_user_manual.tex @@ -13,6 +13,7 @@ \usepackage{xcolor} % Using xcolor for more robust color specification \usepackage{ifthen} % For simple checking in newcommand blocks \usepackage{textcomp} +\usepackage{xurl} % increase allowable depth of itemize lists % - note that as of this writing we need a depth of 5. From 304275dc4754d71d092cb4a518284d240a34092c Mon Sep 17 00:00:00 2001 From: talbpw Date: Tue, 23 Jul 2024 15:38:02 -0600 Subject: [PATCH 2/2] clean up --- doc/user_manual/make_win.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/doc/user_manual/make_win.sh b/doc/user_manual/make_win.sh index 42c9c58e..5ae0108f 100644 --- a/doc/user_manual/make_win.sh +++ b/doc/user_manual/make_win.sh @@ -19,20 +19,6 @@ gen_files () { cd ../ cp -f build/HERON_user_manual.pdf pdf/ - - # git log -1 --format="%H %an %aD" .. > ../version.tex - # python ../../scripts/library_handler.py manual > libraries.tex - # bash.exe ./create_command.sh - # bash.exe ./create_pip_commands.sh - # for file in "${files[@]}" - # do - # # Generate files. - # pdflatex -interaction=nonstopmode $file.tex - # bibtex $file - # pdflatex -interaction=nonstopmode $file.tex - # pdflatex -interaction=nonstopmode $file.tex - - # done } clean_files