Commit Graph

13 Commits

Author SHA1 Message Date
Matthew Flatt
7278568040 section links plus scriblib/{autobib,figure}: better match acmart
Add a `link-render-style` syntax property to control the rendering of
section links --- so that HTML output can say "section <number>", and
so that Latex/PDF output can have just the section number hperlinked
(as in acmart).

It seems unfortunate that the link rendering is so hardwired into each
rendering back-end, but maybe this can be made even more configurable
in the future. Meanwhile, Latex macros already provide an additional
layer of rendering control (but not enough, it turns out, to easily
perform the same adjustments as the 'number mode that matches acmart).

For `scriblib/figure` make `figure-ref` and `Figure-ref` similarly
sensitive to the link-rendering style.

For `scriblib/autobib`, change the hyperlinking of references
so that the color can be overridden, and make `scribble/acmart`
override it.
2017-10-11 11:19:44 -06:00
Matthew Flatt
84f5301ac0 scriblib/figure: more configuration of style 2017-09-26 08:13:03 -06:00
Vincent St-Amour
178935f55c Allow autobib references to be interposed on. 2017-08-15 13:06:57 -05:00
Robby Findler
01b279d5ba added author+date-square-bracket-style 2017-08-14 07:23:29 -05:00
Stephen Chang
f707394839 autobib book-location: fix capitalization of ordinal editions 2017-08-02 13:17:38 -04:00
David Van Horn
f19be46ac4 Add PhD thesis support in scriblib/bibtex. 2017-07-07 14:57:03 -05:00
Ben Greenman
b289b76536 autobib: add contracts to *-location functions
add contracts to location-formatting functions,
and make sure those functions convert their inputs to strings,
and fix a documentation bug in `techrpt-location`
2017-05-23 23:34:02 -04:00
Georges Dupéron
47c94c3afc Last,First format for names in bibtex
Handle comma-separated Last,First and Last,Jr,First format for names in bibtex, as well as "von", "de la", "van de", and other separators that start with lowercase letters
2017-05-19 16:42:48 -04:00
Leif Andersen
a8dec74ffa Add commands for cite-author and cite-year to autobib. (#111)
These commands work like natbib's citeauthor and citeyear commands,
and facilities making possessive citations. For example:

> Thanks to @(cite-author foo)'s (@(cite-year foo)) paper on stuff...

These identifiers are added with `define-cite` as keywords, and thus
can be omitted with no downside for backwards compatibility.

@(define-cite cite citet generate-bib
   #:cite-author cite-author
   #:cite-year cite-year)

Also in this commit:

* Add documentation.

* Add tests for autobib

* Bump version and add history.
2017-05-18 13:07:20 -04:00
Benjamin Greenman
60b0cd100c add 'unnumbered' style to footnote parts
The function bound to `make-my-notes` by `define-footnote` (as in:

```
  (define-footnote my-note make-my-notes)
```

) now produces a part with the `unnumbered` style.

This way, footnote sections can go between any two sections on a page
 without upsetting the section numbers.
2017-03-03 09:52:12 -05:00
Matthew Flatt
5ab18e0db8 scriblb/bibtex: fix author parsing
Closes #2.
2015-03-26 13:33:36 -06:00
Matthew Flatt
76e3ed8ec3 scriblib/figure: add 'never-indents to generated block
The 'never-indents style property prevents a blank link from
being generated in certain cases for Latex/PDF output.

Closes #1.
2015-03-26 13:28:30 -06:00
Sam Tobin-Hochstadt
a316fc12c0 Remove extra directories. 2014-12-02 00:54:52 -05:00