diff --git a/example.pdf b/example.pdf index 9b8be26..2d496b0 100644 Binary files a/example.pdf and b/example.pdf differ diff --git a/example.toml b/example.toml index e075f07..2d3d469 100644 --- a/example.toml +++ b/example.toml @@ -29,6 +29,8 @@ url = "https://soundcloud.example.com/dandymusicnl" [[work]] name = "Pied Piper" location = "Palo Alto, CA" + +[[work.role]] description = "Awesome compression company" position = "CEO/President" url = "http://piedpiper.example.com" diff --git a/justfile b/justfile index a6fe143..c954464 100644 --- a/justfile +++ b/justfile @@ -4,11 +4,11 @@ default: # format toml fmt: - taplo fmt resume.toml + taplo fmt example.toml # validate toml validate: - taplo lint resume.toml + taplo lint example.toml # create pdf pdf: diff --git a/resume.template b/resume.template index c7c8a7d..9a3e26b 100644 --- a/resume.template +++ b/resume.template @@ -8,20 +8,23 @@ center tab(;); cbx s c s -c s -lfI s. +c s. +.\"cfI s. .TH ./" ============ ./" == HEADER == ./" ============ {{#basics}} +T{ +.LG {{name}} +T} {{email}} - {{phone}} {{#profiles}} {{{url}}} {{/profiles}} .sp 1 -T{ -{{{summary}}} -T} +.\"T{ +.\"{{{summary}}} +.\"T} {{/basics}} .sp 1 . @@ -31,27 +34,33 @@ T} ./" == WORK == ./" ========== .T& -lbv2 s -- - {{#work}} lb r -l r +{{#role}} +lb r {{#highlights}} l s {{/highlights}} +{{/role}} {{/work}} l l. -{{#chicken}}Experience{{/chicken}} {{#work}} -{{{name}}};{{{location}}} -{{{position}}};{{#formatdate}}{{startDate}}{{/formatdate}}\*[-]{{#formatdate}}{{endDate}}{{/formatdate}} +.sp 0.5 +T{ +.LG +.LG +{{{name}}} +T};{{{location}}} +{{#role}} +{{{position}}};{{startDate}}\*[-]{{endDate}} {{#highlights}} T{ .IP \(bu {{{.}}} T} {{/highlights}} -.sp 1 +.sp 0.5 +{{/role}} {{/work}} ; . @@ -67,7 +76,11 @@ lb s l s {{/skills}} l s. +T{ +.LG +.LG Skills +T} {{#skills}} {{{name}}}: {{#join}} {{{keywords}}} {{/join}} {{/skills}} @@ -85,9 +98,13 @@ lb s l r {{/awards}} l r. +T{ +.LG +.LG Awards +T} {{#awards}} -{{title}}, {{awarder}};{{#formatdate}}{{date}}{{/formatdate}} +{{title}}, {{awarder}};{{date}} {{/awards}} ; . @@ -103,9 +120,13 @@ lb s l r {{/education}} l l. +T{ +.LG +.LG Education +T} {{#education}} -{{institution}}, {{area}};{{#formatdate}}{{startDate}}{{/formatdate}}\*[-]{{#formatdate}}{{endDate}}{{/formatdate}} +{{institution}}, {{area}};{{startDate}}-{{endDate}} {{/education}} ; . @@ -121,10 +142,15 @@ lb s l s {{/interests}} l s. +T{ +.LG +.LG Interests +T} {{#interests}} {{name}}: {{#join}} {{{keywords}}} {{/join}} {{/interests}} ; .TE + diff --git a/view.js b/view.js index 9fd3934..c1b31b2 100644 --- a/view.js +++ b/view.js @@ -33,16 +33,20 @@ module.exports = { "name": "Pied Piper", "location": "Palo Alto, CA", - "description": "Awesome compression company", - "position": "CEO/President", - "url": "http://piedpiper.example.com", - "startDate": "2013-12-01", - "endDate": "2014-12-01", - "summary": "Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores™ that are not merely competitive, but approach the theoretical limit of lossless compression.", - "highlights": [ - "Build an algorithm for artist to detect if their music was violating copy right infringement laws", - "Successfully won Techcrunch Disrupt", - "Optimized an algorithm that holds the current world record for Weisman Scores" + "role": [ + { + "description": "Awesome compression company", + "position": "CEO/President", + "url": "http://piedpiper.example.com", + "startDate": "2013-12-01", + "endDate": "2014-12-01", + "summary": "Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores™ that are not merely competitive, but approach the theoretical limit of lossless compression.", + "highlights": [ + "Build an algorithm for artist to detect if their music was violating copy right infringement laws", + "Successfully won Techcrunch Disrupt", + "Optimized an algorithm that holds the current world record for Weisman Scores" + ] + } ] } ],