最終更新:2017-12-02 (土) 08:48:32 (16d)

TeXnicCenter

TeXnicCenter is what we call an integrated documentation environment (IDE) for LaTeX.



Repository

Changelog

Issues

Profiles

LaTeX ⇨ DVI
LaTeX ⇨ DVI ⇨ PDF
LaTeX ⇨ PDF
LaTeX ⇨ PS
LaTeX ⇨ PS ⇨ PDF
LuaLaTeX ⇨ PDF
XeLaTeX ⇨ PDF

Viewer

I recommend SumatraPDF.

SumatraPDF (DDE)

Executable path
C:\Program Files\SumatraPDF\SumatraPDF.exe -reuse-instance -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
View project's output
◯ Command line argument    🔘 DDE command
Command:
[Open("%bm.pdf",0,1,1)]
Server:
SUMATRA
Topic:
control
Forward search
◯ Command line argument    🔘 DDE command
Command: (1st: Active window,2nd: Inactive window)
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,0)]
Server:
SUMATRA
Topic:
control
Close document before running (La)TeX
◯ Command line argument  ◯ DDE command  🔘 Do not close

TeXworks (Command line (PowerShell))

Executable path
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process texworks """%bm.pdf"""}"
Forward search
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process synctex -ArgumentList ('view', '-i', '"""%l:0:%Wc"""', '-o', '"""%bm.pdf"""', '-x', '"""texworks --position=%{page+1} ''%{output}''"""')}"
Close document before running (La)TeX
◯ Command line argument  ◯ DDE command  🔘 Do not close

TeXworks (Command line (Command Prompt))

Executable path
C:\Windows\System32\cmd.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
/c texworks "%bm.pdf"
Forward search
🔘 Command line argument    ◯ DDE command
Command:
/c synctex view -i "%l:0:%Wc" -o "%bm.pdf" -x "texworks --position=%%{page+1} '%%{output}'"
Close document before running (La)TeX
◯ Command line argument  ◯ DDE command  🔘 Do not close

Evince (Command line (PowerShell))

Executable path
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process C:\msys64\mingw64\bin\evince """%bm.pdf"""}"
Forward search
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process synctex -ArgumentList ('view', '-i', '"""%l:0:%Wc"""', '-o', '"""%bm.pdf"""', '-x', '"""C:\msys64\mingw64\bin\evince -i %{page+1} ''%{output}''"""')}"
Close document before running (La)TeX
🔘 Command line argument  ◯ DDE command  ◯ Do not close
Command:
-Command "& {Get-Process -Name evince 2>$null;if($?){Stop-Process -Name evince}}"

Evince (Command line (Command Prompt))

Executable path
C:\Windows\System32\cmd.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
/c C:\msys64\mingw64\bin\evince "%bm.pdf"
Forward search
🔘 Command line argument    ◯ DDE command
Command:
/c synctex view -i "%l:0:%Wc" -o "%bm.pdf" -x "C:\msys64\mingw64\bin\evince -i %%{page+1} '%%{output}'"
Close document before running (La)TeX
🔘 Command line argument  ◯ DDE command  ◯ Do not close
Command:
/c tasklist /fi "IMAGENAME eq evince.exe" /nh | findstr "evince.exe" >nul && taskkill /im evince.exe

Adobe Acrobat Reader DC (Command line (PowerShell))

Executable path
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process AcroRd32 """%bm.pdf"""}"
Forward search
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process synctex -ArgumentList ('view', '-i', '"""%l:0:%Wc"""', '-o', '"""%bm.pdf"""', '-x', '"""rundll32 shell32,ShellExec_RunDLL AcroRd32 /A ''page=%{page+1}'' ''%{output}''"""')}"
Close document before running (La)TeX
🔘 Command line argument  ◯ DDE command  ◯ Do not close
Command:
-Command "& {Get-Process -Name AcroRd32 2>$null;if($?){Stop-Process -Name AcroRd32}}"

Adobe Acrobat Reader DC (Command line (Command Prompt))

Executable path
C:\Windows\System32\cmd.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
/c "%bm.pdf"
Forward search
🔘 Command line argument    ◯ DDE command
Command:
/c synctex view -i "%l:0:%Wc" -o "%bm.pdf" -x "rundll32 shell32,ShellExec_RunDLL AcroRd32 /A 'page=%%{page+1}' '%%{output}'"
Close document before running (La)TeX
🔘 Command line argument  ◯ DDE command  ◯ Do not close
Command:
/c tasklist /fi "IMAGENAME eq AcroRd32.exe" /nh | findstr "AcroRd32.exe" >nul && taskkill /im AcroRd32.exe

Adobe Acrobat Reader DC (DDE)

Executable path (1st: 64-bit Windows,2nd: 32-bit Windows)
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe
C:\Program Files\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe
View project's output
◯ Command line argument    🔘 DDE command
Command:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server:
acroviewR18
Topic:
control
Forward search
◯ Command line argument    🔘 DDE command
Command:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")][DocGoTo("%bm.pdf",0)]
Server:
acroviewR18
Topic:
control
Close document before running (La)TeX
◯ Command line argument  🔘 DDE command  ◯ Do not close
Command:
[DocClose("%bm.pdf")]
Server:
acroviewR18
Topic:
control

Microsoft Edge (Command line (PowerShell))

Executable path
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge """%bm.pdf"""}"
Forward search
🔘 Command line argument    ◯ DDE command
Command:
-Command "& {Start-Process shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge """%bm.pdf"""}"
Close document before running (La)TeX
🔘 Command line argument  ◯ DDE command  ◯ Do not close
Command:
-Command "& {Get-Process -Name MicrosoftEdgeCP 2>$null;if($?){for($i=0;$i -lt 3;$i++){Stop-Process -Name MicrosoftEdgeCP;Start-Sleep -Seconds 1}}}"

Microsoft Edge (Command line (Command Prompt))

Executable path
C:\Windows\System32\cmd.exe
View project's output
🔘 Command line argument    ◯ DDE command
Command:
/c start shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge %bm.pdf
Forward search
🔘 Command line argument    ◯ DDE command
Command:
/c start shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge %bm.pdf
Close document before running (La)TeX
🔘 Command line argument  ◯ DDE command  ◯ Do not close
Command:
/c tasklist /fi "IMAGENAME eq MicrosoftEdgeCP.exe" /nh | findstr "MicrosoftEdgeCP.exe" >nul && for /l %i in (0,1,2) do taskkill /f /im MicrosoftEdgeCP.exe & timeout /t 1 /nobreak

Usage