Oni / svg2tex

A python script that exports text from *.svg files to LaTeX picture environment

This URL has Read+Write access

svg2tex / tex_output.inx
100755 16 lines (15 sloc) 0.657 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<inkscape-extension>
  <_name>LaTeX Picture Output</_name>
  <id>org.inkscape.output.tex</id>
  <dependency type="executable" location="extensions">svg2tex.py</dependency>
  <param name="include" type="string" _gui-text="File to import as the picture environment's background"></param>
  <output>
    <extension>.tex</extension>
    <mimetype>text/x-tex</mimetype>
    <_filetypename>LaTeX (text only) picture environment (*.tex)</_filetypename>
    <_filetypetooltip>LaTeX picture environment (only text)</_filetypetooltip>
  </output>
  <script>
    <command reldir="extensions" interpreter="python">svg2tex.py</command>
  </script>
</inkscape-extension>