[NTG-context] Verbatim with linebreaks sillyness

Taco Hoekwater taco at elvenkind.com
Sat Aug 6 23:03:37 CEST 2005


Eugene Toporov wrote:
> Taco,
> 
> Just tried this and it is really cool!
> But how can I make spaces without the special space character?

Like so:

   \def\BREAKtypeone#1%
    {\advance\BREAKcharcounter 1
     \ifnum\BREAKcharcounter > \BREAKmaxcharcount
        \hfil\break
        \BREAKcharcounter=1
     \fi
     \ifnum#1=32 % the character number for a space
        \setbox\scratchbox=\hbox{0}%
        \kern \wd\scratchbox
     \else
        \getpretty{#1}%
     \fi}

Cheers again, Taco


More information about the ntg-context mailing list