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
168 stars 15 forks source link

Word count #95

Open JeffreyRStevens opened 1 month ago

JeffreyRStevens commented 1 month ago

Would it be possible to include a wordcount option that would place a word count underneath the keywords?

wjschne commented 1 month ago

Hi @JeffreyRStevens , This seems like a cool feature to have. I will mull it over. There are a few hurdles to get over, though. This would be non-standard APA format, and the .pdf template is not under my control (i.e., it uses the apa7 LaTeX class). I am not sure how to trick apa7 into putting the word count exactly where you want it. Putting this into the Word, HTML, or Typst templates is not technically hard, but it does require a few choices: which words to count.

Andrew Heiss made a wordcount quarto extension, which has many kinds of word counts possible. When I followed his instructions, I was able to use his extension and mine at the same time. Let me know if you can get it to work, and then let's see if we can come to a good solution.