From a0e1a5594231d9f3789c51f04fdfb24680ca2516 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 2 Mar 2011 19:36:18 +0200 Subject: A dump script I use for syncing with context Takes the base of context texmf tree as argument (the zip downloaded from pragma-ade.com --- sync.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 sync.sh 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 -- cgit v1.2.3