Article View: comp.text.tex
Article #143Re: [REAL HACKER'S QUIZ]
From: Peter Schmitt, Vienna
Date: Fri, 30 Oct 1992 15:17
Date: Fri, 30 Oct 1992 15:17
21 lines
1094 bytes
1094 bytes
In article <ORLOFF.92Oct29192755@surya4.cern.ch>, orloff@surya4.cern.ch (Jean Orloff) writes:
> Let me rephrase the heart of my problem: suppose I have a control
> sequence \text containg a_11, b_11, {_1, c_11, }_2. How would I change
> the catcodes of the inner braces???
>
use \show\text !
\def\convert#1{\expandafter\Convert\show#1\endtext}
\def\Convert#1->#2\endtext{#2}
then \convert\text should expand to a text made of other characters and spaces
(I did not test the definitions above, but the method should be clear
Hope this helps!)
Peter
--
Peter Schmitt a8131dal@awiuni11.edvz.univie.ac.at
Institute of Mathematics
University of Vienna schmitt@awirap.bitnet
Technical Details
Message-ID:
<1992Oct30.151744.50@apap4>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!apap4.pap.univie.ac.at!schmittShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!apap4.pap.univie.ac.at!schmitt From: schmitt@apap4.pap.univie.ac.at (Peter Schmitt, Vienna) Newsgroups: comp.text.tex Subject: Re: [REAL HACKER'S QUIZ] Message-ID: <1992Oct30.151744.50@apap4> Date: 30 Oct 92 15:17:44 GMT Organization: Vienna University Computer Center Lines: 21