Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ For example, the following will override the figure number to be "S1" and set th

We recommend always specifying the width of SVG images (even if just `width="100%"`), since otherwise SVGs may not render properly in the [WeasyPrint](https://weasyprint.org/) PDF export.

### Sections

Manubot supports section references, as provided by the [`pandoc-secnos`](https://github.com/tomduck/pandoc-secnos) library.
Adding an anchor to a section header with `{#sec:section-name}` makes it available for citation using `@sec:section-name` inline in the text.

### Citations

Manubot supports [Pandoc citations](https://pandoc.org/MANUAL.html#citations), but with added support for citing persistent identifiers directly.
Expand Down
3 changes: 2 additions & 1 deletion build/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ dependencies:
- pip:
- cffi==1.15.0
- errorhandler==2.0.1
- git+https://github.com/manubot/manubot@90925eeff90e3aaacaa504fc9a47107609cffc17
- git+https://github.com/manubot/manubot@fb3950460ea2ce2c5e17e7fcffeec1bb75b0d822
- isbnlib==3.10.9
- opentimestamps-client==0.7.0
- opentimestamps==0.4.1
- pandoc-eqnos==2.5.0
- pandoc-fignos==2.4.0
- pandoc-secnos==2.2.2
- pandoc-tablenos==2.3.0
- pandoc-xnos==2.5.0
- pandocfilters==1.5.0
Expand Down
1 change: 1 addition & 0 deletions build/pandoc/defaults/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ input-file: output/manuscript.md
filters:
- pandoc-fignos
- pandoc-eqnos
- pandoc-secnos
- pandoc-tablenos
- pandoc-manubot-cite
- citeproc
Expand Down