Skip to content

Commit 1d3f854

Browse files
author
hornik
committed
Tweaks.
git-svn-id: https://svn.r-project.org/R/trunk@88810 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent db99ff2 commit 1d3f854

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/manual/R-exts.texi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8692,6 +8692,7 @@ Finally, @code{\bibinfo} allows to modify bibentries. Using
86928692
@example
86938693
\bibinfo@{@var{keyspec}@}@{@var{field}@}@{@var{value}@}
86948694
@end example
8695+
@noindent
86958696
will set the @var{field} of the bibentry corresponding to @var{keyspec}
86968697
to @var{value}. This can be used in particular to ``annotate'' the
86978698
bibentry, by adding @samp{note}, @samp{footer} or @samp{header} fields.
@@ -8700,11 +8701,13 @@ For example,
87008701
@example
87018702
\bibcitet@{R:Becker+Chambers+Wilks:1988@}
87028703
@end example
8704+
@noindent
87038705
gives a textual citation of the ``@emph{Blue Book}''
87048706
(`@I{Becker, Chambers, and Wilks (1988)}' when first encountered),
87058707
@example
87068708
\bibcitep@{e.g.\\\\\\,|R:Chambers+Hastie:1992|page 123@}
87078709
@end example
8710+
@noindent
87088711
gives a parenthetical citation of a page in the ``@emph{White Book}''
87098712
(`@I{(e.g., Chambers and Hastie 1992, page 123)}' when first encountered).
87108713
An Rd file having cited the above two and also wanting to include the
@@ -8714,12 +8717,14 @@ An Rd file having cited the above two and also wanting to include the
87148717
\bibshow@{*, R:Chambers:1998@}
87158718
@}
87168719
@end example
8720+
@noindent
87178721
If one wanted to highlight a particular page range for the last
87188722
reference, one could use one of
87198723
@example
87208724
\bibinfo@{R:Chambers:1998@}@{note@}@{Pages 23--45@}
87218725
\bibinfo@{R:Chambers:1998@}@{footer@}@{Pages 23--45.@}
87228726
@end example
8727+
@noindent
87238728
before the @code{\bibshow} (the note will be added in-line, the footer
87248729
on a new line).
87258730

@@ -8736,6 +8741,7 @@ disambiguate by manually adding the suffixes to the year fields, e.g.
87368741
\bibinfo@{R:Eddy:1977a@}@{year@}@{1977a@}
87378742
\bibinfo@{R:Eddy:1977b@}@{year@}@{1977b@}
87388743
@end example
8744+
@noindent
87398745
(see file @file{src/library/grDevices/man/chull.Rd} in the R sources).
87408746

87418747
@node Processing documentation files

0 commit comments

Comments
 (0)