From 9850bfccc8d97b89301e46d9c06f9ce6f538ee95 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 8 Oct 2008 17:48:05 +0000 Subject: [PATCH] latex simply works on windows. Fixes #4378 --- src/features_window.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/features_window.py b/src/features_window.py index 403bf2604..822680d53 100644 --- a/src/features_window.py +++ b/src/features_window.py @@ -99,7 +99,7 @@ class FeaturesWindow: _('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 @@ class FeaturesWindow: 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_" + \