Commit Graph

1047 Commits

Author SHA1 Message Date
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
ba70e05ae2 Scribble: fix Latex-renderer bug introduced by 67b7c8f3f4 2011-03-29 08:32:14 -06:00
Matthew Flatt
a20a77508f adjust inline-PDF descent to account for rounding
of the PDF bounding box
2011-03-27 16:27:19 -06:00
Vincent St-Amour
2e811060c5 Add the capital version of an accented character to Scribble. 2011-03-23 18:21:27 -04:00
Robby Findler
85b846f5f3 added one more accented char to scribble 2011-03-23 17:03:58 -05:00
Vincent St-Amour
4b1e4f9312 Fix Scribble's handling of the trademark symbol. 2011-03-22 16:27:12 -04:00
Vincent St-Amour
6e9fea94e0 Fix Scribble's handling of L with stroke. 2011-03-22 12:30:29 -04:00
Vincent St-Amour
0641d7bd78 Handle more accented characters in Scribble. 2011-03-21 12:08:36 -04:00
Matthew Flatt
60c4acb094 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
2011-03-20 17:19:03 -06:00
Matthew Flatt
cbca2f395b Scribble: add 'multicommand support to `nested-flow' 2011-03-19 09:26:41 -06:00
Matthew Flatt
03e42ce618 revese accidental change in 28be0c6e89 2011-03-15 11:12:50 -06:00
Matthew Flatt
343b6fb008 Scribble: fix caching of hyperlinked identifiers 2011-03-15 11:09:10 -06:00
Robby Findler
28be0c6e89 adjust the size calculation of picts in the file/convertible connection to take into account the current-ps-setup's scale 2011-03-15 09:00:37 -05:00
Matthew Flatt
3207efddb0 fix Scribble Latex/PDF handling of images w/o bounding boxes 2011-03-15 07:20:36 -06:00
Robby Findler
615bc86668 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
2011-03-14 19:38:29 -05:00
Matthew Flatt
991745108c Scribble: experiment with non-bold as syntactic-form font 2011-03-13 09:02:41 -06:00
Matthew Flatt
0101d12d49 hyperlink #<void> and #<undefined> in docs 2011-03-13 09:02:40 -06:00
Eli Barzilay
01089550e2 Add comment on how to make interactions use syntax values.
Also add `code:comment' to the keyword list.
2011-03-11 15:40:13 -05:00
Matthew Flatt
ae8705611b scribble/eval: fix evaluation of literal #f expression
Fixed part of PR 11790
2011-03-11 07:52:16 -06:00
Matthew Flatt
ec2a917749 Scribble: add #:left?' optional argument to margin-note' 2011-03-02 11:00:21 -07:00
Kevin Tew
f7d89009a4 [Scribble] Fix width of multicolumn table cells 2011-02-16 09:26:17 -07:00
Matthew Flatt
1a5f41fd71 Scribble: fix multi-line print output
Closes PR 11735
2011-02-14 07:32:21 -07:00
Sam Tobin-Hochstadt
6099806a72 codeblock:
fix language regexp to accept numbers in #lang
2011-02-03 17:42:33 -05:00
Matthew Flatt
46dc2d6683 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
2011-01-29 09:55:40 -06:00
Matthew Flatt
c8e3d45dae make `codeblock' work without a #lang line
but revise docs to clarify that a #lang line is really expected
 Closes PR 11385
2011-01-16 19:12:38 -07:00
Matthew Flatt
090f82cc0b fix `codeblock' interaction with reader macros
Closes PR 11386
2011-01-16 18:35:03 -07:00
Matthew Flatt
b1e13e7f3f fix `codeblock' linking
Closes PR 11624
2011-01-16 13:37:22 -07: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
Robby Findler
49952e580b adjust scribble's in-drracket html generator button to use the sandbox so user code cannot corrupt drracket.
related to PR 11601
2011-01-08 16:37:58 -06:00
Matthew Flatt
7852408f8a Scribble: prevent linebreaks after leading hyphens on identifiers 2011-01-07 09:48:03 -07:00
Matthew Flatt
21d324a169 Scribble soft-hyphen support for Latex rendering; ?-' in scribble/base' 2011-01-07 09:48:03 -07:00
Matthew Flatt
315fdf071a better Scribble support for disabling line breaks
- make 'no-break element style work consistently
 - document 'no-break
 - add `nonbreaking' to `scribble/base'
2011-01-07 09:48:03 -07:00
Matthew Flatt
8f23d9dc1a fix reference hyphen and some abbreviations 2011-01-07 09:48:03 -07:00
Matthew Flatt
163d10cab3 Scribble LaTeX rendering of non-breaking hyphen; add ~' and -~-' 2011-01-07 09:48:03 -07:00
Matthew Flatt
5998c0ac95 add ._' and .__' to `scribble/base' for abbrev- and setence-ending periods 2011-01-07 09:48:03 -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
36669b821a re-fix Scribble Latex image support 2010-11-28 08:01:07 -07:00
Matthew Flatt
cc82d37285 Scribble Latex image support (missed an earlier commit) 2010-11-28 08:01:06 -07:00
Matthew Flatt
8b3165d55b move racket/draw overview to the Guide and expand it
--- plus some minor collateral API improvements
2010-11-27 16:34:32 -07:00
Matthew Flatt
e97414b7bf bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs 2010-11-27 07:36:12 -07:00
Matthew Flatt
5d386a99ec fixes to make pict eval results work in Scribble 2010-11-26 20:40:43 -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
Robby Findler
747c735eb3 adjusted scribble's sigplan setup so that the times.sty and qcourier.sty packages can be disabled. 2010-11-19 17:57:13 -06:00
Matthias Felleisen
dbe896a969 wrong font size for 1column 2010-11-17 18:56:08 -05:00
Sam Tobin-Hochstadt
2dbbd1b58e Add @onecolumn option to scribble/sigplan 2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
7b61209069 Updated version of sigplanconf.cls 2010-11-16 12:38:48 -05:00
Eli Barzilay
4d11d12c40 The reader for "#lang scribble/html".
(Somehow wasn't included in the earlier commit.)
2010-11-01 08:25:35 -04:00
Matthew Flatt
aa7c4b53d9 add `codeblock' to Scribble 2010-10-31 07:09:27 -06:00
Eli Barzilay
58febe21a0 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.
2010-10-28 17:31:22 -04:00
Robby Findler
68b06b42d9 add missing for-label require 2010-10-28 11:32:14 -05:00
Eli Barzilay
69a490c10b More name improvements: scribble/text/textlang' -> scribble/text/lang'
and the same for `scribble/html/lang'.
2010-10-26 16:17:09 -04:00
Eli Barzilay
82221a51db 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.)
2010-10-26 15:36:29 -04:00
Eli Barzilay
ca040ea42a 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'.)
2010-10-26 13:50:17 -04:00
Eli Barzilay
7ac83e25c9 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.
2010-10-26 07:21:11 -04:00
Matthew Flatt
6ac33a62be 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
2010-10-08 19:01:33 -06:00
Jay McCarthy
b9b7bb784a Stupidly forgot to adjust pattern mentioned in the place that I changed 2010-10-07 18:35:25 -06:00
Jay McCarthy
c74c94d6fd Allowing full require spec stx in require/doc 2010-10-07 17:24:39 -06:00
Robby Findler
711fe50641 made proc/doc recognize ->i contracts 2010-09-09 14:21:35 -05:00
Jay McCarthy
bd14fbb4ee Autosaving when Scribble buttons are clicked 2010-08-26 17:14:09 -06:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Matthew Flatt
a19899898f change Scribble's interaction', etc. to use non-default current-print'
to format results, if one is installed in a sandboxed evaluator
2010-08-24 20:50:46 -06:00
Matthew Flatt
0b71f65ba9 fix rendering of constructor style struct value's first field 2010-08-24 07:19:15 -06:00
Matthew Flatt
31f6a0da4e fix Scribble `racket' rendering of quotes
which used to trigger too much space after a quoted form
2010-08-24 06:05:29 -06:00
Jon Rafkind
65c245cdc7 move purpose statements to the info files 2010-08-23 15:13:00 -06:00
Jon Rafkind
bdf98ebbe2 add README files for scribble directories 2010-08-23 10:06:45 -06:00
Matthew Flatt
d97ee68867 adjust Scribble to sync filename case with uses 2010-08-17 17:32:22 -06:00
Matthew Flatt
656321dbcb add optional #:key' argument to tech' and `techlink'
to specify the defined technical term separate from the link content
2010-08-03 12:48:03 -06:00
Robby Findler
f96ed0632a improved contract 2010-07-31 09:40:04 -05:00
Sam Tobin-Hochstadt
dba04c8aea Add @nocopyright option to scribble/sigplan. 2010-07-26 11:43:33 -04:00
Matthew Flatt
5f1aa418f3 add collection-file-path and splace collection trees at the file level 2010-07-25 11:01:09 -05:00
Kevin Tew
81c4275220 Fix cross references 2010-07-24 23:06:43 -06:00
Matthew Flatt
96d528db9e fix Scribble Latex rendering of consecutive dashes and quotes 2010-07-24 20:43:17 -05:00
Kevin Tew
5bb2e148de Parallel docs build 2010-07-22 02:39:57 -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
Jay McCarthy
1dfb50460a Revert "Do not actually use dependent contracts in provide/doc if there is no dependency"
This reverts commit 334978a8e4.
2010-07-15 10:23:06 -06:00
Jay McCarthy
334978a8e4 Do not actually use dependent contracts in provide/doc if there is no dependency 2010-07-15 09:52:30 -06:00
Matthew Flatt
b37799f42c scribble/doclang extends racket/base instead of scheme/base 2010-06-30 15:49:00 -06:00
Jay McCarthy
ba31d8c429 Fixing contracts and a little less allocation 2010-06-25 07:10:52 -06:00
Jay McCarthy
0ed6e4a396 This seems to fix pr10980 2010-06-25 07:10:51 -06:00
Jay McCarthy
27d8f5a039 Adding contracts to track down problem 2010-06-25 07:10:51 -06:00
Sam Tobin-Hochstadt
ab70fed8a8 Scheme -> Racket in styles
Scribble style names.
 .tex and .css files
2010-06-08 16:40:47 -04:00
Matthew Flatt
7a2ac10e0f change Scribble HTML button to set current-directory while running
Closes PR 10944
 Merge to v5.0
2010-05-31 14:02:42 -06:00
Matthew Flatt
c18603f767 add racketresultblock, etc. to Scribble 2010-05-31 13:55:16 -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
e8fe67991e fix problem using both #:doc and #:tag-prefixes for secref
Merge to v5.0
2010-05-25 09:20:03 -06:00
Matthew Flatt
6dec677308 Fix problem with scribble/lp and dotted forms
Closes PR 10924
 Merge to v5.0
2010-05-24 10:03:55 -06:00
Matthew Flatt
f5a0b9e613 fix scribble/xref 2010-05-22 08:46:43 -06:00
Matthew Flatt
18b06a9297 add `margin-note*' for putting a single-para note in the middle of a para 2010-05-21 19:40:33 -06:00
Matthew Flatt
141a37e50d Fix Scribbling and eval-result copying of hasheqv/hasheq tables
Closes PR 10918
2010-05-21 19:40:33 -06:00
Matthew Flatt
8b7c8d08bd add fix-point finding traverse pass to Scribble 2010-05-21 19:40:33 -06:00
Matthew Flatt
94a55281c1 fix problems with Scribble HTML and PDF buttons 2010-05-21 07:15:39 -06:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Matthew Flatt
bb26115591 add 'filebox' Scribble function 2010-05-16 17:28:55 -06:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
bb263675b6 Rename "drscheme-button*" -> "drracket-button*"; fix bad reference to "drscheme/syncheck-drracket-button". 2010-05-16 18:26:25 -04:00
Matthew Flatt
aa9a8549ad finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Sam Tobin-Hochstadt
8836b85cb7 fix drdr timeout due to gui window 2010-05-10 09:49:50 -04:00
Matthew Flatt
20c732b795 fix search sort order 2010-05-10 06:21:16 -06:00
Matthew Flatt
6563ef6812 rackety framework and tools docs 2010-05-08 07:37:08 -06:00
Matthew Flatt
e5a259bdf0 document latest printing convention 2010-05-06 18:01:21 -06:00
Matthew Flatt
420ea6ee09 convert racket value printer to constructor+quote style; update Guide and Quick 2010-05-06 14:57:15 -06:00
Matthew Flatt
43027a8d9b switch printer to constructor+quote style 2010-05-06 10:33:42 -06:00
Matthew Flatt
162058036e fully rackety guide 2010-04-30 08:02:57 -06:00
Matthew Flatt
b61a99c433 add defidform/inline and use it to document on-draw 2010-04-28 06:41:43 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
1fedf04739 partly rackety guide 2010-04-27 14:09:51 -06:00
Matthew Flatt
db2ed4cef3 change printer to not quote ellipsis in partially opaque structure 2010-04-26 14:18:43 -06:00
Matthew Flatt
5e001f0be1 fix on-this-page ToC rendering with tag prefixes (PR 10871) 2010-04-26 07:20:12 -06:00
Matthew Flatt
a6694a08b7 fix make-base-namespace in scheme/base (PR 10870) 2010-04-26 06:47:02 -06:00
Matthew Flatt
616080c7c4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc. 2010-04-25 12:10:36 -06:00
Matthew Flatt
f60c178964 change defstruct rendering 2010-04-24 08:29:45 -06:00
Matthew Flatt
22470e4147 racket-tool -> raco 2010-04-24 07:46:56 -06:00
Matthew Flatt
b0deb8affb more doc and scribble repairs 2010-04-24 07:18:11 -06:00
Matthew Flatt
7cb13860ee reference racket conversions and scribble qq repairs 2010-04-23 17:00:53 -06:00
Matthew Flatt
12b95ece4c decent Scribble rendering of hash tables 2010-04-23 08:11:56 -06:00
Matthew Flatt
909f43f9a2 work on racketing reference 2010-04-22 20:18:53 -06:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Matthew Flatt
fbea19f35c toward scriblle qq 2010-04-22 15:10:24 -06:00
Matthew Flatt
7503f8c6e9 change #:module-info to #:language-info for consistency with module->language-info 2010-04-21 18:50:16 -06:00
Matthew Flatt
895ca49f9c fix racket-tool scribble command description 2010-04-21 14:38:19 -06:00
Matthew Flatt
c862eb8121 rico -> racket-tool 2010-04-21 14:24:07 -06:00
Robby Findler
4587795d40 added 'Scribble' as a prefix to the scribble drscheme buttons 2010-04-15 23:11:38 -04:00
Matthew Flatt
bdb71498e3 module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788
2010-04-11 16:55:18 +00:00
Matthew Flatt
8b31b1b552 fix racket runtime-config info; reduce boilerplate for HtDP and Scribble language families
svn: r18761
2010-04-08 13:53:59 +00:00
Matthew Flatt
b559c9db9b initial cut at HtDP languages via #lang; syntax/module-reader: split compiled-module info from reader info, reorganize and complete docs, don't export read-properties or get-info-getter for now
svn: r18759
2010-04-08 02:30:00 +00:00
Matthew Flatt
c5ac9f23ec better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
svn: r18737
2010-04-06 15:52:36 +00:00
Matthew Flatt
6cd548b0f3 fix module-laguage info from scribble/doc
svn: r18729
2010-04-03 11:59:26 +00:00
Eli Barzilay
658fc0717d Hack for chrome: catch errors when reading/writing cookies
and just treat it as if there is no cookie.  This is what
chrome effectively did until recently -- so the relying on
cookies for the return path to the user-specific pages was
and still is broken.

svn: r18684
2010-03-31 06:36:58 +00:00
Robby Findler
52186197c7 whoops
svn: r18594
2010-03-21 22:58:42 +00:00
Robby Findler
c74849dc2e added support for the 10pt option to the sigplan scribble support
svn: r18593
2010-03-21 22:56:26 +00:00
Matthew Flatt
92487ed9e2 better error reporting when a top-level form is wrong
svn: r18575
2010-03-18 14:43:38 +00:00
Matthew Flatt
edfd0812c6 fix Scribble latex rendering when a section title has a ssquare bracket
svn: r18512
2010-03-11 14:24:41 +00:00
Matthew Flatt
826fbdf16f add scribble/jfp
svn: r18507
2010-03-10 22:17:51 +00:00
Matthew Flatt
911d80a144 scribble: use 'attributes' properties when rendering table cells
svn: r18488
2010-03-08 21:31:31 +00:00
Matthew Flatt
8dea570071 fix binding of variables when using defproc and MIT-style curry notation
svn: r18343
2010-02-25 22:51:36 +00:00
Matthew Flatt
ed2010bd70 fix text renderer
svn: r18255
2010-02-21 13:04:06 +00:00
Matthew Flatt
db1533fa78 fix Scribble rendering problem with 'aux tables hidden within compound paragraphs (so some inherited-method tables didn't appear in the GUI docs)
svn: r17940
2010-02-02 17:19:29 +00:00
Carl Eastlund
2e0cb8226e Replaced every "langauge" (note swapped vowels) with "language".
svn: r17918
2010-02-01 01:41:51 +00:00
Sam Tobin-Hochstadt
8ccbe74e5e don't open url twice
svn: r17824
2010-01-25 20:00:32 +00:00
Matthew Flatt
349c15d478 replae module->compiled-module-expression with module->imports and module->exports
svn: r17588
2010-01-09 14:42:18 +00:00
Matthew Flatt
4fedeeaf7a add module->compiled-module-expression, which is used in Scribble's traversal of module paths to find documented bindings
svn: r17576
2010-01-08 19:53:04 +00:00
Robby Findler
195d608fe5 added scheme/fixnum
svn: r17391
2009-12-23 15:41:40 +00:00
Sam Tobin-Hochstadt
f170b1529f Add toolbar buttons for scribble/doc' and scribble/manual'.
Signed-Off-By: robby

svn: r17282
2009-12-13 03:34:01 +00:00
Eli Barzilay
c5565d4611 instead of allowing no #%module-begin, catch it and report a suitable error
svn: r17191
2009-12-05 02:21:25 +00:00
Stevie Strickland
75803d4881 Here's the changes that accidentally went to trunk first.
svn: r17150
2009-12-01 20:39:58 +00:00
Eli Barzilay
64e018fffa Leftover langindicator' -> contextindicator' change
svn: r17074
2009-11-27 00:17:25 +00:00
Eli Barzilay
c0be5f0d12 * Propagate all url arguments to links (except ones that are present)
* Use ctxtname for the displayed label
* `langindicator' -> `contextindicator' in css

svn: r17073
2009-11-26 20:45:40 +00:00
Eli Barzilay
04ae026b1b typo in result of search
svn: r17066
2009-11-25 23:57:42 +00:00
Eli Barzilay
71b1164034 propagate the argument throught the search box too
svn: r17051
2009-11-24 21:26:05 +00:00
Eli Barzilay
7feecb4d2c Remove `extra-internal-attribs' and just use the value directly.
(Renaming it is the same as renaming a variable anyway.)  Add the
attribute to the navigation links.

svn: r17041
2009-11-24 14:17:48 +00:00
Eli Barzilay
210ef8c4f1 add the indicator div
svn: r17040
2009-11-24 13:38:15 +00:00
Eli Barzilay
bd1ba85221 use the langindicator when there's a lang parameter
svn: r17039
2009-11-24 13:37:04 +00:00
Eli Barzilay
62c744613b CSS for the langindicator widget
svn: r17038
2009-11-24 13:34:12 +00:00
Eli Barzilay
825a47dfef A `lang' parameter gets carried through the pages.
svn: r17037
2009-11-24 12:33:15 +00:00
Eli Barzilay
142d33d67f Make it possible to register multiple onload handlers.
(Needed because all pages must have an onload, and the search page needs an
additional initialization function.)

svn: r17032
2009-11-24 09:11:09 +00:00
Eli Barzilay
d94903ec53 use escape/unescape on the value strings
svn: r17027
2009-11-24 06:50:02 +00:00
Eli Barzilay
cdf940fedd url parameter utilities
svn: r17026
2009-11-24 06:45:26 +00:00
Eli Barzilay
37a1ada7a2 add attribute value for internal links
svn: r17020
2009-11-24 02:17:53 +00:00
Matthew Flatt
1dd2109909 Scribble HTML renderer: mark internal links with 'extra-internal-attribs'
svn: r17018
2009-11-23 22:56:28 +00:00
Sam Tobin-Hochstadt
cd3f1c439e Enable html generation button for scribble/base on all platforms.
Generate scribble output from buttons in source file's directory.

svn: r16831
2009-11-17 16:26:51 +00:00
Eli Barzilay
709b588410 moved drscheme-related tool into "tools"
svn: r16804
2009-11-16 10:19:29 +00:00
Robby Findler
7660a0eb4c svn: r16644 2009-11-09 20:38:52 +00:00
Sam Tobin-Hochstadt
f145ff6aa3 Hyperlink email addresses in Scribble docs.
svn: r16641
2009-11-09 19:19:38 +00:00
Robby Findler
ebe2e5ba09 fixed default response from get-info proc
svn: r16637
2009-11-09 17:35:18 +00:00
Eli Barzilay
44d88cee6b newlines at EOFs
svn: r16630
2009-11-09 03:49:50 +00:00
Sam Tobin-Hochstadt
99a70b38d8 Move mutated-vars and poly-c libraries to unstable collection.
- add docs
 - change requires
 - fix `letrec-syntaxes+values'
Fix contract on `author+email'

svn: r16628
2009-11-09 02:29:02 +00:00
Matthew Flatt
8f62218de5 fix scribble/doc reader's get-info
svn: r16574
2009-11-06 18:18:43 +00:00
Matthew Flatt
509de53fca for multi-HTML output, check for parts whose filenames are the same modulo case
svn: r16536
2009-11-04 12:12:29 +00:00
Matthew Flatt
973d51c20f change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
svn: r16459
2009-10-29 23:05:56 +00:00
Robby Findler
be20c0747c added support for changing toolbar buttons based on the #lang line (when in the module language) and use that support for #lang scribble/base
svn: r16449
2009-10-29 16:01:40 +00:00
Matthew Flatt
c448874002 Scribble latex render yen sign
svn: r16359
2009-10-18 12:14:51 +00:00
Matthew Flatt
42555c7be7 Scribble: another Unicode character in Latex back-end
svn: r16198
2009-10-01 16:14:40 +00:00
Matthew Flatt
eab6803895 change sandbox to allow read from the planet directory; delay some path calculations in other libraries to avoid sandbox prohibitions (but the ones in Scribble seem like too much)
svn: r16122
2009-09-24 14:54:15 +00:00
Eli Barzilay
05a937a334 no need for this hack yet
svn: r16062
2009-09-18 06:12:28 +00:00
Eli Barzilay
182f89d580 add with-writer-change (all of this is still uncertain and undocumented)
svn: r16061
2009-09-18 05:56:41 +00:00
Matthew Flatt
062c56769b redirect up link for user-directory docs
svn: r16059
2009-09-17 23:10:25 +00:00
Matthew Flatt
14b0232f27 and another Scribble unicode->latex hack
svn: r16028
2009-09-17 00:34:32 +00:00
Matthew Flatt
1b20b17dbe another Scribble unicode->latex hack
svn: r16027
2009-09-16 22:42:55 +00:00
Matthew Flatt
7273020b16 more Scribble unicode->latex hacks
svn: r16026
2009-09-16 21:34:18 +00:00
Matthew Flatt
2cf95743e9 adjust Scribble Latex prefix file to select T1 encoding
svn: r16024
2009-09-16 17:44:09 +00:00
Matthew Flatt
f2a96f200a Scribble latex prefix: add usepackage[utf8]{inputenc}
svn: r16004
2009-09-14 14:46:00 +00:00
Matthew Flatt
c28ed519a0 turn off Scribble e-mail address obfuscation
svn: r15989
2009-09-13 01:12:55 +00:00
Robby Findler
390145821a PR 10431, plus support for ->* with keywords in proc-doc
svn: r15926
2009-09-08 22:53:12 +00:00
Robby Findler
49c447fe11 undid broken commit
svn: r15915
2009-09-08 13:30:52 +00:00
Robby Findler
910e721a89 changed order of evaluation to improve error message
svn: r15914
2009-09-08 13:18:19 +00:00
Matthew Flatt
3ada45a6c3 fix Scribble manual bib to refer to scheme.css
svn: r15912
2009-09-08 12:31:35 +00:00
Jay McCarthy
ea84b8d182 Fixing a problem with the contracts I committed
svn: r15798
2009-08-25 17:21:32 +00:00
Eli Barzilay
e9bad827c3 Change the location information: avoid adjusting the source information
of `@foo' to include the `@'.  This applies for both identifiers and
full @-forms.

svn: r15792
2009-08-21 13:16:08 +00:00
Eli Barzilay
1ea8c66511 In Scheme mode @|| will also throw an error instead of being read as a
comment.  This is to avoid confusing situations like

  (define foo (list x '@|| y))

which quoted the `y' since @|| was read as a comment.

svn: r15789
2009-08-21 11:11:21 +00:00
Matthew Flatt
5ff1429b6d more latex accented characters
svn: r15711
2009-08-12 18:58:49 +00:00
Jay McCarthy
3432cf282f Adding more specific contracts
svn: r15709
2009-08-11 22:31:44 +00:00
Jay McCarthy
d8bc61ae41 Adding more specific contracts
svn: r15708
2009-08-11 22:10:47 +00:00
Jay McCarthy
18093d26e1 Adding doc based contracts
svn: r15707
2009-08-11 21:24:45 +00:00
Matthew Flatt
bdeaa475b3 Scribble latex output and 'never-indents
svn: r15695
2009-08-10 22:01:32 +00:00
Matthew Flatt
a195a5defd within a single document for multi-HTML rendering, add section prefix in generated file names
svn: r15693
2009-08-09 14:05:43 +00:00
Matthew Flatt
39b2764a70 Scribble: fix generic sub-flow CSS
svn: r15667
2009-08-04 11:30:58 +00:00
Matthew Flatt
5cdac2722a add accented a
svn: r15662
2009-08-02 16:55:39 +00:00
Matthew Flatt
f1af318776 fix some contracts
svn: r15661
2009-08-02 13:36:25 +00:00
Matthew Flatt
a47d94f75f add file-or-directory-identity (4.1.2.5)
svn: r15623
2009-07-29 17:39:03 +00:00
Eli Barzilay
d0f8970add @foo@bar' will now parse as a foo@bar' identifier. This used to be
the case in Scheme mode but not in text mode, and this commit makes
the text mode behave as the Scheme mode.  (Seems like a convenience
point that is not useful since people won't remember the difference.)

svn: r15622
2009-07-29 17:00:29 +00:00
Matthew Flatt
970a796bc6 defmodulelang and schememodlink changes to split lang text and module path
svn: r15619
2009-07-29 13:15:50 +00:00
Matthew Flatt
1ba7cf0926 #lang syntax coloring; Scribble syntax coloring
svn: r15607
2009-07-28 18:06:14 +00:00
Matthew Flatt
229e2636de change scribble 'variant' to 'property'; add contracts in scribble/decode
svn: r15581
2009-07-27 03:55:43 +00:00
Matthew Flatt
345c17e85c major Scribble revision (v4.2.1.2)
svn: r15569
2009-07-25 20:25:33 +00:00
Matthew Flatt
da12c07d2b fix HTML rendering bug
svn: r15506
2009-07-20 19:54:19 +00:00
Matthew Flatt
0fc2ad54db Scribble: refine Latex output again to allow more page breaks
svn: r15505
2009-07-20 19:40:14 +00:00
Eli Barzilay
abc18a40c3 comment
svn: r15458
2009-07-16 12:25:13 +00:00
Eli Barzilay
19462e97c4 prefix -> add-prefix
svn: r15456
2009-07-16 12:21:52 +00:00
Eli Barzilay
b7b143120b added set-prefix
svn: r15440
2009-07-14 03:33:38 +00:00
Matthew Flatt
48226b88be fix --xref-out flag
svn: r15437
2009-07-12 13:37:01 +00:00
Eli Barzilay
bb32de3560 add with-writer
svn: r15426
2009-07-11 02:10:02 +00:00
Eli Barzilay
c038edeada svn: r15422 2009-07-09 20:57:00 +00:00
Eli Barzilay
4239d22ded rename verbatim and unverbatim to disable-prefix and restore-prefix
svn: r15411
2009-07-08 21:28:55 +00:00
Matthew Flatt
7527c219b7 fix Latex rendering for some accented Roman characters
svn: r15395
2009-07-06 15:12:22 +00:00
Matthew Flatt
bcfb69b21f add compound-paragraphs to Scribble, improve Latex rendering for unnested single-column tables
svn: r15378
2009-07-04 00:52:03 +00:00
Matthew Flatt
53a011cf65 adjust planet client to handle nested planet invocations by re-building the doc index only once
svn: r15246
2009-06-23 22:02:07 +00:00
Matthew Flatt
c25ca25320 change get-info to use a separate namespace; add make-eval-factory and make-base-eval-factory
svn: r15205
2009-06-18 10:35:13 +00:00
Eli Barzilay
66c855c2d3 Switch language readers to #lang s-exp
svn: r15188
2009-06-16 17:13:51 +00:00
Eli Barzilay
4240ac8cfc New `make-at-reader' in the API, update docs, adapt tests.
svn: r15121
2009-06-08 16:43:01 +00:00
Eli Barzilay
dd68b710ae * Reorganize the scribble tests to separate files
* Finally moved the scribble reader tests with the rest so it can run
  with the nightly build.

svn: r15112
2009-06-07 21:42:38 +00:00
Matthew Flatt
3bb875b4f7 singular label on 'examples' output when a single expression is given
svn: r15106
2009-06-06 15:09:36 +00:00
Eli Barzilay
2104900bb6 pull out syntax punctuations too
svn: r15099
2009-06-05 22:19:23 +00:00
Matthew Flatt
99ac521841 section char, Latex macro that can be redefined to disable color
svn: r15076
2009-06-04 13:41:48 +00:00
Eli Barzilay
2be3ac0178 * Reorganize the -inside readers in the scribble reader
* #:start-inside? is gone -- it never made sense
* Instead, there's a new `make-at-reader/inside' (with the same
  arguments) that returns an inside syntax reader.

svn: r15073
2009-06-04 03:51:22 +00:00
Matthew Flatt
e96941407c Scrible latex output: fix (mostly) interaction of tables and itemization; DrScheme doc improvements
svn: r15072
2009-06-04 03:20:39 +00:00
Matthew Flatt
ab8d99f5b4 remove accidentally added style change
svn: r15070
2009-06-03 19:51:41 +00:00
Matthew Flatt
181d736061 switch Scribble from longtable to stabular
svn: r15069
2009-06-03 19:40:21 +00:00
Matthew Flatt
77843f5e8e add 'url style to Scribble
svn: r15059
2009-06-02 19:13:23 +00:00
Matthew Flatt
f1d4fe02ea fix Scribble rendering of S-expression graphs
svn: r14886
2009-05-20 22:05:09 +00:00
Matthias Felleisen
a1f9a6f1ab added hack to allow some comments in LP
svn: r14875
2009-05-19 22:23:17 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
224f9fa3a7 fix bug in tracking paren shapes; fix Scribble binding search code; add syntax/template library
svn: r14661
2009-04-29 20:31:07 +00:00
Matthew Flatt
511c2b13b0 fix syntax-error message for misuse of identifier bound as code-typesetting variable or element transformer
svn: r14611
2009-04-25 16:15:16 +00:00
Matthew Flatt
f6c389d0ec fix Scribble Latex rendering of prefixed tags; add #:tag-prefixes argument to secref and tech
svn: r14610
2009-04-25 15:19:58 +00:00
Matthew Flatt
22864b594d fix Scribble rendering of links when tag-prefixed sub-sections appear in the same output anchor scope
svn: r14608
2009-04-25 13:46:54 +00:00
Matthew Flatt
8aa8b938a0 change margin-note to generate a blockquote insteda of a single paragraph
svn: r14535
2009-04-17 01:30:15 +00:00
Matthew Flatt
ee8a4308b8 add space before \\item when generating an index table
svn: r14474
2009-04-09 11:43:27 +00:00
Matthew Flatt
9f2e546f01 tighten Scribble Latex output to avoid unnecessary newlines
svn: r14470
2009-04-08 23:31:35 +00:00
Matthew Flatt
9d563bf4f4 more comment-reader spacing adjustments
svn: r14447
2009-04-07 19:07:08 +00:00
Matthew Flatt
de3d090f1a preserve space with scribble/comment-reader
svn: r14446
2009-04-07 18:57:15 +00:00
Robby Findler
83a1a5a812 svn: r14431 2009-04-06 00:44:37 +00:00
Matthew Flatt
547101ac5b disable sandbox break propagation in scribble/eval
svn: r14221
2009-03-22 16:42:35 +00:00
Eli Barzilay
1db2b65978 Finished the docs+tests, added some minor utilities.
svn: r14199
2009-03-21 15:06:48 +00:00
Matthew Flatt
9335e3cf28 doc updates for v4.1.5.2
svn: r14161
2009-03-17 21:06:42 +00:00
Matthew Flatt
14e4172c55 fix 'defform*' #:id without #:literals (PR 10103); should merge to 4.1.5
svn: r14124
2009-03-16 12:52:28 +00:00
Matthew Flatt
073013d8ef change render og var-ids under a quote
svn: r14108
2009-03-15 13:30:26 +00:00
Matthew Flatt
6ee7b0379c add center valignment for table cells
svn: r14089
2009-03-13 16:08:06 +00:00
Eli Barzilay
3537435564 dont show spaces at the end of a line when not needed
svn: r14077
2009-03-12 18:25:08 +00:00
Eli Barzilay
ca30b05114 A complete rewrite of text output using port state now.
Also a few more text-controlling primitives.

svn: r14065
2009-03-12 02:27:12 +00:00
Matthew Flatt
e43b393253 fix grammar alignment; allow row-independent 'alignment and 'valignment associations in a table style
svn: r14063
2009-03-12 00:59:54 +00:00
Matthew Flatt
d8d25debcd fix defclass and some scheme/gui argument schemevarfont binding
svn: r14042
2009-03-10 23:14:53 +00:00
Eli Barzilay
3658ea87e5 The scribble/text language works much better now, with
indentation-aware output being possible.

svn: r14025
2009-03-10 09:36:54 +00:00
Eli Barzilay
8b5b6a53d9 Avoid lumping together output values as (output '(x y z)), use
separate output expressions instead.

svn: r14015
2009-03-08 21:10:07 +00:00
Matthew Flatt
060bb38ebb more fixes when 'toc sections are not immediately under a 'toc section
svn: r13985
2009-03-06 18:41:39 +00:00
Matthew Flatt
5cefebf1ee Scribble: add 'non-toc style for --htmls output
svn: r13983
2009-03-06 17:35:22 +00:00
Eli Barzilay
ac70e716f8 delete the target file if it exists
svn: r13968
2009-03-05 09:58:12 +00:00
Eli Barzilay
9b60be7c5a * Turn report-output? to an overridable method
* New extra-files field, and `render' installs them
  (the render of multi-html copies these files to each directory)
* Add an ++extra argument to the scribble command line
* Fix output of the indirect renderer

svn: r13966
2009-03-05 09:49:53 +00:00
Eli Barzilay
c9445be62d look for pdflatex.exe too under windows
svn: r13955
2009-03-04 19:36:55 +00:00
Eli Barzilay
360ba9dc79 forgot to add to the last commit
svn: r13953
2009-03-04 18:55:13 +00:00
Eli Barzilay
a7fddbd545 Move the prefix-file, style-file, and style-extra-files to be defined
in base-render.ss.

svn: r13951
2009-03-04 18:52:56 +00:00
Eli Barzilay
d952b144c2 * run.ss is used for he scribble command-line tool
* scribble.ss is gone (ot was doing the running, which run.ss defined)
* converted run.ss to scheme/base
* added private/indirect-renderer which can be used to build renderers
  that are based on conversion from the result of an existing
  renderer, obviously useful with the latex renderer
* added pdf-render using this and private/run-pdflatex
* added a --pdf option to run.ss

svn: r13946
2009-03-04 16:35:41 +00:00
Eli Barzilay
44890f30ae mzlib/class -> scheme/class
svn: r13936
2009-03-04 01:29:08 +00:00
Matthew Flatt
aaea005d0f mytexttt -> Scribtexttt
svn: r13893
2009-03-01 21:58:41 +00:00
Eli Barzilay
fdf29e2e8c added a pdflatex iterator
svn: r13892
2009-03-01 19:26:36 +00:00
Matthew Flatt
b2d2001eb0 scribble latex rendering: remove a pair of {} around element with style
svn: r13889
2009-03-01 12:07:25 +00:00
Matthew Flatt
955f2e3441 Scribble Latex rendering of table styles
svn: r13887
2009-03-01 03:30:44 +00:00
Matthew Flatt
95cc90e0e4 fix latex rendering of superscripts; fix CSS inclusion in subsections rendered on separate pages
svn: r13880
2009-02-28 15:27:09 +00:00
Matthew Flatt
2c71266d96 add htdp/image, htdp/world defmodule to teachpack docs; minor Scribble extensions
svn: r13877
2009-02-27 22:56:00 +00:00
Matthew Flatt
d220693476 support and document itemization styles
svn: r13865
2009-02-27 01:19:08 +00:00
Matthew Flatt
502427ee44 add scribble/lp to complement scribble/lp/lang/reader
svn: r13861
2009-02-26 22:57:06 +00:00
Matthew Flatt
a4078d5295 fix scribble/lp for check syntax
svn: r13858
2009-02-26 22:00:25 +00:00
Matthew Flatt
9df218784a fix srcloc and binding tracking in scribble/lp
svn: r13849
2009-02-26 13:40:59 +00:00
Matthew Flatt
90bc1d816d fix some Scribble rendering issues with tables containing flows abd cell styles; extend Slideshow play to handle more optional arguments; fix some docs
svn: r13843
2009-02-25 21:14:22 +00:00
Robby Findler
42adbca527 finished fixing multiple chunks
svn: r13841
2009-02-25 20:35:38 +00:00
Matthew Flatt
973f08e011 fix scribble/lp by not lifting require
svn: r13840
2009-02-25 18:35:51 +00:00
Matthew Flatt
0321cad60e add #lang scribble/manual; change latex table rendering to use a smaller minipage for multiple columns of non-para/table cell flows
svn: r13839
2009-02-25 18:27:16 +00:00
Robby Findler
0e3b74d125 fixed some bugs that broke the build
svn: r13838
2009-02-25 18:18:34 +00:00
Robby Findler
e36cde06e5 svn: r13837 2009-02-25 17:45:06 +00:00
Matthew Flatt
f799ade238 fix scribble/lp chunk linking
svn: r13835
2009-02-25 16:05:10 +00:00
Robby Findler
4fd43c7d9a made the special identifier <*> count as main, if it is present
svn: r13833
2009-02-25 15:30:29 +00:00
Matthew Flatt
ce79598a4a add body id tag support to Scribble
svn: r13801
2009-02-23 12:48:30 +00:00
Matthew Flatt
42fad650c7 delay 'scheme' expansion to expression position
svn: r13794
2009-02-22 21:40:45 +00:00
Matthew Flatt
04c2a2c3a4 scribble back-end configuration improvements
svn: r13792
2009-02-22 18:37:35 +00:00
Matthew Flatt
e6ee0cd001 PLaneT typesetting
svn: r13791
2009-02-22 16:01:53 +00:00
Matthew Flatt
cdfc9ffc36 layout improvements
svn: r13790
2009-02-22 16:00:00 +00:00
Robby Findler
121764e7b5 changed the way the literate program setup works
svn: r13774
2009-02-21 17:22:02 +00:00
Matthew Flatt
327fa47487 another scribble/lp/lang/lang repair
svn: r13767
2009-02-21 14:15:29 +00:00
Matthew Flatt
24e4fd407b chat-noir literate small repairs
svn: r13765
2009-02-21 13:30:22 +00:00
Robby Findler
7cc03cb42f moved the newly literate program scribbled docs for the chat noir into the actual docs for the games collection
svn: r13761
2009-02-21 03:16:11 +00:00
Robby Findler
fb0cc555f4 manual move of the files to avoid the svn bug
svn: r13759
2009-02-21 02:48:14 +00:00
Matthew Flatt
b5bc25915a fix image scaling in Scribble HTML output
svn: r13709
2009-02-17 21:32:26 +00:00
Matthew Flatt
941a8935aa remove unneeded dependency of framework on parts of Scribble; Redex doc repairs; add #:style? argument to deftech
svn: r13696
2009-02-17 15:22:55 +00:00
Matthew Flatt
db5cab09e7 doc scribble/scheme; add make-element-id-transformer
svn: r13691
2009-02-17 13:51:35 +00:00
Matthew Flatt
0f18d68649 Scribble: change handling of argumentd in defproc, etc., to use lexical bidning instead of parameters and symbols; fix some docs
svn: r13688
2009-02-17 01:15:38 +00:00
Matthew Flatt
9927b0b576 changed htdp languages to allow identifier module paths; scribble improvements to latex back-end; added definterface
svn: r13681
2009-02-16 22:04:51 +00:00
Matthew Flatt
7b57156ac2 add #:underlined? argument to elemref
svn: r13669
2009-02-16 16:42:22 +00:00