Commit Graph

777 Commits

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