Abstracting the PDF exportation process (thanks Edu!).

This commit is contained in:
Offray Vladimir Luna Cárdenas 2017-11-30 21:20:01 +00:00
parent 82ba093f3f
commit 709a0f2d82

View File

@ -225,7 +225,7 @@ GrafoscopioNotebook >> exportAsPDF [
pandocCommand := 'cd ', self markdownFile parent fullName,'; ',
'pandoc ', self pandocOptionsComputed, ' ',
self markdownFile fullName, ' -o ', self pdfFile fullName.
ExternalUnixOSProcess command: pandocCommand.
ExternalOSProcess command: pandocCommand.
self inform: ('File exported as: ', String cr, self pdfFile fullName)
]