diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-19 20:34:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-19 20:34:15 +0000 |
commit | 2fc43b1bd746c45eaf2fdc043547f2f3a1bb16ca (patch) | |
tree | 76feaa42e095db456023c8638fb8fd8564da345f | |
parent | e71d50d4e1793b6002c4651348832b3466044ba7 (diff) |
biblatex-phys (19oct18)
git-svn-id: svn://tug.org/texlive/trunk@48941 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.pdf | bin | 409142 -> 446858 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex | 27 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx | 82 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx | 4 |
5 files changed, 52 insertions, 66 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md b/Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md deleted file mode 100644 index 69cdc42a1a3..00000000000 --- a/Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md +++ /dev/null @@ -1,5 +0,0 @@ -Released under the [LaTeX Project Public -License](http://www.latex-project.org/lppl.txt), v1.3c or later. - -The package has status 'maintained': the current maintainer is -[Joseph Wright](joseph.wright@morningstar2.co.uk).
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.pdf b/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.pdf Binary files differindex 6210ced5017..d97c2b0f41a 100644 --- a/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex b/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex index 09401ab34fe..bd9d6793e55 100644 --- a/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex +++ b/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex @@ -25,8 +25,8 @@ {\texttt{joseph.wright@morningstar2.co.uk}}}} \title{\pkg{biblatex-phys} -- A \pkg{biblatex} implementation of the \textsc{aip} and \textsc{aps} bibliography style% - \footnote{This file describes v1.0b, last revised 2016/08/23.}} -\date{Released 2016/08/23} + \footnote{This file describes v1.1, last revised 2018/10/19.}} +\date{Released 2018/10/19} \providecommand*{\opt}[1]{\texttt{#1}} \providecommand*{\pkg}[1]{\textsf{#1}} @@ -110,6 +110,13 @@ which follows the guidelines of the \textsc{aip} and prints the full range: it should be set to \opt{false} to follow the \textsc{aps} style, which will result in only the first page being printed. +\subsection{\texttt{collaboration} field} + +To support large-scale collaborations, the style recognises the +\texttt{collaboration} field. This is a simple text field which gives the +name of the collaboration, and which is printed in parenthesis after the +authors. + \subsection{\textsc{aip} and \textsc{aps} styles} As detailed above, the standard settings follow the \textsc{aip} style. @@ -123,6 +130,14 @@ To obtain the \textsc{aps} style, use {biblatex} \end{verbatim} +\section{Title formatting} + +The style convert article titles to sentence case format. This can be +suppressed using +\begin{verbatim} +\DeclareFieldFormat{titlecase}{#1} +\end{verbatim} + \section{\textsc{url} formatting} The style uses the \pkg{url} package to format hyperlinks. As such, the @@ -147,7 +162,7 @@ and \pkg{csquotes}. Suggestions for improvement and bug reports can be logged in the package issue database, found at -\url{https://bitbucket.org/josephwright/biblatex-phys/issues}, or can +\url{https://github.com/josephwright/biblatex-phys/issues}, or can be sent by e-mail to \href{mailto:joseph.wright@morningstar2.co.uk} {\texttt{joseph.wright@morningstar2.co.uk}}. @@ -181,13 +196,17 @@ be sent by e-mail to \changes{v1.0}{2016/03/10}{First stable release} \changes{v1.0a}{2016/03/13}{Ensure style works with both backends} \changes{v1.0b}{2016/08/23}{Fix author list formatting issue} +\changes{v1.0c}{2018/10/19}{Update DOI link structure} +\changes{v1.0c}{2018/10/19}{Update internals to follow standard \pkg{biblatex} + style changes} +\changes{v1.1}{2018/10/19}{Support for \texttt{collaboration} field} \PrintChanges \end{document} %% -%% Copyright (C) 2012-2014,2016 by +%% Copyright (C) 2012-2014,2016,2018 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% %% It may be distributed and/or modified under the conditions of diff --git a/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx b/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx index 9651ec35f9c..7b69506a5dc 100644 --- a/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{phys.bbx}[2016/08/23 v1.0b biblatex bibliography style] +\ProvidesFile{phys.bbx}[2018/10/19 v1.1 biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -58,14 +58,14 @@ \DeclareFieldFormat[inproceedings]{booktitle}{#1} \DeclareFieldFormat{eprint:arxiv}{% \ifhyperref - {\href{http://arxiv.org/\abx@arxivpath/#1}{% + {\href{https://arxiv.org/\abx@arxivpath/#1}{% arXiv\addcolon \nolinkurl{#1}% \iffieldundef{eprintclass} - {} - {\addspace\UrlFont{\mkbibbrackets{\thefield{eprintclass}}}}}} + {} + {\addspace\UrlFont{\mkbibbrackets{\thefield{eprintclass}}}}}} {arXiv\addcolon - \nolinkurl{#1} + \nolinkurl{#1}% \iffieldundef{eprintclass} {} {\addspace\UrlFont{\mkbibbrackets{\thefield{eprintclass}}}}}} @@ -73,7 +73,7 @@ \DeclareFieldFormat[online]{date}{\mkbibparens{#1}\nopunct} \DeclareFieldFormat{doi}{% \ifhyperref - {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\href{https://doi.org/#1}{\nolinkurl{#1}}} {\nolinkurl{#1}}% } \DeclareFieldFormat{doi/url-link}{% @@ -85,7 +85,7 @@ {\@firstofone} {\href{\thefield{url}}}% } - {\href{http://dx.doi.org/\thefield{doi}}}% + {\href{https://doi.org/\thefield{doi}}}% } {\@firstofone}% {#1}% @@ -105,12 +105,13 @@ {}% } \DeclareFieldFormat{related:translatedas}{\mkbibbrackets{#1}} -\DeclareFieldFormat{titlecase}{\MakeSentenceCase{#1}} +\DeclareFieldFormat{titlecase}{\MakeSentenceCase*{#1}} \DeclareFieldFormat{url}{\url{#1}} \DeclareFieldFormat[article]{volume}{\mkbibbold{#1}} \DeclareFieldFormat{year}{\mkbibparens{#1}} % Simple modifications to punctuation, etc. +\renewcommand*{\begrelateddelim}{\addsemicolon\space}% \renewcommand*{\intitlepunct}{\addspace} \providecommand*{\mkibid}[1]{#1} \renewcommand*{\newunitpunct}{\addcomma\space} @@ -237,19 +238,16 @@ \printfield{year}% }% \setunit{\addspace}% - \iffieldundef{pages} - {% - \printfield{doi}% - \clearfield{doi}% - }% - {}% \usebibmacro{doi+eprint+url}% \newunit\newblock \usebibmacro{addendum+pubstate}% \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -342,7 +340,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -380,7 +381,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -426,9 +430,11 @@ {% \setunit{\addcomma\space}% \usebibmacro{authorstrg}% - }% - }% - } + }% + }% + \iffieldundef{collaboration} + {} + {\printfield[parens]{collaboration}}} {}% } @@ -450,40 +456,6 @@ }% } -% This is the original definition from standard.bbx, but -% a relatedstring is printed only if it was explicitly defined. -\renewbibmacro*{related}{% - \ifboolexpr{ - not test {\iftoggle{bbx:related}} - or - test {\iffieldundef{related}} - } - {} - {% - \setunit{\addperiod\addspace}% - \setcounter{bbx:relatedcount}{0}% - \setcounter{bbx:relatedtotal}{0}% - \def\do##1{\stepcounter{bbx:relatedtotal}}% - \docsvfield{related}% - \def\do{% - \stepcounter{bbx:relatedcount}% - \ifnumgreater{\value{bbx:relatedcount}}{1} - {\printtext{\relateddelim}} - {}}% - \ifbibmacroundef{related:\strfield{relatedtype}} - {\appto{\do}{\usebibmacro{related:default}}} - {\appto{\do}{\usebibmacro*{related:\strfield{relatedtype}}}}% - \iffieldformatundef{related:\strfield{relatedtype}} - {\def\bbx@tempa{related}} - {\def\bbx@tempa{related:\strfield{relatedtype}}}% - \printtext[\bbx@tempa]{% - \iffieldundef{relatedstring} - {} - {\iffieldbibstring{relatedstring} - {\printtext{\bibstring{\thefield{relatedstring}}\relatedpunct}} - {\printtext{\printfield{relatedstring}\relatedpunct}}}% - \docsvfield{related}}}} - \newbibmacro*{related:translatedas}[1]{% \entrydata{#1}{% \usebibmacro{journal+issuetitle}% @@ -505,7 +477,7 @@ %% -%% Copyright (C) 2012-2014,2016 by +%% Copyright (C) 2012-2014,2016,2018 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% %% It may be distributed and/or modified under the conditions of diff --git a/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx b/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx index 56e698892f4..dcc687d59f1 100644 --- a/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{phys.cbx}[2016/08/23 v1.0b biblatex citation style] +\ProvidesFile{phys.cbx}[2018/10/19 v1.1 biblatex citation style] \RequireCitationStyle{numeric-comp} @@ -20,7 +20,7 @@ } %% -%% Copyright (C) 2012-2014,2016 by +%% Copyright (C) 2012-2014,2016,2018 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% %% It may be distributed and/or modified under the conditions of |