CTAN Comprehensive TeX Archive Network

Directory 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


Download the contents of this package in one zip archive (544.1k).

catcodes – Generic handling of category codes

The bundle deals with category code switching; the packages of the bundle should work with any format (with the support of the plainpkg package).

The bundle provides:

  • stacklet.sty, which supports stacks that control the use of different catcodes;
  • actcodes.sty, which deals with active characters; and
  • catchdq.sty, which provides a simple quotation character control mechanism.

Versionr0.2 2015-11-14
LicensesThe Project Public License 1.3
MaintainerUwe Lück (deceased)
TDS archivecatcodes.tds.zip
Contained inTeX Live as catcodes
MiKTeX as catcodes
TopicsGeneric Macros
Macro support
Quote marks
Guest Book Sitemap Contact Contact Author