Abstracting the PDF exportation process (thanks Edu!).
This commit is contained in:
parent
eee20f4fd8
commit
29b6b23f21
|
@ -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