full paths make everything work

This commit is contained in:
Charles N Wyble 2024-12-11 18:22:25 -06:00
parent d4899ee823
commit 65824280a7
6 changed files with 109 additions and 7 deletions

12
dsr-publish/2025Plan.yml Normal file
View File

@ -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

View File

@ -0,0 +1,70 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœmŽ;Â@ Dû=…/€±½þí18 „ûKì¢D
ráÑÈóƯÂ0f™á|%˜ß… •1ÓÁš¡DÀég,7˜
!iÂjÒ”»P µ/c<>h¶pxr‰<C382>ˆá±1Wã^Ž™Qd£%qó!º9ZDj¿¥ UÅѪíÙûËAµp<C2B5>ñr$Õ&]x_ìƒÊȽŸI±WÿÃ?f¦r)Ì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

View File

@ -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

View File

@ -1,11 +1,16 @@
#!/bin/bash #!/bin/bash
TODAY_DATE=$(date +%m-%d-%Y) #TODAY_DATE=$(date +%m-%d-%Y)
INPUT_FILE="../dsr-build-temp/@DailyStakeholderReports/Today/DSR-$TODAY_DATE.md" TODAY_DATE=12-10-2024
OUTPUT_FILE="../dsr-build-output/DSR-$TODAY_DATE.pdf"
METADATA_FILE="daily-stakeholder-report.yml"
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" TEMPLATE="eisvogel"
cd /d/tsys/@ReachableCEO/DailyStakeholderReport-Pipeline/dsr-build-temp/@DailyStakeholderReports/Today
pandoc \ pandoc \
$INPUT_FILE \ $INPUT_FILE \
--template $TEMPLATE \ --template $TEMPLATE \

View File

@ -1,4 +1,5 @@
title: Daily Stakeholder Report - \today #title: Daily Stakeholder Report - \today
title: Daily Stakeholder Report - 12-10-2024
titlepage: true titlepage: true
header-left: "\\hspace{1cm}" header-left: "\\hspace{1cm}"
header-center: "\\leftmark" header-center: "\\leftmark"
@ -6,5 +7,5 @@ header-right: "Page \\thepage"
footer-left: "Charles N Wyble" footer-left: "Charles N Wyble"
footer-center: "Tenacity. Velocity. Focus." 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)" 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" titlepage-logo: "D:/tsys/@ReachableCEO/ReachableCEO.png"

View File

@ -41,7 +41,7 @@ post_dsr()
{ {
#TODAY_DATE=$(date +%m-%d-%Y) #TODAY_DATE=$(date +%m-%d-%Y)
TODAY_DATE="12-09-2024" TODAY_DATE=12-10-2024
echo "Posting DSR..." echo "Posting DSR..."