aboutsummaryrefslogtreecommitdiff
path: root/bin/gencvthumbs
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-06-17 10:32:15 +0000
committerrodri <rgl@antares-labs.eu>2023-06-17 10:32:15 +0000
commit9d48b7e5fcf840f710a7519800a3650fc7cf0aae (patch)
tree792aa5dc523ac505fdfd4a527cd6e07b41ae3bea /bin/gencvthumbs
parent4d4867ed7731c7aa70855e0b62913f442d35628c (diff)
downloadmkweb-9d48b7e5fcf840f710a7519800a3650fc7cf0aae.tar.gz
mkweb-9d48b7e5fcf840f710a7519800a3650fc7cf0aae.tar.bz2
mkweb-9d48b7e5fcf840f710a7519800a3650fc7cf0aae.zip
md2html.awk now allows an image size spec.
added the cv thumbnail generator script. minor improvements to the mkweb script.
Diffstat (limited to 'bin/gencvthumbs')
-rwxr-xr-xbin/gencvthumbs9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/gencvthumbs b/bin/gencvthumbs
new file mode 100755
index 0000000..f3ec7ab
--- /dev/null
+++ b/bin/gencvthumbs
@@ -0,0 +1,9 @@
+#!/bin/rc
+files=(cv cv.es)
+
+for(f in $files)
+ cat <<EOF | gs -sDEVICE'='jpeg -dPDFFitPage'='true -dDEVICEWIDTHPOINTS'='232 -dDEVICEHEIGHTPOINTS'='300 -sOutputFile'='$f.jpeg $f.pdf
+
+
+quit
+EOF