summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-07 22:21:44 +0000
committerKarl Berry <karl@freefriends.org>2015-12-07 22:21:44 +0000
commit8c1327256a3343e32ed31678b9dc84ae4fd38644 (patch)
treea138eb68277f8dd56b1de2fb079fa0de7208fe57 /Master/texmf-dist/source/latex
parent7b6f2d40e5ceee3427a6050b2f6b159fd03b002a (diff)
bhcexam (7dec15)
git-svn-id: svn://tug.org/texlive/trunk@39041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx23
-rw-r--r--Master/texmf-dist/source/latex/bhcexam/BHCexam.ins214
2 files changed, 113 insertions, 124 deletions
diff --git a/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx b/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx
index b030f7e462d..019d74cba0d 100644
--- a/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx
+++ b/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx
@@ -44,7 +44,7 @@
%<cls>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%<cls>\ProvidesClass{BHCexam}
%<cfg>\ProvidesFile{BHCexam.cfg}
- [2014/02/18 v0.3 BHCexam
+ [2015/10/10 v0.4 BHCexam
%<cls> document class]
%<cfg> configuration file]
%
@@ -81,6 +81,7 @@
% \changes{v0.1}{2011/07/23}{version 0.1}
% \changes{v0.2}{2011/07/27}{version 0.2}
% \changes{v0.3}{2014/02/18}{version 0.3}
+% \changes{v0.3}{2015/10/10}{version 0.4}
%
%
% \DoNotIndex{\begin,\end,\begingroup,\endgroup}
@@ -241,7 +242,8 @@
% \label{sec:Options}
%
% \changes{v0.2}{2011/07/27}{增加UTF8选项以支持pdflatex}
-%
+% \changes{v0.4}{2015/10/10}{取消UTF8选项放弃支持pdflatex}
+
% 宏包的选项用于改变一些缺省的设置。虽然缺省的设置基本能过满足一般用户的
% 使用需要,但用户也可以根据自己的情况,使用这些选项。
%
@@ -253,7 +255,6 @@
% \item[16kpaper] 使用16开纸张(缺省使用A4纸张)。
% \item[noindent] 没有缩进。
% \item[printbox] 显示评分框。
-% \item[UTF8] 用pdflatex编译时需要。
% \end{description}
%
% \subsection{变量}
@@ -345,17 +346,6 @@
%
% \subsection{选项}
%
-%\begin{macro}{\input}
-% \changes{v0.2}{2011/07/27}{改用input语句导入ctex类文件}
-% 导入ctex类的选项
-% \begin{macrocode}
-%<*cls>
-\input{ctex-common-opts.def}
-\input{ctex-class-opts.def}
-\input{ctex-caption-opts.def}
-%</cls>
-% \end{macrocode}
-%\end{macro}
%
% 处理~\BHCexam~文档类的选项
%
@@ -418,11 +408,10 @@
% \end{macrocode}
%
% 导入ctex类的实现
+% \changes{v0.4}{2015/10/10}{修正ctex宏包实现}
% \begin{macrocode}
%<*cls>
-\input{ctex-common.def}
-\input{ctex-caption.def}
-\input{ctex-class.def}
+\RequirePackage{ctex}
%</cls>
% \end{macrocode}
% \subsection{宏包}
diff --git a/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins b/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins
index d832e3c1a85..16f98285391 100644
--- a/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins
+++ b/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins
@@ -1,107 +1,107 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX. It works with Docstrip versions after April 1998.
-%%
-%% Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
-%%
-%% This file is part of the BHCexam package project.
-%% ---------------------------------------------------
-%%
-%% It may be distributed under the conditions of the LaTeX Project Public
-%% License, either version 1.2 of this license or (at your option) any
-%% later version. The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.2 or later is part of all distributions of LaTeX
-%% version 1999/12/01 or later.
-%%
-%% In particular, NO PERMISSION is granted to modify the contents of this
-%% file since it contains the legal notices that are placed in the files
-%% it generates.
-%%
-%%
-%%
-%%
-%% --------------- start of docstrip commands ------------------
-%%
-
-\input docstrip
-
-\preamble
-
-This is a generated file.
-
-Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
-
-This file was generated from file(s) of the BHCexam package project.
-----------------------------------------------------------------------
-
-It may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.2
-of this license or (at your option) any later version.
-The latest version of this license is in
- http://www.latex-project.org/lppl.txt
-and version 1.2 or later is part of all distributions of LaTeX
-version 1999/12/01 or later.
-
-This file may only be distributed together with a copy of original
-source files. You may however distribute original source files
-without such generated files. Copying of this file is authorized
-only if either:
-(1) you make absolutely no changes to your copy, including name; OR
-(2) if you do make changes, you first rename it to some other name.
-
-To produce the documentation run the original source files ending
-with `.dtx' through LaTeX.
-
-\endpreamble
-
-\declarepreamble\cfgpreamble
-
-This is a generated file.
-
-Copyright (C) 2014 by Charles Bao <charley792@gmail.com>
-
-This file was generated from file(s) of the BHCexam package project.
-----------------------------------------------------------------------
-
-It may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.2
-of this license or (at your option) any later version.
-The latest version of this license is in
- http://www.latex-project.org/lppl.txt
-and version 1.2 or later is part of all distributions of LaTeX
-version 1999/12/01 or later.
-
-This is the configuration file of the BHCexam package with LaTeX2e.
-
-\endpreamble
-
-\askonceonly
-\keepsilent
-\usedir{tex/latex/BHCexam}
-
-\generate{\file{BHCexam.cls}{\from{BHCexam.dtx}{cls}}
- \usepreamble\cfgpreamble
- \file{BHCexam.cfg}{\from{BHCexam.dtx}{cfg}}
- }
-
-\ifToplevel{
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* files into a directory searched by TeX:}
-\Msg{*}
-\Msg{* The recommended directory is TEXMF/tex/latex/BHCexam}
-\Msg{*}
-\Msg{* \space\space BHCexam.cls}
-\Msg{* \space\space BHCexam.cfg}
-\Msg{*}
-\Msg{* To produce the documentation run the files ending with}
-\Msg{* `.dtx' through LaTeX.}
-\Msg{*}
-\Msg{* Happy TeXing}
-\Msg{***********************************************************}
-}
-
-\endbatchfile
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the doc files in this package when run through
+%% LaTeX or TeX. It works with Docstrip versions after April 1998.
+%%
+%% Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
+%%
+%% This file is part of the BHCexam package project.
+%% ---------------------------------------------------
+%%
+%% It may be distributed under the conditions of the LaTeX Project Public
+%% License, either version 1.2 of this license or (at your option) any
+%% later version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.2 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+%% In particular, NO PERMISSION is granted to modify the contents of this
+%% file since it contains the legal notices that are placed in the files
+%% it generates.
+%%
+%%
+%%
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+
+\input docstrip
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
+
+This file was generated from file(s) of the BHCexam package project.
+----------------------------------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.2
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.2 or later is part of all distributions of LaTeX
+version 1999/12/01 or later.
+
+This file may only be distributed together with a copy of original
+source files. You may however distribute original source files
+without such generated files. Copying of this file is authorized
+only if either:
+(1) you make absolutely no changes to your copy, including name; OR
+(2) if you do make changes, you first rename it to some other name.
+
+To produce the documentation run the original source files ending
+with `.dtx' through LaTeX.
+
+\endpreamble
+
+\declarepreamble\cfgpreamble
+
+This is a generated file.
+
+Copyright (C) 2014 by Charles Bao <charley792@gmail.com>
+
+This file was generated from file(s) of the BHCexam package project.
+----------------------------------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.2
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.2 or later is part of all distributions of LaTeX
+version 1999/12/01 or later.
+
+This is the configuration file of the BHCexam package with LaTeX2e.
+
+\endpreamble
+
+\askonceonly
+\keepsilent
+\usedir{tex/latex/BHCexam}
+
+\generate{\file{BHCexam.cls}{\from{BHCexam.dtx}{cls}}
+ \usepreamble\cfgpreamble
+ \file{BHCexam.cfg}{\from{BHCexam.dtx}{cfg}}
+ }
+
+\ifToplevel{
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* The recommended directory is TEXMF/tex/latex/BHCexam}
+\Msg{*}
+\Msg{* \space\space BHCexam.cls}
+\Msg{* \space\space BHCexam.cfg}
+\Msg{*}
+\Msg{* To produce the documentation run the files ending with}
+\Msg{* `.dtx' through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing}
+\Msg{***********************************************************}
+}
+
+\endbatchfile