Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/generic/catcodes

               README for the `catcodes' bundle
                   (C) Uwe Lueck 2012/09/20

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

Please report bugs, problems, and suggestions via


Name Notes


Name Size Date Notes
README 1835 2012-09-20 12:54

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

cat­codes – Generic han­dling of TeX 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 TeX 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.

Pack­age De­tailscat­codes
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2012 Uwe Lück
Main­tainerUwe Lück
Con­tained inTeXlive as cat­codes
MikTeX as cat­codes
Topics macros that are in­de­pen­dent of the (TeX) for­mat in use
man­age (pos­si­bly lan­guage de­pen­dent) quote marks
sup­port for de­vel­op­ment of (La)TeX macros
Guest Book Sitemap Contact