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

easy identification / deidentification of authors #114

Closed
mcbeem opened this issue May 2, 2017 · 4 comments
Closed

easy identification / deidentification of authors #114

mcbeem opened this issue May 2, 2017 · 4 comments

Comments

@mcbeem
Copy link

mcbeem commented May 2, 2017

When submitting a manuscript for publication, it is customary to prepare a version in which the authors' identifying information has been removed.

Would it be possible to add this as a feature to papaja?

Perhaps as a TRUE/FALSE flag that could be set in the manuscript's preamble..?

@crsh
Copy link
Owner

crsh commented May 5, 2017

Hi, yeah, I very much like that idea. What do you think would need to be removed? Of the top of my head I'd think

  1. Author names and affiliation on the title page
  2. Author note containing departmental affiliations
  3. Identifying references

All three of these are supported by the apa6 LaTeX class. As long as you are happy with relying on LaTeX and have no need to create a Word document with papaja::apa6_word() 1. and 2. are easy. You can pass any class options to apa6 via the class option in the YAML header:

class: "man, mask"

This would create a manuscript-style document without author information or author note. To hide references on demand you need to use biblatex instead of pandoc-citeproc. This can be done like so:

output:
  papaja::apa6_pdf:
    citation_package: natbib

That way you can use \maskcite to include hideable references. See the apa6 manual.

I believe 1. and 2. should also be easy to enable for Word documents and I'll leave this issue open as a reminder to implement this feature some time in the future. I don't think, however, there is a pandoc-citeproc equivalent of \maskcite.

@crsh
Copy link
Owner

crsh commented May 11, 2017

I just pushed a commit to the development branch (devtools::github_install("crsh/papaja", ref = "devel")) that adds a mask option to the YAML front matter. In apa6_pdf() it activates the mask option and in apa6_word() it removes author names, affiliations, and author note from the title page.

@mcbeem
Copy link
Author

mcbeem commented May 11, 2017 via email

@crsh crsh closed this as completed in 30186dd Nov 29, 2017
@taktsun
Copy link

taktsun commented May 27, 2024

Hello, sometimes, journal editors want us to mask anything in the manuscript that can identify the team of authors. In such cases, we need to replace certain in-text info (e.g., normal OSF link to view-only OSF link; funding information etc). Is it possible to combine this mask setting with some sort of if-else statement to achieve this?

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