Besides `#:style 'unnumbered` as William says, to avoid the duplicate
key warnings, you more or less have to cons up a new name --- but it
doesn't have to be a visibly distinct section name.
You can either
* use `#:tag "HandinX"` with a different "X" for each "Handin
Instructions" section,
Would this do what you want?
#lang scribble/base
@section{a}
@subsubsub*section{a}
@subsubsub*section{a}
@subsubsub*section{a}
@section{b}
@seclink["a" "section a"]
@subsubsub*section{b}
@subsubsub*section{b}
@subsubsub*section{b}
@section{b}
@subsubsub*section{b}
@subsubsub*section{b}
if anyone stumbles on this later this is also discussed in Kent Dybvig's TSPL4
http://www.scheme.com/tspl4/start.html#./start:h6
from section 2.6:
For example, the definitions of cadr and list might be written as follows.
(define (cadr x)
(car (cdr x)))
(define (list . x) x)
--
You
On Sun, Sep 04, 2016 at 11:50:21AM -0700, Shriram Krishnamurthi wrote:
> Is there a way to have unnumbered and unindexed section? (Yes, these are
> different issues.)
>
> It would be helpful to have unnumbered sections, à la \[sub]section* in LaTeX.
You can use `@section[#:style 'unnumbered]`
merci & danker -
I had just done same-parity exercise using this but did not see the equivalence
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
I hope these examples are enough to help with your problem:
;--
#lang racket
(define (negative . s)
(map - s))
(negative 1 2 3 -4) ; ==> '(-1 -2 -3 4)
(define (multiply-by n . s)
(map (lambda (x) (* n x)) s))
(multiply-by 5 1 2 3) ; ==> '(5 10 15)
(define (count . s)
(length s))
(count 1
Is there a way to have unnumbered and unindexed section? (Yes, these are
different issues.)
It would be helpful to have unnumbered sections, à la \[sub]section* in LaTeX.
It would be especially helpful to have unindexed sections. The real nuisance
I'm trying to avoid is, say I have N sections
two "x" 's also work
(define list (lambda x x))
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options,
is there a define syntax equivalent to this lambda
(define list (lambda x x x))
(list 1 2 3 4 5 "a")
;returns
;'(1 2 3 4 5 "a")
I wanted to write subsets from SICP without
passing the parameter as a list, and a simiar
version of average
(define nil '())
(define (subsets s)
(if (null? s)
9 matches
Mail list logo