From: adin Date: Mon, 5 Sep 2016 01:43:44 +0000 (-0300) Subject: Fix typo in rol X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=c4eb3bc47c586be985f7c58d5e32a66107fae476;p=mcv-academic Fix typo in rol --- diff --git a/README.md b/README.md index 5ef19af..3141869 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ The style defines the following entries (or types of data) * `description`: extra information you want to give about your position. What you did or achieve in such position. - **Project**. Refers to research or industry projects you won or performed. For example, it aims to hold grants, industry projects, or related items. It supports the following fields - * `rol`: your rol in the project. This field is a string or a `bibstring`. + * `role`: your role in the project. This field is a string or a `bibstring`. * `title`: the name of the project. This field is a string. * `number`: the identifier (or list of identifiers separated by `and`) for the project. * `funding`: the name of the funding agency or organization that was in charge. diff --git a/example/cvdata.bib b/example/cvdata.bib index 7f3a141..db44a6a 100755 --- a/example/cvdata.bib +++ b/example/cvdata.bib @@ -74,7 +74,7 @@ title = {Spatio-temporal dilations and contractions}, author = {John Doe}, Month = oct, - rol = {pi}, + role = {pi}, funding = {TT Foundation}, Year = {2050} } diff --git a/project.bbx b/project.bbx index 9d77f4f..e39f3dd 100755 --- a/project.bbx +++ b/project.bbx @@ -31,14 +31,14 @@ } % Bibliography macros -\newbibmacro{rol}{% - \ifmlfieldundef{rol}% +\newbibmacro{role}{% + \ifmlfieldundef{role}% {}% {% \printtext[]{% - \ifbibxstring{\themlfield{rol}}% - {\bibxstring{\themlfield{rol}}}% - {\printmlfield{rol}}% + \ifbibxstring{\themlfield{role}}% + {\bibxstring{\themlfield{role}}}% + {\printmlfield{role}}% }% }% } @@ -70,7 +70,7 @@ \DeclareBibliographyDriver{project}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% - \usebibmacro{rol}% + \usebibmacro{role}% \newunit% \printmlfield{title}% \newunit% diff --git a/project.dbx b/project.dbx index e507e67..a453503 100755 --- a/project.dbx +++ b/project.dbx @@ -5,13 +5,13 @@ \DeclareDatamodelFields[type=field,datatype=literal]{ funding, - rol, + role, % funding-en, - rol-en, + role-en, % funding-es,% - rol-es,% + role-es,% period% } @@ -36,15 +36,15 @@ number, title, funding, - rol, + role, % title-en funding-en, - rol-en, + role-en, % title-es, funding-es, - rol-es, + role-es, % number, period,