Bibtext Renderer
================

Add a lightweight content object implementing IBibliographicReference.

  >>> context = SimpleContent()

Call the EndNote render view

  >>> from zope.publisher.browser import TestRequest
  >>> from bibliograph.rendering.renderers.endnote import RisRenderView

  >>> request = TestRequest()
  >>> view = RisRenderView(context, request)

  >>> print view()
  TY  - BOOK
  ED  - Müller, Heinz
  PY  - 1985//
  TI  - A new approach to managing literatüre
  KW  - Manage Literatür
  AB  - Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  UR  - http://www.books.com/approach
  ID  - approach
  ER  ...
  <BLANKLINE>

Let's change some attributes of our content.

First we want no editor, but an author:

  >>> context.editor_flag = False
  >>> view = RisRenderView(context, request)
  >>> print view()
  TY  - BOOK
  AU  - Müller, Heinz
  PY  - 1985//
  TI  - A new approach to managing literatüre
  KW  - Manage Literatür
  AB  - Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  UR  - http://www.books.com/approach
  ID  - approach
  ER  ...
  <BLANKLINE>


We can also omit some fields:

  >>> request = TestRequest(form=dict(omit_fields=['authors', 'uRl', 'abSTRACT']))
  >>> view = RisRenderView(context, request)
  >>> print view()
  TY  - BOOK
  PY  - 1985//
  TI  - A new approach to managing literatüre
  KW  - Manage Literatür
  ID  - approach
  ER  ...
  <BLANKLINE>


