bibliography support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

bibliography support

habamax
How does asciidoctor support bibliography? I have never used it myself but I know it is widely used in academia papers.

There is an issue for vim plugin https://github.com/habamax/vim-asciidoctor/issues/10 to support bibliography completion. And to support completion there should be a way in asciidoctor to support bibliography first, I guess.

So, what is the asciidoctor way to do bibliography?
Reply | Threaded
Open this post in threaded view
|

Re: bibliography support

mojavelinux
Administrator

On Tue, Oct 29, 2019 at 2:44 AM habamax [via Asciidoctor :: Discussion] <[hidden email]> wrote:
How does asciidoctor support bibliography? I have never used it myself but I know it is widely used in academia papers.

There is an issue for vim plugin https://github.com/habamax/vim-asciidoctor/issues/10 to support bibliography completion. And to support completion there should be a way in asciidoctor to support bibliography first, I guess.

So, what is the asciidoctor way to do bibliography?


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/bibliography-support-tp7311.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: bibliography support

habamax
Thx!

Now I should find some bibliography file to test :)
Reply | Threaded
Open this post in threaded view
|

Re: bibliography support

habamax
In reply to this post by mojavelinux
I have added initial support for a bibliography completion, thx @mojavelinux!
Reply | Threaded
Open this post in threaded view
|

Re: bibliography support

habamax
In reply to this post by mojavelinux
Strangely it doesn't work when there is definition list in a file.

https://github.com/asciidoctor/asciidoctor-bibtex/issues/62

I was thinking it is me on asciidoctor-pdf bleeding edge... but it also failed to create html which uses stable asciidoctor.

In the end it turned out asciidoctor-bibtex is involved.
Reply | Threaded
Open this post in threaded view
|

Re: bibliography support

habamax
Nevermind it is known problem :)

I have tried to look into the code but it is too unfamiliar. I guess it wouldn't be as simple as to check for nil. One has to provide proper @text to look for citations and I couldn't figure out how to get it from "2d array" of definition list internal representation.