Skip to content

Commit

Permalink
ctex: 将对 docstrip 的扩展提取到 ctxdocstrip.tex 中,README 改成 md 格式
Browse files Browse the repository at this point in the history
  • Loading branch information
qinglee committed May 14, 2016
1 parent 973b84e commit f745b21
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 179 deletions.
12 changes: 8 additions & 4 deletions ctex/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ packtdszip = true

sourcefiles = {"ctex.dtx", "ctexpunct.spa"}
unpackfiles = {"ctex.dtx"}
unpacksuppfiles = {"ctex.ver"}
installfiles = {"*.sty", "*.cls", "*.clo", "*.def", "*.cfg", "*.fd", "zh*.tex", "ctex*spa*.tex", "*.dict"}
excludefiles = {"*ctxdoc.cls"}
unpacksuppfiles = {"ctex.id","ctxdocstrip.tex"}
installfiles = {"*.sty", "*.cls", "*.clo", "*.def", "*.cfg", "*.fd", "*.tex", "*.dict"}
unpackexe = "xetex"
typesetexe = "xelatex"
makeindexexe = "zhmakeindex"

gbkfiles = {"ctex-name-gbk.cfg", "*-ChineseGBK.dict"}
generic_insatllfiles = {"zh*.tex", "ctex*spa*.tex"}
generic_insatllfiles = {"*.tex"}
subtexdirs = {
["config"] = "*.cfg",
["fd"] = "*.fd",
Expand All @@ -24,6 +23,11 @@ subtexdirs = {
["dictionary"] = "*.dict",
}

function copytds_posthook()
cp("ctex.ins", unpackdir, ctandir .. "/" .. ctanpkg)
cp("ctex.ins", unpackdir, tdsdir .. "/source/" .. moduledir)
end

dofile("../tool/zhl3build.lua")

-- vim:sw=2:et
Loading

0 comments on commit f745b21

Please sign in to comment.