Skip to content

Commit 04be8ff

Browse files
committed
docfix: generate-pdf.sh font and loop
1 parent 7f0b62b commit 04be8ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

obp-api/src/main/resources/docs/generate-pdf.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# - Font: DejaVu Sans (for compatibility)
1010
# - Colors: OBP Green (#1BA563), Dark Green (#0A281E), Light Green (#5F8E82)
1111

12-
set -e
12+
# Note: Not using 'set -e' to allow batch processing to continue on errors
1313

1414
# Check if pandoc is installed
1515
if ! command -v pandoc &> /dev/null; then
@@ -46,7 +46,7 @@ LATEX_HEADER=$(cat <<'EOF'
4646
\fancyhf{}
4747
\fancyhead[L]{\textcolor{OBPDarkGreen}{\small\leftmark}}
4848
\fancyhead[R]{\textcolor{OBPDarkGreen}{\small\thepage}}
49-
\fancyfoot[C]{\textcolor{OBPLightGreen}{\footnotesize Copyright © TESOBE GmbH 2025}}
49+
\fancyfoot[C]{\textcolor{OBPLightGreen}{\tiny Copyright © TESOBE GmbH 2025, License: AGPLv3}}
5050
\renewcommand{\headrulewidth}{0.5pt}
5151
\renewcommand{\footrulewidth}{0.5pt}
5252
\renewcommand{\headrule}{\hbox to\headwidth{\color{OBPGreen}\leaders\hrule height \headrulewidth\hfill}}
@@ -105,7 +105,7 @@ generate_pdf() {
105105
-V toccolor="[HTML]{$OBP_DARK_GREEN}" \
106106
-V header-includes="$LATEX_HEADER" \
107107
--metadata title="$DOC_TITLE" \
108-
--metadata author="Open Bank Project / TESOBE GmbH" \
108+
--metadata author="TESOBE GmbH" \
109109
--metadata date="$(date +%Y-%m-%d)" \
110110
2>&1 | grep -v "^$" || true
111111

@@ -175,7 +175,7 @@ if [ $# -eq 0 ]; then
175175
fi
176176

177177
echo "PDF styling:"
178-
echo " - Font: DejaVu Sans (professional, compatible)"
178+
echo " - Font: DejaVu Sans"
179179
echo " - Colors: OBP brand palette"
180180
echo " * Links: OBP Green (#$OBP_GREEN)"
181181
echo " * Headers: Dark Green (#$OBP_DARK_GREEN)"

0 commit comments

Comments
 (0)