Commit Graph

862 Commits

Author SHA1 Message Date
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