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

Date #97

Open
dhagmann opened this issue Nov 1, 2024 · 4 comments
Open

Date #97

dhagmann opened this issue Nov 1, 2024 · 4 comments

Comments

@dhagmann
Copy link

dhagmann commented Nov 1, 2024

Would it be possible to add a date option? Although that is not consistent with APA 7 format, it's really useful for distinguishing different versions of preprints.

@wjschne
Copy link
Owner

wjschne commented Nov 2, 2024

Where would you want the date to appear?

@dhagmann
Copy link
Author

dhagmann commented Nov 2, 2024

I would put it centered below the affiliations and above the author note, in the format of "November 1, 2024".

@wjschne
Copy link
Owner

wjschne commented Nov 5, 2024

I have added a draft-date option to the example.qmd file. If false, it does nothing. If true, it will return today's date. If it is text, it will return the text (e.g., a date other than today).

The feature works in docx, html, and typst, but not pdf. The pdf version is not entirely under my control. It is formatted primarily by the apa7 LaTeX package, and it adheres to APA 7 style very strictly. We might be able to trick the apa7 package into inserting the date elsewhere (e.g., below the author note or after the keywords),

I will not document the feature until I know that the implementation is what you had in mind. Let me know.

@dhagmann
Copy link
Author

That's perfect, thank you!

For the PDF, would the "Note" field be a good placement option (displaying above the "Authornote")? That's where I put it when I used Rmarkdown and the papaja package. But I don't know if apaquarto already uses that field.

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

No branches or pull requests

2 participants