From bf1fb512f91703935d532dfa7f70d7af551ceb74 Mon Sep 17 00:00:00 2001 From: Qing Lee Date: Mon, 9 Jun 2014 13:59:27 +0000 Subject: [PATCH] =?UTF-8?q?ctex=201.02d:=20=E7=AE=80=E5=8D=95=E8=B0=83?= =?UTF-8?q?=E6=95=B4=20maketds.bat=EF=BC=8C=E5=A2=9E=E5=8A=A0=20CTAN=20?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/maketds.bat | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/script/maketds.bat b/script/maketds.bat index 95db8039..4a6593ff 100644 --- a/script/maketds.bat +++ b/script/maketds.bat @@ -1,5 +1,7 @@ if exist texmf rmdir /s/q .\texmf -if exist ctex-tds.zip del ctex-tds.zip +if exist ctex rmdir /s/q .\ctex +if exist ctex.tds.zip del ctex.tds.zip +if exist ctex.zip del ctex.zip mkdir texmf\tex\latex\ctex for %%i in (..\ctex.sty ..\ctexart.cls ..\ctexbook.cls ..\ctexcap.sty ..\ctexrep.cls) do copy "%%i" texmf\tex\latex\ctex @@ -32,4 +34,13 @@ for %%i in (..\doc\ctex.pdf ..\doc\ctex.tex ..\README) do copy "%%i" texmf\doc\l mkdir texmf\doc\latex\ctex\test for %%i in (..\test\test-cjk.tex ..\test\test-cjkutf8.tex ..\test\test-xetex.tex ..\test\test-xetexgbk.tex) do copy "%%i" texmf\doc\latex\ctex\test -zip -r ctex-tds.zip texmf\* +pushd texmf +zip -r -ll ctex.tds.zip . +popd + +mkdir ctex +move texmf\ctex.tds.zip +xcopy /s texmf\doc\latex\ctex ctex +xcopy /s texmf\tex\latex\ctex ctex + +zip -r -ll ctex.zip ctex ctex.tds.zip