Commit Graph

1606 Commits

Author SHA1 Message Date
Samuel Bronson
924f38d67d Misc improvements to the doc search JavaScript code
* Stamp "plt-index.js" with the path of its generator.

* Fix most of the "use strict" and js2-mode warnings in scribble's
  JavaScript.

* Some code improvements in the generating code too.

(With some edits by Eli.)

original commit: a624d8de1519a8d69b54aa2f1a08b31d0b03e004
2012-10-10 11:05:25 -04:00
Matthew Flatt
d5a9bdadb8 Scribble Latex: more complete and consistent handling of accented letters
original commit: 6a82c8bb7c2dce32838dd3dbbb68d76930fcb96a
2012-10-10 07:13:05 -06:00
Matthew Flatt
0b1c035661 Scribble: add some macron accents for Latex
Merge to v5.3.1

original commit: de9ccea7f1b11b43c17f34a2c715dcb452a39e2d
2012-10-10 06:49:01 -06:00
Danny Yoo
cbc1398fdf Small typo fix
original commit: 444aaf6eb7bd2e05dd963b69c550a2159935f0b0
2012-10-09 14:00:34 -04:00
Asumu Takikawa
223c4bc0db Add examples for tabular in scribble reference
original commit: 7826efcdf5985b3f2870eaaaed3ae160f3e3d310
2012-10-08 23:10:52 -04:00
Manu
32ffcdfa45 Added CSS rules for printing.
original commit: e7db0bdac485a0bc9d749188e00932a2374ec1ff
2012-10-05 11:15:59 -04:00
Matthew Flatt
5084b1a133 scribble: make `linebreak' work more for Latex/PDF rendering
original commit: 683e72e9e39f3e8536f9fc0ba0ad8c6f5aca050a
2012-10-04 06:40:36 -06:00
Samuel Bronson
9eae72a93a scribble/private/manual-form: Implement racketgrammar in terms of racketgrammar*
This is just a refactoring for readability.

original commit: 1dce7e587f2b41f5e10633acbc7c0190f15bd586
2012-10-02 15:06:27 -06:00
Matthew Flatt
abeb37b101 scriblib/autobib: more graceful failure when bib not rendered
original commit: 6a5f73d3d9e4e9570c657f77ca8bf20c3510a2b8
2012-10-01 07:14:46 -06:00
Matthew Flatt
ff459128d4 Scribble overview: mention tables comments, and pictures
original commit: 44e55689a26bfc46aa0febdbb41d377344452d8b
2012-09-23 11:53:30 -05:00
Matthew Flatt
d373434241 scribble: decode a lone ` as a left "curly quote"
Also, add 'lsquo as allowed content.

Omitting the ` conversion in the first place was over-conservative.
There's a backward-compatibility issue with this addition (i.e., a
document might contain a backquote in a decoded context that is
meant to be rendered as a backquote), but the potential problems
seem minor.

original commit: cb041850f424644937c8b494c64c066bbe5f2069
2012-09-21 07:37:30 -06:00
Matthew Flatt
f3e1a7425c Scribble: fix problem with URL redirection
original commit: 4cc475ad688ac38c74388d45504cb883f93fa4d7
2012-09-13 11:05:52 -06:00
Matthew Flatt
e15bf50937 scribble/html-properties: allow URLs in css-addition' and js-addition'
original commit: 3fb42cf3f1b49e1cdf024c32a8f969011c2be9b3
2012-09-11 18:52:59 -06:00
Matthew Flatt
4a512f6a66 racket/html-properties: add `js-addition'
original commit: 9162fc25042364c128be0b850c730a93ff910679
2012-09-11 17:39:12 -06:00
Matthew Flatt
f470e3c3a7 scribble HTML: add head-extra' and support for attributes'
For a part that corresponds to an HTML page.

original commit: dc925d2d8cb4802281981cd3a271c07f74234c4d
2012-09-11 17:18:14 -06:00
John Clements
92b715cb96 nused -> used
original commit: 9a884c84faff5d2231ba6bc746174b21cfe71e90
2012-09-07 16:37:28 -07:00
Matthew Flatt
40ac269f94 scribble: another Latex/PDF section repair
original commit: 7d2ce136fab84ca1f559fceaa3e457e1bb630380
2012-09-03 08:07:34 -06:00
Matthew Flatt
c846c1551a scribble: fix for Latex and `\Ssection' changes
original commit: 16621ad437f766f3e6dd9241f23d2795424ae6ab
2012-09-03 06:10:27 -06:00
Vincent St-Amour
7a8e517a5e Add comment about the current state of the latex character table.
original commit: a85438bc6950351c6372b18daf53a2baacb2d9f4
2012-08-31 19:31:20 -04:00
Matthew Flatt
b1ddcb292a scribble: for Latex output, use `\Ssection', etc. for section
A style override might change `\section' to `\chapter', etc.

original commit: 7b2e18afc5859b6dfc71d83b1c57e647387d27b2
2012-08-31 16:07:10 -06:00
Matthew Flatt
37c398ffbf propagate prefix repair to to scribble/jfp' and scribble/lncs'
original commit: d841ec1bd0aac12c7d977f4be419f8c2728a6d17
2012-08-31 07:33:08 -06:00
fbanados
a5f9e4bee8 include scribble/scribble-prefix.tex packages to scribble/sigplan
original commit: 0b19326ac6568be377c8cc1633e100c5d20a0c01
2012-08-31 07:33:08 -06:00
Matthew Flatt
ae5d9f9413 scribble/manual: add #:normalize?' option to deftech' et al.
original commit: 5e5e5038597c468ef699cf8c9fbc0a1577ca0d0d
2012-08-20 17:37:24 -06:00
Matthew Flatt
c53e65ab66 fix docs for `deftech': mention case folding
original commit: 1ca5767684125bf5e5d46f1f689ff1147dc13365
2012-08-20 17:37:19 -06:00
Robby Findler
563fad62a4 adjust 'authors' from scriblib/autobib so that it
has a contract (which I'm inferring from the way
it is implemented so I might be getting it wrong)

related to PR 12966

original commit: f03274c8b77d61991231f5f7931356508b07caa3
2012-08-14 21:34:09 -05:00
Robby Findler
19e560794a rename contract-blueboxes.rktd to blueboxes.rktd
original commit: d96d920cf95329b1b75d67d4b4352590a55fb68b
2012-08-14 16:20:47 -05:00
Robby Findler
b571b7c433 remove unnecessary dependency from scribble on slideshow
original commit: 185de3b6eb04237484ec4e8ba28350d36b9fddeb
2012-08-14 10:39:03 -05:00
Robby Findler
c456ffef40 Add the contents of the "blue boxes" in the docs to the upper-right
corner of the definitions window, based on the information that check
syntax computes

This commit contains two separate changes to make this work:

  - adding a new renderer, based on the text renderer, that
    pulls out the contents of the blue boxes and saves them
    in the doc/ directories (specifically in the files named
    contract-blueboxes.rktd)

  - extend check syntax to use and display the information
    build by the new renderer

original commit: 0c6734f782867b0401db15eb687fd246552e17b5
2012-08-12 08:41:46 -05:00
Robby Findler
dcb258ac6c correct spelling error
original commit: 5d81b80736779360f5000d17fb422b19679c3352
2012-08-11 22:50:49 -05:00
Robby Findler
8799cd2137 Add index entries for @defconstructor (and friends). Also add
code that skips over them when building the search indices.
Overall, this means that the only change most people would see
is that multiple constructors in the same class will get a warning
(and there was one of those, so fixed that too).

Also, Rackety. Specifically, transformed this surprising combination
of constructs (where all caps are placeholders for something specific):

((if PRED
     (λ (c mk) BODY2)
     (λ (c mk) BODY1))
 content
 (lambda (tag) BODY3))

into this one:

(define (mk tag) BODY3)
(if PRED
    BODY1{c:=content}
    BODY2{c:=content})

original commit: 8ee76c9547899f62e6f28eba1cdbba1f4d54c399
2012-08-11 21:52:48 -05:00
Matthew Flatt
9dd4dddb90 scribble/base: generalize `itemlist' to splice/coerce some arguments
Also, add a `spliceof' contract constructor to `scribble/decode'.

original commit: f11450d6019924f38bc523967cab1384514f2163
2012-08-03 13:43:23 -06:00
Matthew Flatt
989d851497 scribble/sigplan: add guidance for `category', etc.
Include the URL to ACM's explanation of how to use categories,
and add some other formatting guidance that is otherwise
difficult to track down.

original commit: aa5b1e192c5d38ada197a488f9817ed7ad9df861
2012-07-31 07:50:46 -06:00
Matthew Flatt
e285bfb53b scriblib/figure: support references to multiple figures at once
original commit: 4a6bfacc27f81bb757001694dd5250eedbd728fd
2012-07-31 07:50:46 -06:00
Matthias Felleisen
8f8f8315c5 fixed small mistake in defform/none from conversion to syntax/parse
merge into v5.3 but ask Matthew for second opinion

original commit: bf8c30727d4cb8def581f63e43cb79a1111ad8ff
2012-07-23 11:35:59 -04:00
Robby Findler
11fd5a91ed use a more descriptive name in the identifier generated by define-on-demand
so when it shows up in an error message it doesn't take forever to figure
out which 'val' that is

original commit: 0ee8155527bf0118c1b035efdcc5a6a2fac4828a
2012-07-15 08:07:11 -05:00
Vincent St-Amour
0d977a560c Add scribble support for additional letters from the Czech alphabet.
original commit: f036b0bd12faf7bcad812f516d938ce5afaf0bc1
2012-07-12 17:40:01 -04:00
Matthew Flatt
570f682b23 scriblib/autobib: first cut at configurable style
Adds `number-style' as an alternative to `author+date-style'.

original commit: 48e154e3cb3eae280a82116933ddf0b03a7dd4d1
2012-07-10 00:21:56 -06:00
Matthew Flatt
83e4a20c8e scriblib/autobib: fixes in docs and related to disambiguation
Fixed problems related to sorting, more than two references for
one citation, and "specific" additions like page numbers.

Also, removed a set of parentheses around disambiguated dates
in the bibliography, because I don't think they belong there.

The doc format was confused; for example, square brackets don't mean
optional in a syntactic form documentation, but instead mean square
brackets.

original commit: 71fe28e5dcf33f33a1afbb810b0cf6cc439e6629
2012-07-10 00:21:56 -06:00
Matthew Flatt
d23768ba32 scribble: add --dest-base flag
Also add the option to `render' from `racket/render', and
document the existing `render%' initialization argument.

original commit: f9b4c6b2268440e9e74b414e6e0b1487981c70df
2012-07-06 16:48:36 -06:00
Eli Barzilay
5cb1ba3a4a Some styling.
original commit: 75f710dc62c8c5a1ce04f22b6c37a4c611a3445e
2012-07-06 16:07:30 -04:00
Matthew Flatt
9650c4767b scribble/*-properties: allow literal bytes in *-additions
For example, a `tex-addition' structure can have literal bytes
to include in the generated Latex, instead of a path to a file that
holds the content.

original commit: 2b9f57b01d55a39a70f0d0df22bc97b1874727ea
2012-07-06 13:17:35 -06:00
Danny Yoo
e48b814b17 Correcting type error in latex-match: target-url-addr can be a path, which can't be consumed by regexp-replace
original commit: 0a5e92c299c7f2edd8540d1d127f5c887ce750c7
2012-07-06 12:03:47 -04:00
Asumu Takikawa
793a83e339 Fix doc typos
original commit: 9f83ba1c6f450790d99f734779c07a775aefb104
2012-07-03 15:54:25 -04:00
Matthew Flatt
54e7b17c5e improve error handling for `defproc'
Closes PR 12780

original commit: e8d9d4e9ca5149398ead0a3a664405d8aa7a5b70
2012-07-02 10:07:52 -06:00
Matthew Flatt
d7bf77fba7 doc correction
Closes PR 12844

original commit: 4ed8a889695c59bfa9deba3fdce616d49e125938
2012-07-02 09:08:05 -06:00
Matthew Flatt
0190c2702d scribble: adjust `subsubsub*section' font size
Closes PR 12868

original commit: b5189c823216fda8ea68b7254a2a4df5cc4ee5f3
2012-07-02 09:00:08 -06:00
Matthew Flatt
3d84458aa7 scribble Latex: add \SNumberOfAuthors{} in output
original commit: 814c974d015b647e8482a46720f0728d3b318175
2012-07-01 10:00:58 -06:00
Matthew Flatt
607f02a331 scribble HTML render: avoid intermediate XML structure
As pointed out by Danny Yoo to save time during the rendering phase

original commit: 612c4ff5240594b8d884ce2d68701cd40ba50fc1
2012-06-28 09:15:57 -06:00
Matthew Flatt
2c7e58dd70 tweaks to Danny's Scribble changes
original commit: 130618e946640d749a81312fa951acd43ec1c66a
2012-06-28 08:57:58 -06:00
Danny Yoo
31c6e16944 Correcting content->string so that it does not concatenate strings in quadratic time
original commit: d926f89cbe316f9c5e481841a80f905a9da3228c
2012-06-28 08:39:14 -06:00