Skip to content

Commit c7ac57f

Browse files
committed
add custom latex option
1 parent 87a52b5 commit c7ac57f

File tree

2 files changed

+179
-150
lines changed

2 files changed

+179
-150
lines changed

writetex.inx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<id>org.pecker.writetex</id>
55
<dependency type="executable" location="extensions">eqtexsvg.py</dependency>
66
<dependency type="executable" location="extensions">inkex.py</dependency>
7-
<dependency type="executable" location="path">xelatex</dependency>
87
<param name="preamble" type="string" _gui-text="Preamble File: "></param>
98
<param name="read-as-line" type="boolean" _gui-text="Trade above as contents">false</param>
109
<param name="scale" type="float" precision="2" min="0.1" max="50" _gui-text="Scale Factor">1</param>
@@ -16,14 +15,18 @@
1615
<page name="newfile" _gui-text="New from File">
1716
<param name="inputfile" type="string" _gui-text="LateX Source File: "></param>
1817
</page>
19-
<page name="viewold" _gui-text="View OLD Text">
20-
<_param name="old" type="description">Choose this tab if you would like to see the old TeX string.</_param>
18+
<page name="viewold" _gui-text="View Original TeX">
19+
<_param name="old" type="description">Choose this tab if you would like to obtain the original TeX string.</_param>
2120
</page>
21+
<page name="help" _gui-text="Help">
22+
<_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>
23+
</page>
2224
</param>
2325
<param name="pdftosvg" type="enum" _gui-text="PDF to SVG converter: ">
2426
<_item value="1">PDF2SVG</_item>
2527
<_item value="2">PStoEDIT</_item>
2628
</param>
29+
<param name="latexcmd" type="string" _gui-text="Latex Commnad used to Compile">xelatex</param>
2730
<effect>
2831
<object-type>all</object-type>
2932
</effect>

0 commit comments

Comments
 (0)