Grep Better with BBEdit 6.5 -- Bare Bones Software has released a major new version of their invaluable flagship text editing program, BBEdit. Version 6.5 is now a unified "Fat Carbon" application, running natively on Mac OS X and back through Mac OS 8.6 (with CarbonLib). The internal regular-expression search engine, which was previously somewhat quirky and non-standard, has been replaced by a new search function based on the Perl-Compatible Regular Expression (PCRE) library, adding new features and standardizing its behavior with standard Perl and Unix expressions. BBEdit 6.5 also adds syntax coloring and contextual markup support for Cascading Style Sheets, a long-requested feature. (The Check HTML Syntax feature still differs significantly from the W3C validator over what constitutes legal HTML, though.) Integration with Mac OS X is particularly impressive; BBEdit can now be invoked from the Unix shell (for example, command output can be piped to it), and, the other way around, BBEdit can run shell scripts, as well as Perl and Python scripts. BBEdit 6.5 is $120, or $40 to upgrade from a previous version (free if you purchased 6.1 recently), and comes with complete documentation plus amusing release notes. A launch-limited demo is available from the Bare Bones Web site. [MAN]
Find Text Leading from Acrobat PDF
Ever have to recreate a document from an Acrobat PDF? You can find out most everything about the text by using the Object Inspector, except the leading. Well, here's a cheesy way to figure it out. Open the PDF in Illustrator (you just need one page). Release any and all clipping masks. Draw a guide at the baseline of the first line of text, and one on the line below. Now, Option-drag the first line to make a copy, and position it exactly next to the original first line at baseline. Then put a return anywhere in the copied line. Now adjust leading of the copied lines, so that the second line of copy rests on the baseline of the second line of the original. Now you know your leading.
Or you could buy expensive software to find the leading. Your choice.