[[TeXstudio]] > [[設定>TeXstudio/設定]] > Windows

**コマンド [#zdc6ab74]
----
&color(Black,#3F43EF){%%%  &color(White){''TeXstudioの設定''};            %%%};&br;

#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_general.png,left,around,nolink,37x37,一般)
一般&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_commands.png,left,around,nolink,37x37,コマンド)
&color(Black,#DAEAFF){コマンド            };&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_quickbuild.png,left,around,nolink,37x37,ビルド)
ビルド&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_shortcut.png,left,around,nolink,37x37,キーボードショートカット)
キーボードショートカット&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_latexmenus.png,left,around,nolink,37x37,メニュー)
メニュー&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_toolbars.png,left,around,nolink,37x37,ツールバー)
ツールバー&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_editor.png,left,around,nolink,37x37,エディタ)
エディタ&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_advancededitor.png,left,around,nolink,37x37,詳細なエディタ設定)
詳細なエディタ設定&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_highlighting.png,left,around,nolink,37x37,構文の強調表示)
構文の強調表示&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_highlighting.png,left,around,nolink,37x37,カスタム強調表示)
カスタム強調表示&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_completion.png,left,around,nolink,37x37,コマンドの補完)
コマンドの補完&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_editor.png,left,around,nolink,37x37,文法)
文法&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_preview.png,left,around,nolink,37x37,プレビュー)
プレビュー&br;
#ref(http://svn.code.sf.net/p/texstudio/code/trunk/images/config_svn.png,left,around,nolink,37x37,SVN)
SVN&br;
&br;
&br;
&br;
&br;
&br;
 ☑ 高度なオプションの表示
&br;
----
&color(Black,#3F43EF){%%%                                                                        &color(Black,#2F33DF){%%%[ &color(White){''?''}; ]%%%};&color(Black,#CC3333){%%%[  &color(White){''✕''};  ]%%%}; %%%};&br;

:LaTeX|platex.exe -guess-input-enc -synctex=1 -interaction=nonstopmode -jobname=% %.tex&br;platex.exe -no-guess-input-enc -kanji=utf8 -synctex=1 -interaction=nonstopmode -jobname=% %.tex&br;uplatex.exe -no-guess-input-enc -kanji=utf8 -synctex=1 -interaction=nonstopmode %.tex&br;latex.exe -synctex=1 -interaction=nonstopmode %.tex
:PdfLaTeX|pdflatex.exe -synctex=1 -interaction=nonstopmode %.tex
:XeLaTeX|xelatex.exe -synctex=1 -interaction=nonstopmode %.tex
:LuaLaTeX|lualatex.exe -synctex=1 -interaction=nonstopmode %.tex
:DVIビューア|dde:///"C:\w32tex\dviout\dviout.exe":dviout/dviout/[WinNormal][FileOpen("?am.dvi")]
:PSビューア|"C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.ps"&br;"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.ps"&br;dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[Open("?am.ps",0,1,1)]&br;dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[Open("?am.ps",0,1,1)]&br;dde:///"C:\Program Files\Ghostgum\gsview\gsview32.exe":GSview/GSview/[Command("?am.ps")][ShowWindow(1)]&br;dde:///"C:\Program Files (x86)\Ghostgum\gsview\gsview32.exe":GSview/GSview/[Command("?am.ps")][ShowWindow(1)]
:外部PDFビューア|"C:\w32tex\share\texworks\TeXworks.exe" "?am.pdf"&br;"C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @&br;"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @&br;dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]&br;dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]&br;"C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "?am.pdf"&br;"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" "?am.pdf"
:DviPs|dvips.exe -Ppdf -o %.ps %.dvi
:DviPng|dvipng.exe -T tight -D 120 %.dvi
:Ps2Pdf|ps2pdf.bat %.ps
:DviPdf|dvipdfmx.exe %.dvi
:BibTeX|pbibtex.exe %&br;pbibtex.exe -kanji=utf8 %&br;upbibtex.exe %&br;bibtexu.exe %&br;bibtex.exe %
:BibTex 8ビット|bibtex8.exe %
:Biber|biber.exe %
:Makeindex|mendex.exe %.idx&br;mendex.exe -U %.idx&br;makeindex.exe %.idx
:Texindy|texindy.exe
:Makeglossary|makeglossaries.exe
:Metapost|pmpost.exe -interaction=nonstopmode ?me)&br;pmpost.exe -kanji=utf8 -interaction=nonstopmode ?me)&br;upmpost.exe -interaction=nonstopmode ?me)&br;mpost.exe -interaction=nonstopmode ?me)
:Asymptote|asy.exe %m*.asy
:Ghostscript|"C:\gs\gs9.06\bin\gswin32c.exe"
:Latexmk|latexmk -pdf -silent -pdflatex="pdflatex -synctex=1 %%O %%S" %
:SVN|svn.exe
:SVNADMIN|svnadmin.exe
----

*[[SumatraPDF]] との連携 [#h75a4e4d]

LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.

**forward search [#xd4d4cea]

***SumatraPDF を前面に表示したい場合 [#fb37c098]

forward search は 外部PDFビューア に

■ 32bit Windows の場合

 "C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @
または
 dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]

■ 64bit Windows の場合

 "C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @
または
 dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]

です.

***SumatraPDF を前面に表示したくない場合 [#pa03cf5d]

forward search は 外部PDFビューア に

■ 32bit Windows の場合

 dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,0)]

■ 64bit Windows の場合

 dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,0)]

です.

**inverse search [#bbb88480]
inverse search は SumatraPDF の [設定(S)]-[オプション(O)...]-[逆順検索コマンドラインの設定] に

 C:\TeXstudio\texstudio.exe "%f" -line %l

です.

ダブルクリックで対応する TeX 文書の該当箇所にジャンプします.

*[[dviout]] との連携 (非推奨) [#x63946e5]

[[dviout#forward and inverse search>dviout#ycc841a2]] を参照.

LaTeX コマンドのオプションに -src-specials を追加します.

**forward search [#z360ee58]

forward search は DVI Viewer に

 dde:///"C:\w32tex\dviout\dviout.exe":dviout/dviout/[PageOpen(# @ '?c:m.tex')][WinNormal][FileOpen("?am.dvi")]

です.

**inverse search [#l6dc0dd1]
inverse search は dviout の [Option]-[Setup Parameters...]-[Common]-[src:] に

 C:\TeXstudio\texstudio.exe^s "%s" -line %d

です.

ダブルクリックで対応する TeX 文書の該当箇所にジャンプします.