latex simply works on windows. Fixes #4378
This commit is contained in:
parent
9d7c80d522
commit
9850bfccc8
|
@ -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_" + \
|
||||||
|
|
Loading…
Reference in New Issue