Commits

James Tocknell committed 0f81ac9

Added biblatex formatting

  • Participants
  • Parent commits 4634db4

Comments (0)

Files changed (1)

File texmf/tex/aragilar/sane-biblatex.sty

 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{sane-biblatex}
 
-\RequirePackage[backend=biber,style=authoryear-comp,firstinits=true]{biblatex}
+\RequirePackage[
+  backend=biber,style=authoryear-comp,firstinits=true,dashed=false,
+  maxbibnames=99,eprint=false
+]{biblatex}
 
 
 
        {\finalandcomma}
        {}%
      \andothersdelim\bibstring[\textit]{andothers}}
-    {}}
+    {}} 
+%% Removes in from articles
+\renewbibmacro{in:}{%
+  \ifentrytype{article}{}{%
+  \printtext{\bibstring{in}\intitlepunct}}}
+%% Sets appearance of 
+\DeclareFieldFormat
+  [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
+  {title}{\textbf{#1\isdot}}
+%% Removes appearance of
+\AtEveryBibitem{%
+  \clearname{translator}%
+  \clearfield{pagetotal}%
+  \clearfield{issn}
+}
+%% Removes access date from url
+\renewbibmacro*{url+urldate}{%
+  \printfield{url}%
+  %\iffieldundef{urlyear}
+  %  {}
+  %  {\setunit*{\addspace}%
+  %   \printurldate}
+}