diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-science')
4 files changed, 609 insertions, 548 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-science/bbx/science.bbx b/Master/texmf-dist/tex/latex/biblatex-science/bbx/science.bbx deleted file mode 100644 index f56055c496b..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-science/bbx/science.bbx +++ /dev/null @@ -1,537 +0,0 @@ -\ProvidesFile{science.bbx} -[2011/01/10 v1.0a biblatex bibliography style] - -\ExecuteBibliographyOptions{labelnumber,maxbibnames=5,useprefix=true} - -\newbibmacro*{begentry}{} -\newbibmacro*{finentry}{\finentry} - -% The standard aliases - -\DeclareNameAlias{author}{default} -\DeclareNameAlias{editor}{default} - -% Some basic formatting - -\DeclareFieldFormat{bibentrysetcount}{% - \mkbibparens{\mknumalph{#1}}} -\DeclareFieldFormat{booktitle}{\mkbibemph{#1}} -\DeclareFieldFormat[inproceedings]{booktitle}{#1} -\DeclareFieldFormat{edition}{\bibstring{edition}\addspace#1} -\DeclareFieldFormat{labelnumberwidth}{#1\adddot\midsentence} -\DeclareFieldFormat{maintitle}{\mkbibemph{#1}} -\DeclareFieldFormat[article]{pages}{#1} -\DeclareFieldFormat{parens}{\mkbibparens{#1}} -\DeclareFieldFormat{part}{\addslash#1}% -\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} -\DeclareFieldFormat{title}{\mkbibemph{#1}} -\DeclareFieldFormat[article]{title}{#1\adddot} -\DeclareFieldFormat[report]{title}{\enquote{#1}} -\DeclareFieldFormat[proceedings]{title}{#1} -\DeclareFieldFormat{url}{\let\UrlFont\normalfont\url{#1}} -\DeclareFieldFormat[article]{volume}{\textbf{#1}} -\DeclareFieldFormat[periodical]{volume}{\textbf{#1}} -\DeclareFieldFormat{year}{#1} -\DeclareFieldFormat[article]{year}{\mkbibparens{#1}} -\DeclareFieldFormat[patent]{year}{\mkbibparens{#1}} -\DeclareFieldFormat[thesis]{year}{\mkbibparens{#1}} - -\DeclareNameFormat{default}{% - \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% - \usebibmacro{name:andothers}} - -\renewcommand*{\thebibitem}{\item} -\renewcommand*{\thelositem}{\item} -\renewcommand*{\finalnamedelim}{\multinamedelim} -\renewcommand*{\mkbibnameaffix}[1]{\addspace#1} -\renewcommand*{\newunitpunct}{\addcomma\addspace} - -% The environments are set up correctly - -\renewenvironment*{thebibliography} - {\list - {\printfield[labelnumberwidth]{labelnumber}} - {\setlength{\labelwidth}{\labelnumberwidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}}% - \renewcommand*{\makelabel}[1]{\hss##1}} - {\endlist} - -\renewenvironment*{theshorthands} - {\list - {\printfield[shorthandwidth]{shorthand}} - {\setlength{\labelwidth}{\shorthandwidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}% - \renewcommand*{\makelabel}[1]{\hss##1}}} - {\endlist} - -% Some altered strings, in English at least - -\DefineBibliographyStrings{english}{% - editor = {Ed\adddot}, - editors = {Eds\adddot}, - patentus = {US Patent} -} - -% New and altered bibliography macros - -\newbibmacro{in}{% - \bibstring{in}% - \setunit{\addspace}} - -\newbibmacro*{institution+location+year}{% - \setunit{\addspace}% - \printtext[parens]{% - \printlist{institution}% - \newunit - \printlist{location}% - \newunit - \printfield{edition}% - \newunit - \printfield{year}% - \setunit{\addsemicolon\addspace}% - \usebibmacro{url/doi}}} - -\renewbibmacro*{maintitle}{% - \ifthenelse{\iffieldundef{maintitle}\AND - \iffieldundef{mainsubtitle}} - {} - {\printtext[maintitle]{% - \printfield[noformat]{maintitle}% - \addspace - \printfield[parens]{mainsubtitle}}% - \newunit}% - \printfield{maintitleaddon}% - \newunit} - -\newbibmacro*{maintitle/booktitle}{% - \iffieldundef{maintitle} - {\usebibmacro{booktitle}} - {\usebibmacro{maintitle}}} - -\newbibmacro*{maintitle/title}{% - \iffieldsequal{maintitle}{title} - {\clearfield{maintitle}% - \clearfield{mainsubtitle}% - \clearfield{maintitleaddon}} - {}% - \iffieldundef{maintitle} - {\usebibmacro{title}} - {\usebibmacro{maintitle}}% - \newunit} - -\newbibmacro*{maintitle+title}{% - \iffieldsequal{maintitle}{title} - {\clearfield{maintitle}% - \clearfield{mainsubtitle}% - \clearfield{maintitleaddon}} - {\iffieldundef{maintitle} - {} - {\usebibmacro{maintitle}% - \newunit}}% - \usebibmacro{title}% - \newunit} - -\newbibmacro*{pages/doi}{% - \iffieldundef{pages} - {\printfield{doi}} - {\printfield{pages}}} - -\newbibmacro*{organization+location+year}{% - \setunit{\addspace}% - \printtext[parens]{% - \printlist{organization}% - \newunit - \printlist{location}% - \newunit - \printfield{edition}% - \newunit - \printfield{year}% - \setunit{\addsemicolon\addspace}% - \usebibmacro{url/doi}}} - -\newbibmacro*{publisher+location+year}{% - \setunit{\addspace}% - \printtext[parens]{% - \printlist{publisher}% - \newunit - \printlist{location}% - \newunit - \printfield{edition}% - \newunit - \printfield{year}}} - -\newbibmacro*{url/doi}{% - \iffieldundef{url} - {\printfield{doi}} - {\printfield{url}}} - -\newbibmacro*{volume+chapter+pages}{% - \printfield{volume}% - \printfield{part}% - \newunit - \printfield{chapter}% - \newunit - \printfield{pages}% - \newunit} - -\newbibmacro*{year+url}{% - \setunit{\addspace}% - \printtext[parens]{% - \printfield{year}% - \setunit{\addsemicolon\addspace}% - \usebibmacro{url/doi}}} - -% Drivers, edited from the standard versions, some quite heavily - -\DeclareBibliographyDriver{article}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor}% - \newunit - \printfield{journaltitle}% - \setunit{\addspace}% - \printfield{volume}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{pages/doi}% - \setunit{\addspace}% - \printfield{year}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{book}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor}% - \newunit - \usebibmacro{maintitle+title}% - \newunit - \usebibmacro{byeditor+others}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{publisher+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{booklet}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor}% - \newunit - \usebibmacro{title}% - \newunit - \usebibmacro{byeditor+others}% - \newunit - \printfield{howpublished}% - \newunit - \printfield{type}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{publisher+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{collection}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{editor}% - \newunit - \usebibmacro{maintitle+title}% - \newunit - \usebibmacro{byeditor+others}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{publisher+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{inbook}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor}% - \newunit - \usebibmacro{in}% - \usebibmacro{bybookauthor}% - \setunit*{\addcomma\addspace}% - \usebibmacro{maintitle/booktitle}% - \newunit - \usebibmacro{byeditor+others}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{publisher+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{incollection}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor}% - \newunit - \usebibmacro{in}% - \usebibmacro{bybookauthor}% - \setunit*{\addcomma\addspace}% - \usebibmacro{maintitle/booktitle}% - \newunit - \usebibmacro{byeditor+others}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{publisher+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{inproceedings}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor}% - \newunit - \printtext{paper presented at\addspace}% - \usebibmacro{booktitle}% - \newunit - \usebibmacro{editor}% - \newunit - \printfield{venue}% - \newunit - \printfield{note}% - \newunit - \printfield{year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{manual}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author}% - \newunit - \usebibmacro{title}% - \newunit - \printfield{type}% - \newunit - \printfield{version}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{organization+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{misc}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor}% - \newunit - \usebibmacro{title}% - \newunit - \printfield{howpublished}% - \newunit - \printfield{type}% - \newunit - \printfield{version}% - \newunit - \printfield{note}% - \newunit - \printlist{organization+location+date}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{online}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author}% - \newunit - \usebibmacro{title}% - \newunit - \printfield{version}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{organization+location+year}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{patent}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author}% - \newunit - \printfield{type}% - \newunit - \printfield{number}% - \newunit - \printfield{note}% - \setunit{\addspace}% - \printfield{year}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{periodical}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \printfield{issuetitle}% - \newunit - \usebibmacro{editor}% - \newunit - \printfield{title}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{publisher+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{proceedings}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{editor}% - \usebibmacro{maintitle/title}% - \newunit - \printfield{venue}% - \newunit - \printfield{note}% - \newunit - \printfield{year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{report}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author}% - \newunit - \usebibmacro{title}% - \newunit - \printfield{type}% - \newunit - \printfield{number}% - \newunit - \printfield{version}% - \newunit - \printfield{note}% - \newunit - \usebibmacro{institution+location+year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{thesis}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author}% - \newunit - \printfield{note}% - \newunit - \printfield{type}% - \newunit - \printlist{institution}% - \setunit{\addspace}% - \printfield{year}% - \newunit - \usebibmacro{volume+chapter+pages}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{unpublished}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author}% - \newunit - \printfield{journaltitle}% - \newunit - \printfield{howpublished}% - \newunit - \printfield{note}% - \newunit - \printfield{year+url}% - \newunit - \printfield{addendum}% - \setunit{\bibpagerefpunct}% - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -% Some aliases - -\DeclareBibliographyAlias{review}{article} -\DeclareBibliographyAlias{reference}{collection} -\DeclareBibliographyAlias{inreference}{incollection} -\DeclareBibliographyAlias{suppbook}{inbook} -\DeclareBibliographyAlias{suppcollection}{incollection} -\DeclareBibliographyAlias{suppperiodical}{article} - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-science/cbx/science.cbx b/Master/texmf-dist/tex/latex/biblatex-science/cbx/science.cbx deleted file mode 100644 index 2755c39d277..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-science/cbx/science.cbx +++ /dev/null @@ -1,11 +0,0 @@ -\ProvidesFile{science.cbx} -[2010/11/20 v1.0 biblatex citation style] - -\RequireCitationStyle{numeric-comp} -\ExecuteBibliographyOptions{sorting=none} - -\DeclareFieldFormat{labelnumber}{\textit{#1}} -\renewcommand*{\bibleftbracket}{(} -\renewcommand*{\bibrightbracket}{)\midsentence} - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-science/science.bbx b/Master/texmf-dist/tex/latex/biblatex-science/science.bbx new file mode 100644 index 00000000000..534d53bb7b1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-science/science.bbx @@ -0,0 +1,561 @@ +%% --------------------------------------------------------------- +%% biblatex-science --- A biblatex implementation of the Science +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{science.bbx}[2011/03/13 v1.1 biblatex bibliography style] + +% Load the standard style to avoid copy-pasting unnecessary material +\RequireBibliographyStyle{numeric-comp} + +% Additional options +\newtoggle{bbx:article-title} +\DeclareBibliographyOption{article-title}[true]{% + \settoggle{bbx:article-title}{#1}% +} + +% Alter settings that carry through from biblatex +\ExecuteBibliographyOptions{ + article-title = false , + firstinits , + maxnames = 5 , + maxcitenames = 2 , + useprefix , +} + +% Modify the name format +\DeclareNameFormat{default}{% + \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% + \usebibmacro{name:andothers}% +} + +\newbibmacro*{name:andothers}{% + \ifboolexpr{ + test {\ifnumequal{\value{listcount}}{\value{liststop}}} + and + test \ifmorenames + } + {% + \ifnumgreater{\value{liststop}}{1} + {\finalandcomma} + {}% + \andothersdelim + \bibstring[\mkbibemph]{andothers}% + } + {}% +} + +% Field formats for the bibliography environment +\DeclareFieldFormat{labelnumberwidth}{#1\adddot} + +% Custom field formats +\DeclareFieldFormat{edition}{% + \ifinteger{#1} + {\bibstring{edition}~#1} + {#1}% +} +\DeclareFieldFormat[inproceedings]{booktitle}{#1} +\DeclareFieldFormat[article]{pages}{#1} +\DeclareFieldFormat[proceedings]{title}{#1} +\DeclareFieldFormat[article]{title}{#1\adddot\space\nopunct} +\DeclareFieldFormat[report]{title}{\mkbibquote{#1}} +\DeclareFieldFormat{url}{\url{#1}} +\DeclareFieldFormat[article,periodical]{volume}{\mkbibbold{#1}} + +% Simple modifications to punctuation, etc. +\let\finalnamedelim\multinamedelim +\renewcommand*\intitlepunct{\addspace} +\renewcommand*\newunitpunct{\addcomma\space} + +% Bibliography strings +\NewBibliographyString{presentedat} + +\DefineBibliographyStrings{english}{ + editor = Ed\adddot , + editors = Eds\adddot , + patentus = US Patent , + presentedat = presented at the\addspace , +} + +% Bibliography macros +\renewbibmacro*{event+venue+date}{% + \printfield{eventtitle}% + \ifboolexpr{ + test {\iffieldundef{venue}} + and + test {\iffieldundef{eventyear}} + } + {} + {% + \printfield{venue}% + \newunit + \iffieldundef{eventyear} + {% + \printdate + \clearfield{year}% + } + {% + \printeventdate + \clearfield{eventyear}% + }% + }% + \newunit +} + +\renewbibmacro*{institution+location+date}{% + \ifboolexpr{ + test {\iflistundef{institution}} + and + test {\iflistundef{location}} + and + test {\iffieldundef{edition}} + and + test {\iffieldundef{date}} + } + {} + {% + \nopunct + \printtext[parens]{% + \printlist{institution}% + \newunit + \printlist{location}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{date}% + }% + }% +} + +\newbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \iffieldundef{series} + {} + {% + \newunit + \printfield{series}% + \setunit{\addspace}% + }% + \printfield{volume}% + \newunit + \usebibmacro{issue}% + \newunit +} + +\renewbibmacro*{publisher+location+date}{% + \ifboolexpr{ + test {\iflistundef{publisher}} + and + test {\iflistundef{location}} + and + test {\iffieldundef{edition}} + and + test {\iffieldundef{date}} + } + {} + {% + \nopunct + \printtext[parens]{% + \printlist{publisher}% + \newunit + \printlist{location}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{date}% + }% + }% +} + +% New bibliography drivers, using the required order of fields. These +% are mainly copied from standard.bbx then modified. +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \iftoggle{bbx:article-title} + {\usebibmacro{title}} + {}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{bytranslator+others}% + \newunit\newblock + \printfield{version}% + \newunit\newblock + \usebibmacro{journal+issuetitle}% + \newunit + \usebibmacro{byeditor+others}% + \newunit + \usebibmacro{note+pages}% + \newunit + \iftoggle{bbx:isbn} + {\printfield{issn}} + {}% + \newunit\newblock + \iffieldundef{pages} + {\usebibmacro{doi+eprint+url}} + {}% + \setunit{\addspace}\newblock + \iffieldundef{year} + {\printfield{howpublished}} + {\usebibmacro{issue+date}}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{collection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{bybookauthor}% + \newunit\newblock + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \bibstring{presentedat}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{event+venue+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{version}% + \newunit + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \nopunct + \printtext[parens]{% + \iffieldundef{year} + {\printfield{urlyear}} + {\usebibmacro{date}}% + \setunit*{\addsemicolon\space}% + \printfield{url}% + }% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{type}% + \newunit + \printfield{number}% + \iflistundef{location} + {} + {\setunit*{\addspace}% + \printtext[parens]{% + \printlist[][-\value{listtotal}]{location}}}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit + \nopunct + \printfield[parens]{year}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \printfield{issuetitle}% + \newunit + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \printfield{type}% + \newunit\newblock + \printlist{institution}% + \newunit + \printdate + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}% +} + +%% +%% Copyright (C) 2010,2011 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It 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 +%% Joseph Wright. +%% +%% This work consists of the file biblatex-science.bib, +%% biblatex-science.tex, +%% science.bbx and +%% science.cbx, +%% and the derived file biblatex-science.pdf. +%% +%% +%% End of file `science.bbx'.
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-science/science.cbx b/Master/texmf-dist/tex/latex/biblatex-science/science.cbx new file mode 100644 index 00000000000..5b0bad76ddc --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-science/science.cbx @@ -0,0 +1,48 @@ +%% --------------------------------------------------------------- +%% biblatex-science --- A biblatex implementation of the Science +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{science.cbx}[2011/03/13 v1.1 biblatex citation style] + +\RequireCitationStyle{numeric-comp} + +\ExecuteBibliographyOptions{sorting = none} + +\DeclareFieldFormat{labelnumber}{\mkbibemph{#1}} + +\renewcommand*\bibleftbracket{% + (% ) +} +\renewcommand*\bibrightbracket{% ( + )% + \midsentence +} + +%% +%% Copyright (C) 2010,2011 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It 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 +%% Joseph Wright. +%% +%% This work consists of the file biblatex-science.bib, +%% biblatex-science.tex, +%% science.bbx and +%% science.cbx, +%% and the derived file biblatex-science.pdf. +%% +%% +%% End of file `science.cbx'. |