2024-11-27 19:59:37 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
rm ./output/intermediate/CharlesNWybleShortResume.md
|
|
|
|
|
|
|
|
# todo. html version.
|
|
|
|
#rm /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html
|
|
|
|
|
|
|
|
IntermediateOutputFile="./output/intermediate/CharlesNWybleShortResume.md"
|
|
|
|
|
|
|
|
|
|
|
|
# Combine markdown files into single input file for pandoc
|
|
|
|
|
|
|
|
NonCvResumeInputFiles=(
|
|
|
|
"../@ReachableCEO/Resume/Non-CV/Skills.md"
|
|
|
|
"../@ReachableCEO/Resume/Non-CV/Projects.md"
|
|
|
|
)
|
|
|
|
|
|
|
|
#Pull in my contact info
|
|
|
|
cat "../common/@ReachableCEO/Resume/Common/Contact-Info.md" >> $IntermediateOutputFile
|
|
|
|
echo " " >> $IntermediateOutputFile
|
|
|
|
|
|
|
|
#Pull in my skills
|
|
|
|
cat "../common/@ReachableCEO/Resume/Common/Skills.md" >> $IntermediateOutputFile
|
|
|
|
echo " " >> $IntermediateOutputFile
|
|
|
|
|
|
|
|
#Pull in my projects
|
|
|
|
cat "./@ReachableCEO/Resume/Non-Cv/Projects.md" >> $IntermediateOutputFile
|
|
|
|
echo " " >> $IntermediateOutputFile
|
|
|
|
|
|
|
|
#Pull in my work history
|
|
|
|
cat "./@ReachableCEO/Resume/Non-CV/Work-History.md" >> $IntermediateOutputFile
|
|
|
|
echo " " >> $IntermediateOutputFile
|
|
|
|
|
|
|
|
#Pull in my education info
|
|
|
|
cat "../common/@ReachableCEO/Resume/common/Education.md" >> $IntermediateOutputFile
|
|
|
|
echo " " >> $IntermediateOutputFile
|
|
|
|
|
|
|
|
# Run pandoc to generate HTML/PDF/DOC into output dir
|
|
|
|
|
|
|
|
#First html, for resume.reachableceo.com use
|
|
|
|
|
|
|
|
pandoc \
|
2024-11-27 20:06:31 +00:00
|
|
|
$IntermediateOutputFile \
|
2024-11-27 19:59:37 +00:00
|
|
|
--template eisvogel \
|
|
|
|
--metadata-file=../common/HumanOutput.yml \
|
|
|
|
--from markdown \
|
|
|
|
--to=pdf \
|
2024-11-27 20:05:12 +00:00
|
|
|
--output /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.pdf
|