From 049250b1a55842e421185fa6d5705c37d7331310 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 10 May 2013 21:49:04 +0000 Subject: biblatex-publist (10may13) git-svn-id: svn://tug.org/texlive/trunk@30382 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/biblatex-publist/README | 4 +++ .../latex/biblatex-publist/biblatex-publist.pdf | Bin 100383 -> 100608 bytes .../latex/biblatex-publist/biblatex-publist.tex | 28 +++++++++++++-------- .../tex/latex/biblatex-publist/publist.bbx | 11 +++++--- 4 files changed, 29 insertions(+), 14 deletions(-) diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/README b/Master/texmf-dist/doc/latex/biblatex-publist/README index efb5ecc5582..a8638647d93 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/README +++ b/Master/texmf-dist/doc/latex/biblatex-publist/README @@ -42,6 +42,10 @@ instructions. == CHANGES == +* V. 0.5 (2013-05-03): + - Fix numbering if \printbibliography is used multiple + times within the same or without any refsection. + * V. 0.4 (2012-10-30): - More robust name parsing (especially for names with non-ASCII characters encoded with LaTeX macros). diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf index 738d8e44e67..af529cfa3c7 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf and b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex index 300d9952d8f..382e067c854 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex +++ b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex @@ -1,10 +1,11 @@ -\documentclass{article} +\documentclass[english]{article} \usepackage{charter} \usepackage[scaled=0.87]{beramono} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{listings} \lstset{basicstyle={\ttfamily}} +\usepackage{babel} \usepackage{url} \usepackage[unicode=true, bookmarks=true,bookmarksnumbered=false,bookmarksopen=false, @@ -17,13 +18,13 @@ \newcommand*\jmacro[1]{\textbf{\texttt{#1}}} \newcommand*\joption[1]{\textbf{\texttt{#1}}} \newcommand*\jfmacro[1]{\texttt{#1}} + \newcommand*\bpl{\texttt{biblatex-publist}} \newcommand*\bibltx{\texttt{biblatex}} \def\condbreak#1{% \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax} - \begin{document} \title{biblatex-publist} @@ -34,7 +35,7 @@ }} -\date{Version 0.4, 30/10/2012} +\date{Version 0.5, 03/05/2013} \maketitle \begin{abstract} The \bpl\ package provides a \emph{biblatex bibliography style file} @@ -70,8 +71,7 @@ see also \cite{ttb}.% Bib\TeX{}. For \bibltx , however, no equivalent solution exists yet. The \bpl\ package is the result of the aim of emulating the features of \emph{publist.bst} with \bibltx's means. It draws on Nicolas Markey's -conceptual ideas, and it is in an early stage of development. Bug -reports, comments and ideas are welcome. +conceptual ideas. Bug reports, comments and ideas are welcome. \section{Loading the package} @@ -118,7 +118,7 @@ options provided by the \bibltx\ package itself% This is an alternative to the \jmacro{\textbackslash{}omitname} macro described in sec.~\ref{sec:standard-usage}. However, due to the way bibliography options are implemented in \bibltx, this only works -if your name does not consists of non-ASCII characters. Hence, the +if your name does not consist of non-ASCII characters. Hence, the \jmacro{\textbackslash{}omitname} macro is the recommended way. \item [{\joption{boldyear}}] \joption{{[}=true|false{]}} default: \emph{true}. @@ -195,8 +195,8 @@ on what ``related entries'' are and how to use them. \section{An example\label{sec:example}} Publication lists are usually categorized by genre (monographs, articles, -book chapters, etc.). For this task, we use \jfmacro{\textbackslash{}refsections}. -Other possibilities were not tested and might fail. +book chapters, etc.). For this task, we use \jfmacro{refsections}. +Other possibilities were not tested extensively and might fail. The suggested procedure is to maintain separate bib files for each category, say \emph{mymonographs.bib}, \emph{myarticles.bib}, \emph{myproceedings.bib}.% @@ -292,6 +292,12 @@ of diverse type and authors, specify: \section{Change Log} \begin{description} +\item [{V.~0.5~(2013-05-03):}]~ + +\begin{itemize} +\item Fix numbering if \jfmacro{\textbackslash{}printbibliography} is used +multiple times within the same or without any \jfmacro{refsection}. +\end{itemize} \item [{V.~0.4~(2012-10-30):}]~ \begin{itemize} @@ -321,9 +327,9 @@ Gregorio.% Thanks go to Enrico Gregorio (egreg on \emph{tex.stackexchange.com}) for helping me with correct name parsing (actually, the code the package -uses is completely his), Marko BudiĻi\'{c} for testing and bug reports, -Nicolas Markey for \emph{publist.bst} and of course Philipp Lehman -(not only) for \bibltx. +uses is completely his), Marko BudiĻi\'{c} and Yannick Kalff for testing +and bug reports, Nicolas Markey for \emph{publist.bst} and of course +Philipp Lehman (not only) for \bibltx. \begin{thebibliography}{1} \bibitem{bibltx}Lehman, Philipp (with Audrey Boruvka, Philip Kime and Joseph Wright): \emph{The biblatex Package. Programmable Bibliographies diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx index 83da09a55a7..4427c866d8b 100644 --- a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx @@ -25,8 +25,8 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\bpl@version{0.4} -\def\bpl@rdate{2012/10/30} +\def\bpl@version{0.5} +\def\bpl@rdate{2013/05/03} \ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space biblatex bibliography style (JSP)] @@ -107,6 +107,7 @@ % \csnumgdef{bbx@itemtotal}{0} \csnumgdef{bbx@currentitem}{0} +\csnumgdef{bbx@saverefsection}{0} \newbool{started} \defbibenvironment{bibliography} @@ -121,7 +122,11 @@ \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}% \renewcommand*{\makelabel}[1]{\hss##1}} - {\endlist\csnumgdef{bbx@itemtotal}{\csuse{bbx@itemtotal}+\csuse{bbx@currentitem}}} + {\endlist + \ifnumgreater{\c@refsection}{\bbx@saverefsection}% + {\csnumgdef{bbx@itemtotal}{\csuse{bbx@itemtotal}+\csuse{bbx@currentitem}}}{}% + \csnumgdef{bbx@saverefsection}{\c@refsection}% + } {\item} \DeclareFieldFormat{labelnumber}{% -- cgit v1.2.3