Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: View syntax-highlighted source code in Quick Look' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: View syntax-highlighted source code in Quick Look
Authored by: ejensen on Dec 11, '07 08:43:01AM

This package has an Intel-only "highlight" utility included so it does not work on ppc Macs. I tried rebuilding it using a Universal "highlight" binary (an older version) but it did not work. I am hoping a someone with more Xcode savvy can rebuild and post a ppc or truly universal version.



[ Reply to This | # ]
10.5: View syntax-highlighted source code in Quick Look
Authored by: freddiepingpong on Dec 11, '07 08:46:57AM

I get the same error as those above on an intel MacBook.

I've tried to move config files around to resolve the dependencies, but nothing.



[ Reply to This | # ]
10.5: View syntax-highlighted source code in Quick Look
Authored by: somorjai on Dec 11, '07 09:43:43AM

I have compiled a UB version, but I can't test the PPC version. If anyone would be brave enough to check it, drop me a mail.

Akos



[ Reply to This | # ]
10.5: View syntax-highlighted source code in Quick Look
Authored by: orso on Dec 11, '07 09:19:33PM

I managed to compile a PPC version of highlight from the source, then I substituted the actual version of highlight in the Quick Look plugin (Contents/Resources/highlight) with the result of the compilation. And it worked immediately on my PB G4.

As a second step, I have added a few of the styles present in the source of highlight to those present in the plugin (Contents/Resources/langDefs), so now Quick Look manages correctly also .tex files.

Finally, I didn't need to compile the plugin from the source (but admittedly, I failed in trying) to have a PPC working syntax-highlighting Quick Look.

Hope this helps.



[ Reply to This | # ]