Hi list,

asciidoc-bib is a program to add citations and bibliography lists into an 
asciidoc document, taking entries from a bibtex file.  

   - The program can add references in author-year or numeric styles.  
   - Included files are followed and automatically processed.  
   - The citation format supports preamble, page numbers and multiple 
   citations.

asciidoc-bib works by rewriting your source document adding citations and 
bibliography lists as required.  So the source 'filename.txt' will be 
rewritten as 'filename-ref.txt', which is then processed using asciidoc/a2x 
in the usual way (your original source file is not changed).  

For example, the following asciidoc source:

filename.txt
--------------------------------------------------
= Sample Text =

Some text by [citenp:Smith10] etc 

[bibliography]
--------------------------------------------------

Is converted by running 'asciidoc-bib filename.txt', and becomes:

filename-ref.txt
--------------------------------------------------
= Sample Text =

Some text by Smith (2010) etc 

Smith, J. 2010. _Some book title_, Publisher.
--------------------------------------------------

Install: > [sudo] gem install asciidoc-bib

Source, and more information on use: 
https://github.com/petercrlane/asciidoc-bib

  cheers,

         Peter.


-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/qzk5yfAExvcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to