Error when exporting manuscript with non-default figure layout to LaTeX, PDF or Word
When attempting to export the attached manuscript to PDF or Word (but not other formats), an error is thrown:
"Error Domain=MPPressRoomErrorDomain Code=2 "Failed to export manuscript to PDF" UserInfo={NSLocalizedFailureReason=Failed to export manuscript to PDF using LaTeX, NSUnderlyingError=0x7fa424e5aea0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={NSURL=file:///Users/administrator/.PressroomServerArchives/PressroomServer-1.9.27.xcarchive/Products/usr/local/bin/MPFoundation.framework/Resources/execute-pdflatex.sh, NSLocalizedFailureReason=Script task exited with status 1}}, NSLocalizedRecoverySuggestion=See failure reason either from the PDF export transcript in Manuscripts, or /Applications/Utilities/Console.app.↵↵Please contact support@manuscriptsapp.com if the issue persists. Consider also attaching the manuscript which leads into this issue occurring., NSLocalizedDescription=Failed to export manuscript to PDF}"
The only difference between this and another manuscript where export succeeds is that the figureLayout
property of the MPFigureElement
object has been switched from the default "Single Figure" to "Two Figures Side by Side" (both of which are bundled in the manuproj file).