чување db268c4758301c2a06c87f0977cda23f38418710
родитељ 42093fa16b10ba187b06e706876e845f7d43cdc4
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Mon, 29 May 2023 10:36:37 +0200
slweb.html.do: Use sans-serif for the body
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 1, додавања: 4(+), брисања: 1(-)
diff --git a/slweb.html.do b/slweb.html.do
@@ -1,4 +1,7 @@
redo-ifchange ${2%.html}.1
#groff -mandoc -t -Tutf8 $2.1 | man2html -topm 0 -botm 0 >$3
groff -mandoc -t -Tlatin1 ${2%.html}.1 \
- | man2html -toc -title "${2%.html} manual" -topm 0 -botm 0 >$3
+ | man2html -toc -title "${2%.html} manual" -topm 0 -botm 0 >$3.tmp
+sed '/<TITLE/a<style>html,body{font-family: sans-serif}<\/style>' $3.tmp \
+ > $3
+rm $3.tmp