/
writetex.inx
36 lines (36 loc) · 1.99 KB
/
writetex.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>WriteTeX</_name>
<id>tk.whywhow.writetex</id>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="preamble" type="string" _gui-text="Preamble File: "></param>
<param name="read-as-line" type="boolean" _gui-text="Trade above as contents">false</param>
<param name="scale" type="float" precision="2" min="0.1" max="50" _gui-text="Scale Factor">1</param>
<param name="action" type="notebook">
<page name="new" _gui-text="New TeX String">
<param name="formula" type="string" _gui-text="LateX Source: "></param>
<param name="rescale" type="boolean" _gui-text="Rescale the node.">false</param>
</page>
<page name="newfile" _gui-text="New from File">
<param name="inputfile" type="string" _gui-text="LateX Source File: "></param>
</page>
<page name="viewold" _gui-text="View Original TeX">
<_param name="old" type="description">Choose this tab if you would like to obtain the original TeX string.</_param>
<param name="tosvg" type="boolean" _gui-text="Write output to Figure"></param>
</page>
<page name="help" _gui-text="Help">
<_param name="help" type="description">You need at least one LaTeX command and one PDFtoSVG command to execute this plugin correctly. Please visit http://writetex.tk for more information. If you have any suggestion, feel free to open an issue in the repository.</_param>
</page>
</param>
<param name="pdftosvg" type="enum" _gui-text="PDF to SVG converter: ">
<_item value="1">PDF2SVG</_item>
<_item value="2">PStoEDIT</_item>
</param>
<param name="latexcmd" type="string" _gui-text="Latex Commnad used to Compile">xelatex</param>
<effect>
<object-type>all</object-type>
</effect>
<script>
<command reldir="extensions" interpreter="python">writetex.py</command>
</script>
</inkscape-extension>