]> hydra-www.ietfng.org Git - mcv-academic/commitdiff
Fix typo in rol
authoradin <adinriv@gmail.com>
Mon, 5 Sep 2016 01:43:44 +0000 (22:43 -0300)
committeradin <adinriv@gmail.com>
Mon, 5 Sep 2016 01:43:44 +0000 (22:43 -0300)
README.md
example/cvdata.bib
project.bbx
project.dbx

index 5ef19af499f670deb6830aceef485db2e6b11142..31418695d1322fce74252639b5beb085463da6f8 100644 (file)
--- 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.
index 7f3a141746bb41a80fa324370263cbbbe17286d7..db44a6a14a03ce10167023f7db43ef1ed5714b50 100755 (executable)
@@ -74,7 +74,7 @@
   title = {Spatio-temporal  dilations  and  contractions},
   author = {John  Doe},
   Month = oct,
-  rol = {pi},
+  role = {pi},
   funding = {TT  Foundation},
   Year = {2050}
 }
index 9d77f4f4db53cd02638b1163b9ccb1d8a489fe50..e39f3dd0c6b74ef890fa4c8d15f85884fd64496e 100755 (executable)
 }
 
 % 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%
index e507e679683fe0c8c0c7f05c7a25f86ec53a4915..a4535039c204846b4bb9b6e9324d4b12bf938d90 100755 (executable)
@@ -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%
 }
 
   number,
   title,
   funding,
-  rol,
+  role,
   %
   title-en
   funding-en,
-  rol-en,
+  role-en,
   %
   title-es,
   funding-es,
-  rol-es,
+  role-es,
   %
   number,
   period,