diff --git a/.github/workflows/update_freedv_manual.yml b/.github/workflows/update_freedv_manual.yml index 9e4163c5..a981e09b 100644 --- a/.github/workflows/update_freedv_manual.yml +++ b/.github/workflows/update_freedv_manual.yml @@ -30,7 +30,7 @@ jobs: - name: Render User Manual to PDF and HTML run: | - git_hash=$(git describe --always HEAD); date=$(date "+%b %d %Y"); pandoc USER_MANUAL.md -o USER_MANUAL.pdf -fmarkdown-implicit_figures --from=markdown -V geometry:margin=1in --toc --highlight-style=espresso --number-sections -V title:"FreeDV User Manual\linebreak ${date} ${git_hash}" + git_hash=$(git describe --always HEAD); date=$(date "+%b %d %Y"); pandoc USER_MANUAL.md -o USER_MANUAL.pdf -fmarkdown-implicit_figures --from=markdown -V geometry:margin=1in --toc --highlight-style=espresso --number-sections -V title:"FreeDV User Manual\linebreak ${date} ${git_hash}" -H disable_float.tex pandoc -o USER_MANUAL.html -fmarkdown-implicit_figures --from=markdown --number-sections USER_MANUAL.md ls -l USER_MANUAL.* diff --git a/USER_MANUAL.pdf b/USER_MANUAL.pdf index da7dde1c..34e13b58 100644 Binary files a/USER_MANUAL.pdf and b/USER_MANUAL.pdf differ diff --git a/disable_float.tex b/disable_float.tex new file mode 100644 index 00000000..92bd004f --- /dev/null +++ b/disable_float.tex @@ -0,0 +1,8 @@ +\usepackage{float} +\let\origfigure\figure +\let\endorigfigure\endfigure +\renewenvironment{figure}[1][2] { + \expandafter\origfigure\expandafter[H] +} { + \endorigfigure +}