Reference within title or caption
The use of \bibleverse
within the title of a section or inside a caption raises an error (Argument of \@sect has an extra }
). See the following MWE:
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{bibleref}
\begin{document}
Here a reference in the text which works: \bibleverse{Gn}(1:1-3)
\section{Here a reference within a title: \bibleverse{Gn}(1:1-3) } % Don't work
\begin{table}
\caption{Here a reference within a caption: \bibleverse{Gn}(1:1-3) } % Don't work
\end{table}
\end{document}
It seems to me that the use of parentheses to gives argument is not conventional in LaTeX. I would suggest to put chapter and verses references inside {}
instead (second argument of the \bibleverse
command):
\bibleverse{Gn}{1:1-3}
This is quite a big change in the package philosophy, though.
Edited by Globulle