*[[Inkscape:http://inkscape.org/]] [#ycda5b1e]
*[[Inkscape:https://inkscape.org/]] [#ycda5b1e]

&color(White,#5F2F2F){  ''◆目次◆''  };&br;

----
#contents
----

*Inkscape とは [#v6fd1815]

Inkscape は,オープンソースのベクターグラフィックエディタ (SVG エディタ) です.
Inkscape はベクターグラフィックエディタ (SVG エディタ) です.

Windows, Linux, Mac OS X, Unix で動作します.
|COLOR(#FFF):BGCOLOR(#7C0):''入力''|COLOR(#FFF):BGCOLOR(#7C0):''インポート可能な形式''|COLOR(#FFF):BGCOLOR(#7C0):''出力''|
|SVG, PDF|EPS, PS|SVG, PDF, EPS, PS, ODG|

|COLOR(#FFF):BGCOLOR(#7C0):入力|COLOR(#FFF):BGCOLOR(#7C0):出力|
|SVG, PDF|SVG, PDF, EPS, PS, ODG|
[[PostScript や EPS をインポートするには、Ghostscript をインストールする必要があり、ps2pdf が環境変数 Path 上になければなりません。:http://wiki.inkscape.org/wiki/index.php/FAQ_(Japanese)#Inkscape.E3.81.A7.E3.82.A4.E3.83.B3.E3.83.9D.E3.83.BC.E3.83.88.2F.E3.82.A8.E3.82.AF.E3.82.B9.E3.83.9D.E3.83.BC.E3.83.88.E3.81.A7.E3.81.8D.E3.82.8B.E3.83.95.E3.82.A1.E3.82.A4.E3.83.AB.E5.BD.A2.E5.BC.8F.E3.81.AF.E3.81.AA.E3.82.93.E3.81.A7.E3.81.99.E3.81.8B.3F]]

外部プログラムとして
-[[Inkscape 公式サイト:https://inkscape.org/]]
-[[Inkscape 開発サイト:https://gitlab.com/inkscape/inkscape]]
--[[コミットログ:https://gitlab.com/inkscape/inkscape/commits/master]]
-[[Inkscape Wiki:http://wiki.inkscape.org]]
--[[LaTeX - Inkscape Wiki:http://wiki.inkscape.org/wiki/index.php/LaTeX]]
--[[FAQ (Japanese) - Inkscape Wiki:http://wiki.inkscape.org/wiki/index.php/FAQ_(Japanese)]]
---[[数学記号や特殊記号を入力するには?:http://wiki.inkscape.org/wiki/index.php/FAQ_(Japanese)#.E6.95.B0.E5.AD.A6.E8.A8.98.E5.8F.B7.E3.82.84.E7.89.B9.E6.AE.8A.E8.A8.98.E5.8F.B7.E3.82.92.E5.85.A5.E5.8A.9B.E3.81.99.E3.82.8B.E3.81.AB.E3.81.AF.3F]]
---[[Inkscapeでインポート/エクスポートできるファイル形式はなんですか?:http://wiki.inkscape.org/wiki/index.php/FAQ_(Japanese)#Inkscape.E3.81.A7.E3.82.A4.E3.83.B3.E3.83.9D.E3.83.BC.E3.83.88.2F.E3.82.A8.E3.82.AF.E3.82.B9.E3.83.9D.E3.83.BC.E3.83.88.E3.81.A7.E3.81.8D.E3.82.8B.E3.83.95.E3.82.A1.E3.82.A4.E3.83.AB.E5.BD.A2.E5.BC.8F.E3.81.AF.E3.81.AA.E3.82.93.E3.81.A7.E3.81.99.E3.81.8B.3F]]
--[[Tools:http://wiki.inkscape.org/wiki/index.php/Tools]]
--[[Extension repository:http://wiki.inkscape.org/wiki/index.php/ExtensionsRepository]]

-Windows なら [[pstoedit:http://pstoedit.sourceforge.net/]]
-UNIX なら [[pstoedit:http://pstoedit.sourceforge.net/]] と ([[Skencil>WikiPedia.ja:Skencil]] に含まれている) skconvert.py
**動作環境 [#a70b2acc]

を使用することで EPS, PS の入力も可能です.
Windows, macOS, Linux

-[[Inkscape 公式サイト:http://inkscape.org/]]
-[[Inkscape 開発サイト:https://launchpad.net/~inkscape.dev]]
--[[コミットログ:http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes]]
**License [#ibc5e002]

[[GPLv2 or later (GIMP からコピーしたファイルに関しては GPLv3 or later):https://gitlab.com/inkscape/inkscape/blob/master/COPYING]]

**リリース情報 [#d961699f]
[[最新ニュース:https://inkscape.org/ja/news/]]を参照.

**ChangeLog [#q8a7ad68]

[[コミットログ:https://gitlab.com/inkscape/inkscape/commits/master]]

*ダウンロード [#i5a8dfd7]
-https://inkscape.org/ja/release/

*不具合 [#caadafb3]

-https://gitlab.com/inkscape/inkscape/issues

*PDF/EPS/PS + LaTeX [#d6b72996]

-[[Inkscape Wiki:http://wiki.inkscape.org]]
--[[FAQ (Japanese) - Inkscape Wiki:http://wiki.inkscape.org/wiki/index.php/FAQ_(Japanese)]]
---[[数学記号や特殊記号を入力するには?:http://wiki.inkscape.org/wiki/index.php/FAQ_(Japanese)#.E6.95.B0.E5.AD.A6.E8.A8.98.E5.8F.B7.E3.82.84.E7.89.B9.E6.AE.8A.E8.A8.98.E5.8F.B7.E3.82.92.E5.85.A5.E5.8A.9B.E3.81.99.E3.82.8B.E3.81.AB.E3.81.AF.3F]]
-[[WikiPedia.ja:Inkscape]]
-[[Wikibooks.ja:Inkscape:http://ja.wikibooks.org/wiki/Inkscape]]
-[[MacWiki:Inkscape]]
-[[窓の杜 - Inkscape:http://www.forest.impress.co.jp/lib/pic/piccam/paint/inkscape.html]]
--[[LaTeX - Inkscape Wiki:http://wiki.inkscape.org/wiki/index.php/LaTeX]]
---[[Release notes/0.92 - Inkscape Wiki#Export PDF / EPS / PS:http://wiki.inkscape.org/wiki/index.php/Release_notes/0.92#Export_PDF_.2F_EPS_.2F_PS]]
---[[Release notes/0.91 - Inkscape Wiki#PDF/EPS/PS + LaTeX:http://wiki.inkscape.org/wiki/index.php/Release_notes/0.91#PDF.2FEPS.2FPS_.2B_LaTeX]]
---[[Release notes/0.48 - Inkscape Wiki#New LaTeX export for PDF/EPS/PS:http://wiki.inkscape.org/wiki/index.php/Release_notes/0.48#New_LaTeX_export_for_PDF.2FEPS.2FPS]]

*PDF+LaTeX/EPS+LaTeX/PS+LaTeX [#d6b72996]
Inkscape は PDF, EPS, PS ファイルで保存する場合に PDF, EPS, PS のテキストを除外して LaTeX ファイルを生成できます.

-[[LaTeX - Inkscape Wiki:http://wiki.inkscape.org/wiki/index.php/LaTeX]]
-[[Release notes/0.48#New LaTeX export for PDF/EPS/PS - Inkscape Wiki:http://wiki.inkscape.org/wiki/index.php/Release_notes/0.48#New_LaTeX_export_for_PDF.2FEPS.2FPS]]
-[[CTAN:help/Catalogue/entries/svg-inkscape.html]], http://az.ctan.org/pkg/svg-inkscape
-http://sites.google.com/site/richardhenwood/inkscapelatexextension
-[[svg2latex:http://sites.google.com/site/richardhenwood/svg2latex2]]
>
&color(#72C304,#72C304){%%%        &color(Black){''Portable Document Format''};       &color(#DD4444,#DD4444){%%%[ &color(White){''🗙''}; ]%%%};%%%};&br;
 PDF バージョン制限 %%% PDF 1.5               [ ''ᐯ'' ]%%%&br;
 テキスト出力オプション:  ◯ フォントを埋め込む&br;
            ◯ テキストをパスに変換する&br;
            🔘 PDF のテキストを除外して LaTeX ファイルを生成&br;
  ☑ フィルターエフェクトをラスタライズする&br;
 ラスタライズ解像度 (dpi):                      %%%90 [''⇕'']%%%&br;
 出力ページサイズ:    🔘 ドキュメントのページサイズを使用&br;
            ◯ エクスポートオブジェクトのサイズを使用&br;
 裁ち落し/マージン (mm):                   %%%0.0    [''⇕'']%%%&br;
 オブジェクトのエクスポートを ID で制限する: %%%               %%%&br;
<
>
&color(#72C304,#72C304){%%%             &color(Black){''Encapsulated PostScript''};           &color(#DD4444,#DD4444){%%%[ &color(White){''🗙''}; ]%%%};%%%};&br;
 PS レベル制限 %%% PostScript level 3             [ ''ᐯ'' ]%%%&br;
 テキスト出力オプション:  ◯ フォントを埋め込む&br;
            ◯ テキストをパスに変換する&br;
            🔘 EPS のテキストを除外して LaTeX ファイルを生成&br;
  ☑ フィルターエフェクトをラスタライズする&br;
 ラスタライズ解像度 (dpi):                      %%%90 [''⇕'']%%%&br;
 出力ページサイズ:    🔘 ドキュメントのページサイズを使用&br;
            ◯ エクスポートオブジェクトのサイズを使用&br;
 裁ち落し/マージン (mm):                   %%%0.0    [''⇕'']%%%&br;
 オブジェクトのエクスポートを ID で制限する: %%%               %%%&br;
<
>
&color(#72C304,#72C304){%%%                  &color(Black){''PostScript''};                &color(#DD4444,#DD4444){%%%[ &color(White){''🗙''}; ]%%%};%%%};&br;
 PS レベル制限 %%% PostScript level 3             [ ''ᐯ'' ]%%%&br;
 テキスト出力オプション:  ◯ フォントを埋め込む&br;
            ◯ テキストをパスに変換する&br;
            🔘 PS のテキストを除外して LaTeX ファイルを生成&br;
  ☑ フィルターエフェクトをラスタライズする&br;
 ラスタライズ解像度 (dpi):                      %%%90 [''⇕'']%%%&br;
 出力ページサイズ:    🔘 ドキュメントのページサイズを使用&br;
            ◯ エクスポートオブジェクトのサイズを使用&br;
 裁ち落し/マージン (mm):                   %%%0.0    [''⇕'']%%%&br;
 オブジェクトのエクスポートを ID で制限する: %%%               %%%&br;
>

Inkscape 0.48 から PDF, EPS, PS ファイルで保存する場合に PDF+LaTeX, EPS+LaTeX, PS+LaTeX を指定することが可能になりました.
コマンドラインから PDF, EPS, PS のテキストを除外して LaTeX ファイルを出力することも可能です.

----
&color(White,#72C304){%%%   Portable Document Format                 &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
 Restrict to PDF version: %%% PDF 1.5                 [ ▼ ]%%%&br;
  ☐ テキストをパスに変換&br;
  ☑ PDF+LaTeX: PDF のテキストを除外して LaTeX ファイルを生成&br;
  ☑ フィルタエフェクトをラスタライズ&br;
 Resolutiion for rasterization (dpi):              90&br;
  ☑ エクスポート領域は描画全体&br;
  ☐ エクスポート領域はページ&br;
 Limit export to the object with ID: %%%                    %%%&br;
----
&color(White,#72C304){%%%   Encapsulated PostScript                   &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
 Restrict to PS level: %%% PostScript level 3              [ ▼ ]%%%&br;
  ☐ テキストをパスに変換&br;
  ☑ EPS+LaTeX: EPS のテキストを除外して LaTeX ファイルを生成&br;
  ☑ フィルタエフェクトをラスタライズ&br;
 Resolutiion for rasterization (dpi):              90&br;
  ☑ エクスポート領域は描画全体&br;
  ☐ エクスポート領域はページ&br;
 Limit export to the object with ID: %%%                    %%%&br;
----
&color(White,#72C304){%%%   PostScript                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
 Restrict to PS level: %%% PostScript level 3              [ ▼ ]%%%&br;
  ☐ テキストをパスに変換&br;
  ☑ PS+LaTeX: PS のテキストを除外して LaTeX ファイルを生成&br;
  ☑ フィルタエフェクトをラスタライズ&br;
 Resolutiion for rasterization (dpi):              90&br;
  ☑ エクスポート領域は描画全体&br;
  ☐ エクスポート領域はページ&br;
 Limit export to the object with ID: %%%                    %%%&br;
----
//-https://inkscape.modevia.com/inkscape-man.html
 inkscape -D -z --file=image.svg --export-pdf=image.pdf --export-latex
 inkscape -D -z --file=image.svg --export-eps=image.eps --export-latex
 inkscape -D -z --file=image.svg --export-ps=image.ps --export-latex

コマンドラインから PDF+LaTeX, EPS+LaTeX, PS+LaTeX で出力することも可能です.
*svg – Include and extract SVG pictures in LaTeX documents [#p2c351e1]

-http://inkscape.modevia.com/inkscape-man.html
 inkscape -D -z --file=image.svg --export-pdf=image.pdf --export-latex
 inkscape -D -z --file=image.svg --export-eps=image.eps --export-latex
 inkscape -D -z --file=image.svg --export-ps=image.ps --export-latex
-[[svg:https://ctan.org/pkg/svg]]
--[[[LaTeX] svg --- LaTeX文書にSVG画像を含める方法:http://konoyonohana.blog.fc2.com/blog-entry-432.html]]

*エクステンション [#s696e33c]

**[[Latex 数式 (eqtexsvg.py):http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/extensions/eqtexsvg.py]] [#w6edd3aa]
**LaTeX (pdflatex) [#w6edd3aa]

Inkscape にデフォルトで含まれている LaTeX と連携するためのエクステンション.
-環境変数 PATH に latex, dvips, pstoedit が存在するディレクトリが含まれていれば エクステンション(N) → レンダリング → Latex 数式... から使用可能.
-[[InkscapeをLaTeXと一緒に使う:http://sora-blue.net/~shogo82148/i/memo/soft/inkscape/with-LaTeX.html]]
-[[Inkscape で LaTeX の数式を入力する:http://www.empitsu.com/wp/?p=24]]
pdflatex を実行して数式を埋め込むエクステンション.
Inkscape に標準で収録されています.

**[[textext:http://pav.iki.fi/software/textext/]] [#b9881c0b]
-https://gitlab.com/inkscape/extensions/blob/master/pdflatex.inx
-https://gitlab.com/inkscape/extensions/blob/master/pdflatex.py

LaTeX 形式の数式を Inkscape に含めることが可能なエクステンション.
-https://bitbucket.org/pv/textext/issue/55/textext-using-inkscape048
-[[Inkscape 0.48 で TexText を使ってみた。:http://www.empitsu.com/wp/?p=847]]
-[[Inkscape0.48でtextext0.4.4を使用する方法:http://blog.livedoor.jp/tanapy/archives/51625611.html]]
-[[textext で日本語:http://kozimathewizard.blogspot.com/2010/12/textext.html]]
-[[QA: 電子回路図の挿入>http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=582&parent=3140&mode=3]]
-[[Latexの数式が使えるinkscapeの拡張:http://blog.livedoor.jp/les_paul_sp/archives/395249.html]]
-[[Textextの日本語化:http://blog.livedoor.jp/les_paul_sp/archives/399981.html]]
-[[Windows 版 Inkscape 0.46 で TexText を動作させる:http://www.empitsu.com/wp/?p=411]]
-[[Inkscape 0.47 pre4 に TexText を入れてみた(Windows XP):http://www.empitsu.com/wp/?p=758]]
-[[TexText で日本語を通す:http://www.empitsu.com/wp/?p=781]]
-[[textext, pdf2svg on Windows:http://hil.t.u-tokyo.ac.jp/~t-nakano/textext_pdf2svg.html]]
-[[inkscape &amp; textext 導入:http://kozimathewizard.blogspot.com/2010/06/inkscape-textext.html]]
-[[うぶつん&#12288;&#65374;退化する脳みそのための備忘録&#65374;: inkscape:http://ubutun.blogspot.com/search/label/inkscape]]
-[[Inkscape に textextを導入:http://d.hatena.ne.jp/m_katsurai/20100908/1283915982]]
-[[inkscapeで数式:http://s142252.ppp.asahi-net.or.jp/adiary/memo/adiary.cgi/hirosugu/inkscape%A4%C7%BF%F4%BC%B0]]
***動作環境 [#z851d64f]

***インストール [#y0f25738]
----
-http://www.pstoedit.net/
Windows 10 Pro バージョン 1909 x64、Inkscape 1.0 x64 with Python 3.8.2、TeX Live 2020 win32 版で動作することを確認しています。

から pstoedit をダウンロード,インストールして pstoedit.exe のフォルダに PATH を通します.
----
-http://inkscape.modevia.com/win32/?M=D
macOS では Finder からダブルクリックで Inkscape を実行するとグレーアウトされて動作しないようですが、Terminal から Inkscape を実行すると動作するようです。--&gt; [[Mac版Inkscape1.0のpdflatex>forum:2849]]
//macOS ではグレーアウトされて動作しないようですが、TexText が動作するので問題ないようです。--&gt; [[Inkscape ver.1.0では LaTeX (pdflatex)のレンダリングは 出来ない?>forum:2844]], [[「Inkscape グレーアウト問題は解決」の報告フォーマットに関して>forum:2845]], [[Inkscape Can not find the command 'pdflatex'>forum:2847]], [[Can not find the command &#39;pdflatex&#39; (#1221) · Issues · Inkscape / Inbox · GitLab:https://gitlab.com/inkscape/inbox/issues/1221]]

から Inkscape のナイトリービルド版をダウンロードして展開します.
Linux の AppImage 版ではグレーアウトはしませんが Debian GNU/Linux 10 (Buster) で動作に失敗するようです。--&gt; [[Re: Inkscape ver.1.0では LaTeX (pdflatex)のレンダリングは 出来ない。>forum:2844#p16693]]

ここでは inkscape_r10146-201104082205.7z をダウンロードして展開しました.

展開したフォルダを C:\inkscape と仮定します.別のフォルダに展開した場合は読み替えてください.
----
-https://bitbucket.org/pv/textext/src

の get source >> からファイル (zip, gz, bz2 のうちから好きなものを選択) をダウンロード,展開して
***使用方法 [#se15d9b2]

-textext.py
-textext.inx
[エクステンション(N)] &gt; [レンダリング] &gt; [Mathmatics] &gt; [LaTeX (pdflatex)...] を選択.

を C:\inkscape\share\extensions にコピーします.
----
Inkscape を起動して [エクステンション(N)]-[Tex Text] を実行しようとすると RuntimeError の例外が発生します.
----
         Inkscapeは、実行したスクリプトから追加データを受け取りまし&br;
         た。スクリプトはエラーを返しませんでしたが、実行結果が意図し&br;
         ないものになっていることを示唆している可能性があります。&br;
>
&color(#72C304,#72C304){%%%                &color(Black){''LaTeX (pdflatex)''};              &color(#DD4444,#DD4444){%%%[ &color(White){''🗙''}; ]%%%};%%%};&br;
 LaTeX Input: %%%\(\displaystyle\frac{\pi^2}{6}=\lim_{n \to \infty}\sum_{k=1}^n \frac{1}{k^2}\)%%%&br;
 Additional packages(comma-separated):&br;
&br;
 Traceback (most recent call last):
   File "textext.py", line 403, in <module>
     raise RuntimeError("Neither pygtk nor Tkinter is available!")
 RuntimeError: Neither pygtk nor Tkinter is available!
----
 ☑ ライブプレビュー&br;
<

-http://dgleich.wordpress.com/2010/10/26/fixing-textext-on-inkscape-for-windows/
**[[TexText:https://github.com/textext/textext]] [#l1a0873e]

から site-packages.zip をダウンロードして
C:\inkscape\python\Lib\site-packages に
Inkscape で LaTeX のグラフィックスを埋め込むエクステンション.再編集可能.

-cairo\
-gtk-2.0\
-pycairo-1.8.10-py2.6.egg-info
-pygtk.pth
-pygtk.py
-pygtk.pyc
-pygtk.pyo
-https://github.com/textext/textext
-https://textext.github.io/textext/

を展開します.
***インストール [#j75ce7d3]

//-http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/
//-http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.8/
//-http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.28/
-https://textext.github.io/textext/index.html#installation-toc
-[[FYI:Mac版TeXTextのインストール>forum:2842]]

----
Inkscape を起動して [エクステンション(N)]-[Tex Text] を実行しようとすると AttributeError の例外が発生します.
----
         Inkscapeは、実行したスクリプトから追加データを受け取りまし&br;
         た。スクリプトはエラーを返しませんでしたが、実行結果が意図し&br;
         ないものになっていることを示唆している可能性があります。&br;
&br;
 Traceback (most recent call last):
   File "textext.py", line 741, in <module>
     paths += [os.path.join(os.abspath(os.dirname(sys.argv[0])), '..', '..')]
 AttributeError: 'module' object has no attribute 'abspath'
----
C:\inkscape\share\extensions\textext.py の 741 行目の os.abspath, os.dirname を os.path.abspath, os.path.dirname に修正します.
----
     # The path where Inkscape is likely to be
     #paths += [os.path.join(os.abspath(os.dirname(sys.argv[0])), '..', '..')]
     paths += [os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), '..', '..')]
----
Inkscape を起動して [エクステンション(N)]-[Tex Text] を実行します.~
Text に \begin{document} ~ \end{document} に入れる文章を入力します.~
ここでは Inkscape と入力しました.~
***使用方法 [#fce319ec]

&color(Black,#72C304){%%%  &color(White){''TeX Text''};                                     &color(Black,#62B304){%%%[ &color(White){''◛''}; ]%%%};&color(Black,#62B304){%%%[ &color(White){''▭''}; ]%%%};&color(Black,#CC3333){%%%[  &color(White){''✕''};  ]%%%}; %%%};&br;
 Preamble file:   (なし)&br;
  Scale factor:  1.00&br;
LaTeX page width: 10cm&br;
   Converter:   Pstoedit&br;
            Inkscape&br;
&br;
&br;
&br;
&br;
   Text:&br;
&br;
&br;
&br;
&br;
&br;
----
実行すると RuntimeError の例外が発生します.
-https://textext.github.io/textext/index.html#usage-toc

&color(Black,#72C304){%%%  &color(White){''Textext Error''};                                     &color(Black,#CC3333){%%%[  &color(White){''✕''};  ]%%%}; %%%};&br;
        ''Error occurred while converting text from Latex to SVG:''&br;
 Traceback (most recent call last):
   File "textext.py", line 246, in cb_ok
     self.callback()
   File "textext.py", line 456, in <lambda>
     asker.ask(lambda: self.do_convert(info, old_node))
   File "textext.py", line 470, in do_convert
     new_node = converter.convert(info)
   File "textext.py", line 1043, in convert
     self.tex_to_pdf(info)
   File "textext.py", line 1014, in tex_to_pdf
     out = exec_command(['pdflatex', self.tmp('tex')] + latex_opts)
   File "textext.py", line 698, in exec_command
     % (' '.join(cmd), p.returncode, out + err))
 RuntimeError: Command pdflatex ...
 ...
----
C:\inkscape\share\extensions\textext.py の 1014 行目を修正します.
----
         # Exec pdflatex: tex -> pdf
         #out = exec_command(['pdflatex', self.tmp('tex')] + latex_opts)
         out = exec_command(['pdflatex', latex_opts, self.tmp('tex')])
----
textext は tmp フォルダを作成しますが作成される tmp フォルダの親ディレクトリは Python インタプリタから
 >>> import tempfile
 >>> tempfile.gettempdir()
とすることで確認できます.
----
**SVG2TikZ, svg2tikz [#u5ee2f7d]

***textext で日本語を使う [#q35ff2bf]
Inkscape 等で作成した SVG ファイルを TikZ のコードに変換するプログラムです.

pdflatex では,日本語を使えないので,eplatex + dvipdfmx で日本語を使える Tex Text Japanese を作成します.
-[[SVG2TikZ:https://github.com/kjellmf/svg2tikz]]
-[[svg2tikz:https://github.com/paaguti/svg2tikz]]
-[[SVG を TikZ ソースに変換する Docker コンテナを作る:https://qiita.com/doraTeX/items/4d48e86cf3fc6f2ae132]]

----
C:\inkscape\share\extensions\textext.py をコピー,貼り付けして C:\inkscape\share\extensions\textext_ja.py にリネームします.~
C:\inkscape\share\extensions\textext.inx をコピー,貼り付けして C:\inkscape\share\extensions\textext_ja.inx にリネームします.~
----
C:\inkscape\share\extensions\textext_ja.inx を編集します.
----
-<_name>Tex Text Japanese</_name>
-<id>org.ekips.filter.textext_ja</id>
-<dependency type="executable" location="extensions">textext_ja.py</dependency>
-<command reldir="extensions" interpreter="python">textext_ja.py</command>
**svg2pdf [#g07406d0]

に変更します.
----
 <inkscape-extension>
   <_name>Tex Text Japanese</_name>
   <id>org.ekips.filter.textext_ja</id>
   <dependency type="executable" location="extensions">textext_ja.py</dependency>
   <dependency type="executable" location="extensions">inkex.py</dependency>
   <effect>
     <object-type>all</object-type>
   </effect>
   <script>
     <command reldir="extensions" interpreter="python">textext_ja.py</command>
   </script>
 </inkscape-extension>
----
C:\inkscape\share\extensions\textext_ja.py の 109 行目あたりの windows.set_title を "TeX Text Japanese" に変更します.
----
             window.set_title("TeX Text Japanese")
----
C:\inkscape\share\extensions\textext_ja.py の 1014 行目あたりの # Exec pdflatex: tex -> pdf (pdflatex) を # Exec pdfeplatex: tex -> dvi -> pdf (eplatex と dvipdfmx) に修正します.
----
        # Exec pdfeplatex: tex -> dvi -> pdf
        out = exec_command(['eplatex', latex_opts, self.tmp('tex')])
        out = exec_command(['dvipdfmx', self.tmp('dvi')])
----
C:\inkscape\share\extensions\textext_ja.py の 1153 行目あたりの # Exec pstoedit: pdf -> svg の項目を # Exec pstoedit: eps -> svg に変換するように修正します.
----
         # Exec pstoedit: eps -> svg
         exec_command(['gswin32c', '-dSAFER', '-q', '-dBATCH', '-dNOPAUSE',
                       '-sDEVICE=epswrite', '-dEPSCrop', '-r9600',
                       '-sOutputFile='+self.tmp('eps'), self.tmp('pdf')])
         exec_command(['pstoedit', '-f', 'plot-svg',
                       self.tmp('eps'), self.tmp('svg')]
                      + pstoeditOpts)
----
-https://github.com/yambi/bin/blob/master/svg2pdf
-[[続・Inkscape SVG の各レイヤを PDF にエクスポートする:http://empitsu.hatenablog.com/entry/2013/02/06/205135]]
-[[Inkscapeでプレゼンテーション(jessyinkなし):http://yambi.hatenablog.com/entry/20140211/1392110852]]

***pdf2svg [#yec57718]
**[[JessyInk:https://launchpad.net/jessyink]] [#k0206a78]

Converter には pstoedit の他に [[pdf2svg:http://www.cityinthesky.co.uk/opensource/pdf2svg]] もあります.
-[[Inkscapeでプレゼンテーション:http://d.hatena.ne.jp/yambi/20110405/1301974923]]

pdf2svg の Windows バイナリが [[textext, pdf2svg on Windows:http://hil.t.u-tokyo.ac.jp/~t-nakano/textext_pdf2svg.html]] からダウンロードできます.
*Inkscape で TeX 数式 [#f9da7d32]

**[[svg2tex:https://github.com/Oni/svg2tex]] [#wc9b7463]
[[TeX2img]] (Windows/Mac) を使用して,TeX ソースから数式画像を EPS/PDF 形式でアウトライン化して出力するのが簡単です.
なお,TeX2img は数式以外の地の文や日本語も問題なく処理できます.
-[[InkscapeでTeX数式:http://hooktail.org/computer/index.php?Inkscape%A4%C7TeX%BF%F4%BC%B0]]
-[[Inkscapeでtex数式を使う(数式はアウトラインに):http://www.my-chicken-heart.com/2007/09/inkscapetex.html]]
-[[Latexの数式をsvgに:http://blog.livedoor.jp/les_paul_sp/archives/317234.html]]
-[[PDFのトリミングとベクター画像抽出:http://acetaminophen.hatenablog.com/entry/2014/09/15/075714]]

Svg2tex is a python script that extracts all text from a *.svg file to a LaTeX picture environment. This way the picture's text is processed directly by LaTeX and can be included into the document.
*関連リンク [#l46f1d34]

-[[InkscapeでDesign:http://inkscapedesign.web.fc2.com/]]
-[[Inkscaper ~Inkscapeの使い方~:http://logo.dollsent.jp/]]
-[[Wikipedia.ja:Inkscape]]
-[[Wikibooks.ja:Inkscape]]
-[[Inkscape - 窓の杜ライブラリ:http://www.forest.impress.co.jp/library/software/inkscape/]]
-[[Beamerscape:https://github.com/jbohren/beamerscape]]