latex simply works on windows. Fixes #4378

This commit is contained in:
Yann Leboulanger 2008-10-08 17:48:05 +00:00
parent 9d7c80d522
commit 9850bfccc8
1 changed files with 1 additions and 4 deletions

View File

@ -99,7 +99,7 @@ class FeaturesWindow:
_('LaTeX'): (self.latex_available, _('LaTeX'): (self.latex_available,
_('Transform LaTeX expressions between $$ $$.'), _('Transform LaTeX expressions between $$ $$.'),
_('Requires texlive-latex-base and dvipng. You have to set \'use_latex\' to True in the Advanced Configuration Editor.'), _('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, _('End to End Encryption'): (self.pycrypto_available,
_('Encrypting chatmessages.'), _('Encrypting chatmessages.'),
_('Requires python-crypto.'), _('Requires python-crypto.'),
@ -261,9 +261,6 @@ class FeaturesWindow:
def latex_available(self): def latex_available(self):
'''check is latex is available and if it can create a picture.''' '''check is latex is available and if it can create a picture.'''
if os.name == 'nt':
return False
exitcode = 0 exitcode = 0
random.seed() random.seed()
tmpfile = os.path.join(gettempdir(), "gajimtex_" + \ tmpfile = os.path.join(gettempdir(), "gajimtex_" + \