Matthew Flatt
fca5ceecc9
switch `codeblock' to strings instead of bytes
...
Also, fix scribble lexer line counting.
Closes PR 12225
2011-11-27 11:06:21 -07:00
Ryan Culpepper
c7f86d276c
removed useless requires
2011-09-27 19:28:44 -06:00
Robby Findler
76e55071b0
use new copy-file argument that Matthew provided; this is a better fix than
...
commit f9e1c41cb0
was for the same problem
2011-09-19 15:19:04 -05:00
Robby Findler
de62ac2f06
minor Rackety
2011-09-18 21:20:27 -05:00
Robby Findler
f9e1c41cb0
Change scribble so that is overwrites the destination file when it makes a .pdf file
...
instead of copying the file into place. This makes Lion's Preview happier (specifically
it now recognizes the file as a revision of the old one and updates itself instead of
treating it as a new file and opening a second window)
2011-09-18 21:20:27 -05:00
Eli Barzilay
16cd1ad78d
Make `defproc' throw an error if two arguments have the same name.
...
Related to the already fixed PR 12114 and PR 12133, which motivated the
error, and a few additional typos of the same kind.
(Note that it uses the symbols, but that's how they'll render anyway.)
2011-09-16 11:14:18 -04:00
Matthew Flatt
7a2e1aa900
scribble: more nowraps in HTML output
...
Avoids line-wraps for `examples' output and in function contracts
2011-09-12 19:17:08 -06:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
Matthew Flatt
fd0a2e9879
avoid an internal error
...
Closes PR 12138
2011-09-04 15:55:26 -06:00
Matthew Flatt
0b2beace40
add `schemecommentfont'
2011-09-03 14:57:57 -06:00
Matthew Flatt
b7bad5cc8a
fix `racketmod' file box mode
2011-08-24 09:07:13 -06:00
Matthew Flatt
4555254380
add code' to
scribble/manual'
2011-08-16 07:53:05 -06:00
Matthew Flatt
c7e7d0d8ff
make racket' preserve
#t' versus `#true'
2011-08-16 07:53:05 -06:00
Matthew Flatt
a1eaecb337
add an #:escape' clause to all
schemeblock'-like forms
2011-08-16 07:53:05 -06:00
Matthew Flatt
cc78030cd2
download LNCS and JFP class files on demand
2011-08-10 08:28:13 -06:00
Matthew Flatt
f34c0329bf
scribble/manual: add `current-display-width' parameter
2011-08-08 17:10:54 -06:00
Matthew Flatt
f7fd274e80
fix `defstruct' to use more long-name layout options
2011-08-05 10:03:38 -06:00
Matthew Flatt
ad7fddf878
add column-attributes' support and use it to fix
struct' rendering
2011-08-05 10:03:38 -06:00
Matthew Flatt
b7afb3cf8f
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.
2011-08-05 10:03:38 -06:00
Matthew Flatt
4ac85de974
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).
2011-08-05 10:03:37 -06:00
Matthew Flatt
e1b02e08f7
generalize `defform' & co. to better support abstraction
2011-07-07 10:45:43 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eli Barzilay
a38f384a00
Finish converting scheme' ->
racket'.
...
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554
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.
2011-06-25 04:08:47 -04:00
Matthew Flatt
52825c68a1
fix `codeblock' handling of spaces
...
for a chunk that also includes newlines
2011-06-22 07:49:15 -06:00
Matthew Flatt
c8999c2541
adjust `racketmodname' to ignore for-label imports
...
so that `@racketmodname[lazy], for example, typesets correctly
when `lazy' is imported for-label
2011-06-15 08:23:33 -06:00
Robby Findler
0a0445692b
fix search path problem in scribble
2011-05-13 09:05:25 -05:00
Matthew Flatt
1c60499923
fix nit: "running 2nd time" instead of "re-running 2nd time"
...
because "re-running 2nd time" should mean the 3rd run
2011-04-14 13:20:23 -06:00
Kevin Tew
0c4d90b1db
codeblock line numbers
2011-04-02 16:01:21 -06:00
Matthew Flatt
bbc5533938
Scribble: change the way `racketblock' etc. indent/inset works
...
- introduce 'code-inset style for nested blocks
- use style instead of spaces for code indentation
- sigplanconf adds vertical space around 'code-inset
- more ...0 variants to compose better
2011-03-30 15:12:30 -06:00
Matthew Flatt
0101d12d49
hyperlink #<void> and #<undefined> in docs
2011-03-13 09:02:40 -06:00
Sam Tobin-Hochstadt
6099806a72
codeblock:
...
fix language regexp to accept numbers in #lang
2011-02-03 17:42:33 -05: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
8f23d9dc1a
fix reference hyphen and some abbreviations
2011-01-07 09:48:03 -07:00
Matthew Flatt
aa7c4b53d9
add `codeblock' to Scribble
2010-10-31 07:09:27 -06:00
Robby Findler
68b06b42d9
add missing for-label require
2010-10-28 11:32:14 -05: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
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
c18603f767
add racketresultblock, etc. to Scribble
2010-05-31 13:55:16 -06:00
Matthew Flatt
bb26115591
add 'filebox' Scribble function
2010-05-16 17:28:55 -06:00
Matthew Flatt
b61a99c433
add defidform/inline and use it to document on-draw
2010-04-28 06:41:43 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Matthew Flatt
616080c7c4
change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc.
2010-04-25 12:10:36 -06:00
Matthew Flatt
f60c178964
change defstruct rendering
2010-04-24 08:29:45 -06:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Matthew Flatt
b559c9db9b
initial cut at HtDP languages via #lang; syntax/module-reader: split compiled-module info from reader info, reorganize and complete docs, don't export read-properties or get-info-getter for now
...
svn: r18759
2010-04-08 02:30:00 +00:00
Matthew Flatt
8dea570071
fix binding of variables when using defproc and MIT-style curry notation
...
svn: r18343
2010-02-25 22:51:36 +00:00