Remove local copy for test

This commit is contained in:
Mauricio Baeza 2020-11-01 19:29:17 -06:00
parent 8777c97519
commit 5c1c45b069
3 changed files with 13 additions and 0 deletions

View File

@ -41,3 +41,9 @@ sudo apt install texlive-latex-base
sudo apt install texlive-extra-utils
sudo apt install pdf2svg
```
* For OSx
```
brew install pdf2svg
```

Binary file not shown.

View File

@ -34,8 +34,14 @@ TEMPLATE = """\documentclass{{article}}
# ~ \\begin{{document}}
# ~ \\begin{{tikzpicture}}
# ~ \\node at (0, 0) {{
# ~ \\begin{{equation*}}
# ~ \[ {} \]
# ~ \end{{equation*}}
# ~ }};
# ~ \end{{tikzpicture}}
# ~ \end{{document}}
# ~ """
@ -214,6 +220,7 @@ class ZAZLaTex2SVG(unohelper.Base, XJobExecutor):
app.run(cmd)
cmd = f'pdfcrop "{path_pdf}" "{path_pdf}"'
app.run(cmd)
# ~ app.paths.copy(path_pdf, '/home/mau')
cmd = f'pdf2svg "{path_pdf}" "{path_svg}"'
app.run(cmd)