summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pkuthss/example
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-15 21:37:15 +0000
committerKarl Berry <karl@freefriends.org>2019-11-15 21:37:15 +0000
commitad0cc2635a7a6ba53d891f339d362a41da71cacb (patch)
tree0b5256ee13ef2d73f9c23106761f9f34c769298a /Master/texmf-dist/doc/latex/pkuthss/example
parentaf83420127315731ca4168d56cd4f95f748d49e7 (diff)
pkuthss (15nov19)
git-svn-id: svn://tug.org/texlive/trunk@52804 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pkuthss/example')
-rwxr-xr-xMaster/texmf-dist/doc/latex/pkuthss/example/Make.bat19
-rw-r--r--Master/texmf-dist/doc/latex/pkuthss/example/ctex-fontset-pkuthss.def8
-rw-r--r--Master/texmf-dist/doc/latex/pkuthss/example/latexmkrc14
-rw-r--r--Master/texmf-dist/doc/latex/pkuthss/example/spine.tex6
-rw-r--r--Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex6
5 files changed, 25 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/pkuthss/example/Make.bat b/Master/texmf-dist/doc/latex/pkuthss/example/Make.bat
index e57cca77a41..efbd3dfa4ad 100755
--- a/Master/texmf-dist/doc/latex/pkuthss/example/Make.bat
+++ b/Master/texmf-dist/doc/latex/pkuthss/example/Make.bat
@@ -1,32 +1,19 @@
@echo off
@rem Copyright (c) 2008-2009 solvethis
-@rem Copyright (c) 2010-2012 Casper Ti. Vector
+@rem Copyright (c) 2010-2012,2019 Casper Ti. Vector
@rem Public domain.
-set JOB=thesis
-@rem 这个变量的值可以为 latex、pdflatex 或 xelatex。
-set LATEX=latex
-set BIBTEX=biber -l zh__pinyin --output-safechars
-set DVIPDF=dvipdfmx
-
-if "%LATEX%"=="latex" (set DODVIPDF=%DVIPDF% %JOB%
-) else (set DODVIPDF=echo No need to run %DVIPDF%.)
if "%1"=="" goto doc
if "%1"=="doc" goto doc
if "%1"=="clean" (goto clean) else (goto usage)
:doc
-%LATEX% %JOB%
-%BIBTEX% %JOB%
-%LATEX% %JOB%
-%LATEX% %JOB%
-%DODVIPDF%
+latexmk
goto end
:clean
-del *.aux *.bbl *.bcf *.blg *.dvi *.lof *.log *.lot *.run.xml *.toc *.out
-del missfont.log chap\*.aux
+latexmk -c
goto end
:usage
diff --git a/Master/texmf-dist/doc/latex/pkuthss/example/ctex-fontset-pkuthss.def b/Master/texmf-dist/doc/latex/pkuthss/example/ctex-fontset-pkuthss.def
index 2febb6122d5..b503fc729aa 100644
--- a/Master/texmf-dist/doc/latex/pkuthss/example/ctex-fontset-pkuthss.def
+++ b/Master/texmf-dist/doc/latex/pkuthss/example/ctex-fontset-pkuthss.def
@@ -36,13 +36,13 @@
}
{
\setCJKmainfont
- [ BoldFont = SimHei , ItalicFont = [ simkai.ttf ] ] { SimSun }
+ [ BoldFont = SimHei , ItalicFont = KaiTi ] { SimSun }
\setCJKsansfont { SimHei }
- \setCJKmonofont { [ simfang.ttf ] }
+ \setCJKmonofont { FangSong }
\setCJKfamilyfont { zhsong } { SimSun }
\setCJKfamilyfont { zhhei } { SimHei }
- \setCJKfamilyfont { zhkai } { [ simkai.ttf ] }
- \setCJKfamilyfont { zhfs } { [ simfang.ttf ] }
+ \setCJKfamilyfont { zhkai } { KaiTi }
+ \setCJKfamilyfont { zhfs } { FangSong }
%\setCJKfamilyfont { zhli } { LiSu }
%\setCJKfamilyfont { zhyou } { YouYuan }
}
diff --git a/Master/texmf-dist/doc/latex/pkuthss/example/latexmkrc b/Master/texmf-dist/doc/latex/pkuthss/example/latexmkrc
new file mode 100644
index 00000000000..8df2c242c2c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pkuthss/example/latexmkrc
@@ -0,0 +1,14 @@
+# Copyright (c) 2019 Casper Ti. Vector
+# Public domain.
+
+@default_files = ('thesis');
+# 5锛歺elatex锛3锛歭atex锛+ dvipdfmx锛夛紱1锛歱dflatex銆
+$pdf_mode = 5;
+# 鐢 latex 妯″紡缂栬瘧鏃讹紝浣跨敤 dvipdfmx 鑰岄潪榛樿鐨 dvipdf銆
+$dvipdf = "dvipdfmx %O -o %D %S";
+# 姝ら夐」鐩稿叧璇存槑瑙 texdoc latexmk銆
+$bibtex_use = 1.5;
+$biber = "biber -l zh__pinyin --output-safechars %O %S";
+# latexmk -c 鏃惰嚜鍔ㄥ垹闄 .run.xml 鏂囦欢銆
+$clean_ext = "run.xml";
+
diff --git a/Master/texmf-dist/doc/latex/pkuthss/example/spine.tex b/Master/texmf-dist/doc/latex/pkuthss/example/spine.tex
index 27b28feac3c..005e4c3950f 100644
--- a/Master/texmf-dist/doc/latex/pkuthss/example/spine.tex
+++ b/Master/texmf-dist/doc/latex/pkuthss/example/spine.tex
@@ -1,13 +1,13 @@
-% Copyright (c) 2018 Casper Ti. Vector
+% Copyright (c) 2018-2019 Casper Ti. Vector
% Public domain.
-\documentclass[zihao = -4]{ctexart}
+\documentclass[UTF8, zihao = -4]{ctexart}
\usepackage{calc, geometry, graphicx}
\usepackage[defaultsups]{newtxtext}
\usepackage[cmintegrals, varg]{newtxmath}
\pagestyle{empty}
\newlength{\colpad}
-\newcommand{\colwidth}{\ccwd}
+\newcommand{\colwidth}{0.99\ccwd}
% 璁惧畾璁烘枃绾稿昂瀵搞
\geometry{paperwidth = 460mm, paperheight = 297mm, margin = 0cm}
diff --git a/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex b/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex
index 30e05dec555..9c5f042cb4e 100644
--- a/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex
+++ b/Master/texmf-dist/doc/latex/pkuthss/example/thesis.tex
@@ -1,5 +1,5 @@
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2016,2018 Casper Ti. Vector
+% Copyright (c) 2010-2016,2018-2019 Casper Ti. Vector
% Public domain.
%
% 浣跨敤鍓嶈鍏堜粩缁嗛槄璇 pkuthss 鍜 biblatex-caspervector 鐨勬枃妗o紝
@@ -9,12 +9,8 @@
% texdoc biblatex-caspervector
% 璋冨嚭銆
-% 閲囩敤浜嗚嚜瀹氫箟鐨勶紙鍖呮嫭澶у皬鍐欎笉鍚屼簬鍘熸枃浠剁殑锛夊瓧浣撴枃浠跺悕锛
-% 骞舵敼鍔 ctex.cfg 绛夐厤缃枃浠剁殑鐢ㄦ埛璇疯嚜琛屽姞鍏 nofonts 閫夐」锛
-% 鍏跺畠鐢ㄦ埛涓嶇敤鍔犲叆 nofonts 閫夐」锛屽姞鍏ヤ箣鍚庡弽鑰屼細浜х敓閿欒銆
\documentclass[UTF8]{pkuthss}
% 濡傛灉鐨勭‘椤昏浣胯剼娉ㄦ寜椤电紪鍙风殑璇濓紝鍙互鍘绘帀鍚庨潰 footmisc 鍖呯殑娉ㄩ噴銆
-% 娉ㄦ剰锛氬湪鍚敤姝よ瀹氱殑鎯呭喌涓嬶紝鍙兘瑕佸缂栬瘧涓娆′互浜х敓姝g‘鐨勮剼娉ㄧ紪鍙枫
%\usepackage[perpage]{footmisc}
% 浣跨敤 biblatex 鎺掔増鍙傝冩枃鐚紝骞惰瀹氬叾鏍煎紡锛堣瑙 biblatex-caspervector 鐨勬枃妗o級銆