From 654712e75e37fdf0737e989cece00af35150a91c Mon Sep 17 00:00:00 2001 From: tjohnson250 Date: Sat, 15 Sep 2018 22:17:45 -0500 Subject: [PATCH] Initial version of presentation type --- cv.bbx | 9 +++++++-- cv.dbx | 5 ++--- example/cvdata.bib | 30 ++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/cv.bbx b/cv.bbx index 07fa87b..e453de1 100644 --- a/cv.bbx +++ b/cv.bbx @@ -110,12 +110,15 @@ {\mkbibparens{\printmlfield{role}}}% \newunit% }% + \newunit% \printmlfield{title}% \newunit% - \usebibmacro{funding-project}% + \printmlfield{eventtitle}% + \newunit% + \printmlfield{location}% \setunit*{\addspace}% \newunit% - \usebibmacro{range-date}% + \printdate% \newunit% \usebibmacro{note}% \usebibmacro{finentry}% @@ -176,6 +179,8 @@ \usebibmacro{list:andothers}% } +\DeclareFieldFormat[presentation]{role}{\mkbibbold{\usebibmacro{field-bibstring}{#1}}} + \DeclareFieldFormat[cvmisc]{title}{#1} %------------------------------------------------------------------------------- diff --git a/cv.dbx b/cv.dbx index 85236c7..9e98b8a 100644 --- a/cv.dbx +++ b/cv.dbx @@ -1,6 +1,6 @@ \ProvidesFile{cv.dbx} -\DeclareLocalizedDatamodelFields[type=field, datatype=literal]{level, period, title, organization, country, description, funding, role, note, type, eventtitle, location} +\DeclareLocalizedDatamodelFields[type=field, datatype=literal]{level, period, title, organization, country, description, funding, role, note, eventtitle, location} \DeclareDatamodelFields[type=list, datatype=literal]{ number% @@ -20,7 +20,7 @@ \DeclareDatamodelFields[type=list, datatype=literal]{dates} % Entries -\DeclareDatamodelEntrytypes{course, cvmisc, position, project, study, thesis} +\DeclareDatamodelEntrytypes{course, cvmisc, position, project, study, thesis, presentation} % Data models \DeclareLocalizedDatamodelEntryfields[course]{% @@ -82,7 +82,6 @@ \DeclareLocalizedDatamodelEntryfields[presentation]{% author,% role,% - type,% title,% eventtitle,% location,% diff --git a/example/cvdata.bib b/example/cvdata.bib index 76ef99e..829ad37 100644 --- a/example/cvdata.bib +++ b/example/cvdata.bib @@ -204,3 +204,33 @@ date={1930/}, keywords = {mem} } + +@presentation{chimed2010, + title= {Toward Clinically Relevant Medical Device Evaluation and Design.}, + author = {Johnson, Todd R.}, + role = {Keynote Speech}, + date= {2010-10-04}, + keywords={international}, + eventtitle = {CHI+Med Medical Device Project Meeting}, + location={United Kingdom}, + note={Presented as part of the CHI+Med annual meeting} +} + +@presentation{invited2015, + author = {Johnson, Todd R. and Smith, John W.}, + title= {CV Design in \LaTeX}, + role = {Tutorial}, + date= {2015-10-04/2015-10-05}, + keywords={international}, + eventtitle = {\LaTeX Users Group}, + location={Dallas, TX} +} + +@presentation{tutorial2016, + title= {CV Design in \LaTeX}, + role = {Invited Speaker}, + date= {2016-10-01}, + keywords={international}, + eventtitle = {\LaTeX Users Group}, + location={Houston, TX} +} \ No newline at end of file -- 2.50.1