insert_citeOnly {Rdpack} | R Documentation |
Generate citations from bibtex keys
Description
Generate citations from bibtex keys.
Usage
insert_citeOnly(keys, package = NULL, before = NULL, after = NULL,
bibpunct = NULL, ..., cached_env = NULL,
cite_only = FALSE, dont_cite = FALSE)
Arguments
keys |
a character string containing bibtex key(s) prefixed with the symbol
|
package |
name of an R package. |
before |
see |
after |
see |
bibpunct |
see |
... |
further arguments; for internal use. |
cached_env |
for internal use. |
cite_only |
for internal use. |
dont_cite |
for internal use. |
Details
This is the function behind \insertCite
and related macros.
Argument "keys"
has the syntax of the first argument of
\insertCite
, see insertRef
for full details.
Value
a character vector containing the references with Rd markup
Author(s)
Georgi N. Boshnakov
See Also
insert_ref
for description of all available Rd macros
Examples
insert_citeOnly("@see also @Rpackage:rbibutils and @parseRd", package = "Rdpack")
## (see also Boshnakov and Putman 2020 and Murdoch 2010)
insert_citeOnly("@see also @Rpackage:rbibutils and @parseRd;nobrackets",
package = "Rdpack")
## see also Boshnakov and Putman 2020 and Murdoch 2010
insert_citeOnly("@see also @Rpackage:rbibutils and @parseRd;textual",
package = "Rdpack")
## see also Boshnakov and Putman (2020) and Murdoch (2010)