f



Natbib with numbers option clash with bibunits

There appears to be a problem using bibunits with natbib and its numbers
option. The following MWE hangs on bu1.bbl ---

================================= test.tex
\documentclass{article}
\usepackage{bibunits}
\usepackage[numbers]{natbib}
\begin{document}
\section{foo}
\begin{bibunit}[unsrtnat]
MUST and MUST NOT \citep{rfc2119}.
\putbib[test]
\end{bibunit}
\end{document}
================================= test.bib
@TechReport{rfc2119,
  author =   {Scott Bradner},
  title =   {{Key words for use in RFCs to Indicate Requirement Levels}},
  institution =  {Internet Engineering Task Force},
  year =   1997,
  number =   {RFC 2119},
  address =   {Fremont, CA},
  url =   {http://www.ietf.org/rfc/rfc2119.txt},
  month =   {March}}
==================================

Does anyone have a workaround for this?  I am writing a class for a
collection of articles, where each article may have its own citations
and references. The above MWE works fine if you remove the [numbers]
option, but the editors require numeric square-bracket references.

///Peter
0
Peter
12/23/2016 10:50:24 PM
comp.text.tex 39029 articles. 2 followers. Post Follow

3 Replies
67 Views

Similar Articles

[PageSpeed] 22

On 12/23/2016 10:50 PM, Peter Flynn wrote:
> There appears to be a problem using bibunits with natbib and its numbers
> option. The following MWE hangs on bu1.bbl ---

Hah. Package bibunits must be used *after* natbib. RTFM, Peter...

///Peter


0
Peter
12/23/2016 11:12:54 PM
On 2016-12-23 23:12:54 +0000, Peter Flynn said:

> On 12/23/2016 10:50 PM, Peter Flynn wrote:
>> There appears to be a problem using bibunits with natbib and its numbers
>> option. The following MWE hangs on bu1.bbl ---
> 
> Hah. Package bibunits must be used *after* natbib. RTFM, Peter...
> 
> ///Peter


-- 
athel

0
Athel
12/24/2016 10:36:18 AM
On 2016-12-24 10:36:18 +0000, Athel Cornish-Bowden said:

> On 2016-12-23 23:12:54 +0000, Peter Flynn said:
> 
>> On 12/23/2016 10:50 PM, Peter Flynn wrote:
>>> There appears to be a problem using bibunits with natbib and its numbers
>>> option. The following MWE hangs on bu1.bbl ---
>> 
>> Hah. Package bibunits must be used *after* natbib. RTFM, Peter...
>> 
>> ///Peter

Hmm. I think I must have pressed "Send"without thinking, and without 
anything to contrfibute.

-- 
athel

0
Athel
12/24/2016 6:29:28 PM
Reply: