Comments (5)
This is not currently implemented but is supported by the underlying functions, so can be implemented.
This is already in my TODO items to equip \insertAllCited{}
with a non-empty argument style
.
If a style is made available, then it might be desirable to set it package-wide. One way to do this would be for a package requiring a specific style to export a variable that identifies it.
Further comments on this would be helpful.
from rdpack.
A draft implementation is in branch bibstyles
. Not document yet, but to cause all list of references produced by \insertAllCited in a package to appear with full names, add .onLoad()
function to your package. If you don't have .onLoad()
, just copy the following definition:
.onLoad <- function(lib, pkg){
Rdpack::Rdpack_bibstyles(package = pkg, authors = "LongNames")
invisible(NULL)
}
If you already have .onLoad()
, add the line containing the Rdpack::Rdpack_bibstyles
call to it.
Comments and further suggestions are very welcome.
from rdpack.
This fix is precisely the kind of thing I was looking for. Thank you for the fix!
Attractively, this fix doesn't require an argument in \insertAllCited{}
- which would be a little unnecessary if the command was needed repeatedly. Setting the global bibstyle is a much neater approach.
One suggestion I would make would be for a similar change to be enforced to \insertRef{tag}{pkg}
.
If both \insertAllCited{}
and \insertRef{tag}{pkg}
are used within a package, it makes for an inconsistent style.
Naturally, this fix has been created to deal with my issue, but as more styles could be added, perhaps a naming system more in line with LaTeX would be appreciated by the general user.
from rdpack.
I have now added support for long names in \insertRef
. This will become version 0.8-0 after further testing and documenting the new features.
from rdpack.
The feature is now merged in the main branch of Rdpack
and is available from version 0.8-0.
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
- Support for biber? HOT 5
- 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.