Skip to content

APAQUARTO 7.0.2

Latest

Choose a tag to compare

@wjschne wjschne released this 04 Dec 13:50
· 4 commits to main since this release

apaquarto 7.0.2

A release about tables. Their spacing, rules and alignment now match across .pdf, typst and .docx, and a new table-spacing option sets how tightly their rows are spaced. It also fixes accessible PDFs (#157), appendix links in the .pdf (#176), and a batch of dissertation details, and it keeps apaquarto working with the coming Quarto 1.12.

Before you upgrade

Nothing in a document's YAML has to change, but tables will lay out differently, so re-check page-sensitive documents:

  • Table rows are double spaced by default in every format (single in journal and document modes, whose body is not double spaced). Use table-spacing: single, onehalf or double to change that for the whole document, or give one table its own table-spacing as a chunk option or on a markdown table's caption.
  • Long typst tables break across pages, between rows, as in the .pdf. Every typst table used to be held whole, so a long one moved to the next page without its title, and one taller than a page ran off its foot.
  • typst table rules are heavier and further from the text, matching the .pdf's booktabs rules.
  • A custom Word reference document keeps its own styles. The new .docx table spacing lives in apaquarto's reference document (the Table style's cell margins), so copy those settings across if you use your own.
  • Dissertations: block quotations are now indented half an inch on the right as well as the left, as the Graduate School asks, and every kind of link is black unless the document names a colour.

New

  • table-spacing sets a table's row spacing: single, onehalf or double. Give it to the whole document, or to one table as a chunk option or on a markdown table's caption. A flextable or other package's table sets its own spacing, so it warns that the option has no effect there.

Fixes

  • Tables match across formats. The distance from the caption to the top rule, from the table to its note, and from a figure's caption to its picture are now the same in .pdf, typst and .docx. Header cells sit at the foot of their row and body cells at the top, as in the .pdf.
  • .docx tables: a column too narrow for its longest word is widened, so Word no longer breaks a short heading such as "Num" across two lines. A table laid out in panels sets them side by side in one grid. A heading or list right after a table without a note gets the blank line above it.
  • Accessible PDFs (#157): pdf-standard: ua-2 no longer fails. The title and authors go into the file's metadata, and a character missing from the text face, such as a check mark, is taken from a fallback font.
  • Appendix links in the .pdf (#176): a link to Table A2 goes to that table, not to Table 2 in the body. Thanks to @lukezed.
  • No hyphenation at a ragged-right edge in the .pdf (#172), as APA asks. Thanks to @lukezed.
  • Notes outside apaquarto's formats (#173): in .html, a note written by the apanote filter is followed by a blank line, as in .docx and .pdf.
  • Dissertations:
    • no _brand.yml logo behind every page in typst;
    • each committee member is set with a hanging indent, and the committee stands at the foot of the title page however many members it names;
    • a long title in the contents turns over before the page numbers, CHAPTER and APPENDICES stand apart from the entries above them, and .docx page numbers line up at every indent;
    • the copyright notice is a centred block with its reservation of rights under a rule.
  • Ready for Quarto 1.12. Under the 1.12 pre-release, a markdown table with an identifier no longer stops a typst render, and the links and page numbers of .docx contents, lists of figures and tables, and run-in headings find their targets again.

Installing

quarto add wjschne/apaquarto

To pin this version instead of following the latest:

quarto add wjschne/apaquarto@v7.0.2

The full changelog, including earlier versions, is at
https://wjschne.github.io/apaquarto/changelog.html.