Commit Graph

1494 Commits

Author SHA1 Message Date
Matthew Flatt
219c78cc7b add missing "jfp.css"
original commit: 6c1e1635abfd125d866c5202e8d19cc548cd2299
2012-03-25 19:25:35 -06:00
Vincent St-Amour
9a091e2d4f Fix bug in autobib's handling of urls.
original commit: 999de5a4884e07f4f5cc48910bd658b57ef46fdb
2012-03-19 11:10:22 -04:00
Robby Findler
5be58073cb disable the drracket toolbar buttons for scribble/lp files
original commit: 4fe8cd344c09390b20eb7c9cca415d79753d642b
2012-03-17 19:24:33 -05:00
James Ian Johnson
f280030d0c Bibliographies had a nondeterministic render order. Fixed. Added tests for disambiguation.
original commit: 6e7fb4e7efd6efc692f4305740754a91ebf70dde
2012-03-13 18:38:31 -04:00
James Ian Johnson
875843a4e1 It was possible for a multi-citation to be ambiguous and mention a something not referenced anywhere else. Added a safeguard so that the citation hash is properly populated.
original commit: 337be4a677bdbd3aeae9926fd45727944ed63d3d
2012-03-13 18:38:30 -04:00
James Ian Johnson
ca961ce44b Added the ability to disambiguate between citations using autobib.
original commit: 2c63ce2286da4113baa9c32d5d75bf8189bcbb35
2012-03-13 18:38:30 -04:00
James Ian Johnson
ce2dc58b4c Better disambiguation for autobib. Delays rendering bib elements because the disambiguation must be accounted for.
original commit: f3dc5796bedcc4390382f0c9d6790caf68d11a99
2012-03-13 18:38:30 -04:00
James Ian Johnson
403058dcf2 Added the ability to disambiguate between citations using autobib.
original commit: 6f1c6b7d92f9654f84dba446edd0df377ee262eb
2012-03-13 18:38:30 -04:00
David Van Horn
c50afd054e Fix contract on filebox to reflect documentation.
original commit: b8d3219b1b8000f367f6660f09e1870a2b857b72
2012-02-28 19:40:21 -05:00
Jay McCarthy
e517a09290 Squelch newline citations
original commit: d7aa944ebac6bed0c7986ede99bd0fa1fb1e61c3
2012-02-20 10:50:47 -07:00
Eli Barzilay
404c08f8c3 Revise commented code so it can replace exiting code without dependency issues.
original commit: 31746a2d9e52202e752850012bb509f7e167e2ff
2012-01-26 13:20:26 -05:00
Jay McCarthy
3b50061de1 Throw an error when required fields are missing, rather than letting scribble error
original commit: 2d0d4823a78147cc9fa4dfa85fc09a5a609ac2d1
2012-01-25 16:48:11 -07: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
bf6b952964 add ffi/com', ffi/unsafe/com'
original commit: ff41a896bc03ccba95da0ba0a8e4b38c70bab278
2012-01-10 18:35:32 -07:00
Matthew Flatt
3f4465aada make scriblib/figure' work with scribble/jfp'
original commit: 3b87b735554b216d78690e4bc25f586988c08311
2012-01-09 13:29:56 -07:00
Matthew Flatt
54de2e9413 fix typo
Reported by J. Ian Johnson

original commit: fb46daafa09c39a5029efd872933f8db20822c41
2011-12-31 06:32:13 -07:00
Eli Barzilay
65e44be261 Make a `resource' struct so it is identifiable.
(Also, change a `define-struct' to a `struct'.)

original commit: 787f3151de5f803fa5b54e6a4d4d2219c72d0b4c
2011-12-28 21:07:24 -05:00
Eli Barzilay
73784d91d9 Remove the `referrer' argument from resources.
This turned out to be a bad idea.  The thing is that some resources need
to be referred to in multiple ways -- for example, different texts in
links of different kinds, or using the URL directly in some cases.  The
existence of `get-resource-path' is a witness for this problem, since it
was used for such cases -- this function is removed as well.

There's no point in trying to generalize this here: instead, go back to
a simpler system where a resource always returns its URL (with an
optional argument to get an absolute URL).  When a `referrer'
functionality is needed, build it on top of that, in a place where it
makes more sense.  (That is, in a specific code for generating content,
where there could be a decision that resources have plain links and also
a very short link for use in navbars.)  Otherwise, it's usually simpler
to just define resources and referrers separately (as different
bindings, the latter uses the former).

original commit: 180651d04d554bb29a6128dd66a292d354140535
2011-12-28 21:07:24 -05:00
Eli Barzilay
984496bef4 Switch delay's to lazy's.
original commit: c8c13e46bb8412b10a97acf490e015dd72079615
2011-12-28 21:07:24 -05:00
Eli Barzilay
27ac7bce2f Clarify a comment for future work; a bunch of new internal definition uses.
original commit: ace5fdf1f3609fff3c583f8ea8fa050a99ac2cf3
2011-12-28 21:07:24 -05:00
Matthew Flatt
f330897ca1 fix for `scribble --text' and tables
original commit: dcedd6e2be5b58bf5f26e1a5c7f5305502d889f8
2011-12-21 11:27:06 -07:00
Matthew Flatt
f5ce9df901 scribble: avoid line-break between "#" and "<void>"
original commit: 1b4f13e674a640cfca5808a024393e047b4d7b19
2011-12-18 07:27:32 -07:00
Matthew Flatt
27d597b71f intern strings, etc. only when making syntax objects, not in `read'
Rename `read-intern-literal' to `datum-intern-literal'.

Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.

original commit: ee775c3cc3088a8de848399b3c1eec97bbc52b89
2011-12-14 16:03:44 -07:00
Matthew Flatt
9d0ff0cdfd more interning related to Scribble xref
original commit: 17504a960eb552992818a9b303457d58f9171b2a
2011-12-10 11:43:58 -07:00
Matthew Flatt
4dacb9f7a8 strip value from 'dep tag
The value isn't used; a 'dep tag is ony to establish
dependencies, and the relevant value is with a 'form or
'def tag. Avoiding the extra value saves another 5% in
cross-reference files.

original commit: 28ee1570ae2ac68007af5798b5964a859ffcb49b
2011-12-10 11:43:58 -07:00
Matthew Flatt
f1a593d3a3 read-intern strings generated by Scribble; other interning
This change saves a small amount of space in cross-reference files
and some space in loaded cross-reference information.
It also saves work converting strings to mutable on deserialize,
although the performance difference seems negligible.

original commit: b2fade9206590173e4c2e346357ad13150525387
2011-12-10 11:43:58 -07:00
Matthew Flatt
c17636d399 fix `defform[*]' handling of #:id and grammar production
In @defform*[#:id x1 [(qqq x1)]], for example, `#:id x1' needs to
calcel the default treatment of `x1' within `(qqq x1)' as
a metavariable, while treating `qqq' as a meta-variable.

original commit: 7d2914fc8a8f2647605da1d6699d0bc54685a5f3
2011-12-03 10:03:13 -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
44a9f835da switch `codeblock' to strings instead of bytes
Also, fix scribble lexer line counting.

Closes PR 12225

original commit: fca5ceecc97dfff28ae52bb404a8761426f64145
2011-11-27 11:06:21 -07:00
Matthew Flatt
201f279940 scribble: use Latex skull package only if needed
original commit: 93bcc58a0c348429a6fc145d83211d4e038f95e6
2011-11-26 09:01:46 -07:00
Matthew Flatt
16ff0ec9a4 at-exp, scribble: remove distinctness of @{}-introduced newlines
original commit: fe3b6ea0032a6cdee6aa8720b349ef1032fed803
2011-11-24 09:17:34 -07:00
Matthew Flatt
3ddff1f507 update sigplanconf to the version with Creative Commons license
original commit: 2de0a853dd4b42f719f260df7039df309deace7e
2011-11-11 16:32:16 -07:00
Matthew Flatt
c3adb61eee scribble: Latex/PDF rendering of some Unicode superscript characters
original commit: 9f81387e85e2fd18f869c60632bba69159476df3
2011-11-11 07:05:16 -07:00
Matthew Flatt
28a795d6a3 add missing `render%' init argument doc
original commit: 3885f4683bb7093f9bf2c448d9b0075ff6a94a67
2011-11-02 08:12:58 -06:00
Matthew Flatt
0ffb9f2b48 fix contract
original commit: 932ef94cb3172fab489b2543a9efa9e613727188
2011-10-28 06:43:20 -06:00
Ryan Culpepper
5218126773 scribble/eval: pretty-print results by default
original commit: eed6016793c9646f5dce28e2660c2a8cd0db1122
2011-10-16 05:41:58 -06:00
Matthew Flatt
80d1ff2273 scribble: fix Latex renderer treatment of table cell/column styles
The renderer was using symbol style names as command names, but only
strings should be treated that way.

original commit: 0f5b53d3498f857920ff7fa438269727553dc058
2011-10-06 07:47:38 -06:00
Ryan Culpepper
02d8332600 removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Matthew Flatt
5faa598ff1 fix `scribble -h' output
original commit: 8711feae2d7109348352687721cd3960f7d80947
2011-09-26 18:07:18 -06:00
Robby Findler
9717b74876 use new copy-file argument that Matthew provided; this is a better fix than
commit f9e1c41cb0a7f84766207d7a092443dbb5a17e1c was for the same problem

original commit: 76e55071b056d87eb60950f0b08326e09668fa5f
2011-09-19 15:19:04 -05:00
Robby Findler
f258c1ca85 minor Rackety
original commit: de62ac2f061ef2d5c40e2025b81f265f40fd0fdf
2011-09-18 21:20:27 -05:00
Robby Findler
7265c614d4 Change scribble so that is overwrites the destination file when it makes a .pdf file
instead of copying the file into place. This makes Lion's Preview happier (specifically
it now recognizes the file as a revision of the old one and updates itself instead of
treating it as a new file and opening a second window)

original commit: f9e1c41cb0a7f84766207d7a092443dbb5a17e1c
2011-09-18 21:20:27 -05:00
Eli Barzilay
867af4149a Make `defproc' throw an error if two arguments have the same name.
Related to the already fixed PR 12114 and PR 12133, which motivated the
error, and a few additional typos of the same kind.

(Note that it uses the symbols, but that's how they'll render anyway.)

original commit: 16cd1ad78d6495816a4869621154024652fd8da0
2011-09-16 11:14:18 -04:00
Eli Barzilay
240449694b Some selective #:when (not ...)' -> #:unless ...'.
original commit: 623c7493ed2bbf7c89caea877a7b94a5f4c42c73
2011-09-16 10:48:18 -04:00
Matthew Flatt
5a16309b24 scribble CSS: force text-align left in RktBlk
Because IE seems to default to inherit while other browsers
default to left.

original commit: 87652cd32e285ac9c37494c49feff867e7ab0e21
2011-09-15 07:25:57 -06: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
48581ad3d0 generalized `begin-for-syntax'
original commit: d3c56c9f13327d07513f8b6bf7ea0230acb7f489
2011-09-08 14:06:00 -06:00
Vincent St-Amour
a33001e62f here-figures shouldn't be on a page of their own.
original commit: 371fcba252ca2ea2a4389e1a9273436253e62be4
2011-09-06 16:35:16 -04:00
Matthew Flatt
077c95eb87 avoid an internal error
Closes PR 12138

original commit: fd0a2e98798073ba9baf8d805ce31923f1468b1c
2011-09-04 15:55:26 -06:00
Matthew Flatt
037d6f0f4c add `schemecommentfont'
original commit: 0b2beace40ceccbdeda4f66c3124b725730bc895
2011-09-03 14:57:57 -06:00
Matthew Flatt
78886fda93 document `scribble/pdf-render;
original commit: e7ec9f5eb7c157fa3d9ab4c1dc87ee5be89611e4
2011-09-01 07:14:03 -06:00
Matthias Felleisen
37ab802f76 Closes PR12140
original commit: e4039661d4f814587a1d35a478b1c64e51c0a424
2011-08-30 17:21:54 -04:00
Matthias Felleisen
b5c4c4fb07 basic fixes to figure.tex; partially addresses PR 12140
original commit: c5155b6b75842c5f362150396859b5538e970609
2011-08-30 17:21:53 -04:00
Eli Barzilay
7510247e3a Documentation typo.
original commit: 0e31b37aa4581f7bdda5bcee4573966b5733dbcb
2011-08-29 15:13:01 -04:00
Matthew Flatt
d1d35d28bf Guide corrections
original commit: bedd7b16713bcea67f44e8bc7e30a5782b8a1f66
2011-08-26 10:04:19 -06:00
Matthew Flatt
fa41cf795e fix `racketmod' file box mode
original commit: b7bad5cc8a7739a3be02fb0ef70a48a7a62110dc
2011-08-24 09:07:13 -06:00
Matthew Flatt
47bab9943d doc style adjustments; reorg cmdline+editors docs in Guide
original commit: f082919f0b63ec0bb40f2b3532796eabdeafee11
2011-08-24 09:07:12 -06:00
Matthew Flatt
5d67e0fe48 fix broken-link reporting by `scribble'
original commit: 853e47f05e6feaaa4d29662d2b5a2042a2bea30a
2011-08-22 07:58:05 -06:00
Matthias Felleisen
dd22d7eedb allow left-aligned figures
original commit: e01e72a7edcb050a657beb4c0dbf96afd6036039
2011-08-18 18:26:14 -04:00
Matthew Flatt
8890f72c3a `scribble' reports broken cross references by default
original commit: 39edc5a5991d17c8becfc7a1b44665fb5cd9d622
2011-08-18 13:05:37 -06:00
Matthew Flatt
af3a99ae55 Revert "Fix a scribble test for plural "Examples""
The test was correct, and e4729afdbff84 fixes the bug.

This reverts commit 4eaab11d14279846ccf1f2a776f2c4d0fdb7a794.

original commit: 09b4a55d87d058f904a82f84ac1443e245343404
2011-08-17 20:43:12 -06:00
Matthew Flatt
1e219c6fe1 fix plurality of `examples' label
original commit: e4729afdbff8492c9467c0a0a2d2e55a6d20b879
2011-08-17 20:43:06 -06:00
Eli Barzilay
107eebf02f Fix a scribble test for plural "Examples"
original commit: 4eaab11d14279846ccf1f2a776f2c4d0fdb7a794
2011-08-17 10:00:55 -04:00
Matthew Flatt
63213b73ae improve codeblock' and racketblock' docs
including an explanation of the advantages and drawbacks of each

original commit: 099a0eebed1f7be89cf7b206afbd53fc94bc14c4
2011-08-16 08:02:50 -06:00
Matthew Flatt
55eed8ac98 add code' to scribble/manual'
original commit: 4555254380c81815195bb55915bdb5cbd3ebc235
2011-08-16 07:53:05 -06:00
Matthew Flatt
97bf4968a3 make racket' preserve #t' versus `#true'
original commit: c7e7d0d8ffe94221573b5bd0e9b6c9bd53dcad9a
2011-08-16 07:53:05 -06:00
Matthew Flatt
4b7c597f04 add an #:escape' clause to all schemeblock'-like forms
original commit: a1eaecb337f2d4e55c7f8638b70226c76554f204
2011-08-16 07:53:05 -06:00
Matthew Flatt
a2f330a9c1 fix lncs and jfp class file download
original commit: 26fe665dd795c9d365fad1bad9fcc6b125c14f5b
2011-08-15 09:58:21 -06:00
Eli Barzilay
2dcc9d11af Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).

original commit: d61eb53686f735b979a60dc6f9efd3d2aa9777d9
2011-08-15 07:50:04 -04:00
Matthew Flatt
eef6298552 download LNCS and JFP class files on demand
original commit: cc78030cd2c0977b8adecdab87223e5a7a177f3d
2011-08-10 08:28:13 -06:00
Matthew Flatt
c5dc6b0957 generalize #%variable-reference' and add variable-reference-constant?'
Use the new functions to make the expansion of keyword applications
to known procedure work  with mutation.

original commit: 5352d670c401ebd4346f4dbd855a81c078193de4
2011-08-09 16:33:17 -06:00
Matthew Flatt
57308d8241 scribble/manual: add `current-display-width' parameter
original commit: f34c0329bfb614f5ad8545eafb93b5abbbc5e197
2011-08-08 17:10:54 -06:00
Eli Barzilay
da5b77c600 Move the lncs ignore into its own directory.
original commit: dae2ac4519eb68f9281463fe41f2d17192443293
2011-08-06 21:00:53 -04:00
Matthew Flatt
0c928d5696 fix `defstruct' to use more long-name layout options
original commit: f7fd274e80d5bd1fa6ad4b1a8b897f100fa0da07
2011-08-05 10:03:38 -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
Matthew Flatt
825e3fcea8 Scribble Latex: change 'boxed to use a blue vertical bar
... to the left of a definition, instead of a horizontal line
before the definition

original commit: 378ca5ffc26168a52a03f46fd83bace49b301ead
2011-08-05 10:03:37 -06:00
Matthew Flatt
b039885e46 fix rendering of transparent structures
original commit: 3a51e8075184e5d0be4a633150f01bfdd6968069
2011-08-03 08:14:57 -06:00
Matthew Flatt
0514449650 fix docs
Closes PR 12011

original commit: 3ffa731f80e63843b9ad399c5907286eba7abe29
2011-08-02 17:07:39 -06:00
Matthew Flatt
76e087da84 fix contract
original commit: fba1777b8ad6d84200e17c85896f9f6d210b0d1d
2011-08-02 06:48:54 -06:00
Matthew Flatt
9e9a62ff99 expose the scribble' command-line driver as racket/render'
original commit: 7977d1817e9d5114f2c2877773199103f3501142
2011-08-01 14:40:49 -06:00
Matthew Flatt
395f17b2b5 adjust `scriblib/figure' CSS for more consistent spacing
original commit: 86f4e5912b6975509315c4997cf07e4294f6ef55
2011-08-01 13:14:43 -06:00
Matthew Flatt
3a89754d6a fix mismatch between make-base-eval' and make-base-eval-factory'
original commit: 8d3aa69e9de7531f7b10f1f7c6c684be32978022
2011-08-01 04:01:40 -06:00
Matthew Flatt
c2b2a75490 generalize `defform' & co. to better support abstraction
original commit: e1b02e08f7697b1ca9514df5d14f21c604c3ae0c
2011-07-07 10:45:43 -06:00
Matthew Flatt
f60f217aae allow lists of pre-content to `decode-content', etc.
and improve docs for `scribble/decode'

original commit: d8352d5890b3817db5bae24c85cc57cf6a25401a
2011-07-06 09:07:19 -06:00
Matthew Flatt
19221251c7 scribble: clarify intent of `#:use-sources'
original commit: 5d06476cb3f91c7dbd370b1e24a5454cb4dd1229
2011-07-05 07:03:26 -06:00
Matthew Flatt
5086963aa8 fix test
which is sensitive to details of the documentation of `->'

original commit: e3b8997fb8532c4491848be48f011635f4147dce
2011-07-04 16:35:38 -06:00
Eli Barzilay
45a9cd48c2 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Eli Barzilay
b8556478f5 Try to improve the tests wrt timeouts and memory limits
original commit: 226f86d201794a880e0ec49ab6cb03ec937c962e
2011-07-02 01:10:38 -04:00
Ryan Culpepper
0e1979d80b docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names

original commit: 1b702a2ae32aba835f7467ced6b203902db0ccd9
2011-07-01 17:16:53 -06:00
Matthew Flatt
ca809eb024 remove syntax certificates; add syntax taints
original commit: 1160d3df629ce65eb8fe9ebea2c33b8d4000ea50
2011-06-29 19:15:48 -06:00
Eli Barzilay
2b3b4f15e0 Add block' to scribble/text', to explicitly ask for an indentation block.
* Lists are now either blocks or splices depending on whether they
  appear inside a block or a splice (default to block).

* Adjusted the docs and a single test where this mattered.

* Change the documentation to be "text.html" and to be titled "text
  generation".

original commit: 0af236dc2f39d5b697ca26af51b6f1e659d6bbe9
2011-06-28 18:16:07 -04:00
Eli Barzilay
2917d887d6 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Eli Barzilay
d2eb729e49 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.

original commit: a38f384a002ccf6c3cbaab813fe080ca226e4a59
2011-06-28 00:45:38 -04:00
Eli Barzilay
0ed2447eb9 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.

original commit: ac26fe75546b5182d78f18c2cd882f0f440849e2
2011-06-25 04:08:47 -04:00
Matthew Flatt
ad8ba406ee fix `codeblock' handling of spaces
for a chunk that also includes newlines

original commit: 52825c68a15841282de4f7c0e60e832a728de6fb
2011-06-22 07:49:15 -06:00
Matthew Flatt
9f6f5d9812 add --latex-section' mode to scribble'
original commit: 3f95fabf7c4ef7616633820e79bf4d1ea472bbb9
2011-06-22 07:49:15 -06:00
Matthew Flatt
532feda048 document `scribble' command-line use
original commit: 73f6a2b3929c6c55add6ea6e7e54ae9628f776c5
2011-06-21 06:45:44 -06:00
Eli Barzilay
41c51bfdb4 Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
2011-06-20 04:27:14 -04:00
Matthew Flatt
c6d0c1b138 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.

original commit: f34a31cac945a622ea5994ca270cc5e253c795ed
2011-06-17 18:54:43 -06:00
Vincent St-Amour
71fd650e3c These changes break with bad sandboxes.
Revert "Fix interface."
Revert "Add more scribble forms that evaluate code and display the results."

This reverts commit a621eaf04151f4bf830bfe3fca5c60c6dd72fcae.
This reverts commit 7e9dbded4c89c5e95945e2f91653fab0b58a0390.

original commit: 8f092e83309b0b376feb1fc1ad13914990137b50
2011-06-17 15:18:48 -04:00
Vincent St-Amour
3dc3b7ee6e Fix interface.
original commit: a621eaf04151f4bf830bfe3fca5c60c6dd72fcae
2011-06-17 14:47:16 -04:00
Vincent St-Amour
01a237406a Add more scribble forms that evaluate code and display the results.
original commit: 7e9dbded4c89c5e95945e2f91653fab0b58a0390
2011-06-17 14:04:38 -04:00
Danny Yoo
ba61cf64e8 Fixing the comment-at-end-of-file bug (PR#11982)
original commit: d78fccb75bd29ce5ca5abb090109410a7759ca1e
2011-06-16 21:37:48 -04:00
Eli Barzilay
88e9704a8b Pass around the form name so that an error from the sandbox will show a
more useful error.

original commit: 768baa5983297370ef06023400565b0a3d4c099d
2011-06-16 21:37:48 -04:00
Eli Barzilay
bf18603b97 Switch to `#lang', reformat, and some minor improvements.
original commit: d4dec81c91a3d95ce8d252a2b63bdc3fe8c79128
2011-06-16 21:37:47 -04:00
Eli Barzilay
09eb2cc7b7 Add an error message when the sandbox doesn't capture its output as a string.
original commit: 43d1c240a171943e214ac43055e6bdbfc5072f70
2011-06-16 21:37:47 -04:00
Matthew Flatt
41b848edda Scribble Latex Unicode fixes
original commit: c9e98a5f1f3e93815352e4177730d7704c5ecda9
2011-06-16 15:06:15 -06:00
Danny Yoo
6229f725df added example of making an evaluator for interaction
original commit: e35e005a1c833bdc70a76bf1ffe2e6720b881675
2011-06-16 12:09:55 -04:00
Matthew Flatt
a847663f2d adjust `racketmodname' to ignore for-label imports
so that `@racketmodname[lazy], for example, typesets correctly
 when `lazy' is imported for-label

original commit: c8999c25413352de46cd1f8006a768ff74938163
2011-06-15 08:23:33 -06:00
Eli Barzilay
db7729e6c4 Revise this comment
original commit: 80f0d57cdd46a4b3226dc5af64bd8e72edaba3dd
2011-06-14 19:02:30 -04:00
Robby Findler
027d80e352 added a missing error check to scribble decoding
original commit: ecf45ab426b5215a71f31ffb223dfce7cadd66fd
2011-06-11 08:58:06 -05:00
Matthew Flatt
d8f6292e36 try to clarify intent of #:contracts' in defform'
original commit: fbbb30f7b013dc187b20bdecae0e57a845b3b3c8
2011-05-30 08:58:11 -06:00
Robby Findler
fae7c00658 sriblib/autobib: added a keyword argument to generate-bibliography to control the name of the section
original commit: 62d758ca56d16ceb8c4f55460ffdb904a52b002d
2011-05-27 07:32:20 -05:00
Eli Barzilay
58183ac740 Go down boxes too.
original commit: 7f6733b61706fb421669a198b0701869e3345093
2011-05-23 14:05:13 -04:00
Jay McCarthy
d1019505c9 Adding scriblib/bibtex.
original commit: 291ee08736847a5daf21d30cb1a5b1e841316539
2011-05-21 10:10:05 -06:00
Jay McCarthy
34ec37f10f First pass
original commit: 0332a09d107435552a0d29579ccc81f6acf9a848
2011-05-21 10:10:05 -06:00
Jay McCarthy
b7cd18d881 Parsing
original commit: dc639df1da0f41ba42258cd3822d4b0372fbd0cb
2011-05-21 10:10:04 -06:00
Jay McCarthy
7d9255f949 Parsing
original commit: 12f5994191fca72e34fe4ff08ea4e56604f2931d
2011-05-21 10:10:04 -06:00
Jay McCarthy
92db41b34f Parsing
original commit: 996a0366f8c8cdacbc2dd59a5d1ffbc85964b504
2011-05-21 10:10:04 -06:00
Jay McCarthy
f423da24e0 Progress
original commit: eb55bc9a86acd4169ee29a66ac1b8abcd1ef1a62
2011-05-21 10:10:04 -06:00
Jay McCarthy
1d0f2af4f0 Worked too long on this today
original commit: 5fd6f0663e85e4ac432ebe5f67f91aea2b1855f8
2011-05-21 10:10:04 -06:00
Jay McCarthy
02f46b6da6 Initial bibtex fakery
original commit: e8d3ce3f3f5d915fda41b67f2845a5500faa404b
2011-05-21 10:10:03 -06:00
Matthew Flatt
a37d3fc996 fix 'exact-chars Latex rendering for `multiarg-element'
original commit: b44f217cddd166412c56bd80e810ebdeebcd1337
2011-05-19 06:36:54 -07:00
Matthew Flatt
e4f618d24d scribble: add support for setting a document date
in Latex output, and also document and generalize
 the 'pretitle paragraph style

original commit: 66178570b6f13fe2f6163d7b15e9e4118a4d0bad
2011-05-15 19:42:22 -06:00
Matthew Flatt
dc3a4f59e8 fix doc typo
original commit: c5816ab6f969e08a30eb624d73b1fdad52686d46
2011-05-13 08:55:03 -06:00
Robby Findler
36e76ed714 fix search path problem in scribble
original commit: 0a0445692b5727e6cb0661035ada7f4da21d861d
2011-05-13 09:05:25 -05:00
Matthew Flatt
45f4c0c133 fix `scribble/lncs' docs
original commit: 4671b5f2ba2d422955153d9f1dabe1cc6b282cd9
2011-05-10 20:34:28 -06:00
Robby Findler
c06213e9c7 added the scribble/lncs language
original commit: a1217107b26359a13f642798570c4f7a2efb2303
2011-05-10 14:10:28 -05:00
Robby Findler
8111a22e06 a start on the scribble/lncs language
original commit: e88f86efe43e17ecabbf67ee2b3c1f5317c3c2ca
2011-05-08 22:19:46 -05:00
Robby Findler
00758423a6 document the help collection's top-level modules
original commit: 2fe1c3b80d2d84a67f1384d42ea1f818d8466ee7
2011-05-06 17:29:03 -05:00
Robby Findler
d429fda9d9 moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library

original commit: 507b1cd8fd81cd9c5fcf466a2a0c4c47433b0795
2011-05-05 16:10:42 -05:00
Robby Findler
0bcc3edb0e add in the supported ->i forms
original commit: 551c6866d1088797c5a010df93f2a3ee56eb9b77
2011-05-01 14:15:57 -05:00
Robby Findler
90408eea58 adjust scribble's racketblock renderer so that #true and #false
don't turn into #t and #f.

original commit: c8d476c76ee1f19fc6d1bf3503081221806b709a
2011-04-30 20:35:16 -05:00
Sam Tobin-Hochstadt
6a607c97ab new version of sigplanconf.cls
original commit: db5d59a2170db5bb1e834bd0efc70bf7ef2ab887
2011-04-30 19:48:59 -04:00
Robby Findler
e6d03696ec added lots of new tests that our documentation is complete
original commit: e7d0029aeaadcaf1c691756198f96cfd5eff0f4c
2011-04-25 13:24:43 -05:00
Matthew Flatt
667c9a0bd7 fix nit: "running 2nd time" instead of "re-running 2nd time"
because "re-running 2nd time" should mean the 3rd run

original commit: 1c604999238457ab14746c8af35216eea0d7e810
2011-04-14 13:20:23 -06:00
Matthew Flatt
334060a553 fix temp file names when building PDFs of installed docs
Closes PR 11830

original commit: 192c56629434524ddc29a2f551094363cb8b7ab1
2011-04-14 12:40:18 -06:00
Matthew Flatt
1f3a00eec7 fix scriblib/gui-eval and pre-build pictures for Quick
original commit: df4ffe3573ca7fbc1b0cb094de8195d2e179726e
2011-04-14 12:20:16 -06:00
Matthew Flatt
e752f91ee4 `xref-binding->definition-tag': fix two-argument-list mode
Closes PR 11847

original commit: 00ca86ffc6641892828a0444babd00357a03bb82
2011-04-12 15:55:22 -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
a38f6d50f5 fix `secref' docs; document some Latex macros available for redefinition
original commit: ef4ea236464dd300afadde0134813f23aa0afaf7
2011-04-04 11:26:41 -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
09a020b547 adjust `scriblib/gui-eval' docs
since it's no longer needed for `racket/draw' images

original commit: 8e289018c8c3f56336417d6b0d41b7d3ca68f4b5
2011-04-04 10:43:38 -06:00
Kevin Tew
c9595e0a7a codeblock line numbers
original commit: 0c4d90b1db8ce9a01215ac413505314349c852b3
2011-04-02 16:01:21 -06:00
Casey Klein
442283d9be Adds caron s to LaTeX renderer
original commit: 7edfa58ef109abd91a358d2eef068040b43fe1ea
2011-04-01 14:00:45 -05:00
Matthew Flatt
96abeaed70 Scribble: fixes for text output, especially inset nested flows
original commit: d00c8a6c71c9f31c0e919014c42ed1b659103d9b
2011-03-30 19:53:32 -06:00
Matthew Flatt
adbef370d3 Scribble: use \abovedisplayskip and \belowdisplayskip for code insets
original commit: 4703265503c1ff3dca6bef8831d452a17ba2e213
2011-03-30 18:11:33 -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
1f7cb9b151 Scribble: fix Latex-renderer bug introduced by 67b7c8f3f4e54
original commit: ba70e05ae24728a30e85618657b52c8da8d08b4a
2011-03-29 08:32:14 -06:00
Matthew Flatt
32be99330c adjust inline-PDF descent to account for rounding
of the PDF bounding box

original commit: a20a77508fe8bba052b15574b9601ef6a204f7f7
2011-03-27 16:27:19 -06:00
Matthew Flatt
df42879d73 scriblib doc corrections and clarification
original commit: 009468d6a8e25878d2256717e829aadf4144efbc
2011-03-27 14:20:17 -06:00
Vincent St-Amour
5a9053820f Document here-figures.
original commit: 4b4d7f5f0bed64d56dcc53cec5ab92ea4917eb2b
2011-03-27 14:48:17 -04:00
Matthew Flatt
7bedf21f05 fix CSS typo
original commit: d81ace10315d03523ae9d1457733f9bb4621d6eb
2011-03-27 07:30:18 -06:00
Vincent St-Amour
60d6b1c16f Add here-figures to scribble and avoid putting figures on their own page if possible.
original commit: c1ab718ad77542416a639bfc2abbc3ea8e17ea5d
2011-03-27 07:30:18 -06:00
Vincent St-Amour
ce0e91fe1b Add the capital version of an accented character to Scribble.
original commit: 2e811060c5ded00a8946303aae7391ebac9febe6
2011-03-23 18:21:27 -04:00
Robby Findler
d145d03176 added one more accented char to scribble
original commit: 85b846f5f382c5b020aea006fb166e86492f93eb
2011-03-23 17:03:58 -05:00
Vincent St-Amour
16f2364f42 Fix Scribble's handling of the trademark symbol.
original commit: 4b1e4f9312e5379d60c8e8344ae74aba0e5b4f3a
2011-03-22 16:27:12 -04:00
Vincent St-Amour
3a7876b93a Fix Scribble's handling of L with stroke.
original commit: 6e9fea94e0748c7feef2999c73d11488591e4b32
2011-03-22 12:30:29 -04:00
Vincent St-Amour
c7fe077d3b Handle more accented characters in Scribble.
original commit: 0641d7bd7829551cefba6253e39eea354f32fcbd
2011-03-21 12:08:36 -04:00
Matthew Flatt
80991752ea Scribble: clean up text-mode output
- line-flow paragraphs to fit in 72 columns
 - better indentation for itemizations
 - format tables with paragraphs and nested tables

original commit: 60c4acb094286e2501bdfc40a6bec2fd86faee4f
2011-03-20 17:19:03 -06:00
Matthew Flatt
ce1101a292 add missing autobib test
original commit: b2e338cc43176a0e182abb11d5fc81874387e5d2
2011-03-20 15:38:51 -06:00
Matthew Flatt
6248efa610 scriblib/autobib: fix `in-bib' to not generate a new bib entry
original commit: 50ca70703f1ea1944bce30ba4600ab13696b1cb0
2011-03-20 15:35:02 -06:00
Matthew Flatt
7ebc1ae0e4 Scribble: add 'multicommand support to `nested-flow'
original commit: cbca2f395bc2aa21a1c2c17667f10978b8cb43c3
2011-03-19 09:26:41 -06:00
Robby Findler
bcc970a7bf fix some for-label requires
original commit: 6e1ffc24cf92bb4822f9e10205f7c596bf3f258b
2011-03-17 13:35:31 -05:00
Matthew Flatt
597196ae0e revese accidental change in 28be0c6e8938426668937add84c53647790aa736
original commit: 03e42ce6181f4ca881ffd96f4b797fe15d141272
2011-03-15 11:12:50 -06:00
Matthew Flatt
5747d6c575 Scribble: fix caching of hyperlinked identifiers
original commit: 343b6fb00813b5d0c04ca40f7794dc5ad714280e
2011-03-15 11:09:10 -06:00
Eli Barzilay
b5449a6c81 Minor typo and other small things.
original commit: 64e4b73a9ff66a0586dc8ef2b5ee50b8109099b5
2011-03-15 11:46:16 -04:00
Eli Barzilay
9a23a86418 Improve the error message from scribble text rendering tests.
original commit: 09698c800c831794a70bfb47042f8ebbab4a6623
2011-03-15 11:45:40 -04:00
Robby Findler
180aa8f478 adjust the size calculation of picts in the file/convertible connection to take into account the current-ps-setup's scale
original commit: 28be0c6e8938426668937add84c53647790aa736
2011-03-15 09:00:37 -05:00
Matthew Flatt
436582c382 fix Scribble Latex/PDF handling of images w/o bounding boxes
original commit: 3207efddb0abfc5a4648c99946171f18a850fafc
2011-03-15 07:20:36 -06:00
Robby Findler
30733a2b80 added pdf-bytes+bounds to the docs for file/convertible and then used it
to make scribble render inline picts with a nearly good looking baseline

original commit: 615bc86668f237635b9e5b10c94f63ef41d0544b
2011-03-14 19:38:29 -05:00
Matthew Flatt
e4d9880b02 Scribble: experiment with non-bold as syntactic-form font
original commit: 991745108cbcc4ccf4fc4f16622f31d0f899a0f8
2011-03-13 09:02:41 -06:00
Matthew Flatt
b1748ad2c3 hyperlink #<void> and #<undefined> in docs
original commit: 0101d12d49ce61bc3877ad4db4f0fb2f3f835bfb
2011-03-13 09:02:40 -06:00
Matthew Flatt
f258bf0dff scribble/manual: document `this-obj'
original commit: 3fb4561a628b375d2ead03b506f2a71edf9f0d06
2011-03-13 09:02:39 -06:00
Eli Barzilay
46ffc5cf44 Add comment on how to make interactions use syntax values.
Also add `code:comment' to the keyword list.

original commit: 01089550e2f994bbc8e027478ec41c7985ec2e80
2011-03-11 15:40:13 -05:00
Matthew Flatt
5c33640661 add missing test for commit ae8705611ba3ff03
original commit: 449a634b2f0f885e279410b27034304f015e73c4
2011-03-11 13:19:52 -06:00
Matthew Flatt
67888f2c2c scribble/eval: fix evaluation of literal #f expression
Fixed part of PR 11790

original commit: ae8705611ba3ff03ed208aa5c590e8cfc52a36a6
2011-03-11 07:52:16 -06:00
Matthew Flatt
c33146745d a round of doc corrections from Gwyth
original commit: 0b496d5275e1bfacb9c087f2548a80fbb3878d26
2011-03-10 06:34:33 -06:00
Matthew Flatt
f96e6f14e0 Scribble: add #:left?' optional argument to margin-note'
original commit: ec2a9177492705c66d39c2e48d909ba3bd2115b6
2011-03-02 11:00:21 -07:00
Eli Barzilay
abc3822ad4 Merge in the docs test into the rest of the scribble tests.
Also fixed it to scan all scrbl files in the docs directory, use
runtime-path, and change the rest to racket to get the quoted printout
right.

original commit: 0801525931be9e9542230091748d366a114cbeb9
2011-02-16 15:26:15 -05:00
Kevin Tew
1c13277c98 [Scribble] Fix width of multicolumn table cells
original commit: f7d89009a42559e65fcabc93e68d083d0527962d
2011-02-16 09:26:17 -07:00
Matthew Flatt
8ce5125d6c Scribble: fix multi-line print output
Closes PR 11735

original commit: 1a5f41fd712384b409c760d15961af7b83e000ff
2011-02-14 07:32:21 -07:00
David Van Horn
55de128d83 Fixes more spelling errors.
original commit: 760a58b65df2b91010d2bcc2739ddab2a4489729
2011-02-04 19:44:13 -07:00
Sam Tobin-Hochstadt
c41c11a64b codeblock:
fix language regexp to accept numbers in #lang

original commit: 6099806a7209d0d9e4ba85412dac0e13d8910111
2011-02-03 17:42:33 -05:00
Matthew Flatt
e8ce285e5a fix typo
original commit: d704f9565b8db7cf456dac84c025b188425c06c9
2011-02-02 16:09:45 -07:00
Matthew Flatt
73b8f12a0d Scribble: improve interaction', examples', etc. for non-text
by setting the default output port in the sandbox to support
 content as "specials" when `current-print' is changed

original commit: 46dc2d66839f83fed424b4e214160faa0894404d
2011-01-29 09:55:40 -06:00
Matthew Flatt
1135fc015a fix doc typos
original commit: e94f7e003994dd72159e26ebe74acc4cf8cb9f17
2011-01-20 07:10:05 -07:00
Matthew Flatt
60d174526e Scribble docs: clarify 'hidden v.s 'toc-hidden and "on this page"
Closes PR 11554

original commit: 0e0f88be00fc4a62d8f49061a06b9c4d1f444d75
2011-01-17 16:25:09 -07:00
Matthew Flatt
ffcd532320 make `codeblock' work without a #lang line
but revise docs to clarify that a #lang line is really expected
 Closes PR 11385

original commit: c8e3d45dae9fd7523b0fb0d9f820b01e11ec0c06
2011-01-16 19:12:38 -07:00
Matthew Flatt
b4e0d832da fix `codeblock' interaction with reader macros
Closes PR 11386

original commit: 090f82cc0b22077664ddf1174cc219694a55e0c7
2011-01-16 18:35:03 -07:00
Matthew Flatt
5de2c07566 fix `codeblock' linking
Closes PR 11624

original commit: b1e13e7f3fbc7d4902d52c9accf5dd49c082b675
2011-01-16 13:37:22 -07:00
Matthew Flatt
e199fb6177 fix Scribble serialization of search-redirected links
original commit: f64b52052f797d15517d1718d1f73a454291ecf8
2011-01-11 13:24:34 -07:00
Matthew Flatt
75937ef014 fix docs for `image-element'
original commit: 68e60df7dbd0b15577d625a9c52eade9c3e4ec41
2011-01-10 16:44:10 -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
1ad722cd40 doc `Secref'
Closes PR 11309

original commit: e6fd878e144cd717b6ccf49460674b5cc5910441
2011-01-08 10:29:31 -07:00
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
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
Jon Rafkind
7857dca458 move purpose statements to the info files
original commit: 65c245cdc79e8f515c55c261dacb663fbf022acf
2010-08-23 15:13:00 -06:00
Robby Findler
6e73866b6f improved the image docs slightly
original commit: 46e9a3b79be1f775c883567df43b0291d2cffc98
2010-08-21 15:07:43 -05:00