Commit Graph

886 Commits

Author SHA1 Message Date
Matthew Flatt
17504a960e more interning related to Scribble xref 2011-12-10 11:43:58 -07:00
Matthew Flatt
28ee1570ae strip value from 'dep tag
The value isn't used; a 'dep tag is ony to establish
dependencies, and the relevant value is with a 'form or
'def tag. Avoiding the extra value saves another 5% in
cross-reference files.
2011-12-10 11:43:58 -07:00
Matthew Flatt
b2fade9206 read-intern strings generated by Scribble; other interning
This change saves a small amount of space in cross-reference files
and some space in loaded cross-reference information.
It also saves work converting strings to mutable on deserialize,
although the performance difference seems negligible.
2011-12-10 11:43:58 -07:00
Matthew Flatt
7d2914fc8a fix `defform[*]' handling of #:id and grammar production
In @defform*[#:id x1 [(qqq x1)]], for example, `#:id x1' needs to
calcel the default treatment of `x1' within `(qqq x1)' as
a metavariable, while treating `qqq' as a meta-variable.
2011-12-03 10:03:13 -07:00
Matthew Flatt
07342303e5 scribble: fix HTML rendering of table in nested flow starting item 2011-12-03 08:41:15 -07:00
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
Matthew Flatt
93bcc58a0c scribble: use Latex skull package only if needed 2011-11-26 09:01:46 -07:00
Matthew Flatt
fe3b6ea003 at-exp, scribble: remove distinctness of @{}-introduced newlines 2011-11-24 09:17:34 -07:00
Robby Findler
3da3e17c47 don't continue after an error when scribbling via the 'scribble html'
and 'scribble pdf' buttons in the drracket frame.

closes PR 12385
2011-11-21 17:23:30 -06:00
Matthew Flatt
2de0a853dd update sigplanconf to the version with Creative Commons license 2011-11-11 16:32:16 -07:00
Matthew Flatt
9f81387e85 scribble: Latex/PDF rendering of some Unicode superscript characters 2011-11-11 07:05:16 -07:00
Matthew Flatt
932ef94cb3 fix contract 2011-10-28 06:43:20 -06:00
Ryan Culpepper
eed6016793 scribble/eval: pretty-print results by default 2011-10-16 05:41:58 -06:00
Matthew Flatt
0f5b53d349 scribble: fix Latex renderer treatment of table cell/column styles
The renderer was using symbol style names as command names, but only
strings should be treated that way.
2011-10-06 07:47:38 -06:00
Ryan Culpepper
c7f86d276c removed useless requires 2011-09-27 19:28:44 -06:00
Matthew Flatt
8711feae2d fix `scribble -h' output 2011-09-26 18:07:18 -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
87652cd32e scribble CSS: force text-align left in RktBlk
Because IE seems to default to inherit while other browsers
default to left.
2011-09-15 07:25:57 -06:00
Matthew Flatt
9bd50695b5 scribble: fix HTML navigation when the main part has 'toc 2011-09-15 07:12:58 -06: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
Robby Findler
050d0c0fe0 fix scribble pdf button
closes PR 12141
2011-08-30 20:40:58 -05:00
Matthew Flatt
bedd7b1671 Guide corrections 2011-08-26 10:04:19 -06:00
Robby Findler
41e22a6e3f added the ability to tell drracket to run a program and then run something after that
used that ability to make the scribble buttons work better
2011-08-24 11:25:26 -05:00
Matthew Flatt
b7bad5cc8a fix `racketmod' file box mode 2011-08-24 09:07:13 -06:00
Matthew Flatt
853e47f05e fix broken-link reporting by `scribble' 2011-08-22 07:58:05 -06:00
Matthew Flatt
39edc5a599 `scribble' reports broken cross references by default 2011-08-18 13:05:37 -06:00
Matthew Flatt
e4729afdbf fix plurality of `examples' label 2011-08-17 20:43:06 -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
26fe665dd7 fix lncs and jfp class file download 2011-08-15 09:58:21 -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
Eli Barzilay
dae2ac4519 Move the lncs ignore into its own directory. 2011-08-06 21:00:53 -04: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
378ca5ffc2 Scribble Latex: change 'boxed to use a blue vertical bar
... to the left of a definition, instead of a horizontal line
before the definition
2011-08-05 10:03:37 -06:00
Matthew Flatt
3a51e80751 fix rendering of transparent structures 2011-08-03 08:14:57 -06:00
Matthew Flatt
fba1777b8a fix contract 2011-08-02 06:48:54 -06:00
Matthew Flatt
7977d1817e expose the scribble' command-line driver as racket/render' 2011-08-01 14:40:49 -06:00
Matthew Flatt
8d3aa69e9d fix mismatch between make-base-eval' and make-base-eval-factory' 2011-08-01 04:01:40 -06:00
Matthew Flatt
e1b02e08f7 generalize `defform' & co. to better support abstraction 2011-07-07 10:45:43 -06:00