Am 13.04.2005 um 14:53 schrieb Brad Miller:
If you use the pdfsync package in your document you can just command click anywhere in the pdf file and you will go immediately to that spot in your source file in TextMate.
What's also nice is that you can go from one spot in your source in TextMate to the same spot in the PDF output in TeXniscope with this if you use pdfsync.
---
# If TM_LATEX_MASTER not set use TM_FILEPATH [ -z "$TM_LATEX_MASTER" ] && export TM_LATEX_MASTER="$TM_FILEPATH"
/PATHTOTEXNISCOPE/TeXniscope.app/Contents/Resources/forward-search.sh "$TM_LINE_NUMBER" "$TM_FILEPATH" `echo $TM_LATEX_MASTER | perl -e 'while(<>){s/.tex$/.pdf/;print;}' | xargs` ; open -a TeXniscope
----
Before you can use this you'll have to replace /PATHTOTEXNISCOPE with the path to TeXniscope, though :-)
Best wishes, Thomas
Ciao, Thomas
-- Thomas Schröder +++ hydrochlorix@gmx.net