Giter Club home page Giter Club logo

moin-ref-bibtex's Introduction

The MoinMoin wiki is good stuff, and I'm using it to work on my
thesis.  While working, however, I need to produce references to
entries in my bibtex database.  What follows are macros that allow
just this.

It adds two additional tags:

<<Ref(bibtex-key)>>
	This introduces a citation (and adds a footnote to the page)

<<RefText(bibtex-key)>>
	This produces the text of a citation.  It's not really
	designed for general use.  Instead, it is called by Ref()
	as necessary.  But, if, for some reason, you'd like to
	have the full text of a citation, there you go!

INSTALLATION:
	- you must install bib2xml
		http://www-plan.cs.colorado.edu/henkel/stuff/bib2xml/
	- you must copy Ref.py and RefText.py to
		$(prefix)/python-$(pyver)/site-packages/MoinMoin/macro
	  (essentially this means putting it in the same directory
	   as "FootNote.py" which is distributed with MoinMoin)
	- in wikiconfig.py (or whatever your configuration file is):
		refbibtex_bib2xml = '/usr/local/bin/bib2xml'
		refbibtex_bibfile = 'path-to-your-bibtex-file'
	- restart moinmoin

TODO:
- cache copy of XML database (or parse natively)
	- when a RefText is needed, bib2xml [bibfile] is called
	- the resulting parse information is cached in the request
	- is it possible to store off a pickled version and load
	  it as necessary?  What is the "moin" way of doing so?
- remove dependency on bib2xml
	pyliographer has a python-bibtex module, which parses
	 a bibtex file.  The API is simply awful. however, a wrapper
	 could be used around it.
		http://pybliographer.org/
- many document types are missing for formatting:
	booklet conference inbook incollection manual mastersthesis
	misc phdthesis proceedings techreport unpublished

FUTURE:
	- Provide a style mechanism.  Perhaps bibtex .bst could be
	leveraged?

moin-ref-bibtex's People

Contributors

wrigjl avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.