Commit Graph

180 Commits

Author SHA1 Message Date
Matthew Flatt
0fd2444634 make search box first in focus order
Closes racket/racket#2953
2019-12-15 10:09:51 -07:00
Matthew Flatt
84607f796c fix 'hidden style property for main document title 2019-12-08 10:02:02 -07:00
Matthew Flatt
aa5f0b767a add 'no-toc+aux style property 2019-12-08 10:02:02 -07:00
Reuben Thomas
9b1f9bc1d2 Make @emph nestable, logical markup 2019-12-06 04:59:35 -07:00
Jack Firth
3c62d4cd5d Langify scribble modules 2019-11-13 08:27:32 -07:00
Reuben Thomas
b67f265b93 scribble.tex: fix comment typo (#218) 2019-11-05 14:57:03 -05:00
Reuben Thomas
e6d95a0367 scribble.tex, scribble/book.tex: fix trivial comment typo (#217) 2019-11-05 10:00:17 -05:00
Matthew Flatt
f46083a40c LaTeX output: \protect before \colorbox
Avoid problems when `\colorbox` ends up in a section title.
2019-10-31 14:26:21 -06:00
Matthew Flatt
431bb95c7b improve markdown renderer, including support for section links 2019-10-16 05:36:48 -06:00
Dominik Joe Pantůček
97078b60ed scribble/srcdoc: add class*-doc and class-doc provide forms (#213)
* scribble/srcdoc: add `class*-doc` and `class-doc` provide forms.

* Add missing require of racket/class which contains the class? predicate.

* Add @history stanza to class*-doc and class-doc scribblings and bump version number in scribble-lib/info.rkt to 1.30.
2019-10-01 23:01:06 -04:00
Dominik Pantůček
7da79dd62b Fix raised exception on erroneous thing-doc usage. 2019-09-25 13:32:30 -04:00
Matthew Flatt
50862d0132 fix typesetting for curried procedures
The indentation for multi-line typesetting is weird, because it still
uses the table-basd layout that lines up all arguments independent of
nesting. But at least the parentheses are not broken.

Relevant to #211
2019-09-21 17:56:55 -06:00
Matthew Flatt
d9b6f0eab2 upgrade to latest acmart.cls 2019-09-03 18:56:51 -06:00
Ben Greenman
7635f21788
search box: change '"s" for search' behavior (#202)
1. Focus on the search box for either "s" or "S"
   ... accepting only "s" makes sense to me, but the comment said it
   accepted "S" and well why not
2. Look for a "keyup" event instead of key press, so that pressing "s"
   ONLY focuses on the box and does not focus-and-write-the-letter-"s"

"keyup" events apparently don't have a useful `charCode` field so this
PR looks at the `keyCode` field instead
2019-05-01 23:35:18 -04:00
Matthew Flatt
5460642214 make verbatim suppress line breaks in HTML output 2019-02-27 14:53:49 -07:00
Ben Greenman
6ae6e1eb90 htmls: don't overwrite index.html
when rendering multiple html files to a directory `d`, add
`d/index.html` to the set of files-to-be-writted to avoid overwriting
the main index with a part that happens to have the same tag
2019-02-09 00:24:57 -05:00
Matthew Flatt
5f44d7dd55 scribble: document methods of base render% class 2019-02-01 16:41:50 -07:00
Ben Greenman
0196af8d75 update acmart.cls to v.1.55 2019-01-30 17:55:03 -05:00
Robby Findler
aeda087b67 add longrightarrow
please merge to release branch
2019-01-14 10:35:20 -06:00
shuhung
194e4d15cd Sync the doc of author #:email with the contract (#186) 2019-01-02 15:40:27 -05:00
shuhung
31ff97f502 Add email-string to typeset email with exact-chars (#187)
Closes #185.
2019-01-02 14:44:57 -05:00
Robby Findler
cfcb32870f add \partial 2018-11-29 08:50:56 +01:00
Robby Findler
3d6e02b8b3 improve eval:check's error message to include the expected and actual results 2018-11-24 14:44:51 +01:00
Robby Findler
fbeaeef62e add harpoons 2018-10-31 09:58:51 -05:00
Ben Greenman
1a5f2a44bd
add optional #:note to 'bib-entry' (#176)
Add an optional argument to bib-entry to typeset a comment directly
after a citation --- with no punctuation between the end of the citation
and start of the comment.

Example: making an annotated bibliography, with an element that appears just
below each citation
2018-09-12 22:03:51 -04:00
Leif Andersen
d9e0462393 Add an identifier for acmart's nonacm flag. (#181)
* Add an identifier for acmart's nonacm flag.

* Add defidform of nonacm to docs.

* Add the rest of the missing flags

* Forgot one more line.
2018-09-12 22:03:04 -04:00
Ben Greenman
52334a508b acmart: add 'shortauthors' function 2018-09-02 20:16:52 -04:00
Ben Greenman
ddefcc1018 acmart: update acmart.cls to version 1.54 2018-09-02 20:12:07 -04:00
Milo Turner
9051e6d882 pressing "S" on the page body focuses to the search box 2018-06-12 08:47:35 -06:00
Philip McGrath
a2d2f0472f scribble/bnf: Add contracts & correct docs 2018-06-12 08:44:09 -06:00
Matthew Flatt
58b270adba defform: typeset ...+ as meta like ...
Within `defform`, `...+` should be treated like `...` and made to not
refer to a `...+` binding. (The identifier `...+` is bound by
`syntax/parse`, so it's not difficult to end up with a for-label
binding of `...+`.)
2018-06-01 18:00:23 +08:00
Leif Andersen
67bfe3af4a
Parameterize figure captions by language. (#173)
* Acmart font requirements
* Parameterize for different languages.
* Update acmart to v1.53
* Added three new document types to match acmart 1.53
2018-05-11 17:25:24 -04:00
Matthew Flatt
e7cf458de9 support subscript decimals in Latex/PDF output 2018-05-07 19:54:23 -06:00
Ben Greenman
457d3f9a3f fix: *defthing 'names'
Change `defthing` so it always passes a `(listof (or/c #f symbol?))`
 as the fourth argument to `*defthing`.
2018-03-31 14:32:16 -04:00
Ben Greenman
d4d38e1ac4 lncs: add basic .css file
Copy `scribble/sigplan`'s style file to `scribble/lncs` because
 the HTML renderer expects to find an `lncs.css` file.
2018-03-31 00:25:50 -04:00
Ben Greenman
e2ea830361 defthing: use #:id expression instead of 'id'
Change implementation of `defthing` so that if the user gives an
`id-expr` via the `#:id` keyword, then `defthing` never uses the default
`id`.
2018-03-31 00:25:34 -04:00
Ben Greenman
6e00000bb5 acmart: avoid mathabx '\bigtimes'
The 'acmart' class includes a '\bigtimes' command from the 'newtxmath'
package, if available. Scribble includes a '\bigtimes' command from the
'mathabx' package. These cannot co-exist.

If `newtxmath` is available, this PR does not import `mathabx` in acmart
documents.

If `newtxmath` is not available, this PR includes `mathabx` like normal
(same as all previous versions of `scribble/acmart`)
2018-03-31 00:23:45 -04:00
sorawee
7bd320f939 Change llncs's download path, fix racket/racket#1973 (#163)
The path is changed to ftp://ftp.springernature.com/cs-proceeding/llncs/llncs2e.zip
which is the official file listed at
http://www.springer.com/us/computer-science/lncs/conference-proceedings-guidelines
2018-03-13 19:58:54 -06:00
Ben Greenman
c226128747 fix secref contract
Change contract for secref's `#:doc` argument to match the documentation
 and the keyword's default value.
2018-02-11 20:31:03 -05:00
Ben Greenman
05037353bd scribble.tex: add phantomsections
Add `\phantomsection`s to the "*starx" macros so the generated sections
 are valid link targets for hyperref.

Note that `\phantomsection` is provided by the `hyperref` package,
 which is currently loaded by the `\packageHyperref` macro at the top
 of `scribble-lib/scribble/scribble.tex`.
2018-02-11 19:48:43 -05:00
Leif Andersen
710f517caf Add include-abstract.
The docs claimed it was there, but we missed it when creating
scribble/acmart. As such, this commit adds it in.
2018-02-01 13:15:07 -05:00
Robby Findler
1d8221a321 use <img> tags instead of <object> tags for svgs 2018-01-04 11:08:42 -07:00
Matthew Flatt
00739632cf tabular: add #:sep-properties
Also, correct the documentation about the interaction of
`#:sep` and property lists, and make the previous column's
properties used consistently for a separator column.
2018-01-04 11:03:36 -07:00
Matthew Flatt
9c5a45985b html-properties: add xexpr-property
For injecting literal HTML (or, using `cdata`, literal anything) into
the rendered HTML of a document. If you must.
2017-12-28 16:22:07 -06:00
Matthew Flatt
5f29095f02 scribble/book-index: more book-like index style for Latex/PDF
Merge index entries that have the same key and use cleveref to
render the page-number sequence.
2017-12-18 11:07:02 -07:00
Matthew Butterick
5ae38495cd
Revert font change in boxed class 2017-12-04 12:35:24 -08:00
Matthew Butterick
7389a4780e updated CSS for documentation 2017-12-02 16:07:34 -08:00
Matthew Butterick
52f24b0203
Embolden Racket Guide and Racket Reference links on TOC
A special CSS selector, so they don’t have to be bold everywhere
2017-11-21 10:40:58 -08:00
Alexis King
10ce45004b scribble/example: Don't inset twice when using alts with #:no-prompt 2017-11-06 14:16:43 -08:00
Leif Andersen
564f441d99 Add authorsaddresses field to acmart
This was added in a recent version of the acmart style and is
required to set (or remove) the addresses field at the bottom of
the first page in some styles.
2017-10-18 20:38:03 -04:00