apa7-latex-cls-source icon indicating copy to clipboard operation
apa7-latex-cls-source copied to clipboard

Partial masking for citations of several sources

Open aosavi opened this issue 3 years ago • 2 comments

The apa7 LaTeX class manual states that masked citations do not have to be revised for final publication. This is a great feature!

However, if I understand the commands correctly, there is one caveat. If I cite multiple sources in a single command and not all citations require masking, I must either mask all citations, or create a second command for the masked citations, which forces me to revise the manuscript for final publication.

aosavi avatar Sep 15 '21 11:09 aosavi

Do you have a suggestion for syntax to handle the case you mentioned?

I believe you could use the smaller parts (\maskciteauthor and \maskciteyear) to build your own citation with only the parts you wan set as masked and the rest using the standard cite commands. Would that work?

dan-weiss avatar Nov 19 '21 12:11 dan-weiss

Something like \maskparencite{ref1, ref2*} might be an option, where * indicates that it should be exempted from the mask rule. Not sure if that's possible.

Something like \maskparencite[1]{ref1, ref2} might be an option, where 1 gives the number of citations that should be exempted from the mask rule (starting from the first in the list). Or vice versa, the number of citations that should be masked, starting from the first.

The workaround with using smaller parts returns (1 citation removed for masked review) for every time it's used, so twice when both the author and year are requested. I think this gets messy.. Also, the references are not ordered automatically, which is a pity.

aosavi avatar Feb 28 '22 11:02 aosavi