Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarto journal template #540

Closed
mvuorre opened this issue Oct 28, 2022 · 5 comments
Closed

Quarto journal template #540

mvuorre opened this issue Oct 28, 2022 · 5 comments

Comments

@mvuorre
Copy link

mvuorre commented Oct 28, 2022

It looks like Quarto is the new kid on the authoring tools block, and poised to replace (?) R Markdown in the future.

It would be awesome to have an APA PDF (& word I guess) Quarto template.

I have also posted this issue on the Quarto journal templates repo: quarto-journals/article-format-template#11, but I am not sure what is a better "home" for this, so am duplicating here.

See also: https://quarto.org/docs/journals/formats.html

@crsh
Copy link
Owner

crsh commented Oct 28, 2022

Thanks for getting the discussion started, Matti. I do plan on adding a template here. As far as I can tell, to get this to work smoothly, we may need to translate some of our pre- and post-processing to Lua-filters, which is not my strongest skill. However, I would really like to support Quarto (as I like to use it and it may be an avenue to make the template available to Python, Julia, etc.). To decide where to best place this, I need to better understand how document templates in Quarto work. I know I won't get around to this before the end of the year. Anyway, if anyone is interested in helping out with this, any help is much appreciated.

@mscharkow
Copy link

mscharkow commented Nov 16, 2022

I have succeeded somewhat in using the following YAML header to make a good-enough-for-me APA pdf:

---
title: "My article"
author: "Arnold Aardvark"
abstract: |
  This is a very short abstract.
format: 
  pdf:
    documentclass: apa7
    classoption: [man]
    include-in-header: 
      text: |
       \shorttitle{A shorter title}
       \affiliation{Institute of Stuff}

bibliography: references.bib
cite-method: biblatex
biblio-style: apa
---

This fails for more than one author because of the nonstandard way that apa7.csl handles this issue (\authorsnames{} etc.). I spent 10 minutes trying to fix this with some hack, but than my LaTeX PTSD kicked in. Maybe you know a quick fix.

@mvuorre
Copy link
Author

mvuorre commented Nov 17, 2022

Nice, thanks for the update! So this might work with some rather minimal setup provided there's an easy enough fix for authorsnames. I'll investigate :)

@crsh
Copy link
Owner

crsh commented Nov 18, 2022

So here is a list of pre- and postprocessing steps that papaja currently runs in R that would have to be translated to Lua for "feature-completeness" (which is not a necessary first step, obviously).

@crsh crsh pinned this issue Nov 22, 2022
@crsh
Copy link
Owner

crsh commented Nov 22, 2022

For anyone interested in this, @mvuorre has kindly offered to take a first stab at a APA 7th edition format. The plan is as follows: The first step will be to develop a minimal PDF template. I will be adding a word template. After that we will slowly implement additional features available in the papaja template. If you are interested in contributing, testing, or discussion, head over to the qapaja repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants