Aktivni mezera

Z. Wagner wagner at beba.cesnet.cz
Thu Dec 4 14:22:04 CET 1997


On Thu, 4 Dec 1997, Vit Spinka wrote:

> Zdravim vsechny TeXisty,
>
> mam takovy (maly) problem. V jednom svem makru potrebuji,
> aby se kazda mezera nahradila jinym znakem.
> Reseni se mi zda jednoduche --- \catcode`\ =13\let A
> (to zmeni mezeru na A). To sice funguje, ale pouze pokud
> jsou tyhle prikazy dany globalne, tj. ne v expanzi makra.
> Muze mi nekdo poradit?
>
Zde bych Vam doporucil, abyste se podival do TeXbooku nebo do plain.tex,
jak je definovano makro \obeyspaces a udelal to podobne. Jiste bude neco i
v knize TeXbook naruby a krome toho i v archivu teto konference pripadne
ve FAQ (dotazy podobneho typu tu jiz byly).

> Vita
> --
> -------------------------------------------------------------------
> Vit Spinka, Faculty of Math and Physics, Charles University, Prague
> E-mail:     perish at artax.karlin.mff.cuni.cz
> WWW-page:   http://artax.karlin.mff.cuni.cz/~perish
>
> A likely impossibility is always preferable to an unconvincing possibility.
> 		-- Aristotle
> -------------------------------------------------------------------
>

Zdenek Wagner

E. Hala Laboratory of Thermodynamics,
Institute of Chemical Process Fundamentals
of the Academy of Sciences of the Czech Republic
e-mail:wagner at mbox.cesnet.cz  or  wagner at icpf.cas.cz

Local editor of the Bulletin of the Czech and Slovak TeX Users Group,
member of the CSTUG board
e-mail:Zdenek.Wagner at cstug.cz  or  bulletin at cstug.cz  or  zpravodaj at cstug.cz

see also http://www.icpf.cas.cs/wagner/
         http://www.cstug.cz/




More information about the csTeX mailing list