ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@olin.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: consecutive full stops in "num" bib style after "et al"
Date: Mon, 29 Jul 2019 16:37:15 -0400	[thread overview]
Message-ID: <87ftmozif8.fsf@olin.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]

In the "num" bibliography style, bibliography entries that get "et
al."ed (the author list is too long and "et al." is inserted) end up
with two full stops in a row.  Here's a minimal example:

  \setupbibtex[database=tmp]
  \setuppublications[alternative=num]

  \setuppublicationlist[artauthoretallimit=3, authoretaldisplay=3,
    editoretaldisplay=3, artauthoretaldisplay=3,
  %  authoretaltext={ et al},
  %  artauthoretaltext={ et al},
  ]

  \starttext

  Test \cite[Larkin:1980].

  \blank[big]

  \placepublications[criterium=text]

  \stoptext

(The tmp.bib file is attached.)  The bibliography entry is:

  [1] Jill Larkin, John McDermott and Dorothea P. Simon et al.. Expert and
  novice performance in solving physics problems. Science,
  208(4450):1335--1342, 1980.

The doubled full stop can be fixed by commenting in the two lines

  %  authoretaltext={ et al},
  %  artauthoretaltext={ et al},

Should these commented-in settings be the default for the "num" style
(because it'll always put one more full stop between the author list and
the title)?

Another workaround is never to use et al.  But that idea failed when I
had to cite the Nobel-Prize-winning gravity-wave paper ("Observation of
Gravitational Waves from a Binary Black Hole Merger").  It has, I think,
1000 authors!

-- 
-Sanjoy

<http://savelongwharfpark.org/>
Save Long Wharf Park in Boston Harbor!

<http://streetfightingmath.com/>
Six reasoning tools to make hard problems easy.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: bib file --]
[-- Type: text/x-bibtex, Size: 268 bytes --]

@Article{Larkin:1980,
  title={Expert and novice performance in solving physics problems},
  author={Larkin, Jill and McDermott, John and Simon, Dorothea P. and Simon, Herbert A.},
  journal={Science},
  volume=208,
  number=4450,
  pages={1335--1342},
  year=1980,
}

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2019-07-29 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 20:37 Sanjoy Mahajan [this message]
2019-07-29 21:18 ` Alan Braslau
2019-07-30  0:53   ` Sanjoy Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftmozif8.fsf@olin.edu \
    --to=sanjoy@olin.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).