dan-weiss / apa7-latex-cls-source

Source code for apa7 class
LaTeX Project Public License v1.3c
49 stars 13 forks source link

Partial masking for citations of several sources #34

Open aosavi opened 2 years ago

aosavi commented 2 years ago

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.

dan-weiss commented 2 years ago

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?

aosavi commented 2 years ago

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.