aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-installer/mayor-installer-jav/install.d/55tex.sh
diff options
context:
space:
mode:
authorM.Gergo2019-03-08 20:50:48 +0100
committerM.Gergo2019-03-08 20:50:48 +0100
commit3dab26c6797b32926287f22a041380080551060b (patch)
treebb4ba41398083a054e956e25f2d8c72bcdd0a7a0 /mayor-installer/mayor-installer-jav/install.d/55tex.sh
parentf70027ffbedce10f412868a7bf9b0b67b113f1b1 (diff)
downloadmayor-3dab26c6797b32926287f22a041380080551060b.tar.gz
mayor-3dab26c6797b32926287f22a041380080551060b.zip
pici rendrakás
Diffstat (limited to 'mayor-installer/mayor-installer-jav/install.d/55tex.sh')
-rwxr-xr-xmayor-installer/mayor-installer-jav/install.d/55tex.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/mayor-installer/mayor-installer-jav/install.d/55tex.sh b/mayor-installer/mayor-installer-jav/install.d/55tex.sh
new file mode 100755
index 00000000..87bcbc5f
--- /dev/null
+++ b/mayor-installer/mayor-installer-jav/install.d/55tex.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+cat <<EOF
+A mayor.fmt előllítása...
+
+EOF
+
+cd $MAYORDIR/print/module-naplo/tex/
+fmtutil-sys --cnffile $MAYORDIR/print/module-naplo/tex/mayor.cnf --fmtdir $MAYORDIR/print/module-naplo/ --byfmt mayor
+
+# Ha az fmtutil nem a tex alkönyvtárba hozná létre a mayor.fmt-t, akkor áthelyezzük:
+if [ -e "$MAYORDIR/print/module-naplo/mayor.fmt" ]; then
+ mv $MAYORDIR/print/module-naplo/mayor.fmt $MAYORDIR/print/module-naplo/tex/mayor.fmt
+fi
+
+# Ha telepítve van a XeTeX csomag, akkor ahhoz is generálunk *.fmt-t
+if [ -e /usr/bin/xetex ]; then
+ cd $MAYORDIR/print/module-naplo/xetex/
+ fmtutil-sys --cnffile $MAYORDIR/print/module-naplo/xetex/mayor-xetex.cnf --fmtdir $MAYORDIR/print/module-naplo/ --byfmt mayor-xetex
+fi