Commit Graph

2077 Commits

Author SHA1 Message Date
Suzanne Soy
6c8253609f Merge tag 'v7.9' into my-changes-rebased 2021-07-06 03:20:18 +01:00
Suzanne Soy
6410ef2d43 Merge tag 'v7.7' into my-changes-rebased 2021-07-06 03:07:55 +01:00
Suzanne Soy
a7a8bcd015 Merge tag 'v7.6' into my-changes-rebased 2021-07-06 03:07:11 +01:00
Suzanne Soy
dd6cbe8650 Merge tag 'v7.5' into my-changes-rebased 2021-07-06 02:42:46 +01:00
Suzanne Soy
9631885dd5 Merge tag 'v7.4' into my-changes-rebased 2021-07-06 02:42:34 +01:00
Suzanne Soy
0161b69d82 Merge tag 'v7.3' into my-changes-rebased 2021-07-06 02:42:30 +01:00
Suzanne Soy
95400be0e5 Merge tag 'v7.2' into my-changes-rebased 2021-07-06 02:42:24 +01:00
Suzanne Soy
916c172317 Merge tag 'v7.1' into my-changes-rebased 2021-07-06 02:42:10 +01:00
Suzanne Soy
7d2cc65acd Merge tag 'v7.0' into my-changes-rebased 2021-07-06 02:32:55 +01:00
Suzanne Soy
cd98afdc41 Merge tag 'v6.12' into my-changes-rebased 2021-07-06 02:32:40 +01:00
Suzanne Soy
126f7b7212 Merge tag 'v6.11' into my-changes-rebased 2021-07-06 02:31:28 +01:00
Suzanne Soy
8f15b78615 Merge tag 'v6.10' into my-changes-rebased 2021-07-06 02:28:59 +01:00
Matthew Flatt
b3f7015cba allow content (not just a string) for #:kind in defthing, etc.
Although commit 5415cca336 just made run-time checking consistent with
the documentation, the implementation turned out to allow content
before, and some existing documents relied on that. Changes the
documentation and contract to allow content, instead.
2020-10-07 07:36:14 -06:00
Shu-Hung You
0c93db954a Replace txfonts with newtxmath.
- The newtx package supercedes txfonts

- As a side effect, we have to load amsmath
  as well and it has to be loaded before
  mathabx and wasysym.
2020-09-21 08:12:22 -05:00
shhyou
6802d4535f Disable txfonts package in scribble/acmart
Commit c62d008cf include txfonts into the set of
default LaTeX packages. However, txfonts changes
the main font of the document, conflicting the
requirement of acmart articles.

We skip txfonts by setting packageTxfonts to nop.
2020-09-18 15:31:35 -05:00
Sorawee Porncharoenwase
69cf839355 Italicize optional bracket
Per discussion in Slack
2020-08-23 09:56:26 -06:00
William J. Bowman
d7883e172f Fix case sensitivity issues in bibtex 2020-08-23 09:53:25 -06:00
William J. Bowman
d71ad4d18a Added support for latex escapes in bibtex titles and authors
This allows using certain escape sequences, such as \", in titles and authors of
bibtex files.
Titles are wrapped titles with 'exact-chars, so the set of escapes handled is
large.

A different method is used for author which basically convert certain well-known
escapes into Unicode.
This seems necessary to support parsing of author names.
2020-08-23 09:48:08 -06:00
sorawee
cbeee2d388
Add racketoptionalfont
Scribble used to support a custom style for optional brackets.
In particular, the optional brackets will be given the `'paren-shape`
of value `#\?`[1], and the CSS class `opt-color` will be tagged
to these brackets.

Later, Scribble supports the curry notation. Its implementation
no longer uses `'paren-shape` to indicate optional brackets.
Unfortunately, it accidentally dropped the `opt-color` tagging[2].

This PR restores the original behavior by tagging the class
`opt-color` to optional brackets. It also adds `racketoptionalfont`
so that Scribble users can typeset optional brackets.
Lastly, it cleans up the code that supports the `'paren-shape` of value
`#\?`, since it is effectively a deadcode.

Note that this PR does _not_ change any CSS styling, so there's no
visible change. It would make CSS styling customization easier, however.

[1]: 9b7993ea02 (diff-017add06555fc85fa3ae5f27a3eb52cbR253)
[2]: https://github.com/racket/scribble/commit/95ecb101d1cc61d212c4d520#diff-017add06555fc85fa3ae5f27a3eb52cbR879
2020-08-21 09:01:57 -06:00
Ayman Osman
cda7efa29c handle case of no body forms in lp langauge
Closes racket/scribble#249
2020-08-18 16:47:47 -06:00
William J. Bowman
cf0f2e3615 Include autobib styles on citation, not just bibliography.
Closes #262
2020-08-18 16:39:33 -06:00
Sorawee Porncharoenwase
3fb78d9435 Fix #255: update Fira Mono 2020-08-18 16:39:12 -06:00
Robby Findler
5415cca336 add a contract to places that use the #:kind argument (including defthing)
closes #259
2020-08-13 10:30:19 -05:00
Matthew Flatt
a8813aa510 avoid disappearing left-margin note on narrow display
Related to racket/racket#3318
2020-08-01 13:17:51 -06:00
Sam Tobin-Hochstadt
ac2b976e40 Add test case for #256. 2020-07-20 09:42:05 -04:00
John Clements
709977cccd
Merge pull request #256 from samth/gif-size
Convert GIF size to string.

Committing this, see email conversation for rationale.
2020-07-19 20:02:27 -07:00
Sam Tobin-Hochstadt
9415df28d5 Convert GIF size to string.
Repairs a problem with #232.
Relevant to racket/racket#3300.
2020-07-19 21:10:41 -04:00
Jack Firth
51639146dd Fix typo 2020-07-17 05:50:04 -06:00
Matthew Flatt
d28baaff80 docs: fix contract for nested-flow 2020-07-11 11:48:18 -06:00
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