Closed W4RH4WK closed 8 years ago
CSL itself doesn't actually have the category of "in-text" citations, that's a pandoc-citeproc addition.
I can't now recall why we do it this way, not including the author's name. Was there a reason?
Some numerical styles want this format:
Reference 1 says...
Others want:
[1] says...
and maybe some want, as you do:
Author [1] says...
Since CSL styles don't have a category for "in-text" citations, we can't control this in the style, so pandoc has tried to find a reasonable default behavior. Currently, in the most recent version, it's just to print the number (without brackets). At least this allows authors to supply the other material that's needed for their application.
+++ Alex Hirsch [Jan 17 16 07:45 ]:
I am not sure whether this is a problem with pandoc-citeproc or just the .csl files. References of the author's name or book page are omitted when using numeric style references. They work fine with natbib or when a author-year style is used.
Code:
Citation
Blah Blah [see @wiki:denuvo]
Blah Blah [@rfc5246]
Blah Blah [@schneier2000, pp.33-35]
Something something as defined by @vernam1919.
pandoc-citeproc left, natbib right:
[1]image
pandoc-citeproc with author-year style:
[2]image
— Reply to this email directly or [3]view it on GitHub.
References
I see. Personally I'd like to have same behavior than natbib. But, as you have already elaborated, this won't fit everybody. Guess this issue can be closed.
Hello, I just came across this issue too and thought that it was something that I was doing. I too expected the same behaviour as natbib. However, as it is the expected behaviour I see that the solution is to go back to my text and add in the author names manually. Thanks for your work on this project!
I am not sure whether this is a problem with pandoc-citeproc or just the
.csl
files. References of the author's name or book page are omitted when using numeric style references. They work fine with natbib or when a author-year style is used.Code:
pandoc-citeproc left, natbib right:
pandoc-citeproc with author-year style: