Revision: 3882
http://skim-app.svn.sourceforge.net/skim-app/?rev=3882&view=rev
Author: hofman
Date: 2008-05-14 13:13:48 -0700 (Wed, 14 May 2008)
Log Message:
-----------
Use dvipdfmx by default for DVI conversion, as it is much faster.
Modified Paths:
--------------
trunk/SKPSProgressController.m
Modified: trunk/SKPSProgressController.m
===================================================================
--- trunk/SKPSProgressController.m 2008-05-14 19:34:00 UTC (rev 3881)
+++ trunk/SKPSProgressController.m 2008-05-14 20:13:48 UTC (rev 3882)
@@ -278,11 +278,11 @@
if (dviToolPath == nil) {
NSString *commandPath = [[NSUserDefaults standardUserDefaults]
stringForKey:SKDviConversionCommandKey];
- NSString *commandName = commandPath ? [commandPath lastPathComponent]
: @"dvips";
+ NSString *commandName = commandPath ? [commandPath lastPathComponent]
: @"dvipdfmx";
NSArray *paths = [NSArray arrayWithObjects:@"/usr/texbin",
@"/usr/local/teTeX/bin/powerpc-apple-darwin-current", @"/sw/bin",
@"/opt/local/bin", @"/usr/local/bin", nil];
int i = 0, count = [paths count];
NSFileManager *fm = [NSFileManager defaultManager];
- NSSet *supportedTools = [NSSet setWithObjects:@"dvips", @"dvipdf",
@"dvipdfm", @"dvipdfmx", nil];
+ NSSet *supportedTools = [NSSet setWithObjects:@"dvips", @"dvipdfmx",
@"dvipdfm", @"dvipdf", nil];
NSAssert1([supportedTools containsObject:commandName], @"DVI converter
%@ is not supported", commandName);
if ([supportedTools containsObject:commandName]) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit