Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[?] Question about CWEB syntax

37 views
Skip to first unread message

igor.li...@gmail.com

unread,
Apr 7, 2016, 6:06:59 PM4/7/16
to
Hi all,

In the following files from

http://www-cs-faculty.stanford.edu/~uno/programs.html

we see three different styles for index text:

polynum.w @^Jensen, Iwan@>
embed.w @^{early neighbors}@>
setset-all.w ^{Kerber, Adalbert}

Which of the three styles is correct and why?

BTW, the last example does not compile with TeX.

Best,
Igor

Robert Hartmann

unread,
Apr 11, 2016, 5:53:30 PM4/11/16
to
Hi Igor,
From the CWEB User Manual:
http://www.literateprogramming.com/cweb.pdf (page 8)

@^[TMCc] * The control text that follows, up to the next ‘@>’, will be
entered into the index together with the identifiers of the C program;
this text will appear in roman type. For example, to put the phrase
“system dependencies” into the index that is output by CWEAVE,
type ‘@^system dependencies@>’ in each section that you want to
index as system dependent.



Best regards,
Robert

0 new messages