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