summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-14 21:55:04 +0000
committerKarl Berry <karl@freefriends.org>2016-04-14 21:55:04 +0000
commit21060d422b62cbbd56d5c489a79ea824bcd6e4df (patch)
treed55ce56abd78a5ae7a0c84ef34fd0a2ec5ea81b4 /Master/texmf-dist/tex/latex/nwejm/nwejm.bbx
parent6b756d21397d3b697fc51d31cc87747be1ad76e5 (diff)
nwejm (14apr16)
git-svn-id: svn://tug.org/texlive/trunk@40526 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nwejm/nwejm.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/nwejm/nwejm.bbx116
1 files changed, 116 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx b/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx
new file mode 100644
index 00000000000..7a7eebff3ce
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx
@@ -0,0 +1,116 @@
+%%
+%% This is file `nwejm.bbx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nwejm.dtx (with options: `bibstyle')
+%% -------:| -----------------------------------------------------------------
+%% nwejm:| Class for the journal "North-Western European Journal of Mathematics"
+%% Author:| Denis Bitouze
+%% E-mail:| denis.bitouze@lmpa.univ-littoral.fr
+%% License:| Released under the LaTeX Project Public License v1.3c or later
+%% See:| http://www.latex-project.org/lppl.txt
+%%
+\ProvidesFile{nwejm.bbx}
+[2016/04/01 v 0.1 nwejm bibliographic style (DB)]
+
+\RequireBibliographyStyle{authoryear}
+
+\DeclareNameFormat{giveninits-last}{%
+ \nameparts{#1}
+ \usebibmacro{name:given-family}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+}
+\renewbibmacro*{doi+eprint+url}{%
+ \iftoggle{bbx:doi}%
+ {%
+ \iffieldundef{doi}%
+ {}%
+ {%
+ \begingroup%
+ \edef\URLorDOI{%
+ \detokenize{http://dx.doi.org/}%
+ \thefield{doi}%
+ }%
+ \iffieldequals{url}{\URLorDOI}%
+ {\endgroup}%
+ {%
+ \endgroup%
+ \printfield{doi}%
+ }%
+ }%
+ }%
+ {}%
+ \newunit\newblock%
+ \iftoggle{bbx:eprint}%
+ {\usebibmacro{eprint}}%
+ {}%
+ \newunit\newblock%
+ \iftoggle{bbx:url}%
+ {\usebibmacro{url+urldate}}%
+ {}%
+}
+\renewbibmacro{in:}{%
+ \ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}%
+}
+\renewbibmacro*{journal}{%
+ \iffieldundef{shortjournal}%
+ {%
+ \iffieldundef{journaltitle}%
+ {}%
+ {%
+ \printtext[journaltitle]%
+ {%
+ \printfield[titlecase]{journaltitle}%
+ \setunit{\subtitlepunct}%
+ \printfield[titlecase]{journalsubtitle}%
+ }%
+ }%
+ }%
+ {\printtext[journaltitle]{\printfield[titlecase]{shortjournal}}}%
+}
+\renewbibmacro*{volume+number+eid}{%
+ \printfield{volume}%
+ \setunit*{\addnbthinspace}%
+ \printfield{number}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}%
+}
+\DeclareFieldFormat[article]{volume}{\mkbibbold{#1}}
+\DeclareFieldFormat[book]{volume}{\mkbibbold{#1}}
+\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
+\DeclareLabeldate{%
+ \field{date}%
+ \field{eventdate}%
+ \field{origdate}%
+ \field{urldate}%
+ \field{pubstate}%
+ \literal{nodate}%
+}
+\renewcommand*\bibnamedelimc{\addnbspace}
+\renewcommand*\bibnamedelimd{\addnbspace}
+%%
+%% Copyright (C) 2015, 2016 by Denis Bitouze <denis.bitouze@lmpa.univ-littoral.fr>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (LPPL), either
+%% version 1.3c of this license or (at your option) any later
+%% version. The latest version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Denis Bitouze.
+%%
+%% This work consists of the file nwejm.dtx and a Makefile.
+%% Running "make" generates the derived files README, nwejm.pdf and nwejm.cls.
+%% Running "make inst" installs the files in the user's TeX tree.
+%% Running "make install" installs the files in the local TeX tree.
+%%
+%%
+%% End of file `nwejm.bbx'.