Le mercredi 13 avril 2005 à 21:28, Mark Smith a écrit :
Thomas Schröder wrote:
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 :-)
Yes, this is nice stuff and is more or less what Flashmode achieves
with
other editors (BBEdit, TexShop, iTexMac and Alpha) in combination with TeXniscope.
Much easier with TextMate though and free.
thanks,
Thanks for your answers. It is possible to do something of similar with Acrobat Reader.? I like TeXniscope but there is a problem with the dotted lines ( idem with Preview or TexShop)
Thanks Alain Matthes