''',
VERBATIM: r'''@exampleindent 0
-@example
-%(verb)s@end example
+@verbatim
+%(verb)s@end verbatim
''',
},
}
re.sub ('<', '<',
re.sub ('&', '&', s)))
-def verbatim_texinfo (s):
- return re.sub ('{', '@{',
- re.sub ('}', '@}',
- re.sub ('@', '@@', s)))
-
def split_options (option_string):
if option_string:
if global_options.format == HTML:
str += '@include %(texidoc)s\n\n' % vars ()
if VERBATIM in self.option_dict:
- verb = verbatim_texinfo (self.substring ('code'))
+ verb = self.substring ('code')
str += (output[TEXINFO][VERBATIM] % vars ())
if not QUOTE in self.option_dict:
str = output[TEXINFO][NOQUOTE] % vars ()