Matthew Flatt
f11450d601
scribble/base: generalize `itemlist' to splice/coerce some arguments
...
Also, add a `spliceof' contract constructor to `scribble/decode'.
2012-08-03 13:43:23 -06:00
Matthias Felleisen
bf8c30727d
fixed small mistake in defform/none from conversion to syntax/parse
...
merge into v5.3 but ask Matthew for second opinion
2012-07-23 11:35:59 -04:00
Robby Findler
0ee8155527
use a more descriptive name in the identifier generated by define-on-demand
...
so when it shows up in an error message it doesn't take forever to figure
out which 'val' that is
2012-07-15 08:07:11 -05:00
Vincent St-Amour
f036b0bd12
Add scribble support for additional letters from the Czech alphabet.
2012-07-12 17:40:01 -04:00
Matthew Flatt
f9b4c6b226
scribble: add --dest-base flag
...
Also add the option to `render' from `racket/render', and
document the existing `render%' initialization argument.
2012-07-06 16:48:36 -06:00
Eli Barzilay
75f710dc62
Some styling.
2012-07-06 16:07:30 -04:00
Matthew Flatt
2b9f57b01d
scribble/*-properties: allow literal bytes in *-additions
...
For example, a `tex-addition' structure can have literal bytes
to include in the generated Latex, instead of a path to a file that
holds the content.
2012-07-06 13:17:35 -06:00
Danny Yoo
0a5e92c299
Correcting type error in latex-match: target-url-addr can be a path, which can't be consumed by regexp-replace
2012-07-06 12:03:47 -04:00
Matthew Flatt
e8d9d4e9ca
improve error handling for `defproc'
...
Closes PR 12780
2012-07-02 10:07:52 -06:00
Matthew Flatt
b5189c8232
scribble: adjust `subsubsub*section' font size
...
Closes PR 12868
2012-07-02 09:00:08 -06:00
Matthew Flatt
814c974d01
scribble Latex: add \SNumberOfAuthors{} in output
2012-07-01 10:00:58 -06:00
Matthew Flatt
612c4ff524
scribble HTML render: avoid intermediate XML structure
...
As pointed out by Danny Yoo to save time during the rendering phase
2012-06-28 09:15:57 -06:00
Matthew Flatt
130618e946
tweaks to Danny's Scribble changes
2012-06-28 08:57:58 -06:00
Danny Yoo
d926f89cbe
Correcting content->string so that it does not concatenate strings in quadratic time
2012-06-28 08:39:14 -06:00
Danny Yoo
2f4671235c
Changing decode-string so it avoids allocation and interns the individual string components.
2012-06-28 08:39:03 -06:00
Matthew Flatt
5f3f3e8c54
scribble/eval: remove bogus top-level `namespace-require'
2012-06-27 12:28:17 -06:00
Matthew Flatt
6028a60f65
scribble/manual: add #:id' option to
defproc'
...
Also, convert the implementation of `defproc', `defform', etc. to
use `syntax-parse'.
2012-06-25 23:16:33 -06:00
Robby Findler
3afba2d833
adjust defproc* so that it only shows the white background label once, instead
...
of once per different identifier that it is documenting
2012-06-25 13:42:09 -05:00
Matthew Flatt
c2924ef926
CSS tweak for whute label on blue boxes
...
This tweak avoids adding extra space when the white-label font is
taller than the line it's attached to. It also makes the label
disappear in IE 6, but I think we can live with that.
2012-06-25 09:02:51 -06:00
Robby Findler
f7185bec91
strengthen contract on blockss field of table struct in scribble
2012-06-22 22:12:54 -05:00
Robby Findler
c13a88915a
remove uppercasing of the tag names
2012-06-20 08:22:58 -05:00
Robby Findler
4d7f6d7935
make scribble's part/document/element/etc structs all be #:transparent
2012-06-20 08:22:58 -05:00
Matthew Flatt
5ff3087677
scribble: adjust `def...' box to show a background label in HTML
...
For example, a syntactic form box is labeled with "SYNTAX". Forms
such as `defform' and `defthing' now support a `#:kind' option
for setting the label.
2012-06-17 09:19:58 +08:00
Matthew Flatt
815fd1b49c
misc changes to speed up doc search generation
...
Cuts about 30% of the time on my machine.
2012-06-08 16:08:55 +08:00
Matthew Flatt
00e1ed9369
scribble: fix duplicate call to `render-element' callback
...
This change should cut the time to generate the search index
roughly in half.
2012-06-08 16:08:55 +08:00
Matthew Flatt
a137459b65
more error-message conversions and repairs
2012-05-27 11:29:21 -06:00
Matthew Flatt
9b7ef7bf69
scribble/eval: fix error line wrapping
...
The `wrap-line' function from `scribble/text/wrap' wants a
string that's a single line, so break the initial string
based on explicit lines, first.
2012-05-25 12:47:39 -06:00
Matthew Flatt
ec85dd913d
fix Scribble module languages to allow submodules
...
That is, recognize `module' and `module*' as top-level forms.
2012-05-20 07:39:05 -06:00
Matthew Flatt
0c95475f4f
fixes for `scribble/srcdoc'
...
Use the new `relative-in' form to make imports
resolve correctly when they are shifted among modules.
2012-05-15 20:03:41 -06:00
Matthew Flatt
964020f288
implement scribble/srcdoc' via submodules instead of
expand'
...
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
2012-05-12 01:37:50 -06:00
Jay McCarthy
f675514a2b
scribble/lp on racket/base vs scheme/base
2012-05-10 10:36:29 -06:00
Matthew Flatt
2d027e7ee5
scribble/eval: add eval:result' and
eval:results'
2012-05-09 19:11:21 -06:00
Eli Barzilay
17090fca4f
A bunch of fprintf' ->
eprintf' conversions (and a few related things).
2012-05-06 12:06:00 -04:00
Eli Barzilay
084f1dcea7
Use the new `wrap-line' in the scribble text renderer.
...
Looks like it's not making any changes in the current tests (which use
the text renderer), but with words that are longer than the width the
old version would stop wrapping afetr these words. Added a test file
that fails with that and succeeds with the new one. If anyone cares
about this, it's easy to make hyphenate words that are too long for a
line.
(Also fixed some redundant frustration in the bib test...)
2012-05-06 08:17:36 -04:00
Eli Barzilay
34ec391194
Some racketization (and outdent).
2012-05-06 06:29:18 -04:00
Eli Barzilay
efda1706d8
Use the new wrap-line' in
scribble/eval'.
...
This might have output that is a little better in cases where the
wrapped string is longer than `maxlen', for example, with an input of:
" x xxxxxxxxxxxxxxxx..."
and wrapping at 10 characters, the output was
" x\nxxxxxxxxxx\nxxxxxx..."
and now it's
" x xxxx\nxxxxxxxxxx\nxx..."
2012-05-06 06:15:04 -04:00
Eli Barzilay
89b9ad0dde
New wrap-line' function in a new
scribble/text/wrap' module.
...
This should probably become documented if it's stable enough. For now
it's intended for building wrapping functions, so it's only documented
in comments the file.
2012-05-06 05:38:04 -04:00
Eli Barzilay
97850b5002
No need to use a new 'at-exp-prop property to identify newlines
...
The information is already present in the 'scribble property, so use it
instead.
2012-05-03 10:24:05 -04:00
Matthew Flatt
23296615ec
scribble/eval: change string or byte-string expression handling
...
Use `datum->syntax' instead of `begin' to protect the string or byte
string. Danny Yoo suggested this change.
2012-05-01 16:48:15 -06:00
Matthew Flatt
393a1f441a
scribble: for Latex, pick tt encoding of <, >, and | explicitly
2012-04-29 11:23:37 -06:00
Matthew Flatt
fc1089c842
scribble: change Latex rendering of empty hidden part titles
2012-04-29 10:37:11 -06:00
Matthias Felleisen
9ef66b80ea
add a form to declare a module/library deprecated
2012-04-28 13:25:32 -04:00
Matthew Flatt
563909c328
scribble/bnf: add `BNF-seq-lines'
2012-04-26 17:59:19 -06:00
Matthias Felleisen
3e1e9c8763
removed code:comment hack that clearly never should have been there
2012-04-23 20:01:58 -04:00
Robby Findler
0b71ebecaf
adjust the way 'new' is laid out in the documentation to be more DrRacket-like
2012-04-14 14:54:19 -05:00
Matthew Flatt
c5e5a0349a
add #:line-number-sep' to
codeblock'
2012-04-11 11:49:01 -06:00
Matthew Flatt
20256a3f15
scribble: add 'block style for `table'
2012-04-05 06:58:53 -06:00
Matthew Flatt
4735666cd9
scribble: for Latex/PDF output, use \makebox for precise pict widths
...
Otherwise, the width of a pict is implicitly rounded up, since
the PDF bounding box is an integer.
2012-03-27 13:14:54 -06:00
Matthew Flatt
2d87d48ebd
make HTML rednering work when a `part' has not tags
2012-03-25 19:25:35 -06:00
Matthew Flatt
6c1e1635ab
add missing "jfp.css"
2012-03-25 19:25:35 -06:00