code: def init() -> None:
      for a, b in tex_replacements:
          _tex_escape_map[ord(a)] = b
          _tex_escape_map_without_unicode[ord(a)] = b
          tex_replace_map[ord(a)] = "_"
  
      # no reason to do this for _tex_escape_map_without_unicode
      for a, b in ascii_tex_replacements:
          _tex_escape_map[ord(a)] = b
  
      # but the hyphen has a specific PDF bookmark problem
      # https://github.com/latex3/hyperref/issues/112
      _tex_escape_map_without_unicode[ord("-")] = r"\sphinxhyphen{}"
  
      for a, b in unicode_tex_replacements:
          _tex_escape_map[ord(a)] = b
          #  This is actually unneeded:
          tex_replace_map[ord(a)] = "_"
  
      for a, b in tex_replacements:
          if a in "[]{}\\":
              continue
          _tex_hlescape_map[ord(a)] = b
          _tex_hlescape_map_without_unicode[ord(a)] = b
  
      for a, b in unicode_tex_replacements:
          _tex_hlescape_map[ord(a)] = b
  
imports: from __future__ import annotations
  import re
label_desc: Use image node_id 4 for calling a global function with example usage: init() without return types