MMD to LaTeX working?

Anybody got compile to work for MultiMarkdown->LaTeX? it doesn’t seem to work for me. I can compile to MMD but not to MMD->LaTeX. It starts but never finishes. I get the following error in the log every time I try to compile to this target. I am suspecting a problem with folder access but can’t seem to trace this one down. I tried to use dtruss to track file access but still couldn’t figure it out. I also uninstalled and reinstalled Scrivener to no avail. I’m using the app store version. Anybody got any ideas what could be happening here?

2016-01-25 21:52:15.282 Scrivener[8353:692991] NSSoftLinking - The ShareKit framework’s library couldn’t be loaded from /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/ShareKit.
2016-01-25 21:54:27.327 Scrivener[8353:692991] launch path not accessible
2016-01-25 21:54:27.329 Scrivener[8353:692991] (
0 CoreFoundation 0x99436f79 __raiseError + 201
1 libobjc.A.dylib 0x946acfd1 objc_exception_throw + 276
2 CoreFoundation 0x99436e8d +[NSException raise:format:] + 141
3 Foundation 0x92885f79 -[NSConcreteTask launchWithDictionary:] + 529
4 Foundation 0x92885d63 -[NSConcreteTask launch] + 40
5 Scrivener 0x001e057f Scrivener + 1963391
6 Scrivener 0x001e1a56 Scrivener + 1968726
7 Scrivener 0x001e0dbc Scrivener + 1965500
8 Scrivener 0x001a36ab Scrivener + 1713835
9 Scrivener 0x001a2281 Scrivener + 1708673
10 Scrivener 0x001a1591 Scrivener + 1705361
11 libobjc.A.dylib 0x946aa3ee -[NSObject performSelector:withObject:] + 70
12 AppKit 0x999a8235 __36-[NSApplication sendAction:to:from:]_block_invoke + 51
13 libsystem_trace.dylib 0x9a4df3c1 _os_activity_initiate + 85
14 AppKit 0x999a8156 -[NSApplication sendAction:to:from:] + 610
15 AppKit 0x999bea85 -[NSControl sendAction:to:] + 102
16 AppKit 0x999be979 __26-[NSCell _sendActionFrom:]_block_invoke + 176
17 libsystem_trace.dylib 0x9a4df3c1 _os_activity_initiate + 85
18 AppKit 0x999be8a8 -[NSCell _sendActionFrom:] + 161
19 AppKit 0x99c5ded9 __48-[NSCell trackMouse:inRect:ofView:untilMouseUp:]_block_invoke1010 + 43
20 libsystem_trace.dylib 0x9a4df3c1 _os_activity_initiate + 85
21 AppKit 0x999bcc55 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2744
22 AppKit 0x99a1642f -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 809
23 AppKit 0x999bb284 -[NSControl mouseDown:] + 693
24 AppKit 0x9a00e5b7 -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6266
25 AppKit 0x9a0100ea -[NSWindow _reallySendEvent:isDelayedEvent:] + 2303
26 AppKit 0x998b3927 -[NSWindow sendEvent:] + 567
27 AppKit 0x998af942 -[NSApplication sendEvent:] + 2919
28 Scrivener 0x00051ec2 Scrivener + 331458
29 AppKit 0x997da18f -[NSApplication run] + 1159
30 AppKit 0x99755025 NSApplicationMain + 1630
31 Scrivener 0x000363e7 Scrivener + 218087
32 Scrivener 0x00002b75 Scrivener + 7029
33 ??? 0x00000001 0x0 + 1

Apple recently globally removed the ability for programs sold through their store to make use of custom UNIX utilities, like MultiMarkdown. They can still use the few base tools that come with the system (like /usr/bin/sort), or utilities installed into the Applications folder.

2016-01-25 21:54:27.327 Scrivener[8353:692991] launch path not accessible

The only alternatives are thus:

  • Migrate out of the Mac App Store version.
  • Downgrade your OSX back to 10.10 or something less restrictive.
  • Delete your copy of MultiMarkdown from usr/local/bin and stick to using the older version distributed with Scrivener.

Thanks AmberV. This explains a lot. I suspected something along those lines, and this confirmation keeps me from chasing ghosts. I checked out the link to run the direct sale version, and think I’ll try to do that as a renamed side by side install to the app store version. I should be able to find a work flow from this that works for me. Thanks again for the quick response.

Sorry for the inconvenience, but there isn’t much we could do about this one. It’s looking like the only way to “resolve” this is to remove the pdflatex integration along with external XSLT and MultiMarkdown upgrading in the MAS version. We’re hoping to find a solution, but Apple seems pretty certain of their move here.

Anyway, there should be few problems with running multiple copies. In fact I have about five copies of Scrivener installed, including the MAS version. :slight_smile: By the way you can set up the direct-sale version to alert you of updates, so you won’t be missing out on that particular convenience that the MAS provides.