(SumatraPdf 상에서 특정 부분 더블클릭하면 커서가 tex 파일의 해당 문단으로 이동)
- 설정환경
- Windows XP pro. 32bit
- GNU Emacs 23.2.1
- AUCTex 11.86-e23.1
- SumatraPdf-sync (아래 링크 블로그에서 구할 수 있음)
- 동기화하기
Set the following inverse search command in SumatraPDF (menu 'File\Set inverse search command line'):
c:\emacs\bin\emacsclientw.exe +%l "%f"
Make sure the emacs server is started by by running the command
server-start
from within Emacs or by adding
(server-start)
to your emacs init file. (See Emacs doc)Auctex settings
- Configure the pdflatex-command from the configure menu in emacs:
(LaTeX-command "latex -synctex=-1")
- Set 'Latex\Customize Auctex\Tex command\Tex Output View Style\Line containing the phrase <^pdf$>' to
C:\Progra~1\SumatraPDF\SumatraPDF.exe %o
Forward search
1- Download the script file sumatra-forward.el
2- Update your init.el or .emacs file to load the sumatra-forward script by adding the following command:
(require 'sumatra-forward)
3- Make sure that you have the ddeclient tools. (It is bundled with ntemacs)
4- Restart Emacs
5- Press F8 in the TeX document to trigger a forward-search
Further explanations on how to make Emacs+Auctex work with SumatraPDF are available here.
링크:
http://william.famille-blum.org/blog/static.php?page=static081010-000413