You two make it sound as if I was ages behind the state of the art. What would you use nowadays to do literate programming (in C)? I just use cweb because it creates quite satisfying results and when I started, it seemed to be the most common solution. Thanks a lot for the quick response. Seems like I just got caught up on the highlighting. Since "@language c" etc. gets highlighted in green, while "@language cweb" does not and the in-text-highlighting when just using the second one looks quite weird, I probably never really tried if it worked anyway.
Since I know how it works now, I've even found a way to get the highlighting right: By just writing "@language c" and erasing it right after, the code in starred sections (the ones beginning with "@*" instead of "@ ") looks just as I would want it. Unfortunately this trick doesn't work for the regular "@ " sections, because they just look like comments all through including the @c-part which comes after the describing lines. But this isn't all that important, I'm just happy that I can use leo to write cweb now. Thank you so much again, have a great day, Henry 2011/6/24 Ville Vainio <[email protected]> > Why are you trying to use cweb? Any particular reason? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
