Kino | 1 Dec 2007 01:14
Picon

Re: Leopard Quick Look & TeX


On 2007-12-01, at 6:07 AM, Herbert Schulz wrote:

> I can't seem to find a man page for xattr and it sure seems useful!

Execute it with an unsupported option, e.g. "-?". That is a common  
behavior of Unix executables.

$ xattr -h
usage: xattr [-l] file [file ...]
        xattr -p [-l] attr_name file [file ...]
        xattr -w attr_name attr_value file [file ...]
        xattr -d attr_name file [file ...]

The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.

options:
   -h: print this help
   -l: print long format (attr_name: attr_value)

Kino

-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
(Continue reading)

Alain Matthes | 1 Dec 2007 02:45
Picon
Gravatar

Re: Leopard Quick Look & TeX


Hello:)

This thread is very interesting but I have a question:

What is the utility to use quick look with TeX?

  On a macBook I can't see the characters ... perhaps with a 30" !

Best Regards

Alain
-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/

Mark Eli Kalderon | 1 Dec 2007 04:22
Gravatar

Re: Leopard Quick Look & TeX

In the finder preview, control click the document image and choose  
quick look...
On Dec 1 2007, at 01:45, Alain Matthes wrote:

>
> Hello:)
>
> This thread is very interesting but I have a question:
>
> What is the utility to use quick look with TeX?
>
> On a macBook I can't see the characters ... perhaps with a 30" !
>
> Best Regards
>
> Alain
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>

-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
(Continue reading)

Adam R. Maxwell | 1 Dec 2007 04:23
Picon

Re: Leopard Quick Look & TeX


On Nov 30, 2007, at 7:22 PM, Mark Eli Kalderon wrote:

> In the finder preview, control click the document image and choose  
> quick look...

Or the spacebar; I use that feature many times a day.

>
> On Dec 1 2007, at 01:45, Alain Matthes wrote:
>
>>
>> Hello:)
>>
>> This thread is very interesting but I have a question:
>>
>> What is the utility to use quick look with TeX?
>>
>> On a macBook I can't see the characters ... perhaps with a 30" !
>>
>> Best Regards
>>
>> Alain
>> -------------------------- Helpful Info --------------------------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>
(Continue reading)

Alain Matthes | 1 Dec 2007 04:41
Picon
Gravatar

Re: Leopard Quick Look & TeX


Le 1 déc. 07 à 04:22, Mark Eli Kalderon a écrit :

> In the finder preview, control click the document image and choose  
> quick look...

Oups.... thanks now I understand the utility.... fine !!!

I try  some hacks to use  Quick Look , with Texshop, I can view
file.tex but not file.sty , file.cls and file.cfg.

It's more difficult with TextMate, Do you know a good way to make this

Best Regards Alain-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/

Thomas Rike | 1 Dec 2007 07:03
Picon
Favicon

Re: Leopard Quick Look & TeX

I agree it is very explicit, but it isn't working for me.
I have added, using BBEdit.app,
<string>public.plain-text</string>
to the UTTypeConformsTo</key> <array>
After saving: moving TeXShop.app, logging off, shutting down, and  
using touch on the command line were all unable to cause Quick Look to  
view any of my .tex files as text. Have I missed the point? Thanks for  
any advise.

Tom Rike

On Nov 27, 2007, at 9:42 AM, Herbert Schulz wrote:

>
> On Nov 27, 2007, at 11:34 AM, Frank STENGEL wrote:
>
>>
>> Le 27 nov. 07 à 18:20, Herbert Schulz a écrit :
>>
>>
>>>
>>> That's interesting. Could you give me a hint of what the addition  
>>> to info.plist in TeXShop should look like?
>>>
>>
>> Look at this: http://www.macosxhints.com/article.php?story=20071028184428583
>>
>> It is actually taylored for TeXShop...
>>
>> -- 
(Continue reading)

Adam R. Maxwell | 1 Dec 2007 07:34
Picon

Re: Leopard Quick Look & TeX


On Nov 30, 2007, at 10:03 PM, Thomas Rike wrote:

> I agree it is very explicit, but it isn't working for me.
> I have added, using BBEdit.app,
> <string>public.plain-text</string>
> to the UTTypeConformsTo</key> <array>
> After saving: moving TeXShop.app, logging off, shutting down, and  
> using touch on the command line were all unable to cause Quick Look  
> to view any of my .tex files as text. Have I missed the point?  
> Thanks for any advise.

That sounds right.  What is the output of the following in Terminal:

1) `mdls /path/to/file.tex`
2) `qlmanage -r /path/to/file.tex`

where /path/to/file.tex comes from dropping a .tex file on Terminal?

--

-- 
adam

-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/

(Continue reading)

Adam R. Maxwell | 1 Dec 2007 07:36
Picon

Re: Leopard Quick Look & TeX


On Nov 30, 2007, at 10:34 PM, Adam R. Maxwell wrote:

>
> On Nov 30, 2007, at 10:03 PM, Thomas Rike wrote:
>
>> I agree it is very explicit, but it isn't working for me.
>> I have added, using BBEdit.app,
>> <string>public.plain-text</string>
>> to the UTTypeConformsTo</key> <array>
>> After saving: moving TeXShop.app, logging off, shutting down, and  
>> using touch on the command line were all unable to cause Quick Look  
>> to view any of my .tex files as text. Have I missed the point?  
>> Thanks for any advise.
>
> That sounds right.  What is the output of the following in Terminal:
>
> 1) `mdls /path/to/file.tex`
> 2) `qlmanage -r /path/to/file.tex`

Oops, getting late here...that last line should be `qlmanage -t /path/ 
to/file.tex`.  Running qlmanage -r won't hurt, though.

--

-- 
adam

-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
(Continue reading)

Herbert Schulz | 1 Dec 2007 12:35
Picon

Re: Leopard Quick Look & TeX


On Dec 1, 2007, at 12:36 AM, Adam R. Maxwell wrote:

>
> On Nov 30, 2007, at 10:34 PM, Adam R. Maxwell wrote:
>
>>
>> On Nov 30, 2007, at 10:03 PM, Thomas Rike wrote:
>>
>>> I agree it is very explicit, but it isn't working for me.
>>> I have added, using BBEdit.app,
>>> <string>public.plain-text</string>
>>> to the UTTypeConformsTo</key> <array>
>>> After saving: moving TeXShop.app, logging off, shutting down, and  
>>> using touch on the command line were all unable to cause Quick  
>>> Look to view any of my .tex files as text. Have I missed the  
>>> point? Thanks for any advise.
>>
>> That sounds right.  What is the output of the following in Terminal:
>>
>> 1) `mdls /path/to/file.tex`
>> 2) `qlmanage -r /path/to/file.tex`
>
> Oops, getting late here...that last line should be `qlmanage -t / 
> path/to/file.tex`.  Running qlmanage -r won't hurt, though.
>
> -- 
> adam
>

(Continue reading)

Alain Matthes | 1 Dec 2007 13:13
Picon
Gravatar

Re: Leopard Quick Look & TeX


Le 1 déc. 07 à 12:35, Herbert Schulz a écrit :

>
> I just added sty, cls and clo to the extension list array and it  
> allowed me to view  files with those extensions.
>
> To activate it I ran
>
> sudo qlmanage -r
>
> and logged out and back in (I don't know if the sudo is needed but I  
> also don't know where the system puts the ql databases). Only files  
> that have Creator set to TeXs (TeXShop) are viewable since that's  
> the place I changed the info.plist. I could make other sty files  
> viewable by opening them and overwriting by doing a Save As... in  
> TeXShop.
>

Hello Herbert

Actually, I'm in a hospital and it's not easy for me to have a good  
connection with my macBook (intel).

Can you send me what you made in the info.plist of Texshop.

I tried the code found here : (www.macosxhints.com)

  10.5: Add Quick Look support for certain file formats
  but without success; perhaps I made a mistake somewhere ...
(Continue reading)


Gmane