citebibtex
citebibtex copied to clipboard
cite keys with page numbers not extracting
This is a great tool, and I personally think it's much cleaner than other cite packages like citer. Also, the ability to extract citations is very useful!
One quick problem: most of the time when I insert a citation it's accompanied by a page number like:[@citation 11] and sometimes even additional text like [@citation 11 emphasis added]. And these aren't getting extracted. Is there any way to make it extract them as well?
Thanks!
It's not stated anywhere but the cite key format pretty much follows that of BibDesk, which doesn't allow spaces:
BibDesk takes a fairly strict interpretation of the valid characters for cite keys, and the characters " "@',#}{~%" (including the space character) are never allowed, while you will be warned if you use one of "&$^" in a cite key. Cite keys are essentially TeX commands, so you should avoid using underscores, for instance, if you ever need to print the actual cite key itself.
http://bibdesk.sourceforge.net/manual/BibDeskHelp_2.html
I think various other tools in the LaTeX toolchain will have problems with spaces in the cite keys. Are these keys generated automatically from somewhere? If not, I'd replace the spaces with dashes, e.g. [@citation-11-emphasis-added]
.
I use pandoc to convert all my documents that I write in markdown. According to its documentation it says all these are examples of cite keys.
Blah blah [see @doe99, pp. 33-35; also @smith04, chap. 1].
Blah blah [@doe99, pp. 33-35, 38-39 and *passim*].
Blah blah [@smith04; @doe99].
It seems like as long as there is an '@' sign with an identifier you can add anything else to it. Would there be a way of extracting citations from something like this?