Hello
I'm a total beginner with Textmate and i 've a little problem when i use it with latex command.
I've no problem to get a pdf with preview, texniscope or Acrobat but if i made a modification in the source, i need to close the old pdf to get a new one. Is it possible to refresh the view ?
Thanks Alain Matthes
On 12-04-2005 20:49, Alain Matthes wrote:
I've no problem to get a pdf with preview, texniscope or Acrobat but if i made a modification in the source, i need to close the old pdf to get a new one. Is it possible to refresh the view ?
Texniscope refreshes itself if you activate it again (just run latex again, not the latex and texniscope). I believe it is also possible to trigger this behavior with Applescript, but haven't had time to really work this into a command yet.
Jeroen.
Jeroen van der Ham wrote:
On 12-04-2005 20:49, Alain Matthes wrote:
I've no problem to get a pdf with preview, texniscope or Acrobat but if i made a modification in the source, i need to close the old pdf to get a new one. Is it possible to refresh the view ?
Texniscope refreshes itself if you activate it again (just run latex again, not the latex and texniscope). I believe it is also possible to trigger this behavior with Applescript,
It is...
but haven't had time to really work this into a command yet.
...nor have I. It might be worth asking Claus Gerhardt (he is on most of the TeX-related lists) if he was thinking about adding to his collection of Flashmode scripts:
http://www.math.uni-heidelberg.de/studinfo/gerhardt/tex/
to include TextMate as source editor.
mark.
On Apr 12, 2005, at 4:09 PM, Mark Smith wrote:
Jeroen van der Ham wrote:
On 12-04-2005 20:49, Alain Matthes wrote:
I've no problem to get a pdf with preview, texniscope or Acrobat but if i made a modification in the source, i need to close the old pdf to get a new one. Is it possible to refresh the view ?
Texniscope refreshes itself if you activate it again (just run latex again, not the latex and texniscope). I believe it is also possible to trigger this behavior with Applescript,
It is...
but haven't had time to really work this into a command yet.
...nor have I. It might be worth asking Claus Gerhardt (he is on most of the TeX-related lists) if he was thinking about adding to his collection of Flashmode scripts:
<http://www.math.uni-heidelberg.de/studinfo/gerhardt/tex/>
to include TextMate as source editor.
If you go to the prefs in Texniscope you can modify the editor settings to have TextMate work very nicely with Texniscope.
Editor command open
Editor arguments "txmt://open?url=file://%file&line=line"
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.
Brad
mark. ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Brad Miller, Ph.D. Assistant Professor, Computer Science Luther College http://www.cs.luther.edu/~bmiller
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
Wow this LaTeX line jumping is COOL.
Brad Miller wrote:
If you go to the prefs in Texniscope you can modify the editor settings to have TextMate work very nicely with Texniscope.
Editor command open
Editor arguments "txmt://open?url=file://%file&line=line"
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.
Note that I had to change the last 'line' to '%line' to get it to work right.
Thomas Schröder wrote:
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...
That is pretty cool too! My lord, this could make me start using LaTeX again!
Between this and a cool new $19.4M money laundering deal I've got going down, it's been a great day.
- Eric
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,
mark.
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