equal
deleted
inserted
replaced
93 .. |
93 .. |
94 """ |
94 """ |
95 |
95 |
96 |
96 |
97 class Writer(writers.Writer): |
97 class Writer(writers.Writer): |
98 |
|
99 supported = 'manpage' |
98 supported = 'manpage' |
100 """Formats this writer supports.""" |
99 """Formats this writer supports.""" |
101 |
100 |
102 output = None |
101 output = None |
103 """Final translated form of `document`.""" |
102 """Final translated form of `document`.""" |
295 (u'-', u'\\-'), |
294 (u'-', u'\\-'), |
296 (u"'", u'\\(aq'), |
295 (u"'", u'\\(aq'), |
297 (u'´', u"\\'"), |
296 (u'´', u"\\'"), |
298 (u'`', u'\\(ga'), |
297 (u'`', u'\\(ga'), |
299 ] |
298 ] |
300 for (in_char, out_markup) in replace_pairs: |
299 for in_char, out_markup in replace_pairs: |
301 text = text.replace(in_char, out_markup) |
300 text = text.replace(in_char, out_markup) |
302 # unicode |
301 # unicode |
303 text = self.deunicode(text) |
302 text = self.deunicode(text) |
304 if self._in_literal: |
303 if self._in_literal: |
305 # prevent interpretation of "." at line start |
304 # prevent interpretation of "." at line start |