CTAN Comprehensive TeX Archive Network

New on CTAN: idxcmds

Date: September 3, 2013 10:48:07 AM CEST
the daemon reports: > The following information was provided by the package's contributor. > > Name of contribution: idxcmds > Author's name: Clemens Niederberger > Package version: 0.2b > Location on CTAN: macros/latex/contrib/idxcmds/ > Summary description: define semantic commands for adding formatted index entries > License type: lppl > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > When working on a larger document and designing and writing the macros > for various bits and pieces I was going to use I found myself > repeatedly writing the same kind of macros again and again that had > some kind of semantic meaning, maybe some markup definitions that also > created an index entry and had a star form for omitting the index > entry. They all had more or less the following structure: > > \makeatletter > \newcommand*\cmd{\@ifstar\cmd at star\cmd at nostar} > \newcommand*\cmd at star[1]{\cmd at base{#1}} > \newcommand*\cmd at nostar[1]{\cmd at base{#1}\cmd at idx{#1}} > \newcommand*\cmd at base[1]{\textit{#1}} > \newcommand*\cmd at idx[1]{\index{#1@\cmd at base{#1}}} > \makeatother > > After having copied and pasted this code for the n-th time I thought: > you should have a command that does this for you. That was when > \newidxcmd was born. This command soon enough got some extensions, > e.g., giving the commands thus defined an optional argument that > allowed specifying the sorting. It wasn't long before I realized that > I might want to use this \newidxcmd again in other documents so here > we are with a new package: `idxcmds' > ---------------------------------------------------------------------- > > Users may view the package catalogue entry at > http://www.ctan.org/pkg/idxcmds > or they may browse the package directory at > http://mirror.ctan.org/macros/latex/contrib/idxcmds/ thanks for the upload; i've installed the new package, and made an entry for it in the catalogue repository. Robin Fairbairns For the CTAN team

idxcmds – Semantic commands for adding formatted index entries

The package provides commands for adding formatted index entries; it arises from the author’s work on large documents.

Packageidxcmds
Version0.2c 2015-08-13
Copyright2012–2015 Clemens Niederberger
MaintainerClemens Niederberger

Announcements

more

Guest Book Sitemap Contact Contact Author