mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Slob: Handle some more TeX commands which don't supported by mimetex.cgi
This commit is contained in:
parent
124aed13d7
commit
614ae4d9d5
2
slob.cc
2
slob.cc
|
@ -823,6 +823,8 @@ string SlobDictionary::convert( const string & in, RefEntry const & entry )
|
|||
tex.replace( "\\infin", "\\infty" );
|
||||
tex.replace( "\\iff", "\\Longleftrightarrow" );
|
||||
tex.replace( "\\tbinom", "\\binom" );
|
||||
tex.replace( "\\implies", "\\Longrightarrow" );
|
||||
tex.replace( "{aligned}", "{align*}" );
|
||||
|
||||
QString command = texCgiPath + " -e " + imgName
|
||||
+ " \"" + tex + "\"";
|
||||
|
|
Loading…
Reference in a new issue