bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

text.txt (1623B)


      1 Document
      2 
      3 This document exercises various constructs to check text output.
      4 
      5 1. Part A
      6 
      7 Scribble is a collection of tools for creating prose documents—papers,
      8 books, library documentation, etc.—in HTML or PDF (via Latex) form. More
      9 generally, Scribble helps you write programs that are rich in textual
     10 content, whether the content is prose to be typeset or any other form of
     11 text to be generated programmatically.
     12 
     13 1.1. A Subsection
     14 
     15 Here’s some Racket code:
     16 
     17   (define half (lambda (x)
     18                  (x x)))  
     19   (x x)                   
     20 
     21 1.2. Another Subsection
     22 
     23  (require racket/base) package: base
     24 
     25 (cons car cdr) -> stuff?
     26   car : (or/c #f        
     27               other?)   
     28   cdr : any?            
     29 
     30 Ok?
     31 
     32 2. B
     33 
     34 * Run
     35 
     36     scribble --pdf mouse.scrbl
     37 
     38   to generate PDF as "mouse.pdf". This will work only if you have
     39   pdflatex installed. If you’d like to see the intermediate Latex, try
     40 
     41     scribble --latex mouse.scrbl
     42 
     43   to generate "mouse.tex".
     44 
     45 * Run
     46 
     47     scribble --html mouse.scrbl
     48 
     49   to generate HTML as "mouse.html".  You may notice that the apostrophe
     50   in “he’s” turned into a curly apostrophe.
     51 
     52 * Run
     53 
     54     scribble --htmls mouse.scrbl
     55 
     56   to generate HTML as "mouse/index.html". Sub-sections (which we add
     57   next) will appear as separate HTML files in the "mouse" directory.
     58 
     59 Run the scribble command(s) from the old section again. You may notice
     60 the curly double-quotes in the output, and the --- turned into an em
     61 dash.
     62 
     63 3. C
     64 
     65 3.1. Inside C
     66 
     67 Section C had no text before its subsections.
     68 
     69 3.2. Inside C, Again
     70 
     71 But the subsections have text.