From: Agnibho Mondal <mondal@agnibho.com>
Date: Fri, 29 May 2020 08:26:49 +0000 (+0530)
Subject: Added comments
X-Git-Url: https://code.agnibho.com/repo?a=commitdiff_plain;h=e139311f134aebc412e5b72f71381863c753bd7d;p=biblatex-vancouver.git

Added comments
---

diff --git a/vancouver.bbx b/vancouver.bbx
index bb874f4..2c4726a 100644
--- a/vancouver.bbx
+++ b/vancouver.bbx
@@ -27,6 +27,7 @@
 
 \RequirePackage{ifthen}
 
+% Set default bibliography options
 \ExecuteBibliographyOptions{
 	sorting=none,
 	giveninits=true,
@@ -35,12 +36,15 @@
 	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
@@ -60,8 +64,10 @@
 	}
 }
 
+% 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}