[sword-devel] Roman Numerals to Arabic

David Haslam dfhdfh at protonmail.com
Mon Oct 14 08:44:49 MST 2019

Given that the scope of Roman numerals for a Scripture reference is limited to the range of positive integers from 1 to 176,
a general conversion algorithm is not strictly necessary.  It should suffice to apply a simple replace list filter for whole words matching any of these Roman numerals, taking care to restrict the search to match only the words within a reference or reference range.

As Roman numerals in some manuscripts can be either lowercase or uppercase, it’s imperative to avoid matching ordinary words in the text, such as the pronoun ‘I’.

Best regards,


Sent from ProtonMail Mobile

On Mon, Oct 14, 2019 at 12:22, Don Elbourne <don2 at elbourne.org> wrote:

> Does anyone have a Roman Numerals to Arabic conversion tool?
> I have a long document where all the scripture references are in Roman
> Numerals. I'd love to convert them to more standard Arabic number
> references. To do so by hand would take a lifetime. lol
> btw The document is "A Scriptural Exposition of the Baptist Catechism"
> and IMHO would be a great module resource in Sword.
> http://www.ourbaptistheritage.org/uploads/8/1/0/2/81023264/benjamin_beddome_a_scriptural_exposition_of_the_baptist_catechism.pdf
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20191014/a8c10f43/attachment.html>

More information about the sword-devel mailing list