I've just installed OS X Lion and having a problem with the LaTeX preview. I have the latest TM and latest LaTeX from MacPorts.
When I choose to compile a document (cmd+R), everything works fine and my favorite Skim opens the compiled pdf. But this is slow and jumps to the beginning of the page all the time.
So I used the watch document feature (ctrl+cmd+W). But now in Lion it fails to open Skim, and despite that in the LaTeX bundle preferences I set up to use Skim, TM always opens TexShop pdf preview.
Any suggestions how to tell TM to use Skim in Lion?
On 22.07.2011, at 15:31, Leonid Petrov wrote:
I've just installed OS X Lion and having a problem with the LaTeX preview. I have the latest TM and latest LaTeX from MacPorts.
When I choose to compile a document (cmd+R), everything works fine and my favorite Skim opens the compiled pdf. But this is slow and jumps to the beginning of the page all the time.
So I used the watch document feature (ctrl+cmd+W). But now in Lion it fails to open Skim, and despite that in the LaTeX bundle preferences I set up to use Skim, TM always opens TexShop pdf preview.
Any suggestions how to tell TM to use Skim in Lion?
Just use MacTeX as distribution and try to open Skim in advance.
Hope this helps,
-- Christian
-Because I'm the CEO, and I think it can be done.-
Steve Jobs, 2005
On 22.07.2011, at 16:16, Leonid Petrov wrote:
Just use MacTeX as distribution and try to open Skim in advance.
Is there any difference? MacTeX works for you? I just don't feel that MacTeX is much better…
It is a complete TeX Live made for Mac.
-- Christian
-Your time is limited, so don't waste it living someone else's life.-
Steve Jobs, 2005
Ok, as I've suspected, afted I've switched to MacTex from my macports' TeXLive, nothing changed and the problem just remains the same.
Le 22 juil. 2011 à 18:06, Leonid Petrov a écrit :
Ok, as I've suspected, afted I've switched to MacTex from my macports' TeXLive, nothing changed and the problem just remains the same.
Hi
I work with TextMate, Lion, MacTeX 2011 and Skim on a Macbook Pro . MacPorts is sometimes interesting but NOT for TeX ! I have not seen a slowdown since I worked with Lion.
Best regards
Alain Matthes
The question is: the watch command is working for you under Lion? It was working perfectly under Snow, but it stopped working under Lion.
Alain Matthes-2 wrote:
Le 22 juil. 2011 à 18:06, Leonid Petrov a écrit :
Ok, as I've suspected, afted I've switched to MacTex from my macports' TeXLive, nothing changed and the problem just remains the same.
Hi
I work with TextMate, Lion, MacTeX 2011 and Skim on a Macbook Pro . MacPorts is sometimes interesting but NOT for TeX ! I have not seen a slowdown since I worked with Lion.
Best regards
Alain Matthes
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Le 24 juil. 2011 à 05:43, S.V. a écrit :
The question is: the watch command is working for you under Lion? It was working perfectly under Snow, but it stopped working under Lion.
Alain Matthes-2 wrote:
Le 22 juil. 2011 à 18:06, Leonid Petrov a écrit :
Ok, as I've suspected, afted I've switched to MacTex from my macports' TeXLive, nothing changed and the problem just remains the same.
Hi
I work with TextMate, Lion, MacTeX 2011 and Skim on a Macbook Pro . MacPorts is sometimes interesting but NOT for TeX ! I have not seen a slowdown since I worked with Lion.
Sorry
My first answer was to say that (cmd+R) works correctly and I never use the "watch" script but you are right this script has a problem
Alain
My first answer was to say that (cmd+R) works correctly and I never use the "watch" script but you are right this script has a problem
Thank you for confirming! Now the question is how to fight this.
I m having the same problem here.
My workflow under Snow Leopard was the following, I use two screens, one for writing latex and the other to seeing the rendered text in pdf. The watch command (^+Command+W) allowed me to have an almost live sync between what I write and the rendered pdf text.
Now, with Lion, when I select the watch command (^+Command+W) TexShop opens! Thats weird!
Does anyone have a fix for this bug?
Leonid Petrov-3 wrote:
I've just installed OS X Lion and having a problem with the LaTeX preview. I have the latest TM and latest LaTeX from MacPorts.
When I choose to compile a document (cmd+R), everything works fine and my favorite Skim opens the compiled pdf. But this is slow and jumps to the beginning of the page all the time.
So I used the watch document feature (ctrl+cmd+W). But now in Lion it fails to open Skim, and despite that in the LaTeX bundle preferences I set up to use Skim, TM always opens TexShop pdf preview.
Any suggestions how to tell TM to use Skim in Lion?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I have a workaround. You have to edit the file latex_watch.pl The path for this file is: /Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/bin/latex_watch.pl
You have to change the line:(line 667) $viewer ||= "TeXShop"; # TeXShop is the default
to
$viewer ||= "Skim"; # TeXShop is the default
Can you test this modification? Best, S.V. P.S.: It is just a workaround.
Leonid Petrov-3 wrote:
I m having the same problem here.
Thanks for confirming! Now I realize that this is a real bug... Can you think of any workarounds (except for using TexShop)?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Le 24 juil. 2011 à 07:36, Leonid Petrov a écrit :
I m having the same problem here.
Thanks for confirming! Now I realize that this is a real bug... Can you think of any workarounds (except for using TexShop)?
cmd R with latex bundle works fine but if you need something faster you can try LaTeX 2 bundle from here : https://github.com/lasersox/latex.tmbundle
I try it and cmd R works fine with this bundle.
Now a workaround is not obvious because I'm not a perl expert !
We need to wait from an expert of all these tools
Another possibility is to set the Preferences of the LaTeX Bundle without : "Verbose TeX output" and "without Keep log window open".
Best regards
Alain Matthes
On 24 Jul 2011, at 07:36, Leonid Petrov wrote:
I’m having the same problem here.
Thanks for confirming! Now I realize that this is a real bug... Can you think of any workarounds (except for using TexShop)?
Looking at the code, it uses the perl Objective-C brige to read the preference file, my guess is that this is missing or changed in Lion (not running Lion on this machine, nor a perl hacker) — this might make it more complicated to fix (since we’ll need a replacement plist parser in perl).
On Jul 25, 2011, at 4:48 PM, Allan Odgaard wrote:
On 24 Jul 2011, at 07:36, Leonid Petrov wrote:
I’m having the same problem here.
Thanks for confirming! Now I realize that this is a real bug... Can you think of any workarounds (except for using TexShop)?
Looking at the code, it uses the perl Objective-C brige to read the preference file, my guess is that this is missing or changed in Lion (not running Lion on this machine, nor a perl hacker) — this might make it more complicated to fix (since we’ll need a replacement plist parser in perl).
If all you need is to read or write some known keys:
/usr/libexec/PlistBuddy -h
Gerd
Well, at least the workaround is working.
Gerd Knops-2 wrote:
On Jul 25, 2011, at 4:48 PM, Allan Odgaard wrote:
On 24 Jul 2011, at 07:36, Leonid Petrov wrote:
I’m having the same problem here.
Thanks for confirming! Now I realize that this is a real bug... Can you think of any workarounds (except for using TexShop)?
Looking at the code, it uses the perl Objective-C brige to read the preference file, my guess is that this is missing or changed in Lion (not running Lion on this machine, nor a perl hacker) — this might make it more complicated to fix (since we’ll need a replacement plist parser in perl).
If all you need is to read or write some known keys:
/usr/libexec/PlistBuddy -h
Gerd
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate