summaryrefslogtreecommitdiff
path: root/.local/bin/manualgen
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/manualgen')
-rwxr-xr-x.local/bin/manualgen6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/manualgen b/.local/bin/manualgen
index 738ef5c..16a7653 100755
--- a/.local/bin/manualgen
+++ b/.local/bin/manualgen
@@ -10,10 +10,10 @@ s/\s*#-#$/\n##/;
sed "s/-->/##\ /;
s/:\(.*\)$/:\1\`/;
s/\s+\s/+/g;
- s/#\*\*:.*//")
+ s/#\*\*:.*//;
+ s/\(^##.*\)/\1\n/g")
manual=$(cat $HOME/.config/manual.part)
-printf " $manual \n $config" | gd2pdf
+printf "$manual\n$config" | lowdown -sTms | pdfroff -itk -mspdf | zathura -
-# printf " $manual \n $config"