KTUG 한국 텍 사용자 그룹

Menu

KTUG :: 마당정보글 › [TIP] Sumatrapdf에서 texmaker로 inverse search

karnes | 2011.09.29 18:27:40 | 메뉴 건너뛰기 쓰기

(1) inversetotexmaker.bat 파일을 다음 내용으로 작성한다.(@echo off 이외는 모두 한 줄임)

@echo off

"C:\Program Files\Sumatrapdf\sumatrapdf.exe" %1.pdf -inverse-search "C:\Program Files\TeXmaker\texmaker.exe \"%%f\" -line %%l"



 * sumatrapdf.exe의 위치가 C:\Program Files (x86)\Sumatrapdf.... 일 수 있다.
 * texmaker.exe의 위치가 C:\Program Files (x86)\TeXmaker... 일 수 있다.
 * 자신의 시스템에 맞게 위의 내용을 잘 설정한다.
 * path가 걸린 폴더에 가져다둔다.(예를 들어, c:\usr\mybin\)

(2) TeXmaker의 Options -> Configure의 Commands 항목에서
PDF Viewer를 "External Viewer"로 하고 다음과 같이 써넣는다.
"C:\usr\mybin\Inversetotexmaker.bat" %



sumatrapdf를 뷰어로 연 다음 적당한 위치에서 더블 클릭하여 테스트해본다.

댓글 쓰기

목록

KTUG 한국 텍 사용자 그룹