Hi everybody,
I have been using Textmate together with PDFView on my powerbook w/ out any problems. Recently I moved my account to Mac OS X Server. And it won't work till then.
On the local machine I installed Latex/Textmate/PDFView. A test with Texshop worked w/out any problems. But when I cmd-R in Textmate no preview is shown (the pdf is typesetted correctly, though). TM_LATEX_VIEWER is set to PDFView, but nothing happens.
What do I need to do? Thanks
Chris
––––––––––––––––––––– Christoph Biela biela@glr.tu-darmstadt.de –––––––––––––––––––––
On 14. Mar 2007, at 16:25, Christoph Biela wrote:
I have been using Textmate together with PDFView on my powerbook w/ out any problems. Recently I moved my account to Mac OS X Server. And it won't work till then.
On the local machine I installed Latex/Textmate/PDFView. A test with Texshop worked w/out any problems. But when I cmd-R in Textmate no preview is shown (the pdf is typesetted correctly, though). TM_LATEX_VIEWER is set to PDFView, but nothing happens.
What exactly does the results window show?
I take it if you unset TM_LATEX_VIEWER it works? Try change it to Preview.
Also try in TM to enter the following and press ⌃R (this will show you where it finds the previewer you have setup): find_app "$ {TM_LATEX_VIEWER}.app"
Did you set other TM-variables, like TM_LATEX_ERRLVL?
Hi Allan,
find_app finds Preview but not PDFView
TM_LATEX_VIEWER = Preview works TM_LATEX_VIEWER = PDFView DOES NOT WORK
which seams quite clear since TM only finds Preview.
TM_LATEX_ERRLVL = 0
And the results window shows: –––––––––––––––––––––––– –––––––––––––––––––––––– –––––––––––– Compiling LaTeX…
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6 Typesetting: ./untitled.tex
Document Class: article 2005/09/16 v1.4f Standard LaTeX document clas Output written on untitled.pdf (1 page, 17620 bytes)
untitled.log
Click Here to Preview –––––––––––––––––––––––– –––––––––––––––––––––––– ––––––––––––
Regards Christoph
On 2007-03-15, at 14:27, Allan Odgaard wrote:
On 14. Mar 2007, at 16:25, Christoph Biela wrote:
I have been using Textmate together with PDFView on my powerbook w/ out any problems. Recently I moved my account to Mac OS X Server. And it won't work till then.
On the local machine I installed Latex/Textmate/PDFView. A test with Texshop worked w/out any problems. But when I cmd-R in Textmate no preview is shown (the pdf is typesetted correctly, though). TM_LATEX_VIEWER is set to PDFView, but nothing happens.
What exactly does the results window show?
I take it if you unset TM_LATEX_VIEWER it works? Try change it to Preview.
Also try in TM to enter the following and press ⌃R (this will show you where it finds the previewer you have setup): find_app "$ {TM_LATEX_VIEWER}.app"
Did you set other TM-variables, like TM_LATEX_ERRLVL?
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
~~~~~ Christoph Biela
cbiela@gmail.com
On 16. Mar 2007, at 16:42, Christoph Biela wrote:
find_app finds Preview but not PDFView
TM_LATEX_VIEWER = Preview works TM_LATEX_VIEWER = PDFView DOES NOT WORK
which seams quite clear since TM only finds Preview.
Okay, so try in Terminal to run:
open -a PDFView
Also, is the casing correct?
Next, try the following two commands, and then the find_app again:
cd /System/Library/Frameworks/ApplicationServices.framework/ Frameworks/LaunchServices.framework/Support lsregister -kill -r /System/Library/CoreServices /Applications / Developer/Applications
If you PDFView is not in /Applications, add the folder to the list above.
Hi Allan,
thanks for your support. It won't help though.
- PDFView and Preview are in the same directory. find_app and open -a only works with preview. - What does "casing" mean? - lsregister is not found (/bin/bash: line 1: lsregister: command not found)
Chris
On 17/03/07, Allan Odgaard throw-away-1@macromates.com wrote:
On 16. Mar 2007, at 16:42, Christoph Biela wrote:
find_app finds Preview but not PDFView
TM_LATEX_VIEWER = Preview works TM_LATEX_VIEWER = PDFView DOES NOT WORK
which seams quite clear since TM only finds Preview.
Okay, so try in Terminal to run:
open -a PDFView
Also, is the casing correct?
Next, try the following two commands, and then the find_app again:
cd /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/LaunchServices.framework/Support lsregister -kill -r /System/Library/CoreServices /Applications / Developer/Applications
If you PDFView is not in /Applications, add the folder to the list above.
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
On Mar 21, 2007, at 9:56 AM, Christoph Biela wrote:
Hi Allan,
thanks for your support. It won't help though.
- PDFView and Preview are in the same directory. find_app and open -a
only works with preview.
- What does "casing" mean?
- lsregister is not found (/bin/bash: line 1: lsregister: command
not found)
You may need to specify the ./ path if . isn't in your path (and it shouldn't be IMO)...
(using shorter lines for better pasting...)
cd /System/Library/Frameworks/ApplicationServices.framework cd Frameworks/LaunchServices.framework/Support ./lsregister -kill -r /System/Library/CoreServices \ /Applications /Developer/Applications
On Mar 21, 2007, at 9:56 AM, Christoph Biela wrote:
Hi Allan,
thanks for your support. It won't help though.
- PDFView and Preview are in the same directory. find_app and open -a
only works with preview.
I presume you have run PDFView by double-clicking on it, and that works? If not, then do the commands work after you do that?
- What does "casing" mean?
- lsregister is not found (/bin/bash: line 1: lsregister: command
not found)
Chris
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Hi Haris,
PDFView works fine from the finder (even from the terminal when I am in the Applications directory and type open "./PDFView.app")
Doing the lsmagic made my quad working for some time but did not help.
Thanks for all your help Christoph
On 21/03/07, Charilaos Skiadas skiadas@hanover.edu wrote:
On Mar 21, 2007, at 9:56 AM, Christoph Biela wrote:
Hi Allan,
thanks for your support. It won't help though.
- PDFView and Preview are in the same directory. find_app and open -a
only works with preview.
I presume you have run PDFView by double-clicking on it, and that works? If not, then do the commands work after you do that?
- What does "casing" mean?
- lsregister is not found (/bin/bash: line 1: lsregister: command
not found)
Chris
Haris Skiadas Department of Mathematics and Computer Science Hanover College
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
Hi Christoph,
Is it possible you have another copy of PDFView.app somewhere around, in the trash perhaps? Are there no messages in the Console?
On Mar 22, 2007, at 7:07 AM, Christoph Biela wrote:
Hi Haris,
PDFView works fine from the finder (even from the terminal when I am in the Applications directory and type open "./PDFView.app")
Doing the lsmagic made my quad working for some time but did not help.
Thanks for all your help Christoph
Haris Skiadas Department of Mathematics and Computer Science Hanover College
No nothing, the Console does not show anything
On 22/03/07, Charilaos Skiadas skiadas@hanover.edu wrote:
Hi Christoph,
Is it possible you have another copy of PDFView.app somewhere around, in the trash perhaps? Are there no messages in the Console?
On Mar 22, 2007, at 7:07 AM, Christoph Biela wrote:
Hi Haris,
PDFView works fine from the finder (even from the terminal when I am in the Applications directory and type open "./PDFView.app")
Doing the lsmagic made my quad working for some time but did not help.
Thanks for all your help Christoph
Haris Skiadas Department of Mathematics and Computer Science Hanover College
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
On 21. Mar 2007, at 14:56, Christoph Biela wrote:
thanks for your support. It won't help though.
- PDFView and Preview are in the same directory. find_app and open -a
only works with preview.
- What does "casing" mean?
Casing means if the proper characters are upper or lowercase. E.g. PDFView and not PDFview.
Try from TM (press ctrl-R after that line):
find_app net.sourceforge.pdfview
And from Terminal:
open -b net.sourceforge.pdfview
Hi Allan,
thanks for your kind help. Here are the results:
#From TM TM: find_app PDFView.app TM: /Applications/PDFView.app TM: TM: find_app net.sourceforge.pdfview TM: /Applications/PDFView.app
#From Terminal % open -b net.sourceforge.pdfview % (opens PDFView w\out any probs) % % open -a PDFView.app % (opens PDFView w\out any probs)
#I observed something strange: set to preview TM: find_app "${TM_LATEX_VIEWER}.app" TM: /Applications/Preview.app
set to PDFView TM: find_app "${TM_LATEX_VIEWER}.app" TM: …well nothing happens
I do not see a pattern there. Greetings Chris
On 31/03/07, Allan Odgaard throw-away-1@macromates.com wrote:
On 21. Mar 2007, at 14:56, Christoph Biela wrote:
thanks for your support. It won't help though.
- PDFView and Preview are in the same directory. find_app and open -a
only works with preview.
- What does "casing" mean?
Casing means if the proper characters are upper or lowercase. E.g. PDFView and not PDFview.
Try from TM (press ctrl-R after that line):
find_app net.sourceforge.pdfview
And from Terminal:
open -b net.sourceforge.pdfview
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
On 1. Apr 2007, at 21:20, Christoph Biela wrote:
[...] #From TM TM: find_app PDFView.app TM: /Applications/PDFView.app [...] set to PDFView TM: find_app "${TM_LATEX_VIEWER}.app" TM: …well nothing happens
I do not see a pattern there.
My guess is that TM_LATEX_VIEWER does not have the proper value. Maybe some leading/trailing spaces?
Try ⌃R on the below line:
echo "${TM_LATEX_VIEWER}.app"
yepp, white-space is the proper hint. Even though I checked it a hundred times (Value), I never checked Variable.
Wouldn't it be possible to check this and remove white-space for certain variables.
Thanks for your help. Now everything works fine. This support proved the superiority of the TM-Software/Community.
Chris
On 02/04/07, Allan Odgaard throw-away-1@macromates.com wrote:
On 1. Apr 2007, at 21:20, Christoph Biela wrote:
[...] #From TM TM: find_app PDFView.app TM: /Applications/PDFView.app [...] set to PDFView TM: find_app "${TM_LATEX_VIEWER}.app" TM: …well nothing happens
I do not see a pattern there.
My guess is that TM_LATEX_VIEWER does not have the proper value. Maybe some leading/trailing spaces?
Try ⌃R on the below line:
echo "${TM_LATEX_VIEWER}.app"
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
On 2. Apr 2007, at 09:27, Christoph Biela wrote:
yepp, white-space is the proper hint. Even though I checked it a hundred times (Value), I never checked Variable.
Wouldn't it be possible to check this and remove white-space for certain variables.
I made this change in Typeset & View:
• add quotes around the viewer in the “not found” error, that way, if the user has leading/trailing spaces in the variable, it should be more obvious.