Comments (5)
Thanks for the praise. Note that there is no need to be apologetic, requests for features, bug reports, critique, etc. are always welcome. They may or may not be followed up, of course.
Regarding support for biblatex/biber
, can you post here examples of offending bib entries? Or even better, make a pull request at https://github.com/GeoBosh/reprexes (just add a bib file in the top directory of reprexes
and create a pull request).
Full support is not feasible but, in general, if the entries are parsed by bibtex, then it is a matter of adding support for them in Rdpack. This depends mostly on demand/requests.
from rdpack.
Thanks. I uploaded (I think; git is quite new to me) an extremely simple example with three entries - the incompatibilities for those being have a "date" field rather than separate "year" and "month" fields, and "journaltitle" rather than "journal". Changing those (i.e., using "year" and "month" as well as "journal") instead fixed the issue.
Moving back to "pure" bibtex is not a big problem, so the fact my own database now is in biblatex/biber-format is not going to stop me from using Rdpack. But the ability to use biblatex-format entries would be useful.
from rdpack.
Thanks, I will have a look.
from rdpack.
After some thought, I have come to think that it is best, at least for now, to leave to the users the conversion of biblatex bib files to bibtex ones. There would be a substantial maintenance overhead and additional complexity if the citation macros were to do this on the fly.
Having said that, I don't rule out a cardinal solution in the future if a suitable off-the-shelf parser is available. Prompted by your question, I ported the excellent bibutils
library to an R package, rbibutils. In the initial version it just converts from biblatex to bibtex, see examples for rbibutils::bibConvert()
there if you don't have suitable routine for conversion.
For completeness, I will add that bibutils
binaries are avaliable for linux distributions and a conversion from biblatex to bibtex can be done with something like
biblatex2xml mybiblatexfiile.bib | xml2bib > my.bib
The bibutils programs can also be compiled on most systems (including MSYS on Windows) by just following the instructions in its distribution, e.g. bibutils on CTAN.
from rdpack.
This sounds more than reasonable. The tips about bibutils are highly useful! I used to use bibtool a lot but moving to biblatex changed that a lot. I then used biber quite a bit rather than learning to use other tools, so this was very helpful. On the usage front, I simply re-coded by databases by hand. Nice tool, once again thanks for it, and thanks for making yet another R package!
from rdpack.
Related Issues (20)
- natbib compatible commands HOT 2
- Warning in parseLatex(x) : x:1: unexpected '}' HOT 5
- unhandled LaTeX sequence {\'i} -> í HOT 3
- Switching bibtex parser to rbibutils HOT 2
- genre unknown to bibConvert HOT 4
- possibly non-existing or duplicated key(s) in bib file warning HOT 12
- README, Troubleshooting HOT 2
- doi entries should generate https links HOT 6
- arXiv entry manipulation for manual url? HOT 4
- include example? HOT 1
- Italic text in \insertCite{} HOT 8
- Using `\doi` in place of `\url` HOT 16
- Superfluous braces when citing an entry HOT 7
- Superlfuous escaped LaTeX specials HOT 2
- InsertAllCited on R6 class documentation HOT 14
- partial argument match of key to keys HOT 5
- Encoding issue on windows HOT 2
- Cryptic error message when calling the RStudio addin with no file open in the editor HOT 1
- CSL support? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdpack.