Commit Graph

1282 Commits

Author SHA1 Message Date
Matthew Flatt
f330897ca1 fix for `scribble --text' and tables
original commit: dcedd6e2be5b58bf5f26e1a5c7f5305502d889f8
2011-12-21 11:27:06 -07:00
Matthew Flatt
f5ce9df901 scribble: avoid line-break between "#" and "<void>"
original commit: 1b4f13e674a640cfca5808a024393e047b4d7b19
2011-12-18 07:27:32 -07:00
Matthew Flatt
27d597b71f intern strings, etc. only when making syntax objects, not in `read'
Rename `read-intern-literal' to `datum-intern-literal'.

Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.

original commit: ee775c3cc3088a8de848399b3c1eec97bbc52b89
2011-12-14 16:03:44 -07:00
Matthew Flatt
9d0ff0cdfd more interning related to Scribble xref
original commit: 17504a960eb552992818a9b303457d58f9171b2a
2011-12-10 11:43:58 -07:00
Matthew Flatt
4dacb9f7a8 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.

original commit: 28ee1570ae2ac68007af5798b5964a859ffcb49b
2011-12-10 11:43:58 -07:00
Matthew Flatt
f1a593d3a3 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.

original commit: b2fade9206590173e4c2e346357ad13150525387
2011-12-10 11:43:58 -07:00
Matthew Flatt
c17636d399 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.

original commit: 7d2914fc8a8f2647605da1d6699d0bc54685a5f3
2011-12-03 10:03:13 -07:00
Matthew Flatt
ef02b4039c scribble: fix HTML rendering of table in nested flow starting item
original commit: 07342303e5eb63c0d255cacaa49faabc8c667d19
2011-12-03 08:41:15 -07:00
Matthew Flatt
44a9f835da switch `codeblock' to strings instead of bytes
Also, fix scribble lexer line counting.

Closes PR 12225

original commit: fca5ceecc97dfff28ae52bb404a8761426f64145
2011-11-27 11:06:21 -07:00
Matthew Flatt
201f279940 scribble: use Latex skull package only if needed
original commit: 93bcc58a0c348429a6fc145d83211d4e038f95e6
2011-11-26 09:01:46 -07:00
Matthew Flatt
16ff0ec9a4 at-exp, scribble: remove distinctness of @{}-introduced newlines
original commit: fe3b6ea0032a6cdee6aa8720b349ef1032fed803
2011-11-24 09:17:34 -07:00
Matthew Flatt
3ddff1f507 update sigplanconf to the version with Creative Commons license
original commit: 2de0a853dd4b42f719f260df7039df309deace7e
2011-11-11 16:32:16 -07:00
Matthew Flatt
c3adb61eee scribble: Latex/PDF rendering of some Unicode superscript characters
original commit: 9f81387e85e2fd18f869c60632bba69159476df3
2011-11-11 07:05:16 -07:00
Matthew Flatt
28a795d6a3 add missing `render%' init argument doc
original commit: 3885f4683bb7093f9bf2c448d9b0075ff6a94a67
2011-11-02 08:12:58 -06:00
Matthew Flatt
0ffb9f2b48 fix contract
original commit: 932ef94cb3172fab489b2543a9efa9e613727188
2011-10-28 06:43:20 -06:00
Ryan Culpepper
5218126773 scribble/eval: pretty-print results by default
original commit: eed6016793c9646f5dce28e2660c2a8cd0db1122
2011-10-16 05:41:58 -06:00
Matthew Flatt
80d1ff2273 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.

original commit: 0f5b53d3498f857920ff7fa438269727553dc058
2011-10-06 07:47:38 -06:00
Ryan Culpepper
02d8332600 removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Matthew Flatt
5faa598ff1 fix `scribble -h' output
original commit: 8711feae2d7109348352687721cd3960f7d80947
2011-09-26 18:07:18 -06:00
Robby Findler
9717b74876 use new copy-file argument that Matthew provided; this is a better fix than
commit f9e1c41cb0a7f84766207d7a092443dbb5a17e1c was for the same problem

original commit: 76e55071b056d87eb60950f0b08326e09668fa5f
2011-09-19 15:19:04 -05:00
Robby Findler
f258c1ca85 minor Rackety
original commit: de62ac2f061ef2d5c40e2025b81f265f40fd0fdf
2011-09-18 21:20:27 -05:00
Robby Findler
7265c614d4 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)

original commit: f9e1c41cb0a7f84766207d7a092443dbb5a17e1c
2011-09-18 21:20:27 -05:00
Eli Barzilay
867af4149a 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.)

original commit: 16cd1ad78d6495816a4869621154024652fd8da0
2011-09-16 11:14:18 -04:00
Eli Barzilay
240449694b Some selective #:when (not ...)' -> #:unless ...'.
original commit: 623c7493ed2bbf7c89caea877a7b94a5f4c42c73
2011-09-16 10:48:18 -04:00
Matthew Flatt
5a16309b24 scribble CSS: force text-align left in RktBlk
Because IE seems to default to inherit while other browsers
default to left.

original commit: 87652cd32e285ac9c37494c49feff867e7ab0e21
2011-09-15 07:25:57 -06:00
Matthew Flatt
4622f11e5f scribble: fix HTML navigation when the main part has 'toc
original commit: 9bd50695b5778902d626fa707cd2ebe7d59dba03
2011-09-15 07:12:58 -06:00
Matthew Flatt
f622c4755c scribble: more nowraps in HTML output
Avoids line-wraps for `examples' output and in function contracts

original commit: 7a2e1aa9001ec002892be146b7e5b425fa757c01
2011-09-12 19:17:08 -06:00
Matthew Flatt
48581ad3d0 generalized `begin-for-syntax'
original commit: d3c56c9f13327d07513f8b6bf7ea0230acb7f489
2011-09-08 14:06:00 -06:00
Vincent St-Amour
a33001e62f here-figures shouldn't be on a page of their own.
original commit: 371fcba252ca2ea2a4389e1a9273436253e62be4
2011-09-06 16:35:16 -04:00
Matthew Flatt
077c95eb87 avoid an internal error
Closes PR 12138

original commit: fd0a2e98798073ba9baf8d805ce31923f1468b1c
2011-09-04 15:55:26 -06:00
Matthew Flatt
037d6f0f4c add `schemecommentfont'
original commit: 0b2beace40ceccbdeda4f66c3124b725730bc895
2011-09-03 14:57:57 -06:00
Matthew Flatt
78886fda93 document `scribble/pdf-render;
original commit: e7ec9f5eb7c157fa3d9ab4c1dc87ee5be89611e4
2011-09-01 07:14:03 -06:00
Matthias Felleisen
37ab802f76 Closes PR12140
original commit: e4039661d4f814587a1d35a478b1c64e51c0a424
2011-08-30 17:21:54 -04:00
Matthias Felleisen
b5c4c4fb07 basic fixes to figure.tex; partially addresses PR 12140
original commit: c5155b6b75842c5f362150396859b5538e970609
2011-08-30 17:21:53 -04:00
Eli Barzilay
7510247e3a Documentation typo.
original commit: 0e31b37aa4581f7bdda5bcee4573966b5733dbcb
2011-08-29 15:13:01 -04:00
Matthew Flatt
d1d35d28bf Guide corrections
original commit: bedd7b16713bcea67f44e8bc7e30a5782b8a1f66
2011-08-26 10:04:19 -06:00
Matthew Flatt
fa41cf795e fix `racketmod' file box mode
original commit: b7bad5cc8a7739a3be02fb0ef70a48a7a62110dc
2011-08-24 09:07:13 -06:00
Matthew Flatt
47bab9943d doc style adjustments; reorg cmdline+editors docs in Guide
original commit: f082919f0b63ec0bb40f2b3532796eabdeafee11
2011-08-24 09:07:12 -06:00
Matthew Flatt
5d67e0fe48 fix broken-link reporting by `scribble'
original commit: 853e47f05e6feaaa4d29662d2b5a2042a2bea30a
2011-08-22 07:58:05 -06:00
Matthias Felleisen
dd22d7eedb allow left-aligned figures
original commit: e01e72a7edcb050a657beb4c0dbf96afd6036039
2011-08-18 18:26:14 -04:00
Matthew Flatt
8890f72c3a `scribble' reports broken cross references by default
original commit: 39edc5a5991d17c8becfc7a1b44665fb5cd9d622
2011-08-18 13:05:37 -06:00
Matthew Flatt
af3a99ae55 Revert "Fix a scribble test for plural "Examples""
The test was correct, and e4729afdbff84 fixes the bug.

This reverts commit 4eaab11d14279846ccf1f2a776f2c4d0fdb7a794.

original commit: 09b4a55d87d058f904a82f84ac1443e245343404
2011-08-17 20:43:12 -06:00
Matthew Flatt
1e219c6fe1 fix plurality of `examples' label
original commit: e4729afdbff8492c9467c0a0a2d2e55a6d20b879
2011-08-17 20:43:06 -06:00
Eli Barzilay
107eebf02f Fix a scribble test for plural "Examples"
original commit: 4eaab11d14279846ccf1f2a776f2c4d0fdb7a794
2011-08-17 10:00:55 -04:00
Matthew Flatt
63213b73ae improve codeblock' and racketblock' docs
including an explanation of the advantages and drawbacks of each

original commit: 099a0eebed1f7be89cf7b206afbd53fc94bc14c4
2011-08-16 08:02:50 -06:00
Matthew Flatt
55eed8ac98 add code' to scribble/manual'
original commit: 4555254380c81815195bb55915bdb5cbd3ebc235
2011-08-16 07:53:05 -06:00
Matthew Flatt
97bf4968a3 make racket' preserve #t' versus `#true'
original commit: c7e7d0d8ffe94221573b5bd0e9b6c9bd53dcad9a
2011-08-16 07:53:05 -06:00
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