]> hydra-www.ietfng.org Git - mcv-academic/commitdiff
Initial version of presentation type
authortjohnson250 <todd.r.johnson@uth.tmc.edu>
Sun, 16 Sep 2018 03:17:45 +0000 (22:17 -0500)
committertjohnson250 <todd.r.johnson@uth.tmc.edu>
Sun, 16 Sep 2018 03:17:45 +0000 (22:17 -0500)
cv.bbx
cv.dbx
example/cvdata.bib

diff --git a/cv.bbx b/cv.bbx
index 07fa87b746f9ef9913d4b51b0073223870c9eb7e..e453de1bc16006e2b8565137f552af7c6c005280 100644 (file)
--- a/cv.bbx
+++ b/cv.bbx
       {\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}%
   \usebibmacro{list:andothers}%
 }
 
+\DeclareFieldFormat[presentation]{role}{\mkbibbold{\usebibmacro{field-bibstring}{#1}}}
+
 \DeclareFieldFormat[cvmisc]{title}{#1}
 
 %-------------------------------------------------------------------------------
diff --git a/cv.dbx b/cv.dbx
index 85236c75558fe51f69c297d4f6e1939ab2c2e8f7..9e98b8a4f089ae69d0bfec254fe563f5a2edb446 100644 (file)
--- 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,%
index 76ef99e066cf7ab4de104460ad3454df1d57662e..829ad37cd56500d83e6bfe28964626f9dfe87584 100644 (file)
   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