from models import Book
from django.template.loader import render_to_string

#def bookomatic(request, bookid):
#    """Compose latex for a Book
#    """
#    book = Book.objects.get(id=1)
#    context = {'book': book}
#    rendered = render_to_string("book.tex", context})

