You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
citeproc has no support for pandoc's AuthorInText.[1][2] It will
be good if citeproc implements AuthorInText natively.
The pandoc executable simulates AuthorInText by emitting AuthorOnly and SuppressAuthor in sequence for the associated
key.[3] I believe citeproc could do likewise. The consequence of
this is that, citeproc will offer AuthorOnly and AuthorInText as
two new features, in addition to existing linkCitations, in CiteprocOptions[4].
[1]: CitationItemType of citeproc makes no mention of AuthorInText. So, AuthorInText is not supported by citeproc.
dataCitationItemType=AuthorOnly-- e.g., Smith
| SuppressAuthor-- e.g., (2000, p. 30)
| NormalCite-- e.g., (Smith 2000, p. 30)deriving (Show, Eq, Ord)
newtypeCiteprocOptions=CiteprocOptions{linkCitations::Bool-- Create hyperlinks from citations to bibliography entries}deriving (Show, Eq)
The text was updated successfully, but these errors were encountered:
kjambunathan
changed the title
Support for AuthorInText and SuppressAuthor in CiteprocOptions
Support for AuthorInText and AuthorOnly in CiteprocOptionsMay 27, 2021
Here we're implementing CSL, which up to now didn't have any concept of an author-only citation. When that changes (and I think there are current discussions on this issue), we can update citeproc accordingly. Until then, simulating the feature seems like the right thing to do.
citeproc
has no support forpandoc
'sAuthorInText
.[1][2] It willbe good if
citeproc
implementsAuthorInText
natively.The
pandoc
executable simulatesAuthorInText
by emittingAuthorOnly
andSuppressAuthor
in sequence for the associatedkey.[3] I believe
citeproc
could do likewise. The consequence ofthis is that,
citeproc
will offerAuthorOnly
andAuthorInText
astwo new features, in addition to existing
linkCitations
, inCiteprocOptions
[4].[1]:
CitationItemType
ofciteproc
makes no mention ofAuthorInText
. So,AuthorInText
is not supported byciteproc
.[2]:
CitationMode
ofpandoc-types
supportsAuthorInText
in additon toSuppressAuthor
.[3]: In
fromPandocCitations
ofpandoc
simulatesAuthorInText
by emitting inAuthorOnly
andSuppressAuthor
in sequence for the associated key.[4]:
CiteprocOptions of
citeproc`The text was updated successfully, but these errors were encountered: