]> Softwares of Agnibho - biblatex-vancouver.git/commitdiff
Added comments
authorAgnibho Mondal <mondal@agnibho.com>
Fri, 29 May 2020 08:26:49 +0000 (13:56 +0530)
committerAgnibho Mondal <mondal@agnibho.com>
Fri, 29 May 2020 08:26:49 +0000 (13:56 +0530)
vancouver.bbx

index bb874f4cf80fa0e128efdcb7f089291576be6753..2c4726a2816ff2b4b41728680379be2f9ac082f9 100644 (file)
@@ -27,6 +27,7 @@
 
 \RequirePackage{ifthen}
 
+% Set default bibliography options
 \ExecuteBibliographyOptions{
        sorting=none,
        giveninits=true,
        maxbibnames=99
 }
 
+% Remove unwanted punctuations
 \renewcommand*{\revsdnamepunct}{}
 \renewcommand*{\finentrypunct}{}
 \renewcommand*{\bibpagespunct}{\addspace}
 
+% Remove 'in:' string
 \renewbibmacro{in:}{}
 
+% Provide three letter month names
 \newcommand*{\shortmonth}[1]{
        \ifthenelse{\NOT\equal{#1}{}}{
                \ifcase#1\relax
        }
 }
 
+% Family name first
 \DeclareNameAlias{default}{family-given}
 
+% Remove unwanted formatting
 \DeclareFieldFormat*{title}{#1}
 \DeclareFieldFormat*{journaltitle}{#1}
 \DeclareFieldFormat*{labelnumberwidth}{#1\adddot}
@@ -80,6 +86,7 @@
        \thefield{urlday}{]}
 }
 
+% Some string replacements
 \DeclareSourcemap{
        \maps[datatype=bibtex]{
                \map[overwrite=true]{
@@ -89,7 +96,8 @@
        }
 }
 
-%no number in ouput of bibliography
+% Code adapted from biblatex-nejm package
+
 \renewbibmacro*{volume+number+eid}{
        \printfield{volume}
        \printfield{number}