merely-useful / py-rse

Research Software Engineering with Python course material
http://third-bit.com/py-rse/
Other
246 stars 63 forks source link

Check formatting of citations #553

Closed gvwilson closed 3 years ago

gvwilson commented 3 years ago

Sometimes we use @Nobl2009, which produces Noble (2009), but sometimes we use [@Nobl2009], which produces (Noble 2009). Is this deliberate, or should we do a pass to make them consistent?

k8hertweck commented 3 years ago

I suspect this isn't always deliberate, but that we can't assume consistency will solve it (some places may reference the author's name as a part of the narrative). This is normally the type of thing I'd love to do, but I won't be able to get to it till probably Sunday.

DamienIrving commented 3 years ago

This is deliberate. @Nobl2009 is the equivalent of \citet (a textual citation) and [@nobl2009] is like \citep (a parenthetical citation).

gvwilson commented 3 years ago

Well, I'm glad I didn't "fix" it then :-)