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

Subtables in pdf mode #86

Open NiLaScience opened 2 months ago

NiLaScience commented 2 months ago

While it works fine in docx mode, in pdf manuscript or journal mode, I have a lot of problems with generating sub-tables and sub-figures using the layout and subcap option.

Example:

#| label: tbl-demo
#| tbl-cap: 'Demo'
#| tbl-subcap: 
#|   - "Subcap1"
#|   - "Subcap2"
#| layout-nrows: 2
#| apa-twocolumn: true
display(Markdown(table1.to_markdown(index = False)))
display(Markdown(table2.to_markdown(index = False)))

Something like this always generates an error, no matter how I try to display the tables (with/without using markdown, etc.).

wjschne commented 2 months ago

I am surprised it works in docx. I have not yet implemented sub-tables and sub-figures in apaquarto. I am not sure when I will be able to do so. If you or anyone else has an easy solution, let me know.

NiLaScience commented 2 months ago

Thanks for the reply. I just thought since it is supported in the “standard” quarto, it might be available here, too. Anyway, sub-figures are probably more important and are implemented, which is great. Thanks for all your work!

From: W. Joel Schneider @.> Date: Monday, September 2, 2024 at 17:08 To: wjschne/apaquarto @.> Cc: Nils Lang @.>, Author @.> Subject: Re: [wjschne/apaquarto] Subtables in pdf mode (Issue #86)

I am surprised it works in docx. I have not yet implemented sub-tables and sub-figures in apaquarto. I am not sure when I will be able to do so. If you are anyone else has an easy solution, let me know.

— Reply to this email directly, view it on GitHubhttps://github.com/wjschne/apaquarto/issues/86#issuecomment-2324955917, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJR65BYORCOJ2SYO52FANHTZUR5QBAVCNFSM6AAAAABNQMJUUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRUHE2TKOJRG4. You are receiving this because you authored the thread.Message ID: @.***>