[SCM] soundscaperenderer/master: Script to generate an overide for TeX's \today

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed Nov 4 11:58:59 UTC 2015


The following commit has been merged in the master branch:
commit 68513e748cadfb80a54d570d8d0a42435dc5d6a8
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date:   Wed Nov 4 11:08:37 2015 +0100

    Script to generate an overide for TeX's \today

diff --git a/debian/scripts/version-tex.sh b/debian/scripts/version-tex.sh
new file mode 100755
index 0000000..ce931bc
--- /dev/null
+++ b/debian/scripts/version-tex.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#!/bin/sh
+
+## this script creates a TeX-snippet to override the \today def
+##  with the given version
+
+VER=$1
+if [ "x${VER}" = "x" ]; then
+ VER=$(dpkg-parsechangelog -SVersion)
+fi
+
+echo "${VER}" \
+| sed -e 's|~|$\\sim$|g' \
+| sed -e 's|^\(.*\)$|\\def\\today{\1}|'
+

-- 
soundscaperenderer packaging



More information about the pkg-multimedia-commits mailing list