Rasmus writes: > The question: > > In any given document, do you typically need more than two types of > citations, i.e. {citet, citep} OR {textcite, parentcite}? > > I do use other citation types, in particular a genitive version of > textcite, but not very often. That was why I initially wanted something > like this:
We often use cite, citenum in one document. I don't use citeauthor, but have manually written something like "Doe et al said... cite:Doe99", which could be written with a citeauthor like command I think. There are similar use cases for a citeyear command. It is not too far fetched to see these four types in a document, in addition to a citep command. > > simple inline: @KEY > complex inline: [PRE @KEY POST :key VAL] > parent: (PRE @KEY POST :key VAL) > > Where :type was the only key I was clever enough to think about (heavily > biased by LaTeX). Then you would be able to put in the top of your > document what "inline" and that "parent" means. Note, as Nicolas rightly > pointed out that (ยท) shouldn't be used for syntax, so the above is to > understand needs. In any case, if you, or Eric, or anybody else for that > matter, often rely on much more than two types of citations in any given > document perhaps this is better: > > [TYPE: PRE @KEY POST :key VAL] > > :key VAL may not be needed at all (but e.g. the new cool > \textcites()()[][]{} commands have even more arguments). That's > essentially the "generalized link" you were talking about earlier. > > Display in the buffer is indeed something that should be tackled, but this > is an issue of overlays, like entities, and not the immediate issue. But > I have it in mind as well. It's tough though, when you have other > citations types than author-year. > > Cheers, > Rasmus -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu