*[[TeXnicCenter:http://www.texniccenter.org/]] [#f2674e4f]

#ref(http://texniccenter.sourceforge.net/_static/TeXnicCenter.png,right,around,nolink,TeXnicCenter)

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

#contents

#img(,clear)

*TeXnicCenter とは [#rb91ca3f]

TeXnicCenter は Windows 7, Vista, XP で動作する
[[LaTeX>CTAN:help/Catalogue/entries/latex.html]]
ドキュメントを作成するための,多機能で使いやすい統合環境です.

TeXnicCenter は,フリーのオープンソースソフトウェアで,GNU GPL ライセンスでリリースされています.

-[[TeXnicCenter 公式ページ:http://www.texniccenter.org/]]
--[[TeXnicCenter News:http://www.texniccenter.org/news]]
-[[CTAN:help/Catalogue/entries/texniccenter.html]]

**ChangeLog [#y2c9ad23]

-[[SourceForge: texniccenter/texniccenter: Summary:http://texniccenter.hg.sourceforge.net/hgweb/texniccenter/texniccenter/]]
--[[コミットログ:http://texniccenter.hg.sourceforge.net/hgweb/texniccenter/texniccenter/shortlog]]

**リリース情報 [#da101e5c]

2012-01-31 TeXnicCenter 2.0 Alpha 4~
TeXnicCenter 2.0 Alpha 4 で 64-Bit Windows がサポートされました.~
TeXnicCenter 2.0 Alpha 3 で Logo Contest で優勝した Lukas Schneider さんのアイコンになりました.~
バージョン 1.0 は,日本語表示,日本語入力ともに不可でしたが,バージョン 2.0 から Unicode に対応し,日本語表示,日本語入力が可能になっています.~

**スクリーンショット [#defb0bff]
[[&ref(http://latex.quark007.de/wp-content/uploads/2010/02/unbenannt-300x226.png,around,nolink,TeXnicCenter 2.0 Alpha バージョンの画面);>http://latex.quark007.de/wp-content/uploads/2010/02/unbenannt.png]]

**特徴 [#c8ac578a]
-TeX のコマンドを色分けできます.
-TeX のコマンドを補完してくれます.(Ctrl + Space)
-折りたたみが可能です.
-SumatraPDF を使用すれば,SyncTeX による forward and inverse search も可能です.

**ドキュメント [#s783d445]
-[[Welcome to the documentation of TeXnicCenter — TeXnicCenter v2.0 documentation:http://texniccenter.sourceforge.net/]]

*ダウンロード [#rf294e94]

-[[Browse TeXnicCenter Files on SourceForge.net:http://sourceforge.net/projects/texniccenter/files/]]

*Encoding [#u85685c5]

Encoding は

-ANSI
--日本語版 Windows では Shift_JIS として保存されます.
--TeXnicCenter 2.0 Alpha 4 では TeXnicCenter で開いたときに Shift_JIS のファイルは ANSI ではなく UTF-8 で開かれてしまうので,日本語を使用する場合は UTF-8 で保存してください.→ [[ASCII documents default to UTF-8 character encoding instead of ANSI:http://texniccenter.hg.sourceforge.net/hgweb/texniccenter/texniccenter/rev/c1f76110a594]]
-UTF-8
-UTF-8 with BOM
-UTF-16
-UTF-16 Big Endian
-UTF-32
-UTF-32 Big Endian

に対応しています.

*プロファイルの作成 [#n1a2864d]

メニューの [Build] → [Define Output Profiles...] で,プロファイルを作成します.

[Wizard...] をクリックします.

----
&color(Black,#2E3436){                                                  &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; };&br;
&color(Black,#2E3436){%%% &color(White){''←''};                                                     %%%};&br;
    &color(#1144BB){Welcome to the Configuration Wizard};&br;
&br;
                   The Configuration Wizard will help you, creating the&br;
                   output profiles. In TeXnicCenter output profiles are&br;
                   necessary to generate printable files.&br;
&br;
                   Be sure, that you have already installed a&br;
                   TeX-distribution. If not, you should quit the wizard&br;
                   and TeXnicCenter now, install the TeX-distribution and&br;
                   then restart this wizard.&br;
&br;
                   Tip: If you are using the MikTeX-Distribution&br;
                   (www.miktex.org), TeXnicCenter will do the most&br;
                   part of the configuration for you.&br;
&br;
&br;
&br;
&br;
&br;
&br;
                              &color(Black,#DAEAFF){[   次へ(N)   ]}; &color(Black,#EEEEEE){[  キャンセル  ]};&br;
----
&color(Black,#2E3436){                                                  &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; };&br;
&color(Black,#2E3436){%%% ''←''                                                     %%%};&br;
    &color(#1144BB){Distribution directory};&br;
&br;
                   Enter the full path of the directory, where the&br;
                   executables (latex, tex, etc.) of your&br;
                   TeX-distribution are located:&br;
&br;
                   %%%C:\w32tex\bin%%%&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
                              &color(Black,#DAEAFF){[   次へ(N)   ]}; &color(Black,#EEEEEE){[  キャンセル  ]};&br;
----
&color(Black,#2E3436){                                                  &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; };&br;
&color(Black,#2E3436){%%% ''←''                                                     %%%};&br;
    &color(#1144BB){DVI-Viewer configuration};&br;
&br;
&br;
                   Enter the full path of the DVI-viewer to use:&br;
&br;
                   %%%C:\w32tex\dviout\dviout.exe%%%&br;
&br;
                   Enter the command line option that prevents the&br;
                   viewer from starting multiple instances:&br;
&br;
                                         [optional]&br;
&br;
                   Enter the command line option, that causes the&br;
                   viewer to display a paragraph belonging to a given&br;
                   source line. Use the place holders:&br;
&br;
                                         &color(Black,#EEEEEE){[ &color(#1144BB){▶}; ]}; [optional]&br;
&br;
&br;
&br;
                              &color(Black,#DAEAFF){[   次へ(N)   ]}; &color(Black,#EEEEEE){[  キャンセル  ]};&br;
----
&color(Black,#2E3436){                                                  &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; };&br;
&color(Black,#2E3436){%%% ''←''                                                     %%%};&br;
    &color(#1144BB){Your TeX-distribution supports the generation of PostScript-files};&br;
&br;
&br;
&br;
&br;
                   Enter the full path of the PostScript-viewer to use:&br;
&br;
                   %%%C:\Program Files\SumatraPDF\SumatraPDF.exe%%%&br;
&br;
                   Enter the command line option that prevents the&br;
                   viewer from starting multiple instances:&br;
&br;
                                          [optional]&br;
&br;
                   Enter the command line option, that causes the&br;
                   viewer to display a paragraph belonging to a given&br;
                   source line. Use the place holders:&br;
&br;
                                          &color(Black,#EEEEEE){[ &color(#1144BB){▶}; ]}; [optional]&br;
&br;
                              &color(Black,#DAEAFF){[   次へ(N)   ]}; &color(Black,#EEEEEE){[  キャンセル  ]};&br;
----
//[[TeXnicCenter 2.0 Alpha 3 から,デフォルトの PDF ビューアが SumatraPDF になりました.:http://texniccenter.hg.sourceforge.net/hgweb/texniccenter/texniccenter/rev/86030778d9fc]]&br;

&color(Black,#2E3436){                                                  &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; };&br;
&color(Black,#2E3436){%%% ''←''                                                     %%%};&br;
    &color(#1144BB){Your TeX-distribution supports the generation of PDF-files};&br;
&br;
&br;
&br;
&br;
                   Enter the full path of the PDF-viewer to use:&br;
&br;
                   %%%C:\Program Files\SumatraPDF\SumatraPDF.exe%%%&br;
&br;
                   Enter the command line option that prevents the&br;
                   viewer from starting multiple instances:&br;
&br;
                                          [optional]&br;
&br;
                   Enter the command line option, that causes the&br;
                   viewer to display a paragraph belonging to a given&br;
                   source line. Use the place holders:&br;
&br;
                                          &color(Black,#EEEEEE){[ &color(#1144BB){▶}; ]}; [optional]&br;
&br;
                              &color(Black,#DAEAFF){[   次へ(N)   ]}; &color(Black,#EEEEEE){[  キャンセル  ]};&br;
----
&color(Black,#2E3436){                                                  &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; };&br;
&color(Black,#2E3436){%%% ''←''                                                     %%%};&br;
    &color(#1144BB){Finish};&br;
&br;
                   The following output profiles are about to be&br;
&br;
                   ・LaTeX => DVI&br;
                   ・LaTeX => DVI => PDF&br;
                   ・LaTeX => PS&br;
                   ・LaTeX => PDF&br;
                   ・LaTeX => PS => PDF&br;
                   ・LuaLaTeX => PDF&br;
                   ・XeLaTeX => PDF&br;
&br;
&br;
                   Click on 'Finish' to generate the listed profiles.&br;
&br;
&br;
&br;
&br;
&br;
&br;
                              &color(Black,#DAEAFF){[   完了(F)   ]}; &color(Black,#EEEEEE){[  キャンセル  ]};&br;
----

*(La)TeX [#n6a4bee4]

英語版のコンパイラが設定されるので日本語版のコンパイラに変更します.~
Encoding が UTF-8 の場合を記述します.~

Profiles

LaTeX => DVI&br;
■ e-pTeX, pBibTeX の場合
----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\platex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-no-guess-input-enc -kanji=utf8 -src-specials -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\pbibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%-kanji=utf8 "%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\mendex.exe%%%&br;
Command line arguments to pass to&br;
%%%-U "%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----
■ e-upTeX, upBibTeX の場合
----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\uplatex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-no-guess-input-enc -kanji=utf8 -src-specials -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\upbibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%-kanji=utf8 "%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\mendex.exe%%%&br;
Command line arguments to pass to&br;
%%%-U "%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----

Profiles

LaTeX => PS&br;
■ e-pTeX, pBibTeX の場合
----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\platex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-no-guess-input-enc -kanji=utf8 -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\pbibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%-kanji=utf8 "%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\mendex.exe%%%&br;
Command line arguments to pass to&br;
%%%-U "%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----
■ e-upTeX, upBibTeX の場合
----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\uplatex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-no-guess-input-enc -kanji=utf8 -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\upbibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%-kanji=utf8 "%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\mendex.exe%%%&br;
Command line arguments to pass to&br;
%%%-U "%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----

Profiles

LaTeX => DVI => PDF&br;
LaTeX => PS => PDF&br;
■ e-pTeX, pBibTeX の場合
----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\platex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-no-guess-input-enc -kanji=utf8 -synctex=1 -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\pbibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%-kanji=utf8 "%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\mendex.exe%%%&br;
Command line arguments to pass to&br;
%%%-U "%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----
■ e-upTeX, upBibTeX の場合
----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\uplatex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-no-guess-input-enc -kanji=utf8 -synctex=1 -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\upbibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%-kanji=utf8 "%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\mendex.exe%%%&br;
Command line arguments to pass to&br;
%%%-U "%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----

Profiles

LaTeX => PDF&br;

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\pdflatex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-synctex=1 -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\bibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%"%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\makeindex.exe%%%&br;
Command line arguments to pass to&br;
%%%-U "%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----

Profiles

LuaLaTeX => PDF&br;

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\lualatex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-synctex=1 -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\bibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%"%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\makeindex.exe%%%&br;
Command line arguments to pass to&br;
%%%"%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----

Profiles

XeLaTeX => PDF&br;

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
''[ (La)TeX   ]''&color(Black,#EEEEEE){%%%[ Preprocessor ][ Postprocessor ][ Viewer   ]%%%};&br;

(La)TeX-Compiler&br;
☑ Run (La)TeX in this profile&br;
☐ Stop Compilation, if LaTeX-Error occures&br;
Path to the (La)TeX&br;
%%%C:\w32tex\bin\xelatex.exe%%%&br;
Command line arguments to pass to the compiler:&br;
%%%-synctex=1 -interaction=nonstopmode "%wm"%%%&br;

BibTeX&br;
☐ Do not use BibTeX in this profile&br;
Path to BibTeX&br;
%%%C:\w32tex\bin\bibtex.exe%%%&br;
Command line arguments to pass to&br;
%%%"%tm"%%%&br;

MakeIndex&br;
☐ Do not use MakeIndex in this profile&br;
Path to MakeIndex&br;
%%%C:\w32tex\bin\makeindex.exe%%%&br;
Command line arguments to pass to&br;
%%%"%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----

*Postprocessor [#w0bb01d0]

Profiles

LaTeX => DVI => PDF&br;

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ]%%%};''[ Postprocessor ]''&color(Black,#EEEEEE){%%%[ Viewer   ]%%%};&br;

&color(Black,#EEEEEE){Postprocessors to run after the (La)TeX-compiler};&br;
&color(White,#1188FF){dvipdfm                                   };&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
Executable:     %%%C:\w32tex\bin\dvipdfmx.exe%%%&br;
Arguments      %%%"%bm.dvi"%%%&br;
Input&br;
Output&br;
----

Profiles

LaTeX => PS&br;

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ]%%%};''[ Postprocessor ]''&color(Black,#EEEEEE){%%%[ Viewer   ]%%%};&br;

&color(Black,#EEEEEE){Postprocessors to run after the (La)TeX-compiler};&br;
&color(White,#1188FF){DviPs                                   };&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
Executable:     %%%C:\w32tex\bin\dvips.exe%%%&br;
Arguments      %%%-Ppdf -t a4 -o "%Bm.ps" "%Bm.dvi"%%%&br;
Input&br;
Output&br;
----

Profiles

LaTeX => PS => PDF&br;

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ]%%%};''[ Postprocessor ]''&color(Black,#EEEEEE){%%%[ Viewer   ]%%%};&br;

&color(Black,#EEEEEE){Postprocessors to run after the (La)TeX-compiler};&br;
&color(White,#1188FF){DviPs (PDF)                                 };&br;
Ghostscript (ps2pdf)&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
Executable:     %%%C:\w32tex\bin\dvips.exe%%%&br;
Arguments      %%%-Ppdf -t a4 -o "%Bm.ps" "%Bm.dvi"%%%&br;
Input&br;
Output&br;
----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ]%%%};''[ Postprocessor ]''&color(Black,#EEEEEE){%%%[ Viewer   ]%%%};&br;

&color(Black,#EEEEEE){Postprocessors to run after the (La)TeX-compiler};&br;
DviPs (PDF)&br;
&color(White,#1188FF){Ghostscript (ps2pdf)                             };&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
&br;
Executable:     %%%C:\gs\gs9.05\bin\gswin32c.exe%%%&br;
Arguments      %%%-sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"%%%&br;
Input&br;
Output&br;
----

*Viewer [#a436e057]

**DVI Viewer [#mefb3a74]

Profiles

LaTeX => DVI&br;

***dviout [#hc739c1c]

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ][ Postprocessor ]%%%};''[ Viewer   ]''&br;
Executable path&br;
&br;
%%%C:\w32tex\dviout\dviout.exe%%%&br;
&br;
View project's output&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[PageOpen(# %l '%nc')][WinNormal][FileOpen("%bm.dvi")]%%%&br;
Server: %%%dviout%%%          Topic: %%%dviout%%%&br;
&br;
Forward search&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[PageOpen(# %l '%nc')][WinNormal][FileOpen("%bm.dvi")]%%%&br;
Server: %%%dviout%%%          Topic: %%%dviout%%%&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument ◯ DDE command  &color(#3333CC){◎}; Do not close&br;
----

**PS Viewer [#f96a74f6]

Profiles

LaTeX => PS&br;

***SumatraPDF [#oe6c2a37]

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ][ Postprocessor ]%%%};''[ Viewer   ]''&br;
Executable path&br;
&br;
%%%C:\Program Files\SumatraPDF\SumatraPDF.exe%%%&br;
&br;
View project's output&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%-reuse-instance "%bm.ps"%%%&br;
&br;
&br;
Forward search&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%-reuse-instance "%bm.ps"%%%&br;
&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument ◯ DDE command  &color(#3333CC){◎}; Do not close&br;
----

***GSview [#xd566e26]

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ][ Postprocessor ]%%%};''[ Viewer   ]''&br;
Executable path&br;
&br;
%%%C:\Program Files\Ghostgum\gsview\gsview32.exe%%%&br;
&br;
View project's output&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[Command("%bm.ps")][ShowWindow(1)]%%%&br;
Server: %%%GSview%%%         Topic: %%%GSview%%%&br;
&br;
Forward search&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[Command("%bm.ps")][ShowWindow(1)]%%%&br;
Server: %%%GSview%%%         Topic: %%%GSview%%%&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument ◯ DDE command  &color(#3333CC){◎}; Do not close&br;
----

**PDF Viewer [#nfb23bc6]

Profiles

LaTeX => DVI => PDF&br;
LaTeX => PDF&br;
LaTeX => PS => PDF&br;
LuaLaTeX => PDF&br;
XeLaTeX => PDF&br;

***[[TeXworks]] [#ef4e474a]

[[TeXworks#組み込みの PDF ビューアに日本語を表示させる>TeXworks#t5313ebc]] を参照してフォントの埋め込みの設定を行います.

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ][ Postprocessor ]%%%};''[ Viewer   ]''&br;
Executable path&br;
&br;
%%%C:\w32tex\share\texworks\TeXworks.exe%%%&br;
&br;
View project's output&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%"%bm.pdf"%%%&br;
&br;
&br;
Forward search&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%"%bm.pdf"%%%&br;
&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument ◯ DDE command  &color(#3333CC){◎}; Do not close&br;
----

***SumatraPDF [#pdc24230]

inverse search の時に他のエディタが起動してしまう場合は sumatrapdfprefs.dat を削除してください.

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ][ Postprocessor ]%%%};''[ Viewer   ]''&br;
Executable path&br;
&br;
%%%C:\Program Files\SumatraPDF\SumatraPDF.exe -reuse-instance -inverse-search "\"C:\Program Files\TeXnicCenter Alpha\TeXnicCenter.exe\" /ddecmd \"[goto('%f', '%l')]\""%%%&br;
&br;
View project's output&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[Open("%bm.pdf",0,1,1)]%%%&br;
Server: %%%SUMATRA%%%       Topic: %%%control%%%&br;
&br;
Forward search&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]%%%&br;
Server: %%%SUMATRA%%%       Topic: %%%control%%%&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument ◯ DDE command  &color(#3333CC){◎}; Do not close&br;
----

***Adobe Reader X [#c94760c4]

Adobe Reader X で [編集(E)]-[環境設定(N)...]-[一般]-[起動時に保護モードを有効にする(M)] にチェックがついている場合,
Server を acroviewR10 に変更しただけでは Adobe Reader X の起動時に下記のエラーメッセージが出力され,PDF ファイルが表示されません.

----
&color(Black,#2E3436){%%% &color(White){''TeXnicCenter''};                       %%%};&br;
&size(35){''×''}; [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]&br;
&br;
    Cannot execute the command.&br;
----

Adobe Reader X をあらかじめ起動しておけば,このエラーメッセージは表示されなくなり,DDE command が,通常どおり機能します.

下記の設定をすると [起動時に保護モードを有効にする(M)] にチェックがついていても Adobe Reader X の起動時の TeXnicCenter のエラーメッセージが表示されなくなり PDF ファイルが表示されるようになりました.

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ][ Postprocessor ]%%%};''[ Viewer   ]''&br;
Executable path&br;
&br;
%%%C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe%%%&br;
&br;
View project's output&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%"%bm.pdf"%%%&br;
&br;
&br;
Forward search&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%"%bm.pdf"%%%&br;
&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument &color(#3333CC){◎}; DDE command  ◯ Do not close&br;
Command %%%[DocOpen("%bm.pdf")][DocClose("%bm.pdf")][AppExit()]%%%&br;
Server: %%%acroviewR10%%%      Topic: %%%control%%%&br;
----

修正点は

-Server を acroviewR10 に変更する
-View project's output と Forward search を Command line argument に変更し,Command に PDF ファイル名を指定する
-Close document before running (La)TeX で DocClose の前に DocOpen して DocClose の後に AppExit() する

です.

***Adobe Reader 9 [#dc50e2b3]

[[Alphan Ulusoy's Blog › Using Adobe Acrobat Reader with TeXnicCenter:http://blog.alphanulusoy.com/?p=10]] を参照.

動作未確認です.

----
&color(Black,#2E3436){%%%                                            &color(Black,#CC3333){%%%[  ''&color(White){✕};''  ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX   ][ Preprocessor ][ Postprocessor ]%%%};''[ Viewer   ]''&br;
Executable path&br;
&br;
%%%C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe%%%&br;
&br;
View project's output&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]%%%&br;
Server: %%%acroview%%%        Topic: %%%control%%%&br;
&br;
Forward search&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][DocOpen("%bm.pdf")]%%%&br;
Server: %%%acroview%%%        Topic: %%%control%%%&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument &color(#3333CC){◎}; DDE command  ◯ Do not close&br;
Command %%%[DocOpen("%bm.pdf")][DocClose("%bm.pdf")]%%%&br;
Server: %%%acroview%%%        Topic: %%%control%%%&br;
----

*使い方 [#f25094fe]

[File]-[New]-[Project...] で新規プロジェクトを作成します.

TeX ファイルを編集します.

Output Profile を LaTeX => DVI => PDF に変更します.

[Build]-[Build Output] をクリックします.

エラーが見つかれば,×印が表示され,クリックするとエラー箇所にジャンプします.

間違った箇所を修正してもう一度ビルドします.

[Build]-[View Output] で PDF ファイルが表示されます.

[Build]-[Build and View Output] でビルドと表示ができます.

*SumatraPDF との連携 [#yfd68060]

Command line arguments to pass to the compiler: に -synctex=1 を追加します.

**forward search [#e049aa23]
forward and inverse search は PDF Viewer の [[SumatraPDF>TeXnicCenter#pdc24230]] の項を参考に設定してください.

**inverse search [#e38afd39]
inverse search は Executable path に追加する代わりに SumatraPDF の [設定(S)]-[オプション(O)...]-[逆順検索コマンドラインの設定] に以下の設定を追加しても OK です.

 C:\Program Files\TeXnicCenter Alpha\TeXnicCenter.exe /ddecmd "[goto('%f', '%l')]"

*dviout との連携 [#r45cf8d1]

Command line arguments to pass to the compiler: に -src-specials を追加します.

**forward search [#scf8c0d8]
forward search は DVI Viewer の [[dviout>TeXnicCenter#hc739c1c]] の項を参考に設定してください.

**inverse search [#zb03fb4c]
inverse search は dviout の [Option]-[Setup Parameters...]-[Common]-[src:] に以下の設定を追加すれば OK です.

 C:\Program Files\TeXnicCenter Alpha\TeXnicCenter.exe^s /ddecmd "[goto('%s', '%d')]"

*関連リンク [#r73017f2]
-[[工大院生の学生メモ : Texniccenter:http://blog.livedoor.jp/gastttt3678/archives/2846954.html]]
-[[Newest 'texniccenter' Questions - TeX - LaTeX - Stack Exchange:http://tex.stackexchange.com/questions/tagged/texniccenter]]
-[[Configuring TeXnicCenter:http://www.statslab.cam.ac.uk/~eva/texniccenter.html]]
-[[LaTeX Community • View topic - Adobe Reader 10 and viewing error:http://www.latex-community.org/forum/viewtopic.php?f=31&t=10857]]
-[[LaTeX Community • View topic - Texniccenter + Adobe Reader 9 Problem:http://www.latex-community.org/forum/viewtopic.php?f=35&t=8586]]
-[[TexnicCenter and Adobe Reader 10 / X:http://www.agmonim.com/2010/12/texniccenter-and-adobe-reader-10-x/]]
-[[Alphan Ulusoy's Blog › Using Adobe Acrobat Reader with TeXnicCenter:http://blog.alphanulusoy.com/?p=10]]
-[[DDE Message of Acrobat and Adobe Reader:http://acrobat-dde.nnn2.com/]]
-[[FW: Open "View PDF (pdflatex)" at last cursor position / forward search:http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157991.html]]