#lang planet dyoo/scribble-bootstrap:1 @title{Example} @; Note: this document can be generated in different contexts. @; @; E.g.: $ SCRIBBLE_TAGS=student scribble example.scrbl @; vs $ SCRIBBLE_TAGS=teacher scribble example.scrbl @; vs $ SCRIBBLE_TAGS="student teacher" scribble example.scrbl @declare-tags[student teacher robot] @declare-data-repository["bootstrap-data-repository.hashcollision.org"] @image["bootstrap.gif"] @;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @section{Conditional output} Untagged content shows for everyone. @tag[student]{ @subsection{For students} This is a message that a stupendous student should be able to see. } @tag[teacher]{ @subsection{For teachers} This is a message that a terrific teacher can take in. } @;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @tag[(student teacher)]{ @subsection{For either students or teachers} This is a message that either a student or teacher can see. A robot would not see this message, however. } @tag[teacher]{ @tag[student]{ @subsection{Only when both teacher and student tags are enabled} Hello world. } } @;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @section{Fill in the blank} Here is a fill-in-the-blank: @fill-in-the-blank[#:id "first-example"]. And another: @fill-in-the-blank[#:id "first-name" #:label "First name" #:columns 90] @fill-in-the-blank[#:id "last-name" #:label "Last name" #:columns 90]. @section{Free response} This is a free-response: @free-response[#:id "mytext"]. @section{Embedded wescheme} This is an embedded-wescheme instance: @embedded-wescheme[#:id "example1" #:public-id "champ-neigh-stoop-sinew-overt" #:width "70%"] Here is another one: @embedded-wescheme[#:id "example3" #:interactions-text "(+ 1 2 3)" #:hide-header? #t #:hide-footer? #t #:hide-definitions? #t]