chiehrosswang/TRB_LaTeX_tex

Word count does not work in Overleaf

Closed this issue · 9 comments

Need to change the macro to make word count work in Overleaf

Awesome work. I have used this template for a couple of years.

wordcount broke locally as well, it seems to have a problem with \@@localdummy. Also, is it possible to rename \trbcite to \citep to keep the name more consistent?

@hrgentry thanks. I was able to compile it successfully with correct wordcount in TeXstudio locally. What OS and TeX environment are you using? Also, I've replaced \trbcite with \citep in the master.

Thanks for the update. I am using macOS, tried to compile with the vanilla latex and latexmk but with no luck.

Sent with GitHawk

Thanks for the response. Unfortunately, I do not have access to macOS to test this. I hope other users can help with this.

@chiehrosswang is there a temporary workaround to get overleaf to display the correct word count?

@chiehrosswang is there a temporary workaround to get overleaf to display the correct word count?

I will work on this tonight and will let you know.

@JeroenSchmidt the current master works in Overleaf now. Let me know if you have any other questions.

Thanks for the update!

I just wanted to comment that I was trying to figure out why the word count wasn't working on an Overleaf project I updated to match the master. It turns out it was because I'd renamed my main tex file differently from trb_template.tex which didn't play well with the cls file command. A small mistake on my part, but I thought it was worth mentioning.

Yes, thanks @CarlinLiao for the feedback. I will add this constraint to Readme so that people are aware of this.