Skip to content

Compiling the `accessibility` package for use in LaTeX

Andy edited this page Sep 8, 2019 · 2 revisions

Where is the Accessibility Package?

The source/accessibility.sty style file provides the accessibility package that is used by LaTeX. This file can be found in /source.

Users are advised to download a version from CTAN or use the most recent release at https://github.com/AndyClifton/accessibility/releases.

How is accessibility.sty generated?

/source/accessibility.sty is produced by running /source/batch.tex through latex to process access.tex and produce accessibility.sty.

If you look at /source/batch.tex you'll see that the docstrip utility is used:

\def\batchfile{batch.tex}
\input docstrip.tex
\generateFile{accessibility.sty}{f}{\from{access.tex}{package}}

To keep things simple(ish) I use symbolic links from the samples directories back to source/accessibility.sty. This allows me to have just one copy of the accessibility.sty file in this repository.