Coder Social home page Coder Social logo

biblatex-publist's Introduction

==================================================================
The biblatex-publist package

A biblatex bibliography style file to produce academic
publication lists.

Maintained by Jürgen Spitzmüller
E-mail: juergen (at) spitzmueller (dot) org
Code repository and issue tracker:
    https://github.com/jspitz/biblatex-publist

Released under the LaTeX Project Public License v1.3 or later
See http://www.latex-project.org/lppl.txt
==================================================================

== PURPOSE ==

The biblatex-publist package provides a biblatex bibliography
style file (*.bbx) for publication lists, i.e. a bibliography
containing one's own publications. The style file draws on
biblatex's authoryear style per default (which can be changed),
but provides some extra features needed for publication lists,
such as the omission of the own name from author or editor data.

The package requires at least version 3.4 of the biblatex
package.


== CONTENTS ==

The package consists of the following files:

* publist.bbx (biblatex bibliography style file)
* publist.cbx (biblatex citation style file)
* publist.dbx (biblatex database model file)
* biblatex-publist.pdf (package documentation)
* biblatex-publist.tex (documentation source)
* README (this very file)


== DOCUMENTATION ==

See the included manual biblatex-publist.pdf for usage
instructions.


== CHANGES ==

* V. 2.12 (2024-07-16):
	- Externalize localization to *.lbx files.
	- Add \citeitemrange and \citesecitemrange commands.
	- Fix error with section count on first run.

* V. 2.11 (2024-07-02):
	- Add \citesecitem and \citesecitem* commands.
	- Support multiple sections in \GetSectionCount.

* V. 2.10 (2024-06-17):
	- Add bibchecks to show only/no peer-reviewed items.
	- Fix bibchecks to work with braced and non-braced values.

* V. 2.9 (2024-05-09):
	- Add bibchecks to exclude (specific kinds of) unpublished work.

* V. 2.8 (2024-03-08):
	- Fix delimiter with plauthor second in a truncated author list (#50).

* V. 2.7 (2023-10-07):
	- Fix acending numbering without refsections (#49).

* V. 2.6 (2023-07-01):
	- Fix marginyear output with fixyear=false.

* V. 2.5 (2023-06-08):
	- New macros \GetSectionCount[<int>] and \GetTotalCount to output statistics (#46).
	- Fix issues with fixyear=false (#47).

* V. 2.4 (2023-05-18)
	- New option "fixyear" to opt-out special year handling and positioning (#45).
	- Make delimiters of author list with plauthorhandling=omit configurable.

* V. 2.3 (2023-03-18)
	- Change of sorting by means of \ExecutePublistOptions (via plsorting
	  or plauthorhandling) now works for all subsequent refsections.

* V. 2.2 (2022-03-01)
	- Fix plsorting with custom sorting schemes (#44).

* V. 2.1 (2022-12-03)
	- Honor \mkbibname* (#41).
	- Fix reverse numbering without refsections (#42).

* V. 2.0 (2022-10-24):
	- Provide \ExecutePublistOptions to change (most) biblatex-publist options
	  on the fly.
	- Properly support reverse numbering even if filtering is done (#38).
	- Add plnumgroup environment to temporarily suspend plnumbering=local.
	- Add new macro \setplnum (#39).
	- Rename macro \shiftbplnum to \shiftplnum (old macro kept for compatibility).
	- Fix with \shiftplnum with ascending enumeration.
	- Introduce one option (plnumbering) that replaces the previous two
	  (plnumbered + reversenumbering). Old options are kept for compatibility.
	- Introduce one multichoice option (linktitles) that replaces the previous
	  options (linktitleall, linktitledoi, linktitleurl, linktitleisbn,
	  linktitleissn). Old options are kept for compatibility.
	- Rename option boldyear to hlyear. Old option kept for compatibility.
	- Allow customization of the highlighting set with hlyear.
	- Introduce plsorting option.
	- Add support for OpenAccess information.
	- Add support for Journal Impact Factor.

* V. 1.27 (2022-10-03):
	- Fix once more plauthor check with non-ASCII chars and macros.

* V. 1.26 (2022-01-05):
	- Provide means to add peer review information.
	- Add a data model (*.dbx) file.
	- Fix \textcite output at least for the standard cases (#36).
	- Do not highlight/omit author/editor names in related entries.
	- Rename bpl:review:* macros to bpl:plain:* and add bpl:plain:editor.

* V. 1.25 (2021-12-14):
	- More robustification with names consisting of non-ASCII chars.
	- With "pubstateextra", differentiate between pubstates.

* V. 1.24 (2021-12-11):
	- Robustify handling of names with non-ASCII chars (#35).

* V. 1.23 (2021-09-01):
	- Fix omission of plauthor after related field (#34).

* V. 1.22 (2021-06-14)
	- Add option "pubstateextra".
	- Use \revsdnamepunct rather than hardcoded comma.

* V. 1.21 (2020-09-21)
	- Add option "reversenumbering".
	- Add \citeitem command.
	- Add \shiftbplnum and \shiftciteitem helper macros for manual
	  adjustment of numbering.
	- Properly sort "prepublished" pubstate type.

* V. 1.20 (2020-09-15)
	- Do not output "(with <authors>)" if no plauthor is among the authors.

* V. 1.19 (2020-08-21)
	- Fix parsing of name with initials (#24).
	- Fix output of et al. in byeditor lists.
	- Do not omit names in related entries.

* V. 1.18 (2020-07-31)
	- Support name truncation via maxnames.
	- Fix mine filter with author lists longer than maxnames.
	- Fix double editor with @periodical type.
	- Use editortypedelim.

* V. 1.17 (2020-07-10):
	- Add options to get clickable titles.

* V. 1.16 (2019-04-16):
	- Major code cleanup.

* V. 1.15 (2019-02-22):
	- Add support for omitting multiple authors.
	- Fix documentation issues.

* V. 1.14 (2019-02-21):
	- Add support for highlighting multiple authors.
	- Fix handling of non-ASCII names.
	- Use \DeclareStyleSourcemap rather that \DeclareSourcemap.
	- Update sorting documentation in the wake of biblatex changes.

* V. 1.13 (2018-11-30):
        - Introduce new sorting templates that ignore names.
        - CHANGE OF OUTPUT! Use ydt tempate by default.
        - Assign extralabel independent of author group with plauthorhandling=omit.

* V. 1.12 (2018-11-25):
        - Switch name parsing toggles globally (fixes regression with biblatex 3.12).
        - Account for omitted author when adding \finalnamedelim.
        - Fix issue with initial dot in nameorder=family-given.
	- Add option "plauthorfirstinit" that allows for specifying initials in
          first names of \plauthorname.

* V. 1.11 (2018-09-01):
	- Fix marginyear=true with labeldateparts=false.
	- Fix problem with empty parentheses in article with standard base style
	  and with labeldateparts=false.

* V. 1.10 (2018-04-08):
	- Extend option "plnumbered" with "plnumbered=reset".
	  This allows to restart the numbering of the publication list items
	  at \refsection's.
	- Documentation improvements.

* V. 1.9 (2018-03-01):
	- Add option "plnumbered" to switch of numbering in bibliography.
	- Documentation improvements.

* V. 1.8 (2017-11-14):
	- Adapt to biblatex 3.8. This version is now required.
	- Rename some macros, using pseudo-namespaces:
		* date:makedate => bpl:date:makedate
	    	* date:labelyear+extrayear => bpl:date:labeldate+extradate
	    	* marginyear => bpl:marginyear
	    	* rauthor => bpl:review:author
	    	* rauthor/label => bpl:review:author/label
	    	* year+labelyear => bpl:year+labelyear

* V. 1.7 (2017-04-12):
        - Output marginyear before the author list. This prevents it from being vertically
          shifted in case of long author lists.

* V. 1.6 (2017-04-02):
	- New option 'nameorder' that allows to change the ordering of author and editor
	  name ("given-family" vs. "family-given" [= default]).
	- Use proper name delimiters also for bookauthor.

* V. 1.5 (2017-02-28):
	- Fix extra "and" in name list with plauthorhandling=highlight.
	- Whitespace fix with plauthorhandling=highlight.
	- Use proper name delimiters.

* V. 1.4 (2017-02-12):
	- New option 'plauthorhandling' that defines how the publist author is
	  handled in the publication list (possible values: "omit" [= default],
	  "highlight").
	- New command \plauthorhl that determines the aforementioned highlighting.
	- Rename \omitname to \plauthorname (the old macro is still functional,
	  but marked as deprecated).
	- Rename omit* options to plauthor* (the old options are still functional,
	  but marked as deprecated).
	- Assure the margin text always starts uppercased (relevant for pubstates).
	- Minor corrections to the manual.

* V. 1.3 (2016-08-06):
	- It is now possible to change the base style that is used.
	- Proper sorting of pubstates.
	- Add possibility to increase the indentation of items (by means
          of the length extralabelnumberwidth).
	- Use pagetracker=true instead of pagetracker=spread by default
	  (avoids warning, no change in functionality).

* V. 1.2 (2016-05-12):
	- Accomodate to the backwards-incompatible changes of biblatex 3.4
	  (prefixnumber > labelprefix, \ifempty > \ifdefvoid).
	  This version of biblatex is now required.

* V. 1.1 (2016-03-09):
	- Adapt to the \Declare*Name changes of biblatex 3.3.

* V. 1.0 (2015-01-04):
	- Add portmanteau *.cbx file to allow loading biblatex-publist
	  also via the "style" option (next to "bibstyle").

* V. 0.9 (2014-03-13):
	- Fix problem with multi-token names.
	- Support name prefix in \omitname.
	- Support for pubstate.

* V. 0.8 (2013-08-16):
	- Add custom sorting schemes "ddnt", "ydmdnt" and "dnt".
	- Revise the documentation.

* V. 0.7 (2013-07-25):
	- Support full dates.

* V. 0.6 (2013-07-21):
	- Fix numbering with recent biblatex versions.

* V. 0.5 (2013-05-03):
	- Fix numbering if \printbibliography is used multiple
	  times without refsection.

* V. 0.4 (2012-10-30):
	- More robust name parsing (especially for names with
	  non-ASCII characters encoded with LaTeX macros).
	- Add \omitname command.
	- Support "firstinits" option.

* V. 0.3 (2012-10-23):
	- Bug fix: Add missing "and" if omitted name was last
	  minus one.
	- Bug fix: Fix output with "et al." if omitted name is
	  first and liststop is 1.
	- Set maxnames default to 4.
	- Add filter possibility.
	- Add French localization.
	- Some corrections to the manual.

* V. 0.2 (2012-10-21): Initial release to CTAN.


biblatex-publist's People

Contributors

jspitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

biblatex-publist's Issues

Undefined control sequence error with biblatex v3.16 and TeX Live 2021

I found out about this package and was really hoping to use it for my CV. However, I'm having an issue with getting it to compile. I have created a minimal working example below.

\documentclass{article}
%\usepackage{biblatex}
\usepackage[bibstyle=publist]{biblatex}
\plauthorname[Erika L.]{Wagoner}

\begin{filecontents}[overwrite]{\jobname.bib}
@ARTICLE{Wagoner2020,
       author = {{Wagoner}, Erika L. and {Rozo}, Eduardo and {Fang}, Xiao and {Crocce}, Mart{\'\i}n and {Elvin-Poole}, Jack and {Weaverdyck}, Noah and {(DES Collaboration)}},
        title = "{Linear systematics mitigation in galaxy clustering in the Dark Energy Survey Year 1 Data}",
      journal = MNRAS,
     keywords = {methods: data analysis, methods: statistical, galaxies: photometry, dark energy, cosmology: observations, Astrophysics - Cosmology and Nongalactic Astrophysics},
         year = 2021,
        month = may,
       volume = {503},
       number = {3},
        pages = {4349-4362},
          doi = {10.1093/mnras/stab717},
archivePrefix = {arXiv},
       eprint = {2009.10854},
 primaryClass = {astro-ph.CO},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2021MNRAS.503.4349W},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

When I try to typeset this example, I end up with the following error message (truncated to only include one copy of each statement in the message):

! Undefined control sequence.
\GenericError  ...
                                                    #4  \errhelp \@err@     ...
l.96     \endentry

! Undefined control sequence.
\GenericError  ...
                                                  \let \@err@               ...
l.96     \endentry

! Undefined control sequence.
\GenericError  ...
                                                  \@empty \def \MessageBreak...
l.96     \endentry

! Undefined control sequence.
\GenericError  ...
                                                     \endgroup
l.96     \endentry

If I instead use the default bibstyle (by uncommenting line 2 and commenting lines 3&4), it compiles as expected.

I'm using TexLive 2021 with biblatex v3.16 and publist.bbx v1.21.

Disabling fixyear option causes margin year to appear for all bibitems of the same year

image

\begin{filecontents}{\jobname.bib}
	
@article{aldaoudeyeh2021new,
	title={A new method to fit logistic functions with wind turbines power curves using manufacturer datasheets},
	author={Aldaoudeyeh, {Al-Motasem} Ihssan and Alzaareer, Khaled and Harasis, Salman and {Al-Odat}, Zeyad and Obeidat, Mohammad and Mansour, Ayman and Wu, Di and Salem, Qusay},
	journal={IET Renewable Power Generation},
	volume={16},
	number={2},
	year={2021},
	month={12},
	doi={https://doi.org/10.1049/rpg2.12309}
}

@article{alzaareer2021sensitivity,
	title={Sensitivity Analysis for Voltage Stability Considering Voltage Dependent Characteristics of Loads and DGs},
	author={Alzaareer, Khaled and Saad, Maarouf and Mehrjerdi, Hasan and Salem, Qusay and Harasis, Salman and Aldaoudeyeh, {Al-Motasem} Ihssan and Al-Masri, Hussein MK},
	journal={IEEE Access},
	year={2021},
	month={11},
	volume={9},
	number={1},
	pages={156437-156450},
	publisher={IEEE},
	doi={https://doi.org/10.1109/ACCESS.2021.3129135}
}
	
\end{filecontents}

\documentclass{article}

\usepackage[bibstyle=publist, plauthorhandling=highlight, fixyear=false, marginyear=true]{biblatex}
\addbibresource{\jobname.bib}
\plauthorname[{Al-Motasem} Ihssan]{Aldaoudeyeh}

\begin{document}
	
	\nocite{*}
	
	\printbibliography[heading={subbibliography}, title={Journal Articles}, type=article]
	
\end{document}

Highlight more than one author?

I can think of two scenarios where people want to highlight more than one author.

  • A CV for a research team (highlight team members in case of collaboration).
  • Equal contribution (people often append * to there last names to indicate that which is considered different names in this package).

publist produces entry “with and <second author>” when omiting first author

I produce a publist with the current version of publist (File: publist.bbx 2018/09/01 v.1.11) and get in entries where I am the first author "(with and XX)", but not when I am not the first author (second or later).
the first entry is wrong, the second correct
Here is a MWE:

\documentclass{article}

\usepackage[bibstyle=publist]{biblatex}

\plauthorname{Frank}
\begin{filecontents}{mwebib.bib}
	
@Article{Frank1994e,
	author  = {Frank, Andrew U. and Timpf, Sabine},
	title   = {Multiple Representations for Cartographic Objects in a Multi-Scale Tree - An Intelligent Graphical Zoom},
	journal = {Computers and Graphics Special Issue on Modelling and Visualization of Spatial Data in GIS},
	year    = {1994},
	volume  = {18},
	number  = {6},
	pages   = {823--829},
}
	
@Article{Buyong1991,
	author  = {Buyong, Taher and Kuhn, Werner and Frank, Andrew U.},
	title   = {A Conceptual Model of Measurement-Based Multipurpose Cadastral Systems},
	journal = {Journal of the Urban and Regional Information Systems Association (URISA)},
	year    = {1991},
	volume  = {3},
	number  = {2},
	pages   = {35--49},
}
	}
\end{filecontents}

\begin{document}

\title{XX publications}
\author{}
\date{\today}
\maketitle


\section{Articles}
\newrefsection[mwebib]
\nocite{*}
\printbibliography[heading=none]  


\end{document}

i have asked on stackoverflow and others can reproduce the error and suggested it is a small bug. Could you fix it to improve your very useful tool.
Thank you!

Feature request: Title first option

In some disciplines it is common to have titles first in the bibliography before writing "(with NN1, NN2), YYYY". I'd very much appreciate that way of organizing the publication list.

Example here of how to do it in biblatex.

BTW. - I really love the package!

reversenumbering=true and type filtering

the option plnumbered=reset seems to be broken when used together with reversenumbering=true,
as it produces stuff like
8 7 6 5 4 \newrefsecion 8 7
(even counting some unused refs in bibliography file)
instead of
5 4 3 2 1 \newrefsecion 2 1

Don't understand \newrefsection

Hi there: this is a great package, but I don't understand the usage of \newrefsection? IN your examples, the arguments always match the filename of the correspondng bibliography file.

\addbibresource{%
mymonographs.bib
}

\newrefsource[mymonographs]

What is the connection between the two? \newrefsource is not fully explained.

Manually reset label numbers

Lieber Jürgen,
My use case is that I would like to have two sets of continuously numbered refsections: one for publications, containing multiple refsections for different types of publications; and one for presentations, also containing multiple refsections. I'm looking for a way to achieve this using your package. (Thank you for this package!! I love it!) I think the easiest option would be to include a command that resets the label numbers at the right position in my document. I don't have any experience writing packages, so I'm struggling to figure out what that command should be. Could you please help me?
Danke!
Lg Sabine

How to put `marginyear` outside the margin?

I like the idea to print the publication year on the left of the publication list once a new year starts. However, is it possible to put it outside the margin? That is increasing the left margin of the publication list and making the printed year align with the start of the paragraph.

Plauthor by first initial only, or with wildcard

A bit opposite to the other enhancement request on here, I was thinking of (and hoping for) a way to use just an initial, or some sort of wildcard, to highlight all of the occurrences of the author's name.

The standard style causes two problems for me:

  1. I am cited at times by first initial, at times by first and middle initials, at times by full first name, and at times by first name with initials.
  2. I have published several works with family members, meaning that I cannot just highlight my last name without giving a value to the first name variable.

Thought on if this would be feasible? I tried using a wildcard after my first initial, but that didn't work, though it may be something easy to add on the backend.

Missing comma separating list of authors when I am named as second author

I miss a comma in the list of authors when I am named as a second author:
publistoutput

Here is the corresponding *.bib file entry (extracted from an external file named myarticles.bib):

@Article{pmid19998579,
	Author="Metzner, J.E.  and Frank, T.  and Kunz, I.  and Burger, D.  and Riegger, C. ",
	Title="{{S}tudy on the pharmacokinetics of synthetic genistein after multiple oral intake in post-menopausal women}",
	Journal="Arzneimittelforschung",
	Year="2009",
	Volume="59",
	Issue="10",
	Pages="513--520",
	doi={10.1055/s-0031-1296435},
	url={http://dx.doi.org/10.1055/s-0031-1296435}
}

The main *.tex file to compile the publication list contains this:

\usepackage{csquotes} % not strictly needed, but recommended for biblatex 
\usepackage[style=publist, backend=biber, url=true, doi=true, isbn=true,  sorting=ddnt, plauthorhandling=highlight]{biblatex} %Referenzen erzeugen mit BIBER
\plauthorname[T.]{Frank}
% load the bibliographic databases
\addbibresource{%
	myarticles.bib,
	mybooks.bib
	myproceedings.bib
}

fixyear=false generates superfluous period and space

Using the fixyear=false option:

\begin{filecontents}{\jobname.bib}
@article{article,
  author    =   {Mouse, Adrian},
  title     =   {A Tall Tail},
  journal   =   {Tales to Nibble By},
  pages     =   {1--9},
  volume    =   {31},
  number    =   {4},
  year      =   {1989},
}
\end{filecontents}

\documentclass{article}
\usepackage[
    bibstyle = publist,
    fixyear = false,
]{biblatex}
    \plauthorname[Adrian]{Mouse}
    \bibliography{\jobname}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

generates entries that look like this:

image

It looks like the name and date is removed, but the period following one of them still remains (also, empty date brackets).

Own name should not get filtered out as co-editor of a volume in which one also published a chapter

One of the main features of biblatex-publist is the filtering out of the author's name. But in some places it should not happen, such as when one is a co-editor of a volume in which one also publishes a chapter. Of course, when making an entry for that volume itself (2) it is fine, but when referring to the chapter in the volume (1) my name is simply missing from the editors.

\documentclass{article}
\begin{filecontents}{ref.bib}
@collection {FilliozatGoodallPasedach2020,
editor = {Pierre-Sylvain Filliozat and Dominic Goodall and Peter Pasedach},
title = {Volume in Memory of Pandit N.R. Bhatt / Volume à la mémoire de Pandit N.R. Bhatt},
publisher = {Institute Français de Pondichéry / École française d’Extrême-Orient},
location = {Pondicherry},
pubstate = {forthcoming},
sortyear = {2020},
keywords = {pasedach,dfg-a},
}

@incollection{Pasedach2020,
author = {Peter Pasedach},
title = {The Sixth Canto of the Haravijaya},
subtitle = {Evidence of the Śaivasiddhānta in Ninth Century Kashmir},
related = {FilliozatGoodallPasedach2020},
pubstate = {forthcoming},
sortyear = {2020},
keywords = {pasedach,dfg-a},
}

\end{filecontents}

\usepackage[backend=biber, bibstyle=publist]{biblatex}
\plauthorname{Pasedach}
\addbibresource{ref.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

Selection_053

Enhancement: URL title

Hello there

Thanks for making publist, it is great and easy to work with!

I was wondering whether you have thought about allowing users of the package to turn title of bibliography references (papers, books, etc.) into clickable links? The source of the URL for the link could be specified in the bibtex file. The implementation could perhaps build on the solution found in this StackExchange thread.

Bibtex default styles and year of publication

Hello there,

thank you for putting together these highly useful tools!

I am using biblatex-publist on top of the 'nejm' bibliography style.

I would like publication dates to be displayed is in the default 'nejm' style, that is, towards the end of the line.
image

With biblatex-publist, I get something like this:
Fiala, EM, Ortiz, MV, Kennedy, JA, Glodzik, D, Fleischut, MH, Duffy, KA, et al. 2020. 11p15. 5 epimutations in children with Wilms tumor and hepatoblastoma detected in peripheral blood. Cancer. 126:3114–21.

With biblatex-publist, Is there a way to move the publication year towards the end of the line, in accordance with the baseline bibliography style?

Best & thank you
Dominik

Here are some relevant lines from my .tex file:
\newcommand*\publistbasestyle{nejm} \usepackage[style=publist,plauthorhandling=highlight,boldyear=false,pubstateextra=false,plauthorfirstinit=true, minnames=6,marginyear=true]{biblatex}

authoryear

I managed to get the bibliography into the form I needed with marginyear, highlighted author and nobold year but I do not manage to get the bibliography in the authoryear style.
No matter what I do it falls back onto the numeric style (my goal is to get rid of the [x] in front of each entry) .
I used without success different combinations of
\newcommand*\publistbasestyle{authoryear}, bibstyle=publist, style=publist.
I enclose part of the log file which contains the following lines:

…
Package biblatex Info: Trying to load citation style 'publist'...
Package biblatex Info: ... file 'publist.cbx' found.
 (/usr/local/texlive/2017basic/texmf-dist/tex/latex/biblatex-publist/publist.cbx
File: publist.cbx 2017/11/14 v.1.8 biblatex citation style (JSP)
Package biblatex Info: Trying to load citation style 'numeric'...
Package biblatex Info: ... file 'numeric.cbx' found.
 (/usr/local/texlive/2017basic/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx
File: numeric.cbx 2017/12/19 v3.10 biblatex citation style (PK/JW/AB)
…

Compatibilty problem with "biblatex-enc" base style

Hello,

First of all thanks for your work! I'm trying to use biblatex-publist with an external base style called biblatex-enc and if things go pretty smoothly, I encountered a problem related to the formatting of article entries.

In biblatex-enc there are macros that print year field in parentheses. When using that style with biblatex-publist the year field is displayed at the begining of the reference as expected, but the parentheses from biblatex-enc are left empty. Here is an exemple:

Sélection_077

Any hint on how to solve that issue? Thanks in advance

Conflict with linktitle and MakeSentenceCasing

I am trying to change the base style to phys. However, there is an error message, which I don't know how to solve, Package biblatex Error: Bibliography macro '\NoCaseChange {bpl:linked}' undefined.

Is there anything I need to change to make it works? Thank you!

Elements on separate lines

While reference lists are often space-constrained and have to squeeze everything into one line, publication-lists usually don't.

Is it within the scope of this package to have an option such that the various elements may be displayed on separate lines?

For example:

Author
Year, Title
Reference

This would make it much more readable.

Upcoming release of biblatex 3.8

Version 3.8 of biblatex is scheduled for release quite soon.

As far as I can see none of the breaking changes should affect your package, but there are a few name changes/deprecations planned that are relevant for you:

  • extrayear is deprecated now and replaced by extradate, all macros with extrayear in their name were also renamed.
  • \DeclareSortingScheme is now \DeclareSortingTemplate

Backwards compatibility code is in place for both of these changes, but it would still be appreciated if styles could move to the new names sooner rather than later.

The full list of changes can be found at https://github.com/plk/biblatex/blob/dev/doc/latex/biblatex/CHANGES.org and https://github.com/plk/biblatex/wiki

\bpl@ifplauthor fails to recognise authors with initials before full given name(s)

Inspired by https://tex.stackexchange.com/a/557647/35864

Consider

\documentclass{article}

\usepackage[backend=biber, style=publist, plauthorhandling=highlight]{biblatex}

\plauthorname[R. Giskard]{Reventlov}
\plauthorname[Humphrey]{Appleby}

\begin{filecontents}{\jobname.bib}
@book{appleby,
  author  = {Humphrey Appleby and Bernard Woolley},
  title   = {On the Importance of the Civil Service},
  date    = {2019},
}
@article{reventlov,
  author  = {R. Giskard Reventlov and Someone Else},
  title   = {Turtles},
  date    = {2020},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

which produces

Reventlov, R. Giskard and Else, Someone. 2020. “Turtles”. In:
Appleby, Humphrey and Woolley, Bernard. 2019. On the Importance of the Civil Service.

image of the output: 'Reventlov, R. Giskard' is not highlighted, but 'Appleby, Humphrey' is.

Reventlov, R. Giskard is not highlighted as expected.

If I understand correctly the problem here is caused by the difference between the name formatting in \indexnames and \printnames. At the moment \bpl@normalize tries to ignore these differences by setting \bibnamedelima and \bibnamedelimb to their \bibindexnamedelim... equivalent.

\def\bpl@normalize#1#2{%
\begingroup
\def\bibnamedelima{ }%
\def\bibnamedelimb{ }%
\def\IeC##1{##1}%
\protected@edef\@tempa{#1}%
\gdef\@gtempa{}%
\expandafter\bpl@@normalize\@tempa\@nil
\endgroup
\let#2\@gtempa
}

You should be able to get the same normalisation more elegantly and more comprehensively also for \bibnamedelimi (which is the problem here and possibly other relevant macros) with \blx@indexnamesetup (https://github.com/plk/biblatex/blob/2ddd2836927d08ac600c8fa3af1897417548ac05/tex/latex/biblatex/biblatex.sty#L4592-L4600)

\def\bpl@normalize#1#2{%
    \begingroup
    \blx@indexnamesetup
    \def\IeC##1{##1}%
    \protected@edef\@tempa{#1}%
    \gdef\@gtempa{}%
    \expandafter\bpl@@normalize\@tempa\@nil
    \endgroup
    \let#2\@gtempa
}

Issue with related fields

I encountered an issue when using related fields in a resume. The plauthor name would show in the entries which followed an entry with a related field. I solved the issue by changing the code as follows (line before last from \toggletrue to \togglefalse):

% This is to prevent author omission in such cases.
\newtoggle{isinrelated}
\apptocmd{\abx@macro@begrelated}{\global\toggletrue{isinrelated}}{}%
         {\PackageWarning{biblatex-publist}{Patching begrelated failed!}}
\apptocmd{\abx@macro@endrelated}{\global\togglefalse{isinrelated}}{}%
         {\PackageWarning{biblatex-publist}{Patching endrelated failed!}}

I am unsure whether this is a bug in publist or an incompatibility with my own bibliography style or usage of the related field (in this case, for putting two items on the same line/block). In any event, feedback would be appreciated.

output of textcite

I know citations are not really the purpose of the package, but I wonder nevertheless if the output of \textcite is actually intended:

\documentclass{article}
\usepackage[style=publist]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\textcite{doody}
\printbibliography
\end{document}

image

Use \DeclareStyleSourcemap instead of \DeclareSourcemap

Via https://tex.stackexchange.com/q/464668/35864

Currently the code to add a dummy shortauthor uses \DeclareSourcemap

biblatex-publist/publist.bbx

Lines 1044 to 1055 in 12e9798

% Add a dummy constant shortauthor in order to
% ignore author constellation on extralabel assignment.
\if@hlauthor
\else
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map[overwrite]{
\step[fieldset=shortauthor, fieldvalue={1111}]
}
}
}
\fi

Would it be possible to use \DeclareStyleSourcemap instead (as in ll. 1057-1081)?

Use of \DeclareStyleSourcemap instead of \DeclareSourcemap would allow end users to save the shortauthor value to restore its original value with a combination of \DeclareSourcemap and \DeclareStyleSourcemap.

Capitalized "and" after period (.) in name or initial

I've come across a problem wherein if there is a period after someone's initial (be it middle initial or an initial for their first name) the "and" directly following it is capitalized.
E.g. if the article is written by John J. Doe and Jane D. Smith, the citation will read: Doe, John J. And Smith, Jane D.

Can't get reversenumbering behavior since the last major release

Hi, I noticed the package deprecated that option recently, but I tried both the new solution and reverting back to the previous reversenumbering option, but in both cases I am only seeing negative numbers instead of the desired output of global reverse count of papers.

publist and backend=bibtex

Hello,

I cannot get publist and backend=bibtex to work together, as in

\documentclass{article}

%\usepackage[bibstyle=publist,backend=bibtex,style=authoryear]{biblatex}
%\plauthorname{Hanck} % gives undefined control sequence

\usepackage[backend=bibtex,style=authoryear]{biblatex} % works as mwe, but without publist

\begin{filecontents}{jobname.bib}
@Article{Demetrescu+Hanck-CauchyCoint:17+,
author = {Matei Demetrescu and Christoph Hanck},
title = {Multiple Testing for No Cointegration under Nonstationary Volatility},
year = {2017+},
journal = {Oxford Bulletin},
}
\end{filecontents}

\addbibresource{jobname.bib}

\begin{document}
\cite{Demetrescu+Hanck-CauchyCoint:17+}
\end{document}

Is that behavior to be expected? If so, are there any workarounds to get publist to cooperate with backend=bibtex?

Best wishes
Christoph

P.S. Nice to see an add-on to biblatex, a long time ago you helped me with an early hack, see https://groups.google.com/forum/#!topic/comp.text.tex/cI3Y-tTV7j4

Editor names are modifed to include brackets and "with"

When including editor names in a reference (e.g. Editor = {X Y and P Q}) with the \omitname command. The editors are changes to take have the form Eds.: (with Y,X ... ) .
It would seem better to only parse the author names and not the editor names.

failure with names with non-ascii characters

publist uses \edef on commands containing text. This can easily break:

\documentclass{article}
\usepackage[style=publist]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
cite \cite{aksin},

\end{document}

errors when reading the bbl with

 (./test-nomgt.bbl
! Illegal parameter number in definition of \@tempb.
<to be read again> 
                   \crcr 
l.89     \endentry

as Ç is (with OT1) not safe in an edef as used by \bpl@ifstreq:

\documentclass{article}
\usepackage[style=publist]{biblatex}

\begin{document}
\makeatletter
\def\testA{Çetinkaya}
\def\testB{blub}
\bpl@ifstreq\testA\testB{whatever true}{whatever false} %errors
\makeatother
\end{document}

In this case the error can be avoided by using

\makeatletter
\renewcommand\bpl@ifstreq[2]{%
    \begingroup\protected@edef\@tempa{#1}\protected@edef\@tempb{#2}%
    \ifx\@tempa\@tempb
        \endgroup\expandafter\@firstoftwo
    \else
        \endgroup\expandafter\@secondoftwo
    \fi
}
\makeatletter

There can be other places where \protected@edef is needed instead of \edef.

How can I put the year field at the end?

Hi, great package! Here is a problem. I prefer to use the bib styles that put the year field at the end (but before eprints), such as ieee and trad-unsrt. When I try to use \newcommand*\publistbasestyle{<stylename>} to change the base style, it looks like publist just ignores the order setting for the year field and still puts it right after the author. Is this hard-coded? Are there any simple methods to make it follow the setting of the base style? Thanks!

I am using the following settings:

\newcommand*\publistbasestyle{trad-unsrt}
\usepackage[bibstyle=publist,hlyear=false,nameorder=given-family,plauthorhandling=highlight,plsorting=ddnt]{biblatex}

Honor resetnumbers=true

When you print the bibliography with the option \printbibliography[filter=mine] the numerotation of the list remains as if the references filtered out were still there. For example my list starts with number 2 instead of 1 because the first reference has been filtered out.

Highlight Author in Short List

Hello, first of all, thank you for making this. I was bashing my head in with various biblatex hacks trying to come close to this.

I have a feature request:
Would it be possible to print the author list with the plauthorname highlighted but without having to display a very long author list? Essentially I'm looking for an output like this

First. Author, ... My. Name, et al. July 2020 (Rest of citation details).

How many authors are displayed before the ellipses would be determined by the maxnames biblatex option as normal.

I get the word 'AND' appearing twice

In the author list from biblatex publist as installed today in MikTex, the result shows the word 'and' appearing twice in each reference with more than two authors.
This is not the desired output.

The input file is not too complicated, and the bibliiography is just generated from WoK download. If I use ordinary Bibtex it doesn't do that (but doesn;t also do some extra features that publist provides! )
For example: (boldface added by me)

Cai, B. Wang, J. Kao, A. Pericleous, K. Phillion, A. B. And Atwood,
R. C. And Lee, P. D. 2016. “4D synchrotron X-ray tomographic quantifi-
cation of the transition from cellular to dendrite growth during directional
solidification”. In: ACTA MATERIALIA 117, 160–169. issn: 1359-6454.
doi: {10.1016/j.actamat.2016.07.002}.
Files attached that I used to get this output:

fixbltx.pdf

zipped here:

mypubs.zip

Thank you

Feature request: Bold author names

Hi!
Thanks for your package!
In science, the publication lists often require (or at least as a nice-to-have) to bold-print your name in a multi-author publication, could this be added as an option to your package?
Like this:

Smith, John; Baker, Alfred ; Sonders, Sven ...

format for seminars and conference talks

Just a quick question: what's the recommended format for seminars and conference talks in the bib file?

What I'd like it to print:
for seminar: name of university/dept, full date
for conf talk: name of conference/workshop, full date

Thanks!

Label numbers negative if using combination of \cite and \nocite

Lieber Jürgen,
if I use a combination of \cite and \nocite, the label of the first reference in \cite is set to 1. As a consequence other entries in the bibliography can have negative numbers. It would be desirable, if the labels and sorting are set by \nocite instead.

My MWE is below.

Thanks,
Sven

`\documentclass{article}

\usepackage[
sorting=ydnt,%
style=publist,%
]{biblatex}
\plauthorname[John]{Doe}
\addbibresource{mymonographs.bib}

\begin{filecontents}{mymonographs.bib}
@book{key1,
author = {Author, A. and Doe, John},
year = {2001},
title = {1st book},
publisher = {Publisher},
}

@book{key2,
author = {Doe, John},
year = {2002},
title = {2nd book},
publisher = {Publisher},
}

@book{key3,
author = { Doe, John and Author, A.},
year = {2003},
title = {3rd book},
publisher = {Publisher},
}

\end{filecontents}

\begin{document}
\title{John Doe’s publications}
\date{\today}
\maketitle
\section{Monographs}
\newrefsection[mymonographs]
My first book is my favourite \cite{key1}.
\nocite{*}
\printbibliography[heading=none]
\end{document}
`

Possible feature - counts within each section

Thank you for the wonderful work!

Is it possible to expose the internal counters to yield the total count within each \refsection?

I had a go with defining

\makeatletter
\newcommand{\accessbpl}[1]{%
  \csname bpl@#1\endcsname%
}
\makeatother

and trying

     Count is \accessbpl{itemtotal} or is it \theplnumgroup or even \accessbpl{savesecitems}

but no joy.

Different options in different refsections

Is it possible to modify the package so that each \newrefsection[] has its own options?

Say I want the author names highlighted in a list of publications, but hidden in a list of conferences.

It would also be nice if it were possible to switch base-styles, but that might not be easy.

If the author list is long and the year is pushed to the second line, `marginyear` is also pushed to the second line

As stated in the title. I would expect the year number on the margin to be on the first line where the entry starts. Example:

\documentclass{article}

\usepackage{filecontents}
\usepackage[bibstyle=publist,marginyear=true,plauthorhandling=highlight]{biblatex}

\begin{filecontents}{\jobname.bib}
  @article{long,
    author = {Long, Long and Longlong, Longlong and Longlonglong,
      Longlonglong and Longlonglonglong, L},
    title = {Long author name},
    year = {2017},
    journal = {Long name}
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography

\end{document}

Output:

test.pdf

Author annotations with publist

How does one go about getting author annotations work with publist. Apart from plauthor, I have other author annotations in the biblatex file like author+an = {1:student}. When doing \renewcommand*{\mkbibnamefamily}[1]{\ifitemannotation{student}{#1*}{#1}}, publist sort of overrides this. How do turn off this overriding.

Negative reference numbers

I get negative reference numbers when using reversenumbering=true,plnumbered=reset as can be seen from sections 1 and 3 in the working example attached.
It's built using latexmk -pdf -shell-escape --output-directory=build publist.
Any ideas how to address this issue?

NegativeNumbers.zip

Negative numbers

The following minimal example results in a partial bibliography with non-positive reference labels for the first section:

Screenshot 2023-10-06 at 11 25 43 PM

I'm using only the default settings with biblatex-publist (e.g., no special sorting or anything):

% main.tex
\documentclass{article}

\usepackage[style=publist]{biblatex}
\addbibresource{publications.bib}

\nocite{*}

\begin{document}

\section{Journal Articles}
\printbibliography[heading=none, type=article]

\section{Conference Proceedings}
\printbibliography[heading=none, type=inproceedings]

\end{document}
% references.bib
@INPROCEEDINGS{conf-a,
  title = {Conference Paper A},
  author = {Appleseed, Johnny},
  booktitle = {Proc. A},
  date = {2023-07}
}

@INPROCEEDINGS{conf-b,
  title = {Conference Paper B},
  author = {Appleseed, Johnny},
  booktitle = {Proc. B},
  date = {2022-02}
}

@ARTICLE{journ-1,
  title = {Journal Paper 1},
  author = {Appleseed, Johnny},
  journaltitle = {Journal 1},
  date = {2021-12}
}

@ARTICLE{journ-2,
  title = {Journal Paper 2},
  author = {Appleseed, Johnny},
  journaltitle = {Journal 2},
  date = {2021-10}
}

@ARTICLE{journ-3,
  title = {Journal Paper 3},
  author = {Appleseed, Johnny},
  journaltitle = {Journal 3},
  date = {2023-03}
}

@INPROCEEDINGS{conf-c,
  title = {Conference Paper C},
  author = {Appleseed, Johnny},
  booktitle = {Proc. C},
  date = {2020-12}
}

Code to reproduce is attached as a zip file: neg-num-publist.zip

BibLaTeX Version: 3.19
biblatex-publist Version: V. 2.6 (2023-07-01)
Biber Version: 2.19

Literal sub-numbering of unpublished items

One more useful feature to implement would be the literal numbering of the unpublished items. For example, if there are two, or more, publications indicated as Forthcoming, they should be labeled as Forthcoming a, Forthcoming b, etc. As for now, all the forthcoming (or other unpublished) items repeat the same label with no differentiation, which is a bit redundant (see the example below).
Schermata 2020-09-21 alle 21 28 44

No comma after initial followed by a period (.)

I'm unsure if this issue is related to the other issue I opened, so I decided to open them separately.
With the same setup as the previous (i.e. any initial followed by a period), there is no longer a comma following the name.
E.g. if John J. Doe, Jane D. Smith, and George R. Martin wrote an article, it shows up as: Doe, John J. Smith, Jane D. And Martin, George R. (the And capitalization is the same as the last issue).

labeldate=false and marginyear=true won't go together

Dear Jürgen,
the aforementioned options won't work together. The margin years are not printed. When labeldate=true is set margins are typesetted -- but also year labels (2000a, 2000b, etc.) in random manner.
Best Yannick

ddt sort fails?

Using v2.1 and TeXLive 2021 or 2022 or Overleaf, I have an error when using "ddt" sorting. The following test example works for ydmdt, but not ddt. Thanks.

\documentclass{article}

% Works fine
\usepackage[bibstyle=publist,plsorting=ydmdt]{biblatex}

% But ddt does not. Error:
% No \begin{document} command was found. Make sure you have included \begin{document} in your preamble, and that your main document is set correctly.
% \usepackage[bibstyle=publist,plsorting=ddt]{biblatex}

\plauthorname{MyName}

\begin{filecontents}{mybib.bib}
@Article{ref1,
  author = {Lastname, Firstname},
  title = {Article entry},
  journaltitle = {Journal},
  volume = {12},
  date = {2001-01},
  pages = {100}
  }
\end{filecontents}

\addbibresource{mybib.bib}

\begin{document}
\nocite{ref1}
\printbibliography
\end{document}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.