From 374e19ef15884f8c4a2fe5b626f843d3bb7f595f Mon Sep 17 00:00:00 2001 From: Hasan al Rasyid Date: Sat, 19 Mar 2022 12:47:22 +0900 Subject: [PATCH] include a function module and use it --- manuscript.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/manuscript.md b/manuscript.md index 79e6b9b..022f6fa 100644 --- a/manuscript.md +++ b/manuscript.md @@ -531,12 +531,15 @@ This responsibility is purely on the shoulder of the author. The image at Figure \ref{fig:py} can be produced using: ``` -~~~{.script .py .img #fig:py caption="this is a new image from script" width=400 height=300 file=pyImage} +~~~{.script .py .img #fig:py caption="this is a new image from script" width=400 height=300 +file=pyImage} #import subprocess -#subprocess.getoutput("wget 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Bismillah.svg/640px-Bismillah.svg.png' -O _build/auto/pyImage.png") +#subprocess.getoutput("wget 'https://upload.wikimedia.org/wikipedia/commons +/thumb/2/2c/Bismillah.svg/640px-Bismillah.svg.png' -O _build/auto/pyImage.png") # we can call a function from included library above -sysrun(["wget 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Bismillah.svg/640px-Bismillah.svg.png' -O _build/auto/pyImage.png"]) +sysrun(["wget 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c +/Bismillah.svg/640px-Bismillah.svg.png' -O _build/auto/pyImage.png"]) ~~~ ```