Commit Graph

1335 Commits

Author SHA1 Message Date
Matthew Flatt
4b7c597f04 add an #:escape' clause to all schemeblock'-like forms
original commit: a1eaecb337f2d4e55c7f8638b70226c76554f204
2011-08-16 07:53:05 -06:00
Matthew Flatt
a2f330a9c1 fix lncs and jfp class file download
original commit: 26fe665dd795c9d365fad1bad9fcc6b125c14f5b
2011-08-15 09:58:21 -06:00
Eli Barzilay
2dcc9d11af Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).

original commit: d61eb53686f735b979a60dc6f9efd3d2aa9777d9
2011-08-15 07:50:04 -04:00
Matthew Flatt
eef6298552 download LNCS and JFP class files on demand
original commit: cc78030cd2c0977b8adecdab87223e5a7a177f3d
2011-08-10 08:28:13 -06:00
Matthew Flatt
c5dc6b0957 generalize #%variable-reference' and add variable-reference-constant?'
Use the new functions to make the expansion of keyword applications
to known procedure work  with mutation.

original commit: 5352d670c401ebd4346f4dbd855a81c078193de4
2011-08-09 16:33:17 -06:00
Matthew Flatt
57308d8241 scribble/manual: add `current-display-width' parameter
original commit: f34c0329bfb614f5ad8545eafb93b5abbbc5e197
2011-08-08 17:10:54 -06:00
Eli Barzilay
da5b77c600 Move the lncs ignore into its own directory.
original commit: dae2ac4519eb68f9281463fe41f2d17192443293
2011-08-06 21:00:53 -04:00
Matthew Flatt
0c928d5696 fix `defstruct' to use more long-name layout options
original commit: f7fd274e80d5bd1fa6ad4b1a8b897f100fa0da07
2011-08-05 10:03:38 -06:00
Matthew Flatt
6f4f63d692 add column-attributes' support and use it to fix struct' rendering
original commit: ad7fddf878f0cb288adcb72a3fadc7e2644ce54f
2011-08-05 10:03:38 -06:00
Matthew Flatt
db4d7c9add Scribble: support for "boxable" blocks in Latex output
For example, if you make a multi-column table with a
`racketblock' in each column, then the columns size
to fit the code --- instead of forcing the table width
to match the page width and forcing each column to take
an equal share width.

original commit: b7afb3cf8fbbf448af18805db2f32c130ba4d47b
2011-08-05 10:03:38 -06:00
Matthew Flatt
2e8e709b7f Scribble: style adjustments to deter code wrapping
For HTML, the style used in the output of `racketblock' now
disables line wrapping, and the Rkt text styles inherit
line-wrap behavior. This doesn't solve the general problem
of code overflowing the horizontal space, but it makes the
failure mode usefully better.

A new 'vertical-inset nested-flow style is used by
`defproc', `defform', etc. It has no effect for HTML,
but it introduces suitable vertical space for Latex output
(in case you want to use `defproc' in a SIGPLAN-format
paper, for example).

original commit: 4ac85de974ec2e6326df129745228b3ffcbb778f
2011-08-05 10:03:37 -06:00
Matthew Flatt
825e3fcea8 Scribble Latex: change 'boxed to use a blue vertical bar
... to the left of a definition, instead of a horizontal line
before the definition

original commit: 378ca5ffc26168a52a03f46fd83bace49b301ead
2011-08-05 10:03:37 -06:00
Matthew Flatt
b039885e46 fix rendering of transparent structures
original commit: 3a51e8075184e5d0be4a633150f01bfdd6968069
2011-08-03 08:14:57 -06:00
Matthew Flatt
0514449650 fix docs
Closes PR 12011

original commit: 3ffa731f80e63843b9ad399c5907286eba7abe29
2011-08-02 17:07:39 -06:00
Matthew Flatt
76e087da84 fix contract
original commit: fba1777b8ad6d84200e17c85896f9f6d210b0d1d
2011-08-02 06:48:54 -06:00
Matthew Flatt
9e9a62ff99 expose the scribble' command-line driver as racket/render'
original commit: 7977d1817e9d5114f2c2877773199103f3501142
2011-08-01 14:40:49 -06:00
Matthew Flatt
395f17b2b5 adjust `scriblib/figure' CSS for more consistent spacing
original commit: 86f4e5912b6975509315c4997cf07e4294f6ef55
2011-08-01 13:14:43 -06:00
Matthew Flatt
3a89754d6a fix mismatch between make-base-eval' and make-base-eval-factory'
original commit: 8d3aa69e9de7531f7b10f1f7c6c684be32978022
2011-08-01 04:01:40 -06:00
Matthew Flatt
c2b2a75490 generalize `defform' & co. to better support abstraction
original commit: e1b02e08f7697b1ca9514df5d14f21c604c3ae0c
2011-07-07 10:45:43 -06:00
Matthew Flatt
f60f217aae allow lists of pre-content to `decode-content', etc.
and improve docs for `scribble/decode'

original commit: d8352d5890b3817db5bae24c85cc57cf6a25401a
2011-07-06 09:07:19 -06:00
Matthew Flatt
19221251c7 scribble: clarify intent of `#:use-sources'
original commit: 5d06476cb3f91c7dbd370b1e24a5454cb4dd1229
2011-07-05 07:03:26 -06:00
Matthew Flatt
5086963aa8 fix test
which is sensitive to details of the documentation of `->'

original commit: e3b8997fb8532c4491848be48f011635f4147dce
2011-07-04 16:35:38 -06:00
Eli Barzilay
45a9cd48c2 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Eli Barzilay
b8556478f5 Try to improve the tests wrt timeouts and memory limits
original commit: 226f86d201794a880e0ec49ab6cb03ec937c962e
2011-07-02 01:10:38 -04:00
Ryan Culpepper
0e1979d80b docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names

original commit: 1b702a2ae32aba835f7467ced6b203902db0ccd9
2011-07-01 17:16:53 -06:00
Matthew Flatt
ca809eb024 remove syntax certificates; add syntax taints
original commit: 1160d3df629ce65eb8fe9ebea2c33b8d4000ea50
2011-06-29 19:15:48 -06:00
Eli Barzilay
2b3b4f15e0 Add block' to scribble/text', to explicitly ask for an indentation block.
* Lists are now either blocks or splices depending on whether they
  appear inside a block or a splice (default to block).

* Adjusted the docs and a single test where this mattered.

* Change the documentation to be "text.html" and to be titled "text
  generation".

original commit: 0af236dc2f39d5b697ca26af51b6f1e659d6bbe9
2011-06-28 18:16:07 -04:00
Eli Barzilay
2917d887d6 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Eli Barzilay
d2eb729e49 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.

original commit: a38f384a002ccf6c3cbaab813fe080ca226e4a59
2011-06-28 00:45:38 -04:00
Eli Barzilay
0ed2447eb9 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.

original commit: ac26fe75546b5182d78f18c2cd882f0f440849e2
2011-06-25 04:08:47 -04:00
Matthew Flatt
ad8ba406ee fix `codeblock' handling of spaces
for a chunk that also includes newlines

original commit: 52825c68a15841282de4f7c0e60e832a728de6fb
2011-06-22 07:49:15 -06:00
Matthew Flatt
9f6f5d9812 add --latex-section' mode to scribble'
original commit: 3f95fabf7c4ef7616633820e79bf4d1ea472bbb9
2011-06-22 07:49:15 -06:00
Matthew Flatt
532feda048 document `scribble' command-line use
original commit: 73f6a2b3929c6c55add6ea6e7e54ae9628f776c5
2011-06-21 06:45:44 -06:00
Eli Barzilay
41c51bfdb4 Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
2011-06-20 04:27:14 -04:00
Matthew Flatt
c6d0c1b138 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.

original commit: f34a31cac945a622ea5994ca270cc5e253c795ed
2011-06-17 18:54:43 -06:00
Vincent St-Amour
71fd650e3c These changes break with bad sandboxes.
Revert "Fix interface."
Revert "Add more scribble forms that evaluate code and display the results."

This reverts commit a621eaf04151f4bf830bfe3fca5c60c6dd72fcae.
This reverts commit 7e9dbded4c89c5e95945e2f91653fab0b58a0390.

original commit: 8f092e83309b0b376feb1fc1ad13914990137b50
2011-06-17 15:18:48 -04:00
Vincent St-Amour
3dc3b7ee6e Fix interface.
original commit: a621eaf04151f4bf830bfe3fca5c60c6dd72fcae
2011-06-17 14:47:16 -04:00
Vincent St-Amour
01a237406a Add more scribble forms that evaluate code and display the results.
original commit: 7e9dbded4c89c5e95945e2f91653fab0b58a0390
2011-06-17 14:04:38 -04:00
Danny Yoo
ba61cf64e8 Fixing the comment-at-end-of-file bug (PR#11982)
original commit: d78fccb75bd29ce5ca5abb090109410a7759ca1e
2011-06-16 21:37:48 -04:00
Eli Barzilay
88e9704a8b Pass around the form name so that an error from the sandbox will show a
more useful error.

original commit: 768baa5983297370ef06023400565b0a3d4c099d
2011-06-16 21:37:48 -04:00
Eli Barzilay
bf18603b97 Switch to `#lang', reformat, and some minor improvements.
original commit: d4dec81c91a3d95ce8d252a2b63bdc3fe8c79128
2011-06-16 21:37:47 -04:00
Eli Barzilay
09eb2cc7b7 Add an error message when the sandbox doesn't capture its output as a string.
original commit: 43d1c240a171943e214ac43055e6bdbfc5072f70
2011-06-16 21:37:47 -04:00
Matthew Flatt
41b848edda Scribble Latex Unicode fixes
original commit: c9e98a5f1f3e93815352e4177730d7704c5ecda9
2011-06-16 15:06:15 -06:00
Danny Yoo
6229f725df added example of making an evaluator for interaction
original commit: e35e005a1c833bdc70a76bf1ffe2e6720b881675
2011-06-16 12:09:55 -04:00
Matthew Flatt
a847663f2d adjust `racketmodname' to ignore for-label imports
so that `@racketmodname[lazy], for example, typesets correctly
 when `lazy' is imported for-label

original commit: c8999c25413352de46cd1f8006a768ff74938163
2011-06-15 08:23:33 -06:00
Eli Barzilay
db7729e6c4 Revise this comment
original commit: 80f0d57cdd46a4b3226dc5af64bd8e72edaba3dd
2011-06-14 19:02:30 -04:00
Robby Findler
027d80e352 added a missing error check to scribble decoding
original commit: ecf45ab426b5215a71f31ffb223dfce7cadd66fd
2011-06-11 08:58:06 -05:00
Matthew Flatt
d8f6292e36 try to clarify intent of #:contracts' in defform'
original commit: fbbb30f7b013dc187b20bdecae0e57a845b3b3c8
2011-05-30 08:58:11 -06:00
Robby Findler
fae7c00658 sriblib/autobib: added a keyword argument to generate-bibliography to control the name of the section
original commit: 62d758ca56d16ceb8c4f55460ffdb904a52b002d
2011-05-27 07:32:20 -05:00
Eli Barzilay
58183ac740 Go down boxes too.
original commit: 7f6733b61706fb421669a198b0701869e3345093
2011-05-23 14:05:13 -04:00