./textproc/R-rbibutils, Read Bibtex Files and Convert Between Bibliography Formats

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3, Package name: R-rbibutils-2.3, Maintainer: pkgsrc-users

Read and write 'Bibtex' files. Convert between bibliography formats,
including 'Bibtex', 'Biblatex', 'PubMed', 'Endnote', and 'Bibentry'.
Includes a port of the 'bibutils' utilities by Chris Putnam
<https://sourceforge.net/projects/bibutils/>. Supports all
bibliography formats and character encodings implemented in
'bibutils'.


Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2025-01-03 10:09:35 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(textproc/R-rbibutils) Updated 2.2.11 to 2.3

# rbibutils 2.3

## New and improved features

- the class of the object returned by `readBibentry()`, `readBib()`, and
  `bibtexImport()` is now always `c("bibentryExtra", \ 
"bibentry")` (unless
  argument `fbibentry` is supplied). Previously `"bibentryExtra"` was \ 
added only
  when there were bib items with non-standard type and `extra = TRUE`. An option
  to return just `"bibentry"` may be considered.

- non-standard bibtypes are lowercased.

- consolidated the subsetting operators for 'bibentryExtra' objects and the
  documentation for them.

- new function `bibentryExtra()` creates 'bibentryExtra' objects. It accepts
  arbitrary Bibtex entry types and takes the same arguments as `bibentry()`.

- the default bib style for the `bibentryExtra` method for `format()` is now
  "JSSextra".

- refactored and streamlined `writeBibentry()` (the original version didn't use
  the `format` method).

- new generic function `as.bibentryExtra`.

- new 'bibentryExtra' method for `c()`.

- bib style "JSSextra" now knows how to render 'online' bibtype. It is a
  biblatex (not bibtex) field but very useful these days.

- bib style "JSSextra" now knows how to render a few more non-standard bib
  types.

- `print(be, style = "R")`, where `be` is an object from class \ 
"bibentryExtra"
  no longer includes the, effectively, internal for `rbibutils` field
  `truebibtype`.

- first draft of a vignette.

## Bug fixes

- now bibstyle 'JSSextra' creates a new environment for its stuff. Previously it
  was accidentally adding its objects directly in the 'JSS' style's environment,
  causing the two to be equivalent.

- fixed a bug in `format.bibentryExtra()` which caused `writeBibentry()` to
  misbehave when `style = "Rstyle"`.

- fixed `[<-` sub-assignment to 'bibentryExtra' objects.

- when `style = "latex"`, style "JSSextra" was failing to \ 
print bibentries with
  types InBook and InCollection, due to a typo (redundant comma) in the code.

- a number of minor bugs were fixed.

# rbibutils 2.2.16

- fixed processing of the Polish suppressed-l `\l`. Previously the character
  following it was enclosed in braces, which was harmless in most cases but the
  superfluous braces could cause trouble in special circumstances. Did the same
  for the uppercase version, `\L`, which was missing from the code.

# rbibutils 2.2.15

- adapted some tests to a change in R-devel circa r84986.

# rbibutils 2.2.14

- fixed a couple of tests in 'test-convert.R' which started failing (ca. R svn
  rev 84760) due to an R-devel change in `person()`.

# rbibutils 2.2.13

- Bugfix: the declaration of the return value of a C function was accidentally
  changed from `const char *` to `char *` in v2.2.12, causing CRAN warnings on
  some platforms.

# rbibutils 2.2.12

- Bugfix: `readBib` with `texChars = "Rdpack"` which converts `\'i` to \ 
`\'\i`
   was wrapping `\'\i` in braces in 'author' and related fields only. Failure to
   do so in other fields was making the output invalid when `\'i` was followed
   by alphabetical character(s). Fixes issue#7 reopened by @EricMarcon.

   Note that option `"Rdpack"` for argument `texChars` is mainly for \ 
internal
   use which compensates for R not recognising `\'i` as an accented character,
   see the news items for v2.2.5 and v2.2.4 and the bug report about
   `tools:::latexToUtf8` at [R \ 
bugs](https://bugs.r-project.org/show_bug.cgi?id=18208).

- partial internal refactoring of C code to avoid duplication.
   2022-12-18 07:09:59 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
(textproc/R-rbibutils) import R-rbibutils-2.2.11

Read and write 'Bibtex' files. Convert between bibliography formats,
including 'Bibtex', 'Biblatex', 'PubMed', 'Endnote', and 'Bibentry'.
Includes a port of the 'bibutils' utilities by Chris Putnam
<https://sourceforge.net/projects/bibutils/>. Supports all
bibliography formats and character encodings implemented in
'bibutils'.