Author: asterix Date: 2008-10-08 19:48:05 +0200 (Wed, 08 Oct 2008) New Revision: 10499
Modified: trunk/src/features_window.py Log: latex simply works on windows. Fixes #4378
Modified: trunk/src/features_window.py =================================================================== --- trunk/src/features_window.py 2008-10-08 09:35:33 UTC (rev 10498) +++ trunk/src/features_window.py 2008-10-08 17:48:05 UTC (rev 10499) @@ -99,7 +99,7 @@ _('LaTeX'): (self.latex_available, _('Transform LaTeX expressions between $$ $$.'), _('Requires texlive-latex-base and dvipng. You have to set 'use_latex' to True in the Advanced Configuration Editor.'), - _('Feature not available under Windows.')), + _('Requires texlive-latex-base and dvipng (All is in MikTeX). You have to set 'use_latex' to True in the Advanced Configuration Editor.')), _('End to End Encryption'): (self.pycrypto_available, _('Encrypting chatmessages.'), _('Requires python-crypto.'), @@ -261,9 +261,6 @@ def latex_available(self): '''check is latex is available and if it can create a picture.'''
- if os.name == 'nt': - return False - exitcode = 0 random.seed() tmpfile = os.path.join(gettempdir(), "gajimtex_" + \