Bug in jox.bst: doesn't like verbatim authors

Seb Wills <[email protected]>
Newsgroups gmane.comp.tex.bibtex.jurabib.user
Message-ID <Pine.SOC.4.61.0506271835560.5595@mraos>
Thanks, Jesse for help with my incollinname question.

My current issue seems to be a bug(?) in jox.bst.

I have a couple of entries in my .bib which have institutional authors 
such as "Home Office, Great Britain", which obviously shouldn't be 
formatted as ordinary names. (Although it's amusing to note that in this 
particular example, "G.B. Home Office" kind of works :) ). As far as I 
know, the correct way to handle this is to put the whole author in an 
extra set of braces in the .bib file:

   author = {{Home Office, Great Britain}},

which should cause the name to 
be used verbatim. This seems to work fine with standard bibtex, 'plain' 
style. It also works with jurabib using the jurabib style.

But if I try this with jox.bst (either with or without jurabib package), 
latex bombs out with something like this:

[1] (./jtest.bbl
! Argument of \jb@lbibitem has an extra }.
<inserted text>
                 \par
l.6 ...[{{H}me Office, Great Britain}\jbdy {1994}}
                                                   %
?

(Note what it has done to the word "Home" in that error message, btw - 
that must give a clue to the underlying problem)

A complete minimal example document giving this problem is below.

Any ideas/fixes?

Thanks,

Seb

example:

== jtest.tex ==

\documentclass{report}

\usepackage{jurabib}

\begin{document}
\chapter{First Chapter}

Hello.\cite{Home1994offenders}

\newpage
\bibliography{jtest}
\bibliographystyle{jox}

\end{document}

== jtest.bib ==

@BOOK{Home1994offenders,
   shorttitle = {The offenders index},
   title = {The offenders index: a short guide to the offenders index and its
     uses},
   publisher = {Home Office},
   year = {1994},
   author = {{Home Office, Great Britain}},
   address = {London},
   edition = {4th},
}

===

The above fails. It works if you change jox to jurabib.























Please remember -- this is an international english speaking mailing list!

If you have a problem, please provide a complete minimal example document (with a small bibliography database), which runs out of he box without any superfluous packages loaded, otherwise we could not help. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/jurabib/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.