Commit Graph

20 Commits

Author SHA1 Message Date
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
6f4f63d692 add column-attributes' support and use it to fix struct' rendering
original commit: ad7fddf878f0cb288adcb72a3fadc7e2644ce54f
2011-08-05 10:03:38 -06:00
Matthew Flatt
db4d7c9add 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.

original commit: b7afb3cf8fbbf448af18805db2f32c130ba4d47b
2011-08-05 10:03:38 -06:00
Matthew Flatt
2e8e709b7f 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).

original commit: 4ac85de974ec2e6326df129745228b3ffcbb778f
2011-08-05 10:03:37 -06:00
Eli Barzilay
45a9cd48c2 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Matthew Flatt
87f668de09 Scribble: add `alt-tag' HTML property to set HTML tag in output
original commit: c38118f0e5286affb480fcc9c4d30a09a75c4ec7
2011-04-04 14:33:38 -06:00
Matthew Flatt
befd85c2d8 Scribble: simplify content that is conditioned on the render mode
including a new `scriblib/render-cond' library

original commit: df2a875ff4aaff90b20906a80dff6218470eb455
2011-04-04 10:45:02 -06:00
Matthew Flatt
742843af7b 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

original commit: bbc5533938b1dac8f14005210fa9fe552dfa7e8c
2011-03-30 15:12:30 -06:00
Matthew Flatt
e199fb6177 fix Scribble serialization of search-redirected links
original commit: f64b52052f797d15517d1718d1f73a454291ecf8
2011-01-11 13:24:34 -07:00
Matthew Flatt
a14bdb7d66 change Scribble HTML to use `object' tag for SVG
original commit: a9bedcc69dae9790ad910285d5c75c2e4314d033
2011-01-10 16:41:17 -07:00
Matthew Flatt
1d4626a4c1 support ".svg" in scribble/base' image' for HTML output
original commit: b2877336f74a7ae2f8d73d3d78ee8eacfccf4e2a
2011-01-10 16:41:16 -07:00
Matthew Flatt
456a7529e6 change Scribble HTML renderer to typeset em dashes with &8212;
Closes PR 11049
 Closes PR 11539

original commit: 0b1b3772f53263a21dbfb40d5a1b97e926994dbc
2010-12-14 06:48:25 -07:00
Matthew Flatt
6fb5dc58de scribble: render `pict' content directly
--- actually, any value that is convertible to PNG/PDF

original commit: 0f86dc15afe6d0bf48a77f8aec7d66fda356082b
2010-11-26 20:40:43 -07:00
Eli Barzilay
33646442c8 More "~n" -> "\n" changes
original commit: 8e0f8dd39c3744472b450021f003f9cbe8cbcb62
2010-08-26 12:11:00 -04:00
Matthew Flatt
d6bbf9dfe5 adjust Scribble to sync filename case with uses
original commit: d97ee688676ca70a7714d09fadb681ad717ffe3b
2010-08-17 17:32:22 -06:00
Matthew Flatt
c609cca35c fix relative URLs in single-page Scribble HTML output
Merge to v5.0.1

original commit: 8cb0b6fd7bf45324d668eef8101cc42437e58c3c
2010-07-16 03:38:28 -06:00
Eli Barzilay
fe08f34ae5 More plt-scheme -> racket-lang, specifically for planet and bugs urls.
original commit: d0ecc73df51faf23b0fd17714f535ea46f2717a3
2010-05-31 15:11:27 -04:00
Matthew Flatt
291101390a fix scribble/xref
original commit: f5a0b9e613c3cc050c75ce6de2cd76a557d9cc7a
2010-05-22 08:46:43 -06:00
Matthew Flatt
f15af6e90b add fix-point finding traverse pass to Scribble
original commit: 8b7c8d08bdaeed5f0ec42fc1a4855ad19e7354b2
2010-05-21 19:40:33 -06:00
Matthew Flatt
7e5406e889 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00