summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/sync.sh b/sync.sh
new file mode 100755
index 0000000..e4c2857
--- /dev/null
+++ b/sync.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+CTX_TEXFM=$1
+CTX_FILES=`grep -o "loadmodule('....-....lua')" $CTX_TEXFM/tex/generic/context/luatex-fonts.lua |\
+ sed -e "s/loadmodule('\(....-....lua\)')/\1/" | sort | uniq`
+
+echo $CTX_FILES
+for i in $CTX_FILES; do
+ cp -v $CTX_TEXFM/tex/context/base/$i otfl-$i
+done