Description

Return the command sequences needed to define the commands used to format text in the verbatim environment. “arg“ is ignored.

Examples

        for name, definition in self.cmd2def.iteritems():
            styles.append(r'\expandafter\def\csname [email protected]@%s\endcsname{%s}' %
                          (cp, name, definition))
        return STYLE_TEMPLATE % {'cp': self.commandprefix,
                                 'styles': '\n'.join(styles)}

        for name, definition in self.cmd2def.iteritems():
            styles.append(r'\expandafter\def\csname [email protected]@%s\endcsname{%s}' %
                          (cp, name, definition))
        return STYLE_TEMPLATE % {'cp': self.commandprefix,
                                 'styles': '\n'.join(styles)}

                     title     = self.title,
                     encoding  = self.encoding or 'latin1',
                     styledefs = self.get_style_defs(),
                     code      = outfile.getvalue()))

get_style_defs is referenced in 0 repositories