Comments (3)
Thanks Christian! I had not seen the type attribute before – I changed the citeproc export to set the type attribute at the end instead of the beginning; by default mastersthesis is converted to thesis (you can change that in BibTeX::Entry::CSL_TYPES).
If there is a type field in the entry I'm saving that as 'bibtex-type' in the json export in case you need to access that somewhere.
Thanks for reporting!
from bibtex-ruby.
Landed in 2.2.1
from bibtex-ruby.
Thanks for the quick fix. This is a nice idea, maybe all bibtex fields that have no clear mapping could be exported as custom field in the JSON output.
I have a follow up question though: I'm using citeproc-ruby for rendering. I'm trying to get this this bibtex-type field rendered with <text variable="bibtex-type"/>
, but it doesn't render. Is this suppose to work? Shall I open an issue at citeproc-ruby?
from bibtex-ruby.
Related Issues (20)
- Unable to parse bibtex if `+` is in the key HOT 1
- Allow BibTeX::Filter access more metadata HOT 2
- Does bibtex-ruby read all fields (PMID in specific) HOT 8
- tag name with spaces break parser
- TeX-like comments (for use with biber) HOT 1
- Can this gem convert from CSL-JSON to BibTex? HOT 5
- Accents in bibtex files HOT 3
- Adding Rubocop HOT 4
- Corruption of @comment fields used by BibDesk for library management HOT 1
- warning: Capturing the given block using Proc.new is deprecated; use `&block` instead HOT 1
- BibTeX.open(file) cannot handle remote files HOT 2
- Export to Medline/wiki page with pointers to gists of people's custom formats? HOT 1
- A name that doesn't parse correctly HOT 1
- Braces in citekey HOT 2
- Move CI to Github Actions
- CiteProc.process returns nill (fails) HOT 2
- racc dependency needed HOT 2
- bibtex-ruby crashes with NoMethodError inside Names.convert! in Ruby 3.3 HOT 2
- bug: incorrect handling of lastnames with whitespaces
- error with ruby 3.3.1: names.rb:51:in `to_s': wrong number of arguments HOT 2
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 bibtex-ruby.