diff options
author | Karl Berry <karl@freefriends.org> | 2022-05-29 21:00:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-05-29 21:00:11 +0000 |
commit | d8f47cb50e0da42aba4e8a5712a909d0cd74e924 (patch) | |
tree | 6f4c395f38662c9d5582755478670ce48d8e8d70 /Master/texmf-dist/tex | |
parent | f1aa3bd76bdb0260efc8e730b92f864255d7fee1 (diff) |
dtk-bibliography.bib (and .bbx,.dbx) in runtime
git-svn-id: svn://tug.org/texlive/trunk@63439 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.bbx | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.dbx | 14 |
2 files changed, 88 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.bbx b/Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.bbx new file mode 100644 index 00000000000..0f7be0ecb64 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.bbx @@ -0,0 +1,74 @@ +%% --------------------------------------------------------------- +%% Rolf Niepraschk, Rolf.Niepraschk@dante.de +%% +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- + +\ProvidesFile{dtk-authoryear.bbx} + [2019/02/09 v0.2 biblatex bibliography style for DTK bibliography] + +% Load the standard style to avoid copy-pasting unnecessary material +\RequireBibliographyStyle{authoryear} + +\setlength{\bibinitsep}{\baselineskip} +\setlength{\bibnamesep}{.25\baselineskip} +\setlength{\bibhang}{0pt} + +\renewcommand*{\newunitpunct}{\addcomma\space} +\DeclareDelimFormat[bib]{nametitledelim}{\addcolon\space} + +\DeclareNameAlias{sortname}{family-given} + +\DeclareFieldFormat[article]{title}{\mkbibemph{#1\isdot}} +\DeclareFieldFormat{journaltitle}{#1} +\DeclareFieldFormat[article]{volume}{% + \mkbibparens{\mkbibmascord{#1}~\bibstring{jourvol}}} + +\NewBibliographyString{license} +\DefineBibliographyStrings{german}{ + license = {Lizenz}, +} + +\DeclareFieldFormat{license}{% + \bibstring{license}: #1\isdot} + + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \usebibmacro{volume+number+eid}% + %\setunit{\addspace}% + %\usebibmacro{issue+date}% + %\setunit{\addcolon\space}% + %\usebibmacro{issue}% + \newunit} + +\renewbibmacro*{volume+number+eid}{% + \printfield{number}% + \setunit{\addnbthinspace\slash\addnbthinspace}% + \printfield{year}% + \setunit{\addspace}% + \printfield{volume}% +} + +\renewbibmacro*{note+pages}{% + \printfield{note}% + \setunit{\bibpagespunct}% + \printfield{pages}% + \setunit{\addcomma\space}% + \printfield{license}% + \newunit +} + +\defbibfilter{hinterderbuehne_ohne_grusswort}{ + keyword=hinterbuehne + and not keyword=grusswort +} + +\defbibfilter{artikel}{ + not keyword=hinterbuehne +} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.dbx b/Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.dbx new file mode 100644 index 00000000000..fd6786712e5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dtk-bibliography/dtk-authoryear.dbx @@ -0,0 +1,14 @@ +%% --------------------------------------------------------------- +%% Rolf Niepraschk, Rolf.Niepraschk@dante.de +%% +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- + +\ProvidesFile{dtk-authoryear.bbx} + [2019/02/05 v0.1 bibliography style data model for DTK bibliography] + +\DeclareDatamodelFields[type=field,datatype=literal]{license} +\DeclareDatamodelEntryfields[article]{license} + +\endinput |