Skip to content

Commit

Permalink
Merge pull request #5 from johanjvrens/dev
Browse files Browse the repository at this point in the history
Temp fix for broken template due to updated Miketex
  • Loading branch information
johanjvrens committed Apr 1, 2016
2 parents e4abe40 + 3932fe9 commit 0a0c1cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ your PC)
* [multirow](https://www.ctan.org/pkg/multirow)
* [pgf, tikz](https://www.ctan.org/pkg/pgf)
* [pgfplots](https://www.ctan.org/pkg/pgfplots)
* [hyperref](http://www.ctan.org/pkg/hyperref) Added to main.tex

## Contributing

Expand Down
1 change: 1 addition & 0 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{enumitem}
\usepackage{hyperref}
%=================================================
% thesis details
%=================================================
Expand Down
6 changes: 5 additions & 1 deletion sunore.bbx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@

\def\uppercasesingleletter#1{\uppercase{#1}}

% ====================================================================
% Temp fix for template http://www.texdev.net/2016/03/13/biblatex-a-new-syntax-for-declarenameformat/
% ====================================================================
\@ifpackageloaded{biblatex_legacy}{
\DeclareNameFormat{author}{\ifthenelse{\value{listcount}>1}{\ifthenelse{\value{listcount}<\value{liststop}}{, }{ \& }}{}\sc\ifblank{#5}{}{\uppercasesingleletter#5 }#1\ifblank{#4}{}{ #4}}
\DeclareNameFormat{editor}{\ifthenelse{\value{listcount}>1}{\ifthenelse{\value{listcount}<\value{liststop}}{, }{ \& }}{}\sc #1\ifblank{#4}{}{ #4}\ifthenelse{\value{listcount}=\value{liststop}}{\ifthenelse{\value{liststop}=1}{ ({\sc Ed})}{ ({\sc Eds})}}{}}

}
\newcommand{\January}{January}
\newcommand{\February}{February}
\newcommand{\March}{March}
Expand Down

0 comments on commit 0a0c1cc

Please sign in to comment.