Commit Graph

2041 Commits

Author SHA1 Message Date
Sorawee Porncharoenwase
45817fa049 readme: scribble-text-lib -> scribble 2020-06-30 06:58:49 -04:00
David Florness
5e6f3b2236 Grammar fix 2020-06-30 06:41:17 -04:00
Robby Findler
f3da3670e0 document the package macros and add backslashes to the index 2020-06-26 21:05:19 -05:00
Robby Findler
c62d008cfb add \usepackage{txfonts} to the defaults for latex in scribble
related to racket/gui#128
2020-06-26 16:23:59 -05:00
Matthew Flatt
1f5419d10c fix color on quasiauoted hash tables 2020-06-22 08:07:41 -06:00
Sorawee Porncharoenwase
5ba2881996 overiddden -> overridden 2020-06-22 07:07:33 -06:00
sorawee
7f5a2b2648
disallow bogus mode arguments and fix related bugs
Fix #131:

- Raise a syntax error when bogus mode arguments are given.
- Fix a bug where `extend-final` and `augment-final` are not recognized
- Document the `public` mode which was already supported but not
  documented.
- Clarify the default mode when `maybe-mode` is not given.
2020-06-19 06:29:51 -06:00
Jack Firth
4b3d3a8296
Implement support for converting values to GIFs
Implement support for convertible GIFs in the HTML renderer, including
width and height attributes to GIFs created from convertible values.
2020-05-30 06:19:30 -06:00
Matthew Flatt
3d7ded8a33 extend load-xref to support multi-use on-demand information
The result of `load-xref` with an on-demand function only made sense
for a single use context, such as a single rendering request. Add an
on-demand callback that can work right for multiple uses.
2020-05-24 11:06:23 -06:00
Ben Greenman
340c60ef54 doc: add '<>' around 3rd example tag 2020-05-24 09:12:12 -04:00
Sam Tobin-Hochstadt
13798906ce Automatically link to source code of document.
This works, provided that:
  - the package is on the catalog at pkgs.racket-lang.org
  - the package is hosted on GitHub or GitLab

Restriction 2 could be lifted for other known sites or packages
 hosted as directories.
Restriction 1 would be harder to lift.

This only links to the _top level_ file that defines the overall
document, not the file defining the particular section. Fixing that
would require the Scribble renderer to provide more detailed
information, although it's certainly a possible extension.

Closes #223
Closes #208
Closes racket/racket#874

Related to #76, #228
2020-05-01 13:14:27 -04:00
Sam Tobin-Hochstadt
45093b8a6b Provide a distinguished source when reading in codeblock.
Closes racket/racket#3102.
2020-04-30 16:21:38 -04:00
Sorawee Porncharoenwase
fd9b85aa10 It links to the reference, not the guide. 2020-04-21 22:03:10 -04:00
Ilnar Salimzianov
35de7c15b9
fix typo in docs: s/can contains/can contain/ (#225) 2020-04-11 11:01:24 -04:00
Matthew Flatt
9c985ca486 latest acmart.cls 2020-02-27 13:50:43 -07:00
Matthew Flatt
66c4c50f47 add table-row-skip to latex-properties 2020-02-27 13:50:13 -07:00
Alexis King
ed02550d1a Fix the contracts on exec/commandline to match their behavior 2020-01-02 13:20:23 -06:00
Matthew Flatt
0fd2444634 make search box first in focus order
Closes racket/racket#2953
2019-12-15 10:09:51 -07:00
Matthew Flatt
08d09d672e docs: remove wrong claims about body-id
The `body-id` structure is actually only recognized in a main `part`.
for other places, use `attributes`.
2019-12-08 10:06:31 -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
Ben Greenman
6a5dfdffb8 doc: autobib, fix overlapping for-label imports
scribble/struct and scribble/core provide some common identifiers,
 so use only-in to import from scribble/core
2019-12-07 23:24:31 -05:00
Ben Greenman
6a8986f7c0
autobib: fix author formatting (#216) (#222)
- fix #216 by coercing author-element data to a string, add tests
- doc edits:
  - import `scribble/core` to fix link to `content?`
  - fix typo in `dissertation-location`
  - replace unbound reference to `name/c` with a real contract
2019-12-07 21:17:00 -05:00
Reuben Thomas
9b1f9bc1d2 Make @emph nestable, logical markup 2019-12-06 04:59:35 -07:00
Reuben Thomas
8168a22492 scribble/config.scrbl: fix trivial typo 2019-12-04 15:11:53 -07:00
Jack Firth
3c62d4cd5d Langify scribble modules 2019-11-13 08:27:32 -07:00
Reuben Thomas
fb7106bc50 scribble-doc/scribblings/scribble/core.scrbl: fix typo (#219) 2019-11-12 11:26:27 -05: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
Sam Tobin-Hochstadt
e25a02fd15 Relicense this repository under the Apache v2 and MIT licenses.
* Move licensing information to the top level of the repo.
* Add README.md file with license and contributing info.
2019-11-04 12:48:39 -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
Jens Axel Søgaard
e44a5bb9f1 Fix transposition in error message (#215) 2019-10-14 10:10:44 -04: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
6097c6aff6 typo: 'to registered' -> 'to be registered' 2019-09-02 20:34:47 -04:00
Ben Greenman
77b26d736a doc: remove srcdoc reference to 'gif.rkt' 2019-06-05 17:18:06 -04:00
Ilnar Salimzianov
7e2bce57ad Add https://blog.racket-lang.org/2012/06/submodules.html as an example for in-source documentation
I couldn't locate gif.rkt in the `file' collection. See a complete working example was helpful to get started. I think it will be as useful for
other Racketeers .(especially beginners like myself).

If gif.rkt is indeed gone due to refactorings, I guess the reference to it should removed.
2019-06-05 17:10:03 -04:00
Ben Greenman
4a88753757 autobib: book-chapter fixes
- move `)` for contract-out
- fix keyword in contract
- add `to-string` uses
2019-05-02 00:05:55 -04:00
mlemmer
dce36bfc18 Add book-chapter-location to autobib (#182) 2019-05-01 23:36:11 -04: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
Ben Greenman
441e97ec27
doc: use 'scribble/acmart' as Getting Started example (#193)
Chagne the Getting Started guide to suggest `scribble/acmart` instead of
`scribble/sigplan` for a PL workshop paper.
2019-05-01 23:34:52 -04:00
Leif Andersen
0905c3d6a3 Line 1 got messed up during the commit, reverting. 2019-04-10 13:17:51 -04:00
Leif Andersen
51c1c2ed47 Minor typo:
each expression is are duplicated -> each expression is duplicated
2019-04-10 13:14:07 -04:00
Matthew Flatt
5460642214 make verbatim suppress line breaks in HTML output 2019-02-27 14:53:49 -07:00
Ben Greenman
ac37653988 doc: explain typeset-code's #:block argument 2019-02-24 18:20:11 -05:00
Paulo Matos
3349b13825 Add block? contract to typeset-code (#196)
I think something should be said about what `block?` does but I am not comfortable enough with the scribble code to write it down.
2019-02-24 17:55:03 -05:00
John Clements
1a97657e17
Merge pull request #195 from bennn/htmls-index
htmls: don't overwrite index.html
2019-02-16 13:15:02 -08:00