diff --git a/product-guide/CMakeLists.txt b/product-guide/CMakeLists.txt index 9802c55..2d23021 100644 --- a/product-guide/CMakeLists.txt +++ b/product-guide/CMakeLists.txt @@ -27,11 +27,7 @@ project(${DIRNAME} VERSION 0 LANGUAGES ) # File paths set(ADOC_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/manual.adoc") -set(ADOC_EXTRAS - "anms-components-logical.gv" - "anms-components-protocol.gv" - "anms-light-protocol.gv" -) +file(GLOB ADOC_EXTRAS "*.gv") find_program(ASCIIDOC asciidoctor REQUIRED) @@ -51,11 +47,11 @@ add_custom_command( OUTPUT ${OUT_DBOOK} DEPENDS ${ADOC_SOURCE} ${ADOC_EXTRAS} ${OUT_DOCINFO} COMMAND - ${ASCIIDOC} -v -r asciidoctor-diagram + ${ASCIIDOC} -r asciidoctor-diagram --base-dir ${CMAKE_CURRENT_SOURCE_DIR} --destination-dir ${CMAKE_CURRENT_BINARY_DIR} -o ${OUT_DBOOK} - ${ADOC_SOURCE} + ${ADOC_SOURCE} ) # Place source images into build directory set(INSTALL_IMGS ${CMAKE_CURRENT_SOURCE_DIR}/install_imgs.sh) @@ -164,7 +160,7 @@ if(XMLSTARLET AND ASPELL) "${OUT_HTML}" "misspelling.txt" COMMAND ${XMLSTARLET} fo "${OUT_HTML}" | - grep --file "misspelling.txt" >"misspelling-ctx.txt" || true + grep --word-regexp --file "misspelling.txt" >"misspelling-ctx.txt" || true ) add_custom_target( ${PROJECT_NAME}-misspelling ALL diff --git a/product-guide/docinfo.xml.in b/product-guide/docinfo.xml.in index 771fd11..9678eca 100644 --- a/product-guide/docinfo.xml.in +++ b/product-guide/docinfo.xml.in @@ -1,10 +1,12 @@ -DOC-005444, Prepared by The Johns Hopkins Applied Physics Laboratory - +DOC-005444 - - JHU/APL - + + +Prepared by The Johns Hopkins University Applied Physics Laboratory + + + 2023-2026 The Johns Hopkins University Applied Physics Laboratory LLC diff --git a/product-guide/pdf-opts.xsl b/product-guide/pdf-opts.xsl index af963bb..9f9e6ca 100644 --- a/product-guide/pdf-opts.xsl +++ b/product-guide/pdf-opts.xsl @@ -6,6 +6,9 @@ 0.75in 0.75in + no + yes + 0 1 2 diff --git a/user-guide/CMakeLists.txt b/user-guide/CMakeLists.txt index 04ee805..1f7bd25 100644 --- a/user-guide/CMakeLists.txt +++ b/user-guide/CMakeLists.txt @@ -47,11 +47,11 @@ add_custom_command( OUTPUT ${OUT_DBOOK} DEPENDS ${ADOC_SOURCE} ${ADOC_EXTRAS} ${OUT_DOCINFO} COMMAND - ${ASCIIDOC} -v -r asciidoctor-diagram + ${ASCIIDOC} -r asciidoctor-diagram --base-dir ${CMAKE_CURRENT_SOURCE_DIR} --destination-dir ${CMAKE_CURRENT_BINARY_DIR} -o ${OUT_DBOOK} - ${ADOC_SOURCE} + ${ADOC_SOURCE} ) # Place source images into build directory set(INSTALL_IMGS ${CMAKE_CURRENT_SOURCE_DIR}/install_imgs.sh) @@ -160,7 +160,7 @@ if(XMLSTARLET AND ASPELL) "${OUT_HTML}" "misspelling.txt" COMMAND ${XMLSTARLET} fo "${OUT_HTML}" | - grep --file "misspelling.txt" >"misspelling-ctx.txt" || true + grep --word-regexp --file "misspelling.txt" >"misspelling-ctx.txt" || true ) add_custom_target( ${PROJECT_NAME}-misspelling ALL diff --git a/user-guide/docinfo.xml.in b/user-guide/docinfo.xml.in index 67cba2d..3bca22a 100644 --- a/user-guide/docinfo.xml.in +++ b/user-guide/docinfo.xml.in @@ -1,10 +1,12 @@ -DOC-005443, Prepared by The Johns Hopkins Applied Physics Laboratory - +DOC-005443 - - JHU/APL - + + +Prepared by The Johns Hopkins University Applied Physics Laboratory + + + 2023-2026 The Johns Hopkins University Applied Physics Laboratory LLC diff --git a/user-guide/pdf-opts.xsl b/user-guide/pdf-opts.xsl index af963bb..9f9e6ca 100644 --- a/user-guide/pdf-opts.xsl +++ b/user-guide/pdf-opts.xsl @@ -6,6 +6,9 @@ 0.75in 0.75in + no + yes + 0 1 2