File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -744,9 +744,11 @@ do_pdf() {
744
744
cp * .upa " ${SOURCE_DIR} " 2> /dev/null
745
745
cp * .upb " ${SOURCE_DIR} " 2> /dev/null
746
746
# Copy converted images so they can be cached as well.
747
- cp * .convert.pdf " ${SOURCE_DIR} " 2> /dev/null
748
- cp * .mermaid.pdf " ${SOURCE_DIR} " 2> /dev/null
749
- cp * .aasvg.pdf " ${SOURCE_DIR} " 2> /dev/null
747
+ find . -type f \( \
748
+ -name " *.convert.pdf" -o \
749
+ -name " *.mermaid.pdf" -o \
750
+ -name " *.aasvg.pdf" \
751
+ \) -exec cp --parents {} " ${SOURCE_DIR} " \; 2> /dev/null
750
752
echo " Elapsed time: $(( $end - $start )) seconds"
751
753
# Write any LaTeX errors to stderr.
752
754
>&2 grep -A 5 " ! " " ${logfile} "
@@ -878,6 +880,11 @@ if [ -n "${PDF_OUTPUT}" ]; then
878
880
fi
879
881
fi
880
882
883
+ # Generate the html output
884
+ if [ -n " ${HTML_OUTPUT} " ]; then
885
+ do_html " ${BUILD_DIR} /${INPUT_FILE} " " ${SOURCE_DIR} /${HTML_OUTPUT} " " ${CROSSREF_TYPE} "
886
+ fi
887
+
881
888
# Generate the docx output
882
889
if [ -n " ${DOCX_OUTPUT} " ]; then
883
890
do_docx " ${BUILD_DIR} /${INPUT_FILE} " " ${SOURCE_DIR} /${DOCX_OUTPUT} "
You can’t perform that action at this time.
0 commit comments