diff options
Diffstat (limited to 'Master')
6 files changed, 122 insertions, 1 deletions
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 + +<dl> +<dt><code>sentencedtitle</code> (default: <code>false</code>)</dt> +<dd> +Whether to make title alphabet sentence-style or not. +If <code>true</code>, for example, <code>The Proof of Riemann Hypothesis</code> will be rendered as "The proof of riemann hypothesis". To prevent letters to be downcased, you can use braces: <code>The Proof of {Riemann} Hypothesis</code> will result in <code>The proof of Riemann hypothesis</code>. +You also have to embrace maths with <code>{</code> and <code>}</code>, as in <code>A short proof of {$1 + 1 \neq 2$}</code>, otherwise LaTeX halts with an error. +</dd> +<dt><code>dashed</code> (default: <code>false</code>)</dt> +<dd>Whether to omit the same author(s) by <code>_____</code>, as in <code>amsrefs</code>. +**Not recommended for AJC, but left here for compatibility reasons.**</dd> +</dl> + +## 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 --- /dev/null +++ b/Master/tlpkg/tlpsrc/biblatex-ajc2020unofficial.tlpsrc 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 |