Would be nice to have one. From http://odd-eyed-code.org/issues/40 The code from Redmine is on a branch: https://github.com/rubychan/coderay/compare/latex-encoder