Abstracting the PDF exportation process (thanks Edu!).
This commit is contained in:
parent
82ba093f3f
commit
709a0f2d82
@ -225,7 +225,7 @@ GrafoscopioNotebook >> exportAsPDF [
|
|||||||
pandocCommand := 'cd ', self markdownFile parent fullName,'; ',
|
pandocCommand := 'cd ', self markdownFile parent fullName,'; ',
|
||||||
'pandoc ', self pandocOptionsComputed, ' ',
|
'pandoc ', self pandocOptionsComputed, ' ',
|
||||||
self markdownFile fullName, ' -o ', self pdfFile fullName.
|
self markdownFile fullName, ' -o ', self pdfFile fullName.
|
||||||
ExternalUnixOSProcess command: pandocCommand.
|
ExternalOSProcess command: pandocCommand.
|
||||||
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