texlive[48941] Master/texmf-dist: biblatex-phys (19oct18)
commits+karl at tug.org
commits+karl at tug.org
Fri Oct 19 22:34:15 CEST 2018
Revision: 48941
http://tug.org/svn/texlive?view=revision&revision=48941
Author: karl
Date: 2018-10-19 22:34:15 +0200 (Fri, 19 Oct 2018)
Log Message:
-----------
biblatex-phys (19oct18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex
trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md
Deleted: trunk/Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md 2018-10-19 20:33:56 UTC (rev 48940)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-phys/LICENSE.md 2018-10-19 20:34:15 UTC (rev 48941)
@@ -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 at morningstar2.co.uk).
\ No newline at end of file
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex 2018-10-19 20:33:56 UTC (rev 48940)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-phys/biblatex-phys.tex 2018-10-19 20:34:15 UTC (rev 48941)
@@ -25,8 +25,8 @@
{\texttt{joseph.wright at 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 @@
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 @@
{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 @@
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 at morningstar2.co.uk}
{\texttt{joseph.wright at morningstar2.co.uk}}.
@@ -181,6 +196,10 @@
\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
@@ -187,7 +206,7 @@
\end{document}
%%
-%% Copyright (C) 2012-2014,2016 by
+%% Copyright (C) 2012-2014,2016,2018 by
%% Joseph Wright <joseph.wright at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx 2018-10-19 20:33:56 UTC (rev 48940)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.bbx 2018-10-19 20:34:15 UTC (rev 48941)
@@ -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,12 +238,6 @@
\printfield{year}%
}%
\setunit{\addspace}%
- \iffieldundef{pages}
- {%
- \printfield{doi}%
- \clearfield{doi}%
- }%
- {}%
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
@@ -249,7 +244,10 @@
\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 at tempa{related}}
- {\def\bbx at tempa{related:\strfield{relatedtype}}}%
- \printtext[\bbx at 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 at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx 2018-10-19 20:33:56 UTC (rev 48940)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-phys/phys.cbx 2018-10-19 20:34:15 UTC (rev 48941)
@@ -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 at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
More information about the tex-live-commits
mailing list