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 --- .../doc/latex/biblatex-ajc2020unofficial/README.md | 42 +++++++++++++ .../ajc2020unofficial.bbx | 73 ++++++++++++++++++++++ .../ajc2020unofficial.cbx | 4 ++ Master/tlpkg/bin/tlpkg-ctan-check | 3 +- .../tlpkg/tlpsrc/biblatex-ajc2020unofficial.tlpsrc | 0 Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc | 1 + 6 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/biblatex-ajc2020unofficial/README.md create mode 100644 Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx create mode 100644 Master/tlpkg/tlpsrc/biblatex-ajc2020unofficial.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/biblatex-ajc2020unofficial/README.md b/Master/texmf-dist/doc/latex/biblatex-ajc2020unofficial/README.md new file mode 100644 index 00000000000..4959b4cd89b --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-ajc2020unofficial/README.md @@ -0,0 +1,42 @@ +# biblatex-ajc2020unofficial + +An *unofficial* `biblatex` style files for Australasian Journal of Combinatorics. +Note that the journal (as for 01 March 2020) does not accept `biblatex`, +so you probably want to use [`biblatex2bibitem`](https://gitlab.com/Nickkolok/biblatex2bibitem). + +This is de-facto fork of [`biblatex-math`](https://github.com/konn/biblatex-math). + +## License + +LPPL - LaTeX Project Public License v1.3c+, DFSG compat. + +## Options + +
+
sentencedtitle (default: false)
+
+Whether to make title alphabet sentence-style or not. +If true, for example, The Proof of Riemann Hypothesis will be rendered as "The proof of riemann hypothesis". To prevent letters to be downcased, you can use braces: The Proof of {Riemann} Hypothesis will result in The proof of Riemann hypothesis. +You also have to embrace maths with { and }, as in A short proof of {$1 + 1 \neq 2$}, otherwise LaTeX halts with an error. +
+
dashed (default: false)
+
Whether to omit the same author(s) by _____, as in amsrefs. +**Not recommended for AJC, but left here for compatibility reasons.**
+
+ +## Usage + +1. Copy the two files ( `biblatex-ajc2020unofficial.bbx` and `biblatex-ajc2020unofficial.cbx` ) into the folder with your paper +or install them globally (manually or from CTAN); + +2. Use `biblatex` with `style=ajc2020unofficial` option, e.g. +```latex +\usepackage[backend=biber,style=ajc2020unofficial]{biblatex} + +``` + +## Project pages + ++ [GitLab](https://gitlab.com/Nickkolok/biblatex-ajc2020unofficial) + ++ [CTAN](https://ctan.org/pkg/biblatex-ajc2020unofficial) 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 diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index b5dcac30d6a..24a8c6c484f 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -99,7 +99,8 @@ my @TLP_working = qw( bera berenisadf besjournals bestpapers betababel beton beuron bewerbung bez123 bezierplot bgreek bgteubner bguq bhcexam bib-fr bib2gls bibarts biber bibhtml - biblatex biblatex-abnt biblatex-anonymous biblatex-apa biblatex-apa6 + biblatex biblatex-abnt biblatex-ajc2020unofficial + biblatex-anonymous biblatex-apa biblatex-apa6 biblatex-archaeology biblatex-arthistory-bonn biblatex-bath biblatex-bookinarticle biblatex-bookinother biblatex-bwl biblatex-caspervector biblatex-cheatsheet biblatex-chem diff --git a/Master/tlpkg/tlpsrc/biblatex-ajc2020unofficial.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-ajc2020unofficial.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc index f308c6e229d..de2dba05bab 100644 --- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc @@ -24,6 +24,7 @@ depend bibexport depend bibhtml depend biblatex depend biblatex-abnt +depend biblatex-ajc2020unofficial depend biblatex-anonymous depend biblatex-apa depend biblatex-apa6 -- cgit v1.2.3