- 追加された行はこの色です。
- 削除された行はこの色です。
*[[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]]
-[[SourceForge: texniccenter/texniccenter: Summary:http://texniccenter.hg.sourceforge.net/hgweb/texniccenter/texniccenter/]]
--[[コミットログ:http://texniccenter.hg.sourceforge.net/hgweb/texniccenter/texniccenter/shortlog]]
-[[Welcome to the documentation of TeXnicCenter — TeXnicCenter v2.0 documentation:http://texniccenter.sourceforge.net/]]
-[[CTAN:help/Catalogue/entries/texniccenter.html]]
[[&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 も可能です.
*ダウンロードとインストール [#rf294e94]
2010年5月30日に TeXnicCenter 2.0 Alpha 3 がリリースされました.
2.0 Alpha 3 からは,Logo Contest で優勝した Lukas Schneider さんのアイコンになりました.
'''まだ,アルファバージョンです.アプリケーションがクラッシュしてデータが失われる可能性があります.'''
バージョン 1.0 は,日本語表示,日本語入力ともに不可でしたが,バージョン 2.0 から Unicode に対応し,日本語表示,日本語入力が可能になっています.((ただし,日本語入力中は文字が小さく表示されてしまい,あまり快適ではありません.普段は英語で書いて,たまに日本語を使うという人向きかもしれません.))
Encoding は
-ANSI (日本語版 Windows では Shift_JIS)
-UTF-8
-UTF-8 with BOM
-UTF-16
-UTF-16 Big Endian
-UTF-32
-UTF-32 Big Endian
に対応しています.
[[Browse TeXnicCenter Files on SourceForge.net:http://sourceforge.net/projects/texniccenter/files/]]
から TXCSetup_2Alpha3.exe をダウンロードします.
TXCSetup_2Alpha3.exe を実行し,インストーラの指示に従ってインストールします.
*プロファイルの作成 [#n1a2864d]
メニューの [Build] → [Define Output Profiles...] で,プロファイルを作成します.
[Wizard...] を押します.
----
&color(Black,#ACDEFE){ &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; };&br;
&color(Black,#ACDEFE){%%% &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,#ACDEFE){ &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; };&br;
&color(Black,#ACDEFE){%%% ''←'' %%%};&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,#ACDEFE){ &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; };&br;
&color(Black,#ACDEFE){%%% ''←'' %%%};&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,#ACDEFE){ &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; };&br;
&color(Black,#ACDEFE){%%% ''←'' %%%};&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\Ghostgum\gsview\gsview32.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,#ACDEFE){ &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; };&br;
&color(Black,#ACDEFE){%%% ''←'' %%%};&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,#ACDEFE){ &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; };&br;
&color(Black,#ACDEFE){%%% ''←'' %%%};&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]
英語版のコンパイラが設定されるので日本語版のコンパイラに変更します.
**'''注意''' [#gc4456f9]
-'''2009/7/20 に W32TeXの "jbibtex.exe" は "pbibtex.exe" に変更されました. ([[qa:53349]])'''
-'''2010/5/6 に W32TeX の "dvipsk.exe" は "dvips.exe" に統合されました. ([[qa:54955]])'''
Profiles
LaTeX => DVI&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
''[ (La)TeX ]''&color(Black,#EEEEEE){%%%[ 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 -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;
%%%"%bm"%%%&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;
%%%"%bm"%%%&br;
----
Profiles
LaTeX => PS&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
''[ (La)TeX ]''&color(Black,#EEEEEE){%%%[ 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 -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;
%%%"%bm"%%%&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;
%%%"%bm"%%%&br;
----
Profiles
LaTeX => DVI => PDF&br;
LaTeX => PS => PDF&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
''[ (La)TeX ]''&color(Black,#EEEEEE){%%%[ 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 -synctex=1 -interaction=nonstopmode "%pm"%%%&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;
%%%"%bm"%%%&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;
%%%"%bm"%%%&br;
----
Profiles
LaTeX => PDF&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
''[ (La)TeX ]''&color(Black,#EEEEEE){%%%[ 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 "%pm"%%%&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;
%%%"%bm"%%%&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;
%%%"%bm"%%%&br;
----
Profiles
LuaLaTeX => PDF&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
''[ (La)TeX ]''&color(Black,#EEEEEE){%%%[ 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 "%pm"%%%&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;
%%%"%bm"%%%&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;
%%%"%bm"%%%&br;
----
Profiles
XeLaTeX => PDF&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
''[ (La)TeX ]''&color(Black,#EEEEEE){%%%[ 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 "%pm"%%%&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;
%%%"%bm"%%%&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;
%%%"%bm"%%%&br;
----
*Postprocessor [#w0bb01d0]
Profiles
LaTeX => DVI => PDF&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ]%%%};''[ 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,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ]%%%};''[ 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 %%%"%Bm.dvi"%%%&br;
Input&br;
Output&br;
----
Profiles
LaTeX => PS => PDF&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ]%%%};''[ 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 %%%-P pdf "%Bm.dvi"%%%&br;
Input&br;
Output&br;
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ]%%%};''[ 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.04\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]
***dviout [#hc739c1c]
Profiles
LaTeX => DVI&br;
***dviout [#hc739c1c]
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ][ 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 '%Wc')][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 '%Wc')][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]
***GSview [#xd566e26]
Profiles
LaTeX => PS&br;
***SumatraPDF [#oe6c2a37]
----
&color(Black,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ][ 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,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ][ 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,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ][ 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,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ][ 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,#ACDEFE){%%% 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,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ][ 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,#ACDEFE){%%% &color(Black,#CC3333){%%%[ ''&color(White){✕};'' ]%%%}; %%%};&br;
&color(Black,#EEEEEE){%%%[ (La)TeX ][ 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]]
-[[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]]