diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-29 23:55:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-29 23:55:32 +0000 |
commit | a681f41430ebe5ee64b72726481e4e63c66e2230 (patch) | |
tree | 2d69d57fadd4a760a139163f4e9ee29649e71968 /Master/texmf-dist/tex/latex/ctex/ctexrep.cls | |
parent | 31f6269664044a69f424fbeb879fbf83e230a844 (diff) |
ctex (29jan18)
git-svn-id: svn://tug.org/texlive/trunk@46474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/ctexrep.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/ctexrep.cls | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/ctexrep.cls b/Master/texmf-dist/tex/latex/ctex/ctexrep.cls index e488ffac6d7..c6c4a38df7f 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctexrep.cls +++ b/Master/texmf-dist/tex/latex/ctex/ctexrep.cls @@ -6,7 +6,7 @@ %% %% ctex.dtx (with options: `class,report') %% -%% Copyright (C) 2003--2017 +%% Copyright (C) 2003--2018 %% CTEX.ORG and any individual authors listed in the documentation. %% ------------------------------------------------------------------------------ %% @@ -28,10 +28,10 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\GetIdInfo$Id: ctex.dtx f5ff957 2017-11-22 19:13:13 +0800 Qing Lee <sobenlee@gmail.com> $ +\GetIdInfo$Id: ctex.dtx dd8349e 2018-01-28 19:10:52 +0800 Qing Lee <sobenlee@gmail.com> $ {Chinese adapter for class report (CTEX)} \ProvidesExplClass{ctexrep} - {\ExplFileDate}{2.4.11}{\ExplFileDescription} + {\ExplFileDate}{2.4.12}{\ExplFileDescription} \tl_const:Nx \c__ctex_version_tl { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } } \cs_new_eq:cN { ver@ctex. \@pkgextension } \c__ctex_version_tl @@ -46,7 +46,7 @@ `l3kernel'~and~`l3packages'\\\\ using~your~TeX~package~manager~or~from~CTAN. } -\@ifpackagelater { expl3 } { 2017/07/19 } { } +\@ifpackagelater { expl3 } { 2017/12/16 } { } { \msg_error:nnn { ctex } { l3-too-old } { expl3 } } \@ifpackagelater { l3keys2e } { 2015/12/20 } { } { \msg_error:nnn { ctex } { l3-too-old } { l3keys2e } } @@ -594,8 +594,7 @@ proofname .tl_set:N = \proofname , bibname .tl_set:N = \bibname } -\seq_new:N \c__ctex_section_headings_seq -\seq_gset_from_clist:Nn \c__ctex_section_headings_seq +\seq_const_from_clist:Nn \c__ctex_section_headings_seq { section , subsection , subsubsection , paragraph , subparagraph } \seq_new:N \c__ctex_headings_seq \seq_gset_eq:NN \c__ctex_headings_seq \c__ctex_section_headings_seq @@ -1056,8 +1055,7 @@ } \cs_new_protected_nopar:Npn \CTEX@makeanchor #1 { } -\seq_new:N \c__ctex_headings_cs_seq -\seq_gset_from_clist:Nn \c__ctex_headings_cs_seq +\seq_const_from_clist:Nn \c__ctex_headings_cs_seq { part , spart , chapter , schapter , sect , ssect } \seq_map_inline:Nn \c__ctex_headings_cs_seq { @@ -1424,7 +1422,7 @@ } \normalsize \NewDocumentCommand \CTeX { } - { \ifincsname CTeX \else: C \TeX \fi: } + { C \TeX } \ctex_at_end_package:nn { hyperref } { \pdfstringdefDisableCommands { \tl_set:Nn \CTeX { CTeX } } } \keys_define:nn { ctex } |