now with msword support
This commit is contained in:
BIN
build/CharlesNWyble-Resume.doc
Normal file
BIN
build/CharlesNWyble-Resume.doc
Normal file
Binary file not shown.
@@ -1,17 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
MarkdownOutputFile="./output/Client-Submit-CharlesNWybleResume.md"
|
||||
MarkdownOutputFile="../MarkdownOutput/client-submit/CharlesNWybleResume.md"
|
||||
rm $MarkdownOutputFile
|
||||
|
||||
# Combine markdown files into single intermediate markdown file
|
||||
|
||||
#Pull in my contact info
|
||||
cat "./Contact-Info-Client-Submit.md" >> $MarkdownOutputFile
|
||||
cat "../boilerplate/Contact-Info-Client-Submit.md" >> $MarkdownOutputFile
|
||||
echo " " >> $MarkdownOutputFile
|
||||
|
||||
echo "## Highlights from my 22 year IT career" >> $MarkdownOutputFile
|
||||
|
||||
cat Projects.md >> "$MarkdownOutputFile"
|
||||
cat ../SkillsAndProjects/Projects.md >> "$MarkdownOutputFile"
|
||||
|
||||
echo "\pagebreak" >> $MarkdownOutputFile
|
||||
|
||||
@@ -29,7 +29,7 @@ echo " " >> $MarkdownOutputFile
|
||||
|
||||
IFS=$'\n\t'
|
||||
for position in \
|
||||
$(cat ./WorkHistory.csv); do
|
||||
$(cat ../WorkHistory/WorkHistory.csv); do
|
||||
|
||||
COMPANY="$(echo $position|awk -F ',' '{print $1}')"
|
||||
TITLE="$(echo $position|awk -F ',' '{print $2}')"
|
||||
@@ -38,7 +38,7 @@ DATEOFEMPLOY="$(echo $position|awk -F ',' '{print $3}')"
|
||||
echo "**$COMPANY | $TITLE | $DATEOFEMPLOY**" >> $MarkdownOutputFile
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
|
||||
cat ./$COMPANY.md >> "$MarkdownOutputFile"
|
||||
cat ../EmployerItems/$COMPANY.md >> "$MarkdownOutputFile"
|
||||
echo " " >> "$MarkdownOutputFile"
|
||||
done
|
||||
unset IFS
|
||||
@@ -57,7 +57,7 @@ echo "|---|---|---|" >> $MarkdownOutputFile
|
||||
#Table rows
|
||||
IFS=$'\n\t'
|
||||
for skill in \
|
||||
$(cat ./Skills.csv); do
|
||||
$(cat ../SkillsAndProjects/Skills.csv); do
|
||||
SKILL_NAME="$(echo $skill|awk -F '|' '{print $1}')"
|
||||
SKILL_YEARS="$(echo $skill|awk -F '|' '{print $2}')"
|
||||
SKILL_DETAIL="$(echo $skill|awk -F '|' '{print $3}')"
|
||||
|
@@ -1,11 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
PDFOutputFIle="./output/client-submit/CharlesNWyble-Resume.pdf"
|
||||
echo "Generating PDF output for client submission version..."
|
||||
|
||||
PDFOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/client-submit/CharlesNWyble-Resume.pdf"
|
||||
MSWordOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/client-submit/CharlesNWyble-Resume.doc"
|
||||
MarkdownInputFile="../MarkdownOutput/client-submit/CharlesNWybleResume.md "
|
||||
PandocMetadataFile="./CharlesNWyble-ClientSubmit.yml"
|
||||
|
||||
pandoc \
|
||||
./output/client-submit/CharlesNWybleResume.md \
|
||||
"$MarkdownInputFile" \
|
||||
--template eisvogel \
|
||||
--metadata-file=./CharlesNWyble-ClientSubmit.yml \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=pdf \
|
||||
--output $PDFOutputFIle
|
||||
--output $PDFOutputFile
|
||||
|
||||
echo "Generating MSWord output for client submission version..."
|
||||
|
||||
pandoc \
|
||||
"$MarkdownInputFile" \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=docx \
|
||||
--reference-doc=resume-docx-reference.docx \
|
||||
--output $MSWordOutputFile
|
@@ -1,9 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
echo "Cleaning up from previous runs..."
|
||||
|
||||
MarkdownOutputFile="../MarkdownOutput/job-board/CharlesNWybleResume.md"
|
||||
rm $MarkdownOutputFile
|
||||
|
||||
# Combine markdown files into single input file for pandoc
|
||||
echo "Combining markdown files into single input file for pandoc..."
|
||||
|
||||
#Pull in my contact info
|
||||
cat "../boilerplate/Contact-Info.md" >> $MarkdownOutputFile
|
||||
|
@@ -1,15 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
MarkdownInputFile="../MarkdownOutput/job-board/CharlesNWybleResume.md"
|
||||
|
||||
# Run pandoc/etc to generate HTML/PDF/DOC into output dir
|
||||
echo "Generating PDF output for job board version..."
|
||||
|
||||
#First html/pdf/doc, for resume.reachableceo.com use
|
||||
PDFOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/job-board/CharlesNWyble-Resume.pdf"
|
||||
MSWordOutputFile="D:/tsys/@Reachableceo/resume.reachableceo.com/job-board/CharlesNWyble-Resume.doc"
|
||||
MarkdownInputFile="../MarkdownOutput/job-board/CharlesNWybleResume.md "
|
||||
PandocMetadataFile="./CharlesNWyble-JobBoard.yml"
|
||||
|
||||
pandoc \
|
||||
$MarkdownInputFile \
|
||||
"$MarkdownInputFile" \
|
||||
--template eisvogel \
|
||||
--metadata-file=./CharlesNWyble-JobBoard.yml \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=pdf \
|
||||
--output /d/tsys/@ReachableCEO/resume.reachableceo.com/CharlesNWybleResume.pdf
|
||||
--output $PDFOutputFile
|
||||
|
||||
echo "Generating MSWord output for client submission version..."
|
||||
|
||||
pandoc \
|
||||
"$MarkdownInputFile" \
|
||||
--metadata-file="$PandocMetadataFile" \
|
||||
--from markdown \
|
||||
--to=docx \
|
||||
--reference-doc=resume-docx-reference.docx \
|
||||
--output $MSWordOutputFile
|
BIN
build/resume-docx-reference.docx
Normal file
BIN
build/resume-docx-reference.docx
Normal file
Binary file not shown.
Reference in New Issue
Block a user