summaryrefslogtreecommitdiff
path: root/macros/omega/latex/contrib/tamil-omega/install.sh
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/omega/latex/contrib/tamil-omega/install.sh
Initial commit
Diffstat (limited to 'macros/omega/latex/contrib/tamil-omega/install.sh')
-rw-r--r--macros/omega/latex/contrib/tamil-omega/install.sh65
1 files changed, 65 insertions, 0 deletions
diff --git a/macros/omega/latex/contrib/tamil-omega/install.sh b/macros/omega/latex/contrib/tamil-omega/install.sh
new file mode 100644
index 0000000000..05afa19f7d
--- /dev/null
+++ b/macros/omega/latex/contrib/tamil-omega/install.sh
@@ -0,0 +1,65 @@
+#!/bin/bash
+#
+#
+# Installation script for Omega for Tamil
+#
+# Alex A.J. <indicTeX@gmail.com>
+#
+#
+#
+#
+echo -e "\nInstallation script for Omega for Tamil"
+echo -e "Alex A.J. <indicTeX@gmail.com>\n"
+echo -e "Starting installation...\n"
+
+
+echo -e "TEXMF root directory (Press <ENTER> if the default is ok)"
+echo -e "(The default should be ok for most Linux systems)"
+echo -e "Caution: DO NOT type / at the end of directory name\n"
+echo -e "(/usr/share/texmf): \c"
+read texdir
+if [ "$texdir" = "" ]
+then
+ texdir="/usr/share/texmf"
+fi
+
+echo -e "\nInstalling packages...\n"
+
+# The directories
+
+mkdir -p $texdir/doc/indic/tamil/omega
+mkdir -p $texdir/tex/lambda/tamil
+mkdir -p $texdir/omega/otp/tamil
+mkdir -p $texdir/omega/ocp/tamil
+mkdir -p $texdir/fonts/map/dvips/tamil
+mkdir -p $texdir/fonts/type1/tamil/wntamil
+mkdir -p $texdir/fonts/tfm/tamil/wntamil
+mkdir -p $texdir/fonts/tfm/tamil/ism
+
+# The files
+
+cp -f ./doc/* $texdir/doc/indic/tamil/omega
+cp -f ./examples/* $texdir/doc/indic/tamil/omega
+cp -f ./fonts/wntamil/*.pfb $texdir/fonts/type1/tamil/wntamil
+cp -f ./fonts/wntamil/*.tfm $texdir/fonts/tfm/tamil/wntamil
+cp -f ./fonts/ism/*.tfm $texdir/fonts/tfm/tamil/ism
+cp -f ./omega/*.sty $texdir/tex/lambda/tamil
+cp -f ./omega/*.fd $texdir/tex/lambda/tamil
+cp -f ./omega/*.map $texdir/fonts/map/dvips/tamil
+cp -f ./otp/*.otp $texdir/omega/otp/tamil
+cp -f ./otp/*.ocp $texdir/omega/ocp/tamil
+
+
+# Post installation commands
+
+texhash
+updmap-sys --enable Map tamil.map
+updmap-sys --enable Map tamil_ism.map
+
+echo -e "\n\nInstallation of Omega for Tamil completed successfully.\n"
+echo -e "Documentation can be found in $texdir/doc/indic/tamil/omega"
+echo -e "Some examples are provided in $texdir/doc/indic/tamil/omega\n"
+
+
+#
+#End of file