Re: TeX -- cweb format word
- On Fri, Sep 28, 2001 at 10:34:41AM +0200, Ingo Krabbe wrote:
> But now to my own question:Hello,
> Using cweb format, which mixes tex and C code has one great disadvantage which
> I didn't solved for now: The word size isn't distinguished between tex and c
> sections. If you use C names with a '_' in it tex will think of three words:
> For example:
> pthread_create is pthread,_,create.
> That's not very nice since its very common to use these '_'.
> Any tips ?
You may add '_' to iskeyword; it is usually only small annoyance in TeX
as usually used in the cweb. Or, if your use is word completition, you may
make use of <C-P><C-X><C-P> to get rest of the text.
By the way, I find also convenient in cweb sources to map @< to
set 'iskeyword' to be all but @, so that I can use <C-P> to scroll
through already used section names (and @> map to setting previus