Update of /var/cvs/cjk/texinput
In directory genba:/tmp/cvs-serv10048/texinput

Modified Files:
        CJK.sty 
Log Message:


* texinput/CJK.sty ([EMAIL PROTECTED]): New macro.
Update all affected files where possible to use it instead of
[EMAIL PROTECTED]  This fixes a bug reported by Danai which made
\chapter work in the `scrartcl' article class (instead of
reporting an error) after using a CJK caption file.

* doc/history.txt: Updated.


Index: CJK.sty
===================================================================
RCS file: /var/cvs/cjk/texinput/CJK.sty,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** CJK.sty     1 Sep 2006 06:12:11 -0000       1.28
--- CJK.sty     16 Sep 2006 05:24:51 -0000      1.29
***************
*** 57,60 ****
--- 57,73 ----
  
  
+ % the use of the internal LaTeX macro [EMAIL PROTECTED]' can be slightly
+ %    irritating. After it has been called, the tested macro is no
+ %    longer undefined but expands to \relax. Where possible, we use
+ %    the following macro which doesn't have this side effect.
+ 
+ [EMAIL PROTECTED]
+   \ifx [EMAIL PROTECTED]
+     [EMAIL PROTECTED]
+   \else
+     [EMAIL PROTECTED]
+   \fi
+ }
+ 
  % our input macro. For compatibility with ArabTeX, the catcode of `<'
  %     is preserved.
***************
*** 708,712 ****
  
  [EMAIL PROTECTED]
!   [EMAIL PROTECTED]@plane}
      [EMAIL PROTECTED] \relax%         % old definition
         [EMAIL PROTECTED]
--- 721,725 ----
  
  [EMAIL PROTECTED]
!   [EMAIL PROTECTED]@plane
      [EMAIL PROTECTED] \relax%         % old definition
         [EMAIL PROTECTED]
***************
*** 796,800 ****
    [EMAIL PROTECTED]@verbatim}{
      \renewcommand{\CJKglue}{}}}
! [EMAIL PROTECTED]@verbatim}
    [EMAIL PROTECTED]
    {}
--- 809,813 ----
    [EMAIL PROTECTED]@verbatim}{
      \renewcommand{\CJKglue}{}}}
! [EMAIL PROTECTED]@verbatim
    [EMAIL PROTECTED]
    {}


_______________________________________________
Cjk-commit maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk-commit

Reply via email to