1

The code

\documentclass{article}
\usepackage{bibleref-parse}%
\usepackage{makeidx}
\makeindex
\begin{document}
\pibibleverse{John 3:16;5:12;1Co 3:12-14,18}
\printindex
\end{document}

typesets the index

enter image description here

The chapter:verse for the repeated book (John) typesets on a single line. The following index format would be more useful. Here the repeated book (John) is typeset as two entries. Notice that only the semicolon, not a comma (see the entry for 1Co in both images), should issue a new index line. The style already issues a new entry when there is a change in the book name such as 1Co in these images.

enter image description here

I used the code \pibibleverse{John 3:16}; \pibibleverse{Joh 5:12;1Co 3:12-14,18} to typeset the second image. This does not seem like a good solution when creating large indexes.

5
  • Who exactly qualifies as a 'reputable source'?!
    – cfr
    Commented Aug 12, 2023 at 1:17
  • This was one of a few choices I had when I posted this. This choice was already checked. The others did not seem to apply so I left it checked. I looked at your stats and I think you are a reputable source!
    – Tom Price
    Commented Aug 17, 2023 at 10:59
  • Thanks. Unfortunately, I don't have an answer!
    – cfr
    Commented Aug 18, 2023 at 4:02
  • I think you should contact the author of the package. There is imho no easy way to change the parsing. Commented Sep 6, 2023 at 9:07
  • I contacted the author sometime ago. I have not received an answer.
    – Tom Price
    Commented Sep 6, 2023 at 13:17

1 Answer 1

1

A friend of mine, Ross Moore, suggested adding the package bibleref-xidx after the document class command in the above code. For example,

\documentclass{article}%
\usepackage{bibleref-xidx}% Added package
\usepackage{bibleref-parse}%
\usepackage{makeidx}%
\makeindex%
\begin{document}%
\pibibleverse{John 3:16;Joh 5:12;1Co 3:12-14,18}%
\printindex%
\end{document}%

This seems to work except the format of the index is less desirable. Compare the following image with the above and notice difference in the location of the chapter numbers.

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .