From 65824280a77b56d37e7c3b71c909d06d814e0d29 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Wed, 11 Dec 2024 18:22:25 -0600 Subject: [PATCH] full paths make everything work --- dsr-publish/2025Plan.yml | 12 ++++ dsr-publish/background5.pdf | 70 ++++++++++++++++++++++++ dsr-publish/create-2025Plan.sh | 14 +++++ dsr-publish/create-dsr-pdf.sh | 13 +++-- dsr-publish/daily-stakeholder-report.yml | 5 +- dsr-publish/publish-dsr.sh | 2 +- 6 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 dsr-publish/2025Plan.yml create mode 100644 dsr-publish/background5.pdf create mode 100644 dsr-publish/create-2025Plan.sh diff --git a/dsr-publish/2025Plan.yml b/dsr-publish/2025Plan.yml new file mode 100644 index 0000000..13cd678 --- /dev/null +++ b/dsr-publish/2025Plan.yml @@ -0,0 +1,12 @@ +title: ReachableCEO 2025 Plan +titlepage: true +toc: true +toc-own-page: true +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "Charles N Wyble" +footer-center: "Tenacity. Velocity. Focus." +page-background: "./background5.pdf" +titlepage-logo: "D:/tsys/@ReachableCEO/ReachableCEO.png" +urlcolor: blue diff --git a/dsr-publish/background5.pdf b/dsr-publish/background5.pdf new file mode 100644 index 0000000..f7839c3 --- /dev/null +++ b/dsr-publish/background5.pdf @@ -0,0 +1,70 @@ +%PDF-1.5 +% +3 0 obj +<< /Length 4 0 R + /Filter /FlateDecode +>> +stream +xm;@ D=/18 K삢D +rƯ0f|%߅ 1Dg,7 +!ijҔP /chpxr‰1W^Qd%q!9ZDj UѪApr$&]x_ʑȽIW?fr)6EU +endstream +endobj +4 0 obj + 168 +endobj +2 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +5 0 obj +<< /Type /Page + /Parent 1 0 R + /MediaBox [ 0 0 595.275574 841.889771 ] + /Contents 3 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 2 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 5 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Creator (cairo 1.14.8 (http://cairographics.org)) + /Producer (cairo 1.14.8 (http://cairographics.org)) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000582 00000 n +0000000282 00000 n +0000000015 00000 n +0000000260 00000 n +0000000354 00000 n +0000000647 00000 n +0000000774 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +826 +%%EOF diff --git a/dsr-publish/create-2025Plan.sh b/dsr-publish/create-2025Plan.sh new file mode 100644 index 0000000..ed6d1b4 --- /dev/null +++ b/dsr-publish/create-2025Plan.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +INPUT_FILE="../dsr-build-temp/@DailyStakeholderReports/StrategicPlans/2025-ReachableCEO-Plan.md" +OUTPUT_FILE="../dsr-build-output/ReachableCEO2025Plan.pdf" +METADATA_FILE="2025Plan.yml" +TEMPLATE="eisvogel" + +pandoc \ +$INPUT_FILE \ +--template $TEMPLATE \ +--metadata-file=$METADATA_FILE \ +--from markdown \ +--to=pdf \ +--output $OUTPUT_FILE diff --git a/dsr-publish/create-dsr-pdf.sh b/dsr-publish/create-dsr-pdf.sh index c30a6c4..65ca649 100644 --- a/dsr-publish/create-dsr-pdf.sh +++ b/dsr-publish/create-dsr-pdf.sh @@ -1,11 +1,16 @@ #!/bin/bash -TODAY_DATE=$(date +%m-%d-%Y) -INPUT_FILE="../dsr-build-temp/@DailyStakeholderReports/Today/DSR-$TODAY_DATE.md" -OUTPUT_FILE="../dsr-build-output/DSR-$TODAY_DATE.pdf" -METADATA_FILE="daily-stakeholder-report.yml" +#TODAY_DATE=$(date +%m-%d-%Y) +TODAY_DATE=12-10-2024 + + +INPUT_FILE="DSR-$TODAY_DATE.md" +OUTPUT_FILE="/d/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-build-output/DSR-$TODAY_DATE.pdf" +METADATA_FILE="/d/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-publish/daily-stakeholder-report.yml" TEMPLATE="eisvogel" +cd /d/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-build-temp/@DailyStakeholderReports/Today + pandoc \ $INPUT_FILE \ --template $TEMPLATE \ diff --git a/dsr-publish/daily-stakeholder-report.yml b/dsr-publish/daily-stakeholder-report.yml index c0b4526..e451c64 100644 --- a/dsr-publish/daily-stakeholder-report.yml +++ b/dsr-publish/daily-stakeholder-report.yml @@ -1,4 +1,5 @@ -title: Daily Stakeholder Report - \today +#title: Daily Stakeholder Report - \today +title: Daily Stakeholder Report - 12-10-2024 titlepage: true header-left: "\\hspace{1cm}" header-center: "\\leftmark" @@ -6,5 +7,5 @@ header-right: "Page \\thepage" footer-left: "Charles N Wyble" footer-center: "Tenacity. Velocity. Focus." footer-right: "[Source code](https://git.knownelement.com/reachableceo/DailyStakeholderReport-Pipeline/src/branch/main/dsr-publish/create-dsr-pdf.sh)" -page-background: "D:/tsys/@ReachableCEO/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds/background5.pdf" +page-background: "D:/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-publish/background5.pdf" titlepage-logo: "D:/tsys/@ReachableCEO/ReachableCEO.png" diff --git a/dsr-publish/publish-dsr.sh b/dsr-publish/publish-dsr.sh index 6c8d013..9f7404a 100644 --- a/dsr-publish/publish-dsr.sh +++ b/dsr-publish/publish-dsr.sh @@ -41,7 +41,7 @@ post_dsr() { #TODAY_DATE=$(date +%m-%d-%Y) -TODAY_DATE="12-09-2024" +TODAY_DATE=12-10-2024 echo "Posting DSR..."