Comprehensive TeX Archive Network

Direc­tory macros/generic/catcodes

               README for the `catcodes' bundle
                   (C) Uwe Lueck 2015/11/14

The `catcodes' bundle deals with category code switching. 
The contained packages should work with LaTeX as well as without 
(based on the `plainpkg' package). The important cases of category 
codes are 
(a) "private letters" for internal package commands and 
(b) active characters. 
`stacklet.sty' deals with (a), `actcodes.sty' with (b). 
There also is 
(c) `catchdq.sty', an application of (b), 
for automatic insertion of typographical double quotes 
when the user only enters ASCII double quotes. What is 
"typographical" differs between languages, the new `langcode' 
package completes `catchdq''s functionality in this respect.

The documentation for the three package files is contained 
in the file `catcodes.pdf'.

REQUIRED PACKAGES: plainpkg, stacklet

RELATED PACKAGES: catoptions, pcatcode (amsrefs), texapi, csquotes

KEYWORDs: macro programming, category codes, private letters, 
    active characters, double quotes

The package files `actcodes.sty', `catchdq.sty', and 
`stacklet.sty', together with the documentation files
`catcodes.pdf' and `catcodes.tex', can be redistributed and/or
modified under the terms of the LaTeX Project Public License;
either version 1.3c of the License, or any later version, see


There is NO WARRANTY, actually all of this still is a little 

The `catcodes' bundle is author-maintained in the sense of
the license.

The latest public version of the bundle is available at


A TDS version of the package is available as


The file `catcodes.RLS' summarizes bundle releases. With the 
`typeoutfileinfo' package, the command

    typeoutfileinfo catcodes.RLS

tells which release is installed on your system. Similar packages 
are `ltxfileinfo' by Wybo Dekker and `latexfileversion' by Harald

Please report bugs, problems, and suggestions via


Down­load the con­tents of this pack­age in one zip archive (544.1k).

cat­codes – Generic han­dling of cat­e­gory codes

The bun­dle deals with cat­e­gory code switch­ing; the pack­ages of the bun­dle should work with any for­mat (with the sup­port of the plainpkg pack­age).

The bun­dle pro­vides:

  • stack­let.sty, which sup­ports stacks that con­trol the use of dif­fer­ent cat­codes;
  • act­codes.sty, which deals with ac­tive char­ac­ters; and
  • catchdq.sty, which pro­vides a sim­ple quo­ta­tion char­ac­ter con­trol mech­a­nism.

Ver­sionr0.2 2015-11-14
Li­cense The Project Public Li­cense 1.3
Main­tainer Uwe Lück
TDS archivecatcodes.tds.zip
Con­tained inTeX Live as cat­codes
MiKTeX as cat­codes
Topics macros that are in­de­pen­dent of the () for­mat in use
man­age (pos­si­bly lan­guage de­pen­dent) quote marks
sup­port for de­vel­op­ment of macros
Guest Book Sitemap Contact Contact Author