papaja icon indicating copy to clipboard operation
papaja copied to clipboard

Abstract and author note are included in table of contents when using apa7 document class

Open mariusbarth opened this issue 3 years ago • 1 comments

When using the apa7 document class in conjunction with a table of contents, abstract and author note are included in the toc (which is not the case when using the apa6 document class). The problem also only occurs when using manuscript-style output, with document-style or journal-style output, these are not included.

To Reproduce

---
title: "My manuscript"
output: papaja::apa6_pdf
toc : yes
documentclass: apa7
classoption: man
abstract: |
  A brief abstract of what we did.
authornote: |
  A brief author note.
---

Expected behavior I would expect that abstract and author note are not included in the toc, which would be consistent with the behavior shown by the apa6 document class.

Screenshots grafik

Additional context See the original stackoverflow question here.

mariusbarth avatar Jun 04 '21 10:06 mariusbarth

I wanted to ask if a solution to this bug already exists, and if so, I'd like to ask for a link to it. I have also run into this problem and would like to bump this issue.

hudnash avatar Mar 31 '22 21:03 hudnash