Matthew Flatt
07342303e5
scribble: fix HTML rendering of table in nested flow starting item
2011-12-03 08:41:15 -07:00
Matthew Flatt
fca5ceecc9
switch `codeblock' to strings instead of bytes
...
Also, fix scribble lexer line counting.
Closes PR 12225
2011-11-27 11:06:21 -07:00
Matthew Flatt
93bcc58a0c
scribble: use Latex skull package only if needed
2011-11-26 09:01:46 -07:00
Matthew Flatt
fe3b6ea003
at-exp, scribble: remove distinctness of @{}-introduced newlines
2011-11-24 09:17:34 -07:00
Robby Findler
3da3e17c47
don't continue after an error when scribbling via the 'scribble html'
...
and 'scribble pdf' buttons in the drracket frame.
closes PR 12385
2011-11-21 17:23:30 -06:00
Matthew Flatt
2de0a853dd
update sigplanconf to the version with Creative Commons license
2011-11-11 16:32:16 -07:00
Matthew Flatt
9f81387e85
scribble: Latex/PDF rendering of some Unicode superscript characters
2011-11-11 07:05:16 -07:00
Matthew Flatt
932ef94cb3
fix contract
2011-10-28 06:43:20 -06:00
Ryan Culpepper
eed6016793
scribble/eval: pretty-print results by default
2011-10-16 05:41:58 -06:00
Matthew Flatt
0f5b53d349
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.
2011-10-06 07:47:38 -06:00
Ryan Culpepper
c7f86d276c
removed useless requires
2011-09-27 19:28:44 -06:00
Matthew Flatt
8711feae2d
fix `scribble -h' output
2011-09-26 18:07:18 -06:00
Robby Findler
76e55071b0
use new copy-file argument that Matthew provided; this is a better fix than
...
commit f9e1c41cb0
was for the same problem
2011-09-19 15:19:04 -05:00
Robby Findler
de62ac2f06
minor Rackety
2011-09-18 21:20:27 -05:00
Robby Findler
f9e1c41cb0
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)
2011-09-18 21:20:27 -05:00
Eli Barzilay
16cd1ad78d
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.)
2011-09-16 11:14:18 -04:00
Matthew Flatt
87652cd32e
scribble CSS: force text-align left in RktBlk
...
Because IE seems to default to inherit while other browsers
default to left.
2011-09-15 07:25:57 -06:00
Matthew Flatt
9bd50695b5
scribble: fix HTML navigation when the main part has 'toc
2011-09-15 07:12:58 -06:00
Matthew Flatt
7a2e1aa900
scribble: more nowraps in HTML output
...
Avoids line-wraps for `examples' output and in function contracts
2011-09-12 19:17:08 -06:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
Matthew Flatt
fd0a2e9879
avoid an internal error
...
Closes PR 12138
2011-09-04 15:55:26 -06:00
Matthew Flatt
0b2beace40
add `schemecommentfont'
2011-09-03 14:57:57 -06:00
Robby Findler
050d0c0fe0
fix scribble pdf button
...
closes PR 12141
2011-08-30 20:40:58 -05:00
Matthew Flatt
bedd7b1671
Guide corrections
2011-08-26 10:04:19 -06:00
Robby Findler
41e22a6e3f
added the ability to tell drracket to run a program and then run something after that
...
used that ability to make the scribble buttons work better
2011-08-24 11:25:26 -05:00
Matthew Flatt
b7bad5cc8a
fix `racketmod' file box mode
2011-08-24 09:07:13 -06:00
Matthew Flatt
853e47f05e
fix broken-link reporting by `scribble'
2011-08-22 07:58:05 -06:00
Matthew Flatt
39edc5a599
`scribble' reports broken cross references by default
2011-08-18 13:05:37 -06:00
Matthew Flatt
e4729afdbf
fix plurality of `examples' label
2011-08-17 20:43:06 -06:00
Matthew Flatt
4555254380
add code' to
scribble/manual'
2011-08-16 07:53:05 -06:00
Matthew Flatt
c7e7d0d8ff
make racket' preserve
#t' versus `#true'
2011-08-16 07:53:05 -06:00
Matthew Flatt
a1eaecb337
add an #:escape' clause to all
schemeblock'-like forms
2011-08-16 07:53:05 -06:00
Matthew Flatt
26fe665dd7
fix lncs and jfp class file download
2011-08-15 09:58:21 -06:00
Matthew Flatt
cc78030cd2
download LNCS and JFP class files on demand
2011-08-10 08:28:13 -06:00
Matthew Flatt
f34c0329bf
scribble/manual: add `current-display-width' parameter
2011-08-08 17:10:54 -06:00
Eli Barzilay
dae2ac4519
Move the lncs ignore into its own directory.
2011-08-06 21:00:53 -04:00
Matthew Flatt
f7fd274e80
fix `defstruct' to use more long-name layout options
2011-08-05 10:03:38 -06:00
Matthew Flatt
ad7fddf878
add column-attributes' support and use it to fix
struct' rendering
2011-08-05 10:03:38 -06:00
Matthew Flatt
b7afb3cf8f
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.
2011-08-05 10:03:38 -06:00
Matthew Flatt
4ac85de974
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).
2011-08-05 10:03:37 -06:00
Matthew Flatt
378ca5ffc2
Scribble Latex: change 'boxed to use a blue vertical bar
...
... to the left of a definition, instead of a horizontal line
before the definition
2011-08-05 10:03:37 -06:00
Matthew Flatt
3a51e80751
fix rendering of transparent structures
2011-08-03 08:14:57 -06:00
Matthew Flatt
fba1777b8a
fix contract
2011-08-02 06:48:54 -06:00
Matthew Flatt
7977d1817e
expose the scribble' command-line driver as
racket/render'
2011-08-01 14:40:49 -06:00
Matthew Flatt
8d3aa69e9d
fix mismatch between make-base-eval' and
make-base-eval-factory'
2011-08-01 04:01:40 -06:00
Matthew Flatt
e1b02e08f7
generalize `defform' & co. to better support abstraction
2011-07-07 10:45:43 -06:00
Matthew Flatt
d8352d5890
allow lists of pre-content to `decode-content', etc.
...
and improve docs for `scribble/decode'
2011-07-06 09:07:19 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Robby Findler
69b5daa9e6
remove docs tests that no one was interested in
2011-07-01 11:38:09 +08:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eli Barzilay
0af236dc2f
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".
2011-06-28 18:16:07 -04:00
Eli Barzilay
a38f384a00
Finish converting scheme' ->
racket'.
...
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554
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.
2011-06-25 04:08:47 -04:00
Matthew Flatt
52825c68a1
fix `codeblock' handling of spaces
...
for a chunk that also includes newlines
2011-06-22 07:49:15 -06:00
Matthew Flatt
3f95fabf7c
add --latex-section' mode to
scribble'
2011-06-22 07:49:15 -06:00
Matthew Flatt
73f6a2b392
document `scribble' command-line use
2011-06-21 06:45:44 -06:00
Vincent St-Amour
8f092e8330
These changes break with bad sandboxes.
...
Revert "Fix interface."
Revert "Add more scribble forms that evaluate code and display the results."
This reverts commit a621eaf041
.
This reverts commit 7e9dbded4c
.
2011-06-17 15:18:48 -04:00
Vincent St-Amour
a621eaf041
Fix interface.
2011-06-17 14:47:16 -04:00
Vincent St-Amour
7e9dbded4c
Add more scribble forms that evaluate code and display the results.
2011-06-17 14:04:38 -04:00
Danny Yoo
d78fccb75b
Fixing the comment-at-end-of-file bug (PR#11982)
2011-06-16 21:37:48 -04:00
Eli Barzilay
768baa5983
Pass around the form name so that an error from the sandbox will show a
...
more useful error.
2011-06-16 21:37:48 -04:00
Eli Barzilay
d4dec81c91
Switch to `#lang', reformat, and some minor improvements.
2011-06-16 21:37:47 -04:00
Eli Barzilay
43d1c240a1
Add an error message when the sandbox doesn't capture its output as a string.
2011-06-16 21:37:47 -04:00
Matthew Flatt
c9e98a5f1f
Scribble Latex Unicode fixes
2011-06-16 15:06:15 -06:00
Matthew Flatt
c8999c2541
adjust `racketmodname' to ignore for-label imports
...
so that `@racketmodname[lazy], for example, typesets correctly
when `lazy' is imported for-label
2011-06-15 08:23:33 -06:00
Robby Findler
ecf45ab426
added a missing error check to scribble decoding
2011-06-11 08:58:06 -05:00
Eli Barzilay
7f6733b617
Go down boxes too.
2011-05-23 14:05:13 -04:00
Matthew Flatt
b44f217cdd
fix 'exact-chars Latex rendering for `multiarg-element'
2011-05-19 06:36:54 -07:00
Matthew Flatt
66178570b6
scribble: add support for setting a document date
...
in Latex output, and also document and generalize
the 'pretitle paragraph style
2011-05-15 19:42:22 -06:00
Robby Findler
0a0445692b
fix search path problem in scribble
2011-05-13 09:05:25 -05:00
Robby Findler
a1217107b2
added the scribble/lncs language
2011-05-10 14:10:28 -05:00
Robby Findler
e88f86efe4
a start on the scribble/lncs language
2011-05-08 22:19:46 -05:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Robby Findler
c8d476c76e
adjust scribble's racketblock renderer so that #true and #false
...
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Sam Tobin-Hochstadt
db5d59a217
new version of sigplanconf.cls
2011-04-30 19:48:59 -04:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Matthew Flatt
1c60499923
fix nit: "running 2nd time" instead of "re-running 2nd time"
...
because "re-running 2nd time" should mean the 3rd run
2011-04-14 13:20:23 -06:00
Matthew Flatt
192c566294
fix temp file names when building PDFs of installed docs
...
Closes PR 11830
2011-04-14 12:40:18 -06:00
Matthew Flatt
00ca86ffc6
`xref-binding->definition-tag': fix two-argument-list mode
...
Closes PR 11847
2011-04-12 15:55:22 -04:00
Matthew Flatt
c38118f0e5
Scribble: add `alt-tag' HTML property to set HTML tag in output
2011-04-04 14:33:38 -06:00
Matthew Flatt
df2a875ff4
Scribble: simplify content that is conditioned on the render mode
...
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -06:00
Kevin Tew
0c4d90b1db
codeblock line numbers
2011-04-02 16:01:21 -06:00
Casey Klein
7edfa58ef1
Adds caron s to LaTeX renderer
2011-04-01 14:00:45 -05:00
Matthew Flatt
d00c8a6c71
Scribble: fixes for text output, especially inset nested flows
2011-03-30 19:53:32 -06:00
Matthew Flatt
4703265503
Scribble: use \abovedisplayskip and \belowdisplayskip for code insets
2011-03-30 18:11:33 -06:00
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