Original post:

The bibleref package affords tidy citation and indexing of Bible passages; sort order is by default alphabetical by book. According to the documentation, one can change the to another desired sequence by issuing suitable \biblerefmap commands for each book.

However, having tried various scenarious, this appears to work for the default citation style, but not when an alternate built-in style is invoked, whether by package option or by issuing \biblerefstyle. Also, an attempt to get around the problem using \setbooktitle and \setindexbooktitle causes the desired sort order to be ignored as well. Here's my minimal example:

% !TEX TS-program = xelatexmk
% Replacing the previous line with the following causes the sort to revert to alphabetical
% Adding the next line after the \usepackage does the same.
\biblerefmap{Song of Songs}{31}
% Need the Bible citations in a separate index

Dummy text citing \ibibleverse{Genesis}(1:1) and \ibibleverse{Exodus}(10:11-20).

BTW, XeLaTeX is used here because in my actual project, I use Hebrew text. However, regular LaTeX doesn't seem to offer any improvement. Neither does using regular \makeindex and \printindex.

Can anyone advise on a solution?

Update (13 August):

I'd seen a change proposed to bibleref here but it didn't at first seem relevant. Nevertheless, I decided to try it... and it seemed to solve my problem. Further testing suggested this worked for the various predefined styles.

BUT--when I recompiled my actual project, the order remained unchanged! I brought it back down to the minimal example, step by step, and it still didn't work. I finally discovered that in the MWE, I had used


whereas in my actual project, I had


etc. In other words, the patch alluded to above seems to work, so long as actual citations use the full rather than abbreviated forms of books.

Consequently, I view this as an interim solution only.

Update (10 September):

As it happens, the original author of bibleref is no longer supporting this package; maintenance has passed to the authors of biblref-mouth and bibleref-parse, who are aiming to merge the three packages (http://www.dickimaw-books.com/notlisted.html).

However, I understand from communicating briefly with them that progress at the moment is quite slow; therefore users should be prepared to use bibleref as is for the time being.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.