Year missing from output
See original GitHub issueHi there. Is there a bug which prevents the year being included in output when rendering bibtex to HTML under node?
I notice the year is missing from the output on the demo page.
I’ve tried several chunks of bibtex and several CSL styles, all to no avail.
Here’s a demo:
test.js:
var Cite = require("citation-js");
var bibtex =
'@article{id, ' +
' author={Happy Larry},' +
' date={2017-01-01},' +
' title="A Lovely Title"' +
'}';
var opts = {
type: 'html',
style: 'citation-vancouver',
}
var data = new Cite(bibtex, opts);
var g = data.get();
console.log(g);
Output:
$ node ./test.js
<div class="csl-bib-body">
<div data-csl-entry-id="id" class="csl-entry">
<div class="csl-left-margin">1. </div><div class="csl-right-inline">Larry H. A Lovely Title.</div>
</div>
</div>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Up-To-Date check claims missing build output since VS 2019
Try: Clean the solution,close the solution and VS; Delete the .suo file(or .vs folder) and bin and obj folders; Open VS2019, re-ref the...
Read more >How to fill in some missing years in my data set
What I want to do is to fill in the missing in between years for each ID. For example, A has no missing...
Read more >Year Scale, Output Variables (HBV) and File missing message
The Year scale when tranforming a PG-bin file date/time to year for some plotting is fixed. 2) A misleading message about missing PG-files ......
Read more >Regression Output - Finding Missing Values (Excel) - YouTube
This video shows how to find missing values in Multiple Regression output from Excel.00:00 Completing the ANOVA Table02:10 Regression ...
Read more >Data is missing in output file Tableau Prep
Problem: As said, the problem was that we saw some data in the output step, but wasn't there when we created an output...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@larsgw very clear! Thanks a lot! My bad I didn’t notice the new ‘issued’ field. now all problems solved
Thanks @larsgw , really appreciate this; n.d. is indeed “no date”, any other similar placeholder might be inserted by the CSL.
Comments in my code are absolutely no reflection on citation-js, only a reflection of the kind of day I was having at the time 😉
Very pleased to have found citation-js, it will make writing lengthy essays far easier.