Closed remohammadi closed 5 years ago
My Gemfile.lock
:
GIT
remote: https://github.com/riboseinc/asciidoctor-bibliography
revision: 622aecac7527549b51d40c39311fc5ba1295dad6
specs:
asciidoctor-bibliography (0.9.0)
asciidoctor (~> 1.5.6)
bibtex-ruby (~> 4.4.4)
citeproc-ruby (~> 1.1.7)
csl-styles (~> 1.0.1)
latex-decode (~> 0.2.2)
nokogiri (~> 1.8.1)
GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.0.3)
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
afm (0.2.2)
asciidoctor (1.5.8)
asciidoctor-pdf (1.5.0.alpha.16)
asciidoctor (>= 1.5.0)
prawn (>= 1.3.0, < 2.3.0)
prawn-icon (= 1.3.0)
prawn-svg (>= 0.21.0, < 0.28.0)
prawn-table (= 0.2.2)
prawn-templates (>= 0.0.3, <= 0.1.1)
safe_yaml (~> 1.0.4)
thread_safe (~> 0.3.6)
treetop (= 1.5.3)
awesome_print (1.8.0)
bibtex-ruby (4.4.7)
latex-decode (~> 0.0)
citeproc (1.0.9)
namae (~> 1.0)
citeproc-ruby (1.1.10)
citeproc (~> 1.0, >= 1.0.9)
csl (~> 1.5)
coderay (1.1.2)
csl (1.5.0)
namae (~> 1.0)
csl-styles (1.0.1.9)
csl (~> 1.0)
css_parser (1.7.0)
addressable
epubcheck (3.0.1)
hashery (2.1.2)
json (2.2.0)
kindlegen (3.0.3)
rake
rubyzip
latex-decode (0.2.2)
unicode (~> 0.4)
mini_portile2 (2.3.0)
multi_json (1.13.1)
namae (1.0.1)
nokogiri (1.8.5)
mini_portile2 (~> 2.3.0)
pdf-core (0.7.0)
pdf-reader (2.2.0)
Ascii85 (~> 1.0.0)
afm (~> 0.2.1)
hashery (~> 2.0)
ruby-rc4
ttfunk
polyglot (0.3.5)
prawn (2.2.2)
pdf-core (~> 0.7.0)
ttfunk (~> 1.5)
prawn-icon (1.3.0)
prawn (>= 1.1.0, < 3.0.0)
prawn-svg (0.27.1)
css_parser (~> 1.3)
prawn (>= 0.11.1, < 3)
prawn-table (0.2.2)
prawn (>= 1.3.0, < 3.0.0)
prawn-templates (0.1.1)
pdf-reader (~> 2.0)
prawn (~> 2.2)
public_suffix (3.0.3)
pygments.rb (1.2.1)
multi_json (>= 1.0.0)
rake (12.3.2)
ruby-rc4 (0.1.5)
rubyzip (1.2.2)
safe_yaml (1.0.5)
thread_safe (0.3.6)
treetop (1.5.3)
polyglot (~> 0.3)
ttfunk (1.5.1)
unicode (0.4.4.4)
PLATFORMS
ruby
DEPENDENCIES
asciidoctor
asciidoctor-bibliography!
asciidoctor-pdf
awesome_print
coderay
epubcheck
json
kindlegen
pygments.rb
rake
thread_safe
BUNDLED WITH
2.0.1
A minimal reproduction of the issue: https://github.com/remohammadi/BibliographyIssue84
It's related to CiteProc::Bibliography
silently putting one of the references into errors
instead of its references
attribute. That messes a lot with the internal state because you are using the indices of the filtered_db
in the render
step. That is a potential source of many evils!
#<CiteProc::Bibliography @references=[3], @errors=[1]>
I'm currently going to focus on the error for the reference, which is:
NoMethodError: undefined method
bibliography' for #
The problem is with the 'month' field. month = mar
doesn't work, while month = "3~"
works.
@ronaldtse @remohammadi PR is ready for review
Fixed in #89. Thank you @remohammadi for supplying the test and reporting it!
While I don't get any error or warning when compiling, the generated bibliography misses multiple items.
The bibliography section of my thesis:
A paragraph from my thesis:
While all the citations are generated as expected, the
lukasik_why_2011
is missing in the bibliography section. Its citation is linked to#bibliography-default-lukasik_why_2011
, but the target is missing.I event tried to generate it by putting
bibliography::lukasik_why_2011[]
in the text, but the result was empty.Here is the article entry in my database:
Is there any way to get more logs from the tool when compiling?