Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will be winged by an anti-aircraft battery.


comp / comp.programming.literate / [?] Question about CWEB syntax

SubjectAuthor
* [?] Question about CWEB syntaxigor.liferenko
`- Re: [?] Question about CWEB syntaxRobert Hartmann

1
Subject: [?] Question about CWEB syntax
From: igor.liferenko@gmail.com
Newsgroups: comp.programming.literate
Organization: Tufts University EECS computing environment
Date: Thu, 7 Apr 2016 22:06 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!reader01.eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.albasani.net!.POSTED!labrador.cs.tufts.edu!not-for-mail
From: igor.liferenko@gmail.com
Newsgroups: comp.programming.literate
Subject: [?] Question about CWEB syntax
Date: Thu, 7 Apr 2016 18:06:58 -0400 (EDT)
Organization: Tufts University EECS computing environment
Lines: 18
Sender: nr@labrador.cs.tufts.edu
Approved: Norman Ramsey <nr@cs.tufts.edu>
Message-ID: <ne6lm2$cou$1@labrador.cs.tufts.edu>
References: <sfid-h-20160315-053847-+19.94-1@multi.osbf.lua>
NNTP-Posting-Host: 0znkyLwK87MXUcw0EFmoIvFe1PExg2Yq5iQcjm7kqHo=
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: news.albasani.net QO8NAR8yI5+ldA4X8xvt30zkul0oWBtd+gljKM/L+/uzTCZ/AodpCoWre8SQOy1doot1KGfq5/jQHRAepBH5Cw==
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Thu, 7 Apr 2016 22:06:59 +0000 (UTC)
Errors-To: /dev/null
Cancel-Lock: sha1:3YTICHCgY2SQvM6YtTqnQC745zI=
View all headers

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

Subject: Re: [?] Question about CWEB syntax
From: Robert Hartmann
Newsgroups: comp.programming.literate
Organization: Aioe.org NNTP Server
Date: Mon, 11 Apr 2016 21:53 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!reader01.eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.albasani.net!.POSTED!labrador.cs.tufts.edu!not-for-mail
From: Robert_Hartmann@gmx.net (Robert Hartmann)
Newsgroups: comp.programming.literate
Subject: Re: [?] Question about CWEB syntax
Date: Mon, 11 Apr 2016 17:53:29 -0400 (EDT)
Organization: Aioe.org NNTP Server
Lines: 34
Sender: nr@labrador.cs.tufts.edu
Approved: Litprog auto-moderator <litprog-admin@cs.virginia.edu>
Message-ID: <neh6cp$lsk$1@labrador.cs.tufts.edu>
References: <sfid-h-20160315-053847-+19.94-1@multi.osbf.lua> <ne6lm2$cou$1@labrador.cs.tufts.edu> <sfid-H-20160411-175329-+27.27-1@multi.osbf.lua>
NNTP-Posting-Host: /dWQSdB/g2nMLoIEV6MsJ/pid2Yk8OSshuNqX7S7HH8=
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.albasani.net EDv0KDfm70YHBUGsgjR4/oH8gFbu2bAp6+FzqQoFRpPALYEQPtbTZjcyAfp9+VuvkyrG6/sKQnsn6pc2fFrMag==
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Mon, 11 Apr 2016 21:53:30 +0000 (UTC)
Errors-To: /dev/null
Cancel-Lock: sha1:qiKL+g8uj/jknEfJp+EEAJGX//U=
View all headers

Hi Igor,

Am 08.04.2016 um 00:06 schrieb igor.liferenko@gmail.com:
> 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.

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

1

rocksolid light 0.9.8
clearnet tor