Commit Graph

1603 Commits

Author SHA1 Message Date
Matthew Flatt
1624b95c70 Scribble: prevent linebreaks after leading hyphens on identifiers
original commit: 7852408f8afa77b2e26917995a1f49b9868d3cd4
2011-01-07 09:48:03 -07:00
Matthew Flatt
ab1fe071d1 Scribble soft-hyphen support for Latex rendering; ?-' in scribble/base'
original commit: 21d324a1696daa84954959696052163fa5488021
2011-01-07 09:48:03 -07:00
Matthew Flatt
6c51ec9a9c better Scribble support for disabling line breaks
- make 'no-break element style work consistently
 - document 'no-break
 - add `nonbreaking' to `scribble/base'

original commit: 315fdf071a2905ff4d634c7b8004e32c0d6a1b58
2011-01-07 09:48:03 -07:00
Matthew Flatt
acd72493f3 fix reference hyphen and some abbreviations
original commit: 8f23d9dc1a281433982dd3a27cee263983911c62
2011-01-07 09:48:03 -07:00
Matthew Flatt
4faeb1744e Scribble LaTeX rendering of non-breaking hyphen; add ~' and -~-'
original commit: 163d10cab31ce844b34e7d11f2245842bf69691b
2011-01-07 09:48:03 -07:00
Matthew Flatt
5318f776fd add ._' and .__' to `scribble/base' for abbrev- and setence-ending periods
original commit: 5998c0ac95b6b47f965b336b717406155a6f055c
2011-01-07 09:48:03 -07:00
Matthew Flatt
70560b853e style guide: use v' for "any value" (as opposed to x')
original commit: 6a34dce36d481689eb7630885bd49a31fe96d42c
2011-01-04 09:52:14 -07:00
Matthew Flatt
e6c900ec2b more Scribble "---" doc fixes
original commit: 78b54a73245d7cf9b26913496dc07110d4e26b51
2010-12-14 07:45:15 -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
Sam Tobin-Hochstadt
1ef3cc89f9 Compare author strings, not author structures, in `citet'.
original commit: 7f1da76d54864cc56566b1ac14794d077fdba698
2010-12-08 18:22:29 -05:00
Matthew Flatt
8c37f24f40 re-fix Scribble Latex image support
original commit: 36669b821a350a5f8efb466bb3f6b13c0feb73c4
2010-11-28 08:01:07 -07:00
Matthew Flatt
d2293dc223 Scribble Latex image support (missed an earlier commit)
original commit: cc82d3728525b5bac3f2cb91d249d5404a7a3bd0
2010-11-28 08:01:06 -07:00
Matthew Flatt
8f876ea446 move racket/draw overview to the Guide and expand it
--- plus some minor collateral API improvements

original commit: 8b3165d55b85cffbe3ad28be6d8bd4c218d21529
2010-11-27 16:34:32 -07:00
Matthew Flatt
90ded4003f bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs
original commit: e97414b7bfc5182702c946dc7fcd024a19f7b191
2010-11-27 07:36:12 -07:00
Matthew Flatt
77e9dca243 fixes to make pict eval results work in Scribble
original commit: 5d386a99ec8121261fd61d61da9e5ac69a217488
2010-11-26 20:40:43 -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
Robby Findler
e30aedf47f adjusted scribble's sigplan setup so that the times.sty and qcourier.sty packages can be disabled.
original commit: 747c735eb323dd99f98c7049b4bb358e9d8f00d1
2010-11-19 17:57:13 -06:00
Vincent St-Amour
2e87b2f353 Fixed autobib doc.
original commit: a888325d786e5518546246dd4b11767def614890
2010-11-19 12:10:42 -05:00
Matthias Felleisen
387d540744 wrong font size for 1column
original commit: dbe896a9692a26677bb759f6fa40935cf0b5d55c
2010-11-17 18:56:08 -05:00
Sam Tobin-Hochstadt
30b6b29865 Fix docs.
original commit: 82437faa18b79ea09da2eaaa5c7427754c61b595
2010-11-16 14:02:47 -05:00
Sam Tobin-Hochstadt
865ad8584c Sort bib entries by year when authors are equal.
Works only when just the year is specified.

original commit: d50eac2effe61bcd7e3fa9584b5dab652b54938f
2010-11-16 13:27:50 -05:00
Sam Tobin-Hochstadt
1f37c2230a Add @onecolumn option to scribble/sigplan
original commit: 2dbbd1b58e558b029a170258f944d61a253573c3
2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
2af3c0c8b7 Supress duplicate author lists.
original commit: 01c8c281f3894f8d559541442cf5e66654f4338e
2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
98426520a8 Updated version of sigplanconf.cls
original commit: 7b612090698a07aadff573a09a4de8ab861ab708
2010-11-16 12:38:48 -05:00
Matthew Flatt
f52f97fe09 C source and build changes to drop wx frm GRacket
original commit: a574d9e7e4bcfd4a7fae2a3654e81c9babb46914
2010-11-05 15:53:54 -06:00
Eli Barzilay
6c09eb6bdf The reader for "#lang scribble/html".
(Somehow wasn't included in the earlier commit.)

original commit: 4d11d12c40eeb318d9986b233472c1b263368d54
2010-11-01 08:25:35 -04:00
Matthew Flatt
d6b3461aad add `codeblock' to Scribble
original commit: aa7c4b53d9c2962536b3a37bb244600d7216289e
2010-10-31 07:09:27 -06:00
Eli Barzilay
688bb59c1a Move the #%top' binding that makes foo:' keywords self evaluating from
`scribble/html/lang' to `scribble/html'.

Since `foo:' keywords are very common in any code that uses
`scribble/html', it is much more convenient to have it provide the
custom `#%top'.  It simplifies code that uses it, for example, files in
`meta/web/common' now use

  #lang at-exp racket/base
  (require scribble/html)

instead of the (only-in scribble/html/lang #%top) which it used before,
or instead of explicitly quoting all `foo:'s.

original commit: 58febe21a02ff7c7447ee75bf5edd34c99ee6f1c
2010-10-28 17:31:22 -04:00
Robby Findler
25c310b0dc add missing for-label require
original commit: 68b06b42d91f5dc4a1bde9d6979f7d92538b79db
2010-10-28 11:32:14 -05:00
Vincent St-Amour
66fb16193f Fixed a typo in the scribble docs.
Merge to 5.0.2.

original commit: 25749736c9ccf300c1ad338017030614032f5224
2010-10-27 16:15:50 -04:00
Eli Barzilay
391eb096b7 More name improvements: scribble/text/textlang' -> scribble/text/lang'
and the same for `scribble/html/lang'.

original commit: 69a490c10b4964ea174f31a8b992e034ff3fb270
2010-10-26 16:17:09 -04:00
Eli Barzilay
0bb6cd944a Make the scribble/html' layout mimic the one for scribble/text'.
Ie, the difference between using it as a language and as a module is now
the same in both.  Also, improve `scribble/html' (and
`scribble/html/htmllang') by reproviding most of the corresponding text
modules.

Change `meta/web' accordingly, and improve code by making a new langugae
(`#lang meta/web').  This language is similar to `scribble/html' except
that it uses the plain scribble reader (not the `-inside' one), it
doesn't use the customized module-begin feature (that uses
`output-xml'), and it adds all the relevant bits of `meta/web/common'.
(Also, "meta/web/common.rkt" is gone, since it's used only as a language
now.)

This commit has lots of details and binding games, so it's tricky, and
potentially caused some problems.  (Took me a while to track many
breakages, so I won't be surprised if there are more.)

original commit: 82221a51db9648d74caef31837b1f00b4e9d5773
2010-10-26 15:36:29 -04:00
Eli Barzilay
a89b7b0608 Move meta/web/html' to scribble/html'.
(See http://lists.racket-lang.org/dev/archive/2010-October/004691.html
for a discussion on calling it `html' rather than `xhtml'.)

original commit: ca040ea42a7fa2bfb5e5332bee81ab41fec28b82
2010-10-26 13:50:17 -04:00
Eli Barzilay
28ba6a1919 Add racket/list' and racket/string' to the web language, adjust
existing requires.

(It's supposed to be a convenient language...)

original commit: ed5033159a6a526d717aa2c1396c351e0f1da5e3
2010-10-26 07:21:12 -04:00
Eli Barzilay
1013d78415 Provide `process-begin/text' to make it convenient to define more
`scribble/text'-like languages.  Use it to define a convenient syntax
for html modules.

This is not used by the web content files since they define functions
rather than spit out html when required, but makes it convenient to make
an html markup language similar to scribble/text.

original commit: 7ac83e25c90c4d05b9e9e39be678b32790e94f31
2010-10-26 07:21:11 -04:00
Eli Barzilay
47d955917b Fix rendering in local build mode -- make it create file:// urls when
insisting on an absolute url (currently happens only in the tr pages).

original commit: 1e2d4b816946b9ab94c572ac5bae53d688bc4ed8
2010-10-19 21:06:32 -04:00
Eli Barzilay
68e6777bc8 Some additional tests, and use () instead of {} for racket sexprs
original commit: 62958248515545e62f1bc0c7027d4b729f8baf36
2010-10-11 15:07:28 -04:00
Matthew Flatt
f5d1244f61 set `read-accept-lang' to #t by default, plus related adjustments
including adding some uses of `with-module-read-parameterization'
 so that `read-accept-lang' is set right anyway; still, so many
 many places just set `read-accept-reader' to #t that making
 `read-accept-lang' #f by default looks like too big of an
 incompatibility

original commit: 6ac33a62be6e2b855049307ce797832a40f9d1de
2010-10-08 19:01:33 -06:00
Jay McCarthy
bd7d0f1ba8 Stupidly forgot to adjust pattern mentioned in the place that I changed
original commit: b9b7bb784af96679391d4bbbc44f3870e782c74a
2010-10-07 18:35:25 -06:00
Jay McCarthy
4b9fcbcb7e Allowing full require spec stx in require/doc
original commit: c74c94d6fdef8abaaa901819cbaba9d14b1beffa
2010-10-07 17:24:39 -06:00
Eli Barzilay
313176569f Allow getting the absolute URL of a resource
original commit: 93bd86ccc4f8d7e2ab822a5fd3f1306c445c0b2e
2010-09-20 15:38:18 -04:00
Robby Findler
189bf9d63c made proc/doc recognize ->i contracts
original commit: 711fe506412f45fdbccb84e76fb88622a06050e3
2010-09-09 14:21:35 -05:00
Eli Barzilay
b00ddd6619 Spit out a warning if there are no files rendered.
Fix a reference to meta/web to be symbolic -- otherwise things can get
confused when symlinks are used, ending up with two instances of a
single modeule (once for the symbolic reference and one for a relative
one).  It's still best to avoid symlinks, though.

Simplify version specs in the techreports code, re-enable continue
reference, some reformatting.

original commit: 35f77f61ade51defb46cf01a5cc91c8c5fdd4a94
2010-09-09 12:16:59 -04:00
Matthew Flatt
c9b2f68f59 move style guide up a section (to its own page)
original commit: 8c2ba47fa5778906e091cabc87fbf3cc6724881c
2010-08-30 14:35:18 -06:00
Matthew Flatt
1f2fee4d7b new guidance in the documentation style guide
original commit: c1bf118cb5478cc7be53ec1cad1b651b9eda0454
2010-08-30 14:35:17 -06:00
Eli Barzilay
33646442c8 More "~n" -> "\n" changes
original commit: 8e0f8dd39c3744472b450021f003f9cbe8cbcb62
2010-08-26 12:11:00 -04:00
Eli Barzilay
0802093808 Lots of "~e" to "~.s" changes.
original commit: 606b7f60dc597a6870efc11364e1dd3e1a8b4a1b
2010-08-25 17:17:01 -04:00
Matthew Flatt
6ce47a9d1e change Scribble's interaction', etc. to use non-default current-print'
to format results, if one is installed in a sandboxed evaluator

original commit: a19899898f1f7774f634ad44df560f4813fec91c
2010-08-24 20:50:46 -06:00
Matthew Flatt
d9f0de4582 fix rendering of constructor style struct value's first field
original commit: 0b71f65ba931d0d9c316a4e09c5b6b26f074bb3d
2010-08-24 07:19:15 -06:00
Matthew Flatt
49e5d4f640 fix Scribble `racket' rendering of quotes
which used to trigger too much space after a quoted form

original commit: 31f6a0da4ee3239706c80f0082a81e7b44ae7e28
2010-08-24 06:05:29 -06:00