Index: doc/hgmanpage.py
--- doc/hgmanpage.py.orig
+++ doc/hgmanpage.py
@@ -50,12 +50,8 @@ from docutils import (
     nodes,
     writers,
 )
+from roman_numerals import RomanNumeral
 
-try:
-    import roman
-except ImportError:
-    from docutils.utils import roman
-
 FIELD_LIST_INDENT = 7
 DEFINITION_LIST_INDENT = 7
 OPTION_LIST_INDENT = 7
@@ -349,7 +345,7 @@ class Translator(nodes.NodeVisitor):
                 elif self._style in ('loweralpha', 'upperalpha'):
                     return "%c." % self._cnt
                 elif self._style.endswith('roman'):
-                    res = roman.toRoman(self._cnt) + '.'
+                    res = RomanNumeral(self._cnt) + '.'
                     if self._style.startswith('upper'):
                         return res.upper()
                     return res.lower()
