diff --git a/README.es.md b/README.es.md index 909e3fc..d80cfe5 100644 --- a/README.es.md +++ b/README.es.md @@ -11,7 +11,7 @@ Requerimientos: * pdf2svg -## Software libre no gratis. +## Software libre, no gratis. Esta extensión tiene un costo de mantenimiento de 5 euros al año. @@ -24,7 +24,7 @@ ETH: `0x61a4f614a30ff686445751ed8328b82b77ecfc69` LTC: `MBcgQ3LQJA4W2wsXknTdm2fxRSysLaBJHS` -* Para ArchLinux +* En ArchLinux ``` sudo pacman -S texlive-core @@ -32,7 +32,7 @@ sudo pacman -S pdf2svg ``` -* Para Ubuntu 20.04 +* En Ubuntu 20.04 ``` sudo apt install texlive-latex-base diff --git a/files/ZAZLaTex2SVG_v0.1.0.oxt b/files/ZAZLaTex2SVG_v0.1.0.oxt index e77179a..cde03fd 100644 Binary files a/files/ZAZLaTex2SVG_v0.1.0.oxt and b/files/ZAZLaTex2SVG_v0.1.0.oxt differ diff --git a/source/ZAZLaTex2SVG.py b/source/ZAZLaTex2SVG.py index fe0a446..a9f172b 100644 --- a/source/ZAZLaTex2SVG.py +++ b/source/ZAZLaTex2SVG.py @@ -31,6 +31,10 @@ class Controllers(object): def __init__(self, dlg): self.d = dlg + def cmd_close_action(self, event): + self.d.close() + return + def cmd_preview_action(self, event): data = self.d.text.value if not data: @@ -41,6 +45,14 @@ class Controllers(object): app.msgbox(data) return + def cmd_insert_action(self, event): + msg = _('You shure insert this equation') + if not app.question(msg): + return + + self.d.close() + return + class ZAZLaTex2SVG(unohelper.Base, XJobExecutor): NAME = 'temp'