wjschne / apaquarto

A quarto extension for creating APA7 documents in .docx, .html, and .pdf formats
https://wjschne.github.io/apaquarto/
Creative Commons Zero v1.0 Universal
170 stars 15 forks source link

Long tables and multiple pages long #71

Open drfurtado opened 6 months ago

drfurtado commented 6 months ago

In the following example, my table is too long and will take on 3 our 4 pages. Is there a way to force the table to continue rendering to multiple pages?

Any help would be greatly appreciated.

#| label: tbl-mytable2
#| tbl-cap: My Table
#| apa-twocolumn: true
#| apa-note: This is a note below the markdown table.
#| echo: true
#| ft.align: centered

| Institution | Type | PE Activity | Required HW | HW Courses | Rec. Center |
|------|------|------|------|------|------|
| Arizona Christian University     |      |      |      |      |      |
|      |      |      |      |      |      |
|      |      |      |      |      |      |
wjschne commented 5 months ago

Sorry this issue escaped my notice. Is this for .pdf output or .docx?

fkohrt commented 5 months ago

I have this problem for PDF output:

test.qmd ``````qmd --- title: Test author: Author Name lang: en bibliography: lorem.bib format: apaquarto-pdf: documentmode: man a4paper: true pdf-engine: lualatex --- | Package name | Summary | GUI available | GLMM support | Design limitations | Reference | | ------------ | ------------------------------------------------------- | --------------------------- | ------------ | ------------------------------------------------------- | --------------- | | lorem | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no | yes | none | @loremIpsum2024 | | ipsum | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 | | dolor | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no | yes | none | @loremIpsum2024 | | sit | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no | no | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 | | amet | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no | no | none | @loremIpsum2024 | | consectetur | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no | no | none | @loremIpsum2024 | | adipisici | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 | | elit | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 | | lorem | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | yes | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 | | ipsum | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no | yes | none | @loremIpsum2024 | | dolor | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | yes | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 | | sit | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 | : My Caption {#tbl-mytable2 apa-note="Note below table" data-quarto-disable-processing="true"} ``````
lorem.bib ```bib @misc{loremIpsum2024, author = "Wikipedia", title = "Lorem ipsum --- Wikipedia{,} die freie Enzyklopädie", year = "2023", url = "\url{https://de.wikipedia.org/w/index.php?title=Lorem_ipsum&oldid=239510801}", note = "[Online; Stand 27. Juni 2024]" } ```

Removing the table caption makes it work again.