>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> Here's a small patch to tidy up the lyxrc.dist file for Mac. Bennett> It simply adds the "document" tag to various file formats, Bennett> and it makes the viewer/editor for other file formats be Bennett> "open" (to supercede the default "auto" that doesn't always Bennett> work on Mac). It also adds new paths for i-Installer's Bennett> changed default TeX installation. The new paths for i-Installer are OK (and should go to 1.4 too, right?). Concerning the superceeding of auto, I'd rather try something else. Could you try the attached patch (without the special "open" commands, of course)? JMarc
Index: src/support/os_unix.C =================================================================== --- src/support/os_unix.C (revision 16527) +++ src/support/os_unix.C (working copy) @@ -126,7 +126,10 @@ bool canAutoOpenFile(string const & ext, CFStringRef cfs_ext = CFStringCreateWithBytes(kCFAllocatorDefault, (UInt8 *) ext.c_str(), ext.length(), kCFStringEncodingISOLatin1, false); - LSRolesMask role = (mode == VIEW) ? kLSRolesViewer : kLSRolesEditor; + // this is what we would like to do but it seems that the + // viewer for PDF is often quicktime... + //LSRolesMask role = (mode == VIEW) ? kLSRolesViewer : kLSRolesEditor; + LSRolesMask role = kLSRolesEditor; FSRef outAppRef; OSStatus status = LSGetApplicationForInfo(kLSUnknownType, kLSUnknownCreator,
