Debugging PDF exportation on Windows.
This commit is contained in:
parent
97be568e06
commit
eb55cb60ec
@ -229,7 +229,10 @@ GrafoscopioNotebook >> exportAsPDF [
|
|||||||
'pandoc ', self pandocOptionsComputed, ' ',
|
'pandoc ', self pandocOptionsComputed, ' ',
|
||||||
self markdownFile fullName, ' -o ', self pdfFile fullName.
|
self markdownFile fullName, ' -o ', self pdfFile fullName.
|
||||||
Smalltalk platformName = 'unix' ifTrue: [ ExternalOSProcess command: pandocCommand ].
|
Smalltalk platformName = 'unix' ifTrue: [ ExternalOSProcess command: pandocCommand ].
|
||||||
Smalltalk platformName = 'Win32' ifTrue: [ WindowsProcess command: pandocCommand ].
|
Smalltalk platformName = 'Win32'
|
||||||
|
ifTrue: [ WinProcess
|
||||||
|
createProcess: 'pandoc ', self pandocOptionsComputed, ' ',
|
||||||
|
self markdownFile fullName, ' -o ', self pdfFile fullName ].
|
||||||
self inform: ('File exported as: ', String cr, self pdfFile fullName)
|
self inform: ('File exported as: ', String cr, self pdfFile fullName)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user