Commit Graph

749 Commits

Author SHA1 Message Date
Eli Barzilay
4d11d12c40 The reader for "#lang scribble/html".
(Somehow wasn't included in the earlier commit.)
2010-11-01 08:25:35 -04:00
Matthew Flatt
aa7c4b53d9 add `codeblock' to Scribble 2010-10-31 07:09:27 -06:00
Eli Barzilay
58febe21a0 Move the #%top' binding that makes foo:' keywords self evaluating from
`scribble/html/lang' to `scribble/html'.

Since `foo:' keywords are very common in any code that uses
`scribble/html', it is much more convenient to have it provide the
custom `#%top'.  It simplifies code that uses it, for example, files in
`meta/web/common' now use

  #lang at-exp racket/base
  (require scribble/html)

instead of the (only-in scribble/html/lang #%top) which it used before,
or instead of explicitly quoting all `foo:'s.
2010-10-28 17:31:22 -04:00
Robby Findler
68b06b42d9 add missing for-label require 2010-10-28 11:32:14 -05:00
Eli Barzilay
69a490c10b More name improvements: scribble/text/textlang' -> scribble/text/lang'
and the same for `scribble/html/lang'.
2010-10-26 16:17:09 -04:00
Eli Barzilay
82221a51db Make the scribble/html' layout mimic the one for scribble/text'.
Ie, the difference between using it as a language and as a module is now
the same in both.  Also, improve `scribble/html' (and
`scribble/html/htmllang') by reproviding most of the corresponding text
modules.

Change `meta/web' accordingly, and improve code by making a new langugae
(`#lang meta/web').  This language is similar to `scribble/html' except
that it uses the plain scribble reader (not the `-inside' one), it
doesn't use the customized module-begin feature (that uses
`output-xml'), and it adds all the relevant bits of `meta/web/common'.
(Also, "meta/web/common.rkt" is gone, since it's used only as a language
now.)

This commit has lots of details and binding games, so it's tricky, and
potentially caused some problems.  (Took me a while to track many
breakages, so I won't be surprised if there are more.)
2010-10-26 15:36:29 -04:00
Eli Barzilay
ca040ea42a Move meta/web/html' to scribble/html'.
(See http://lists.racket-lang.org/dev/archive/2010-October/004691.html
for a discussion on calling it `html' rather than `xhtml'.)
2010-10-26 13:50:17 -04:00
Eli Barzilay
7ac83e25c9 Provide `process-begin/text' to make it convenient to define more
`scribble/text'-like languages.  Use it to define a convenient syntax
for html modules.

This is not used by the web content files since they define functions
rather than spit out html when required, but makes it convenient to make
an html markup language similar to scribble/text.
2010-10-26 07:21:11 -04:00
Matthew Flatt
6ac33a62be set `read-accept-lang' to #t by default, plus related adjustments
including adding some uses of `with-module-read-parameterization'
 so that `read-accept-lang' is set right anyway; still, so many
 many places just set `read-accept-reader' to #t that making
 `read-accept-lang' #f by default looks like too big of an
 incompatibility
2010-10-08 19:01:33 -06:00
Jay McCarthy
b9b7bb784a Stupidly forgot to adjust pattern mentioned in the place that I changed 2010-10-07 18:35:25 -06:00
Jay McCarthy
c74c94d6fd Allowing full require spec stx in require/doc 2010-10-07 17:24:39 -06:00
Robby Findler
711fe50641 made proc/doc recognize ->i contracts 2010-09-09 14:21:35 -05:00
Jay McCarthy
bd14fbb4ee Autosaving when Scribble buttons are clicked 2010-08-26 17:14:09 -06:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Matthew Flatt
a19899898f change Scribble's interaction', etc. to use non-default current-print'
to format results, if one is installed in a sandboxed evaluator
2010-08-24 20:50:46 -06:00
Matthew Flatt
0b71f65ba9 fix rendering of constructor style struct value's first field 2010-08-24 07:19:15 -06:00
Matthew Flatt
31f6a0da4e fix Scribble `racket' rendering of quotes
which used to trigger too much space after a quoted form
2010-08-24 06:05:29 -06:00
Jon Rafkind
65c245cdc7 move purpose statements to the info files 2010-08-23 15:13:00 -06:00
Jon Rafkind
bdf98ebbe2 add README files for scribble directories 2010-08-23 10:06:45 -06:00
Matthew Flatt
d97ee68867 adjust Scribble to sync filename case with uses 2010-08-17 17:32:22 -06:00
Matthew Flatt
656321dbcb add optional #:key' argument to tech' and `techlink'
to specify the defined technical term separate from the link content
2010-08-03 12:48:03 -06:00
Robby Findler
f96ed0632a improved contract 2010-07-31 09:40:04 -05:00
Sam Tobin-Hochstadt
dba04c8aea Add @nocopyright option to scribble/sigplan. 2010-07-26 11:43:33 -04:00
Matthew Flatt
5f1aa418f3 add collection-file-path and splace collection trees at the file level 2010-07-25 11:01:09 -05:00
Kevin Tew
81c4275220 Fix cross references 2010-07-24 23:06:43 -06:00
Matthew Flatt
96d528db9e fix Scribble Latex rendering of consecutive dashes and quotes 2010-07-24 20:43:17 -05:00
Kevin Tew
5bb2e148de Parallel docs build 2010-07-22 02:39:57 -06:00
Matthew Flatt
8cb0b6fd7b fix relative URLs in single-page Scribble HTML output
Merge to v5.0.1
2010-07-16 03:38:28 -06:00
Jay McCarthy
1dfb50460a Revert "Do not actually use dependent contracts in provide/doc if there is no dependency"
This reverts commit 334978a8e4.
2010-07-15 10:23:06 -06:00
Jay McCarthy
334978a8e4 Do not actually use dependent contracts in provide/doc if there is no dependency 2010-07-15 09:52:30 -06:00
Matthew Flatt
b37799f42c scribble/doclang extends racket/base instead of scheme/base 2010-06-30 15:49:00 -06:00
Jay McCarthy
ba31d8c429 Fixing contracts and a little less allocation 2010-06-25 07:10:52 -06:00
Jay McCarthy
0ed6e4a396 This seems to fix pr10980 2010-06-25 07:10:51 -06:00
Jay McCarthy
27d8f5a039 Adding contracts to track down problem 2010-06-25 07:10:51 -06:00
Sam Tobin-Hochstadt
ab70fed8a8 Scheme -> Racket in styles
Scribble style names.
 .tex and .css files
2010-06-08 16:40:47 -04:00
Matthew Flatt
7a2ac10e0f change Scribble HTML button to set current-directory while running
Closes PR 10944
 Merge to v5.0
2010-05-31 14:02:42 -06:00
Matthew Flatt
c18603f767 add racketresultblock, etc. to Scribble 2010-05-31 13:55:16 -06:00
Eli Barzilay
d0ecc73df5 More plt-scheme -> racket-lang, specifically for planet and bugs urls. 2010-05-31 15:11:27 -04:00
Matthew Flatt
e8fe67991e fix problem using both #:doc and #:tag-prefixes for secref
Merge to v5.0
2010-05-25 09:20:03 -06:00
Matthew Flatt
6dec677308 Fix problem with scribble/lp and dotted forms
Closes PR 10924
 Merge to v5.0
2010-05-24 10:03:55 -06:00
Matthew Flatt
f5a0b9e613 fix scribble/xref 2010-05-22 08:46:43 -06:00
Matthew Flatt
18b06a9297 add `margin-note*' for putting a single-para note in the middle of a para 2010-05-21 19:40:33 -06:00
Matthew Flatt
141a37e50d Fix Scribbling and eval-result copying of hasheqv/hasheq tables
Closes PR 10918
2010-05-21 19:40:33 -06:00
Matthew Flatt
8b7c8d08bd add fix-point finding traverse pass to Scribble 2010-05-21 19:40:33 -06:00
Matthew Flatt
94a55281c1 fix problems with Scribble HTML and PDF buttons 2010-05-21 07:15:39 -06:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Matthew Flatt
bb26115591 add 'filebox' Scribble function 2010-05-16 17:28:55 -06:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
bb263675b6 Rename "drscheme-button*" -> "drracket-button*"; fix bad reference to "drscheme/syncheck-drracket-button". 2010-05-16 18:26:25 -04:00