06.22.06
TeXniscope, TextMate and pdfsync in the Intel Macs
This is just a quick entry to reference to clear the problems with the syncing between TextMate and Texniscope on the Intel Macs, that were discussed in the comments to this post. You will need:
- The Rosetta version of Texniscope, i.e. the non-native one, that can be found here.
- An updated version of the LaTeX bundle for TextMate. This contains a fix for the “Find in TeXniscope” command, whose main difference from the old one is that the line:
FILE=`basename "$TM_LATEX_MASTER"`
has been replaced by the line:
FILE="$TM_LATEX_MASTER"
- Well, pdfsync I guess.
With this setup, TeXing and syncing back and forth between TeXniscope and TextMate should be a breeze.
Thanks to mdadm for all his help and testing with this. Both of these fixes are really his.
Later
After thought » TextMate LaTeX Screencast no 3 said,
June 23, 2006 at 12:43 am
[…] Update: This post clears the problems with syncing with TeXniscope in Intel macs that people have been having. Later […]
Allan Odgaard said,
June 23, 2006 at 8:16 am
Seems your quoted lines from the command didn’t go through proper escaping.
Haris said,
June 23, 2006 at 9:33 am
Thanks allan. Sometimes Markdown gets on my nerves….
Danstan said,
June 30, 2006 at 11:39 pm
Thanks mdadm & Haris,
I was away & just now read this update.
I have reverted to the Rosetta version of TeXniscope. I also got the update latex bundle using using subversion.
Worked as advertised!!! Thanks Much!!!
danstan
Mike said,
September 20, 2006 at 3:00 pm
Which version is Rosetta? I am not having luck with any of them.
Haris said,
September 21, 2006 at 8:13 am
It’s the one you can find here:
http://www2.ing.unipi.it/~d9615/homepage/texniscope.html
Josen said,
October 9, 2006 at 8:25 am
Sorry if this is a problem already fixed, but my Techniscope will not pdfsync back to TextMate if there are any spaces in the path of the .tex file. A look in the console shows:
2006-10-09 16:24:19.600 open[1493] No such file: /Users/muellerj/Documents/Churchill/Part IIA/FTRs/txmt:/open?url=file:/Users/muellerj/Documents/Churchill/Part IIA/FTRs/ftr_mich.tex&line=42
Any suggestions?
Haris said,
October 9, 2006 at 11:31 am
Josen,
If you set your parameters as follows, it should work, provided the actual filename (ftr_mich in your case) doesn’t contain spaces. The parameters should be:
Editor: mate
Editor options: -l %line “%file”
The quotes above should be straight quotes, not curly.
Let us know if you still have problems with this.
Yaniv said,
April 17, 2008 at 4:16 pm
Dear community,
I have recently switched to Textmate (after the screencasts inspired me), which I intend to use primarily with LaTeX. But I cannot get either the forward or backward search function of pdfsync to operate.
I have already done the following:
1) Selected Skim as my viewer in the Textmate preferences.
2) Selected “View in Skim” from the LaTeX preferences in Textmate.
3) Synced (from inside Skim preferences) with Textmate.
4) Put the pdfsync.sty file in \user\texmf\tex\latex
5) Inserted the \usepackage{pdfsync} in my document.
6) Attempted forward search with “shift-command-click” and backward search with “Show in Viewer (pdfsync)”.
Interestingly, the .pdfsync file is created in the current directory that is full of numbers which describe the geometry of the document… my understanding is this is what is used to locate one’s position in forward and backward search. But the functionality is certainly missing.
Any assistance in resolving this issue would be GREATLY appreciated. I have scoured the web for an answer and am completely stuck.
Thanks in advance,
Yaniv