Opened 2 years ago
Last modified 1 year ago
The rst processor stops working too, presumably because Pygments takes precedence.
Yes the rst processor stops working... I hope you can fix that soon...
+1 I've got this problem too. Had to revert back to use enscript :( Trac-0.10.4 with latest Pytments
+1 sorry if I shouldn't but I change the priority. will the rst problem be fixed anytime soon? thanks!
I found a fix (or a workaround) for this. Add below to line 214:
if name != 'reStructuredText' :
The code should look like below after fix:
def _init_types(self): if self._types is None: self._types = {} self._languages = {} if have_pygments: for name, aliases, _, mimetypes in get_all_lexers(): if name != 'reStructuredText' : for mimetype in mimetypes: self._types[mimetype] = (aliases[0], self.QUALITY_RATIO) for alias in aliases: self._languages[alias] = name self._types.update( Mimeview(self.env).configured_modes_mapping('pygments') )
This is my workaround for this issue
This is my workaround for this issue, fight one :)
This is right one (I would need ticket admin rights to replace invalid attachments)