From 3848f603b7ff9c1452267d1756dbc42244e4f870 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 5 Mar 2020 00:51:51 +0000 Subject: biblatex-ajc2020unofficial (4mar20) git-svn-id: svn://tug.org/texlive/trunk@54093 c570f23f-e606-0410-a88d-b1316a301751 --- .../ajc2020unofficial.bbx | 73 ++++++++++++++++++++++ .../ajc2020unofficial.cbx | 4 ++ 2 files changed, 77 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx new file mode 100644 index 00000000000..7b52892aae5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx @@ -0,0 +1,73 @@ +\ProvidesFile{ajc2020unofficial.bbx}[2020/03/03 v0.0.1 unofficial biblatex bibliography style for Australasian Journal of Combinatorics] + +\RequireBibliographyStyle{numeric} +\RequireCitationStyle{numeric} + +\ExecuteBibliographyOptions{labelnumber,firstinits=true,sorting=nyt} + + +\RequireBibliographyStyle{standard} +\newbibmacro*{bbx:savehash}{% + \savefield{fullhash}{\bbx@lasthash}} +\DeclareBibliographyOption[boolean]{dashed}[false]{% + \ifstrequal{#1}{true}{ + \ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}} + }{ + \renewbibmacro*{bbx:savehash}{} + } +} +\DeclareBibliographyOption[boolean]{sentencetitle}[false]{% + \ifstrequal{#1}{true}{% + \DeclareFieldFormat{titlecase}{\MakeSentenceCase*{##1}}% + }{ + \DeclareFieldFormat{titlecase}{{##1}}% + }% +} +\ExecuteBibliographyOptions{sentencetitle,dashed} + +\renewcommand*{\bibfont}{\footnotesize} +\renewcommand*{\subtitlepunct}{\textup{\addcolon}\space} +\renewcommand*{\newunitpunct}{\addcomma\space} +\renewcommand*{\mkbibquote}[1]{\mkbibemph{#1}} +\renewcommand*{\labelnamepunct}{\addcomma\space} +\renewbibmacro*{in:}{} +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\printnames{author}% + \setunit{\addcomma\space}% + \usebibmacro{bbx:savehash}}% + \usebibmacro{authorstrg}} + {\global\undef\bbx@lasthash}} + +\DeclareFieldFormat{journaltitle}{\textup{#1}} +\DeclareFieldFormat{booktitle}{\textup{#1}} +\DeclareFieldFormat[article]{number}{\mkbibbold{#1}} +\DeclareFieldFormat[book]{number}{\mkbibbold{#1}} +\DeclareFieldFormat + [article,inbook,incollection,inproceedings,patent,thesis,unpublished] + {title}{\mkbibemph{#1\isdot}} + +\newbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{fullhash}{\bbx@lasthash}} + and + not test \iffirstonpage + } + {#1} + {#2}} +\renewcommand*{\bibnamedash}{\rule{3em}{0.4pt}\hspace*{.16667em}\addcomma\addspace} + + +\DeclareFieldFormat{pages}{#1} +\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}\isdot} +\DeclareFieldFormat*{title}{#1} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx new file mode 100644 index 00000000000..77c0589e7c5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx @@ -0,0 +1,4 @@ +\ProvidesFile{ajc2020unofficial.cbx}[2020/03/03 v0.0.1 unofficial biblatex bibliography style for Australasian Journal of Combinatorics] +\RequireCitationStyle{numeric} + +\endinput -- cgit v1.2.3