ReachableCEOResume/CurrentResume/non-cv/code/generateNonCv.sh

57 lines
1.6 KiB
Bash
Raw Normal View History

#!/bin/bash
# Combine markdown files into single input file for pandoc
NonCvResumeInputFiles=(
"../../common/@ReachableCEO/Resume/Common/Contact-Info.md"
"../@ReachableCEO/Resume/Non-CV/Skills.md"
"../@ReachableCEO/Resume/Non-CV/Projects.md"
"../../common/@ReachableCEO/Resume/Common/Work-History.md"
"../../common/@ReachableCEO/Resume/Common/Education.md"
)
rm ../output/intermediate/CharlesNWybleShortResume.md
IFS=$'\n\t'
for file in "${NonCvResumeInputFiles[@]}"; do
cat $file >> ../output/intermediate/CharlesNWybleShortResume.md
done
unset IFS
# Run pandoc to generate HTML/PDF/DOC into output dir
2024-11-18 17:40:26 +00:00
#pandoc \
# < ../output/intermediate/CharlesNWybleShortResume.md \
# --from=markdown \
# --output=../output/final/CharlesNWybleShortResume.pdf
2024-11-18 19:27:58 +00:00
#First html, for resume.reachableceo.com use
#Use pandoc
pandoc \
--from=markdown \
--to=html \
2024-11-18 19:27:58 +00:00
-o /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html \
-c resume-css-stylesheet.css \
../output/intermediate/CharlesNWybleShortResume.md
2024-11-18 19:27:58 +00:00
# pdf/doc, for sending to hiring managers/recruiters via email (and also available on resume.reachableceo.com)
#use wktohtml
2024-11-18 19:27:58 +00:00
pandoc \
--from=markdown \
--to=html \
-o /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html \
-c resume-css-stylesheet.css \
../output/intermediate/CharlesNWybleShortResume.md
#Use pandoc
2024-11-18 19:27:58 +00:00
pandoc \
--from=markdown \
--to=html \
-o /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html \
-c resume-css-stylesheet.css \
../output/intermediate/CharlesNWybleShortResume.md