[[TeXnicCenter]] > 設定

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

#contents

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

初回起動時に Configuration Wizard が表示されます.~
初回起動時に設定をキャンセルした場合は,メニューの [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;
                   %%%C:\Program Files (x86)\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){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;
                   %%%C:\Program Files (x86)\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]

英語版のコンパイラが設定されるので日本語版のコンパイラに変更します.~

Profiles

LaTeX => DVI&br;
■ pLaTeX, 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;
%%%-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;

----
■ upLaTeX, 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;
%%%"%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;
■ pLaTeX, 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;
%%%-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;

----
■ upLaTeX, 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;
%%%"%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;
■ pLaTeX, 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;
%%%-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;

----
■ upLaTeX, 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;
%%%"%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;
■ LuaLaTeX の場合
----
&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\bibtexu.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\texindy.exe%%%&br;
Command line arguments to pass to&br;
%%%"%tm.idx" -t "%tm.ilg" -o "%tm.ind"%%%&br;

----
■ LuaJITLaTeX の場合
----
&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\luajitlatex.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\bibtexu.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\texindy.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\bibtexu.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\texindy.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 -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 -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.07\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 %%%[WinNormal][FileOpen("%bm.dvi")]%%%&br;
Server: %%%dviout%%%          Topic: %%%dviout%%%&br;
&br;
Forward search&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[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;
&br;
&br;
----

***Yap [#u041709f]

----
&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\MiKTeX 2.9\miktex\bin\yap.exe%%%&br;
&br;
View project's output&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%-1 "%bm.dvi"%%%&br;
&br;
&br;
Forward search&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%-1 "%bm.dvi"%%%&br;
&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument ◯ DDE command  &color(#3333CC){◎}; Do not close&br;
&br;
&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;
%%%C:\Program Files (x86)\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;
&br;
&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;
&br;
&br;
----

***[[SumatraPDF]] [#pdc24230]

■ SumatraPDF を前面に表示したい場合
----
&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\TeXnicCenter.exe\" /ddecmd \"[goto('%f', '%l')]\""%%%&br;
%%%C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe -reuse-instance -inverse-search "\"C:\Program Files\TeXnicCenter\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;
&br;
&br;
----

■ SumatraPDF を前面に表示したくない場合
----
&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\TeXnicCenter.exe\" /ddecmd \"[goto('%f', '%l')]\""%%%&br;
%%%C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe -reuse-instance -inverse-search "\"C:\Program Files\TeXnicCenter\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,0,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,0)]%%%&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;
&br;
&br;
----

***[[Mozilla Firefox]] (pdf.js) [#y4109c68]

----
&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\Mozilla Firefox\firefox.exe%%%&br;
%%%C:\Program Files (x86)\Mozilla Firefox\firefox.exe%%%&br;
&br;
View project's output&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%-new-window "%bm.pdf"%%%&br;
&br;
&br;
Forward search&br;
&color(#3333CC){◎}; Command line argument  ◯ DDE command&br;
Command %%%-new-window "%bm.pdf"%%%&br;
&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument ◯ DDE command  &color(#3333CC){◎}; Do not close&br;
&br;
&br;
----

***Chrome PDF Viewer [#fd20d9e0]

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

***[[Adobe Reader]] [#c94760c4]

■ Adobe Reader XI の場合~

----
&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 11.0\Reader\AcroRd32.exe%%%&br;
%%%C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe%%%&br;
&br;
View project's output&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]%%%&br;
Server: %%%acroviewR11%%%      Topic: %%%control%%%&br;
&br;
Forward search&br;
◯ Command line argument  &color(#3333CC){◎}; DDE command&br;
Command %%%[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]%%%&br;
Server: %%%acroviewR11%%%      Topic: %%%control%%%&br;
&br;
Close document before running (La)TeX&br;
◯ Command line argument &color(#3333CC){◎}; DDE command  ◯ Do not close&br;
Command %%%[DocClose("%bm.pdf")]%%%&br;
Server: %%%acroviewR11%%%      Topic: %%%control%%%&br;
&br;
----

//Adobe Reader X の場合 Server は acroviewR10 に設定します.~
//ただし Adobe Reader X で [編集(E)]-[環境設定(N)...]-[一般]-[起動時に保護モードを有効にする(M)] にチェックがついている場合,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 ファイルが表示されるようになりました.~

■ Adobe Reader X の場合~

----
&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;
%%%C:\Program Files (x86)\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")]%%%&br;
Server: %%%acroviewR10%%%      Topic: %%%control%%%&br;
&br;
----

//修正点は
//
//-View project's output と Forward search を Command line argument に変更し,Command に "%bm.pdf" を追加する
//-Close document before running (La)TeX で Server: に acroviewR10, Topic: に control を指定して [DocClose("%bm.pdf")] の前に [DocOpen("%bm.pdf")] を追加する
//
//です.

*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]
forward and inverse search は PDF Viewer の [[SumatraPDF>TeXnicCenter#pdc24230]] の項を参考に設定してください.~
inverse search は Executable path に追加する代わりに SumatraPDF の [設定(S)]-[オプション(O)...]-[逆順検索コマンドラインの設定] に以下の設定を追加しても OK です.~

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