Path: utzoo!attcan!uunet!van-bc!jtc From: jtc@van-bc.wimsey.bc.ca (J.T. Conklin) Newsgroups: comp.text.tex Subject: \uppercase & \lowercase (was Re: LaTeX Indexing) Message-ID: <488@van-bc.wimsey.bc.ca> Date: 11 Jun 90 19:21:09 GMT References: <486@van-bc.wimsey.bc.ca> <3430@ruuinf.cs.ruu.nl> Organization: UniFax Communications Inc., Vancouver, B.C., Canada Lines: 27 In article <3430@ruuinf.cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) writes: >\uppercase and \lowercase are strange beasts, as they are not expandable >(evaluation is a non-TeX term), this means that they only do something when >they are processed in TeX's ``stomach'', i.e. when they are about to be >processed as output. The converted token list is then again read as input. >So in this case the following will probably work: > >\lowercase{\index{#1}} Thanks Piet, I tried reversing the \index and \lowercase in the macros and they worked fine. No more editing the index file by hand... for now. But eventually, I may need to add an index entry which is an acronym or something like that and shouldn't be lowercased. Is there any way to build a \dictcase macro that would convert text as follows: TEXT -> TEXT Text -> text text -> text --jtc -- J.T. Conklin UniFax Communications Inc. ...!{uunet,ubc-cs}!van-bc!jtc, jtc@wimsey.bc.ca