Commit Graph

28 Commits

Author SHA1 Message Date
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
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Matthew Flatt
2d87d48ebd make HTML rednering work when a `part' has not tags 2012-03-25 19:25:35 -06:00
Matthew Flatt
a1fd742ed0 change Scribble xref formats, so that HTML info works for Latex
There's no particular reason that any one format will have all
the information that other formats need, but it conveniently works
for now that HTML info can subsume Latex info.
2012-01-11 16:39:52 -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
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
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
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Matthew Flatt
c38118f0e5 Scribble: add `alt-tag' HTML property to set HTML tag in output 2011-04-04 14:33:38 -06:00
Matthew Flatt
df2a875ff4 Scribble: simplify content that is conditioned on the render mode
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -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
f64b52052f fix Scribble serialization of search-redirected links 2011-01-11 13:24:34 -07:00
Matthew Flatt
a9bedcc69d change Scribble HTML to use `object' tag for SVG 2011-01-10 16:41:17 -07:00
Matthew Flatt
b2877336f7 support ".svg" in scribble/base' image' for HTML output 2011-01-10 16:41:16 -07:00
Matthew Flatt
0b1b3772f5 change Scribble HTML renderer to typeset em dashes with &8212;
Closes PR 11049
 Closes PR 11539
2010-12-14 06:48:25 -07:00
Matthew Flatt
0f86dc15af scribble: render `pict' content directly
--- actually, any value that is convertible to PNG/PDF
2010-11-26 20:40:43 -07:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Matthew Flatt
d97ee68867 adjust Scribble to sync filename case with uses 2010-08-17 17:32:22 -06:00
Matthew Flatt
8cb0b6fd7b fix relative URLs in single-page Scribble HTML output
Merge to v5.0.1
2010-07-16 03:38:28 -06:00
Eli Barzilay
d0ecc73df5 More plt-scheme -> racket-lang, specifically for planet and bugs urls. 2010-05-31 15:11:27 -04:00
Matthew Flatt
f5a0b9e613 fix scribble/xref 2010-05-22 08:46:43 -06:00
Matthew Flatt
8b7c8d08bd add fix-point finding traverse pass to Scribble 2010-05-21 19:40:33 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00