Matthew Flatt
607f02a331
scribble HTML render: avoid intermediate XML structure
...
As pointed out by Danny Yoo to save time during the rendering phase
original commit: 612c4ff5240594b8d884ce2d68701cd40ba50fc1
2012-06-28 09:15:57 -06:00
Matthew Flatt
4fc0b01398
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.
original commit: 5ff3087677ec98ea626cca25b085f3c32138d5ca
2012-06-17 09:19:58 +08:00
Matthew Flatt
f1aa676101
misc changes to speed up doc search generation
...
Cuts about 30% of the time on my machine.
original commit: 815fd1b49c7b7857aa08fd15c5ec77655ac84859
2012-06-08 16:08:55 +08:00
Matthew Flatt
3ac30a1f35
scribble: fix duplicate call to `render-element' callback
...
This change should cut the time to generate the search index
roughly in half.
original commit: 00e1ed9369d8401ef349f9c9fb9475d30ab2cda1
2012-06-08 16:08:55 +08:00
Eli Barzilay
36eea932a8
A bunch of fprintf' ->
eprintf' conversions (and a few related things).
...
original commit: 17090fca4f19298f01d03fea419edb20f315d040
2012-05-06 12:06:00 -04:00
Matthew Flatt
70332eb7ce
make HTML rednering work when a `part' has not tags
...
original commit: 2d87d48ebdb831fafc398a603c2582bb87ce8592
2012-03-25 19:25:35 -06:00
Matthew Flatt
e151e32b82
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.
original commit: a1fd742ed022035732b4a0c778168cc6b862933a
2012-01-11 16:39:52 -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
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
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