Commit Graph

777 Commits

Author SHA1 Message Date
Kevin Tew
f7d89009a4 [Scribble] Fix width of multicolumn table cells 2011-02-16 09:26:17 -07:00
Matthew Flatt
1a5f41fd71 Scribble: fix multi-line print output
Closes PR 11735
2011-02-14 07:32:21 -07:00
Sam Tobin-Hochstadt
6099806a72 codeblock:
fix language regexp to accept numbers in #lang
2011-02-03 17:42:33 -05:00
Matthew Flatt
46dc2d6683 Scribble: improve interaction', examples', etc. for non-text
by setting the default output port in the sandbox to support
 content as "specials" when `current-print' is changed
2011-01-29 09:55:40 -06:00
Matthew Flatt
c8e3d45dae make `codeblock' work without a #lang line
but revise docs to clarify that a #lang line is really expected
 Closes PR 11385
2011-01-16 19:12:38 -07:00
Matthew Flatt
090f82cc0b fix `codeblock' interaction with reader macros
Closes PR 11386
2011-01-16 18:35:03 -07:00
Matthew Flatt
b1e13e7f3f fix `codeblock' linking
Closes PR 11624
2011-01-16 13:37:22 -07:00
Matthew Flatt
f64b52052f fix Scribble serialization of search-redirected links 2011-01-11 13:24:34 -07:00
Matthew Flatt
a9bedcc69d change Scribble HTML to use `object' tag for SVG 2011-01-10 16:41:17 -07:00
Matthew Flatt
b2877336f7 support ".svg" in scribble/base' image' for HTML output 2011-01-10 16:41:16 -07:00
Robby Findler
49952e580b adjust scribble's in-drracket html generator button to use the sandbox so user code cannot corrupt drracket.
related to PR 11601
2011-01-08 16:37:58 -06:00
Matthew Flatt
7852408f8a Scribble: prevent linebreaks after leading hyphens on identifiers 2011-01-07 09:48:03 -07:00
Matthew Flatt
21d324a169 Scribble soft-hyphen support for Latex rendering; ?-' in scribble/base' 2011-01-07 09:48:03 -07:00
Matthew Flatt
315fdf071a better Scribble support for disabling line breaks
- make 'no-break element style work consistently
 - document 'no-break
 - add `nonbreaking' to `scribble/base'
2011-01-07 09:48:03 -07:00
Matthew Flatt
8f23d9dc1a fix reference hyphen and some abbreviations 2011-01-07 09:48:03 -07:00
Matthew Flatt
163d10cab3 Scribble LaTeX rendering of non-breaking hyphen; add ~' and -~-' 2011-01-07 09:48:03 -07:00
Matthew Flatt
5998c0ac95 add ._' and .__' to `scribble/base' for abbrev- and setence-ending periods 2011-01-07 09:48:03 -07:00
Matthew Flatt
0b1b3772f5 change Scribble HTML renderer to typeset em dashes with &8212;
Closes PR 11049
 Closes PR 11539
2010-12-14 06:48:25 -07:00
Matthew Flatt
36669b821a re-fix Scribble Latex image support 2010-11-28 08:01:07 -07:00
Matthew Flatt
cc82d37285 Scribble Latex image support (missed an earlier commit) 2010-11-28 08:01:06 -07:00
Matthew Flatt
8b3165d55b move racket/draw overview to the Guide and expand it
--- plus some minor collateral API improvements
2010-11-27 16:34:32 -07:00
Matthew Flatt
e97414b7bf bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs 2010-11-27 07:36:12 -07:00
Matthew Flatt
5d386a99ec fixes to make pict eval results work in Scribble 2010-11-26 20:40:43 -07:00
Matthew Flatt
0f86dc15af scribble: render `pict' content directly
--- actually, any value that is convertible to PNG/PDF
2010-11-26 20:40:43 -07:00
Robby Findler
747c735eb3 adjusted scribble's sigplan setup so that the times.sty and qcourier.sty packages can be disabled. 2010-11-19 17:57:13 -06:00
Matthias Felleisen
dbe896a969 wrong font size for 1column 2010-11-17 18:56:08 -05:00
Sam Tobin-Hochstadt
2dbbd1b58e Add @onecolumn option to scribble/sigplan 2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
7b61209069 Updated version of sigplanconf.cls 2010-11-16 12:38:48 -05:00
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